sec               114 bsp/drv/dev/rtc/mc146818.c 	cy.sec = mc_read(RTC_SEC);
sec               123 bsp/drv/dev/rtc/mc146818.c 		cy.sec = FROMBCD(cy.sec);
sec               136 bsp/drv/dev/rtc/mc146818.c 		cy.year, cy.mon, cy.day, cy.hour, cy.min, cy.sec);
sec               130 bsp/drv/dev/rtc/rtc.c 			* 60 + dt->sec);
sec               174 bsp/drv/dev/rtc/rtc.c 	dt->sec  = rsec;
sec                57 bsp/drv/include/rtc.h         u_char		sec;
sec                46 usr/server/fs/fatfs/fatfs_fat.c 	u_long sec;
sec                53 usr/server/fs/fatfs/fatfs_fat.c 		sec = (cl * 2) / SEC_SIZE;
sec                55 usr/server/fs/fatfs/fatfs_fat.c 		sec = (cl * 3 / 2) / SEC_SIZE;
sec                64 usr/server/fs/fatfs/fatfs_fat.c 	sec += fmp->fat_start;
sec                67 usr/server/fs/fatfs/fatfs_fat.c 	if ((error = bread(fmp->dev, sec, &bp)) != 0)
sec                76 usr/server/fs/fatfs/fatfs_fat.c 	if ((error = bread(fmp->dev, sec + 1, &bp)) != 0)
sec                89 usr/server/fs/fatfs/fatfs_fat.c 	u_long sec;
sec                96 usr/server/fs/fatfs/fatfs_fat.c 		sec = (cl * 2) / SEC_SIZE;
sec                98 usr/server/fs/fatfs/fatfs_fat.c 		sec = (cl * 3 / 2) / SEC_SIZE;
sec               103 usr/server/fs/fatfs/fatfs_fat.c 	sec += fmp->fat_start;
sec               106 usr/server/fs/fatfs/fatfs_fat.c 	bp = getblk(fmp->dev, sec);
sec               115 usr/server/fs/fatfs/fatfs_fat.c 	bp = getblk(fmp->dev, sec + 1);
sec                45 usr/server/fs/fatfs/fatfs_node.c fat_read_dirent(struct fatfsmount *fmp, u_long sec)
sec                50 usr/server/fs/fatfs/fatfs_node.c 	if ((error = bread(fmp->dev, sec, &bp)) != 0)
sec                61 usr/server/fs/fatfs/fatfs_node.c fat_write_dirent(struct fatfsmount *fmp, u_long sec)
sec                65 usr/server/fs/fatfs/fatfs_node.c 	bp = getblk(fmp->dev, sec);
sec                80 usr/server/fs/fatfs/fatfs_node.c fat_lookup_dirent(struct fatfsmount *fmp, u_long sec, char *name,
sec                86 usr/server/fs/fatfs/fatfs_node.c 	error = fat_read_dirent(fmp, sec);
sec               100 usr/server/fs/fatfs/fatfs_node.c 			np->sector = sec;
sec               102 usr/server/fs/fatfs/fatfs_node.c 			DPRINTF(("fat_lookup_dirent: found sec=%d\n", sec));
sec               125 usr/server/fs/fatfs/fatfs_node.c 	u_long cl, sec;
sec               140 usr/server/fs/fatfs/fatfs_node.c 		for (sec = fmp->root_start; sec < fmp->data_start; sec++) {
sec               141 usr/server/fs/fatfs/fatfs_node.c 			error = fat_lookup_dirent(fmp, sec, fat_name, np);
sec               148 usr/server/fs/fatfs/fatfs_node.c 			sec = cl_to_sec(fmp, cl);
sec               150 usr/server/fs/fatfs/fatfs_node.c 				error = fat_lookup_dirent(fmp, sec, fat_name,
sec               154 usr/server/fs/fatfs/fatfs_node.c 				sec++;
sec               175 usr/server/fs/fatfs/fatfs_node.c fat_get_dirent(struct fatfsmount *fmp, u_long sec, int target, int *index,
sec               181 usr/server/fs/fatfs/fatfs_node.c 	error = fat_read_dirent(fmp, sec);
sec               193 usr/server/fs/fatfs/fatfs_node.c 				np->sector = sec;
sec               217 usr/server/fs/fatfs/fatfs_node.c 	u_long cl, sec;
sec               228 usr/server/fs/fatfs/fatfs_node.c 		for (sec = fmp->root_start; sec < fmp->data_start; sec++) {
sec               229 usr/server/fs/fatfs/fatfs_node.c 			error = fat_get_dirent(fmp, sec, index, &cur_index, np);
sec               236 usr/server/fs/fatfs/fatfs_node.c 			sec = cl_to_sec(fmp, cl);
sec               238 usr/server/fs/fatfs/fatfs_node.c 				error = fat_get_dirent(fmp, sec, index,
sec               242 usr/server/fs/fatfs/fatfs_node.c 				sec++;
sec               260 usr/server/fs/fatfs/fatfs_node.c fat_add_dirent(struct fatfsmount *fmp, u_long sec, struct fatfs_node *np)
sec               265 usr/server/fs/fatfs/fatfs_node.c 	error = fat_read_dirent(fmp, sec);
sec               279 usr/server/fs/fatfs/fatfs_node.c 	DPRINTF(("fat_add_dirent: found. sec=%d\n", sec));
sec               281 usr/server/fs/fatfs/fatfs_node.c 	error = fat_write_dirent(fmp, sec);
sec               295 usr/server/fs/fatfs/fatfs_node.c 	u_long cl, sec;
sec               306 usr/server/fs/fatfs/fatfs_node.c 		for (sec = fmp->root_start; sec < fmp->data_start; sec++) {
sec               307 usr/server/fs/fatfs/fatfs_node.c 			error = fat_add_dirent(fmp, sec, np);
sec               314 usr/server/fs/fatfs/fatfs_node.c 			sec = cl_to_sec(fmp, cl);
sec               316 usr/server/fs/fatfs/fatfs_node.c 				error = fat_add_dirent(fmp, sec, np);
sec               319 usr/server/fs/fatfs/fatfs_node.c 				sec++;
sec               334 usr/server/fs/fatfs/fatfs_node.c 		sec = cl_to_sec(fmp, next);
sec               336 usr/server/fs/fatfs/fatfs_node.c 			error = fat_write_dirent(fmp, sec);
sec               339 usr/server/fs/fatfs/fatfs_node.c 			sec++;
sec               342 usr/server/fs/fatfs/fatfs_node.c 		sec = cl_to_sec(fmp, next);
sec               343 usr/server/fs/fatfs/fatfs_node.c 		error = fat_add_dirent(fmp, sec, np);
sec               103 usr/server/fs/fatfs/fatfs_vnops.c 	u_long sec;
sec               106 usr/server/fs/fatfs/fatfs_vnops.c 	sec = cl_to_sec(fmp, cluster);
sec               108 usr/server/fs/fatfs/fatfs_vnops.c 	return device_read(fmp->dev, fmp->io_buf, &size, sec);
sec               117 usr/server/fs/fatfs/fatfs_vnops.c 	u_long sec;
sec               120 usr/server/fs/fatfs/fatfs_vnops.c 	sec = cl_to_sec(fmp, cluster);
sec               122 usr/server/fs/fatfs/fatfs_vnops.c 	return device_write(fmp->dev, fmp->io_buf, &size, sec);
sec                42 usr/test/time/time.c 	u_long sec;
sec                50 usr/test/time/time.c 	len = sizeof(sec);
sec                51 usr/test/time/time.c 	error = device_read(rtc_dev, &sec, &len, 0);
sec                58 usr/test/time/time.c 	return sec;
sec                65 usr/test/time/time.c 	u_long sec, min, hour;
sec                73 usr/test/time/time.c 	sec = sys_time % 60;
sec                76 usr/test/time/time.c 	printf("Current time: %lu:%lu:%lu\n", hour, min, sec);