Searched refs:nsec (Results 1 - 21 of 21) sorted by relevance

/osnet-11/usr/src/lib/libast/common/tm/
H A Dtmsleep.c35 tmsleep(time_t sec, time_t nsec) argument
40 tv.tv_nsec = nsec;
H A Dtmxscan.c40 int32_t nsec; member in struct:__anon1190
55 #define CLEAR(s) (s.year=s.mon=s.week=s.weektype=s.yday=s.mday=s.wday=s.hour=s.min=s.sec=s.meridian=(-1),s.nsec=1000000000L,s.zone=TM_LOCALZONE)
123 if (set->nsec < 1000000000L)
124 tm->tm_nsec = set->nsec;
152 if (set->nsec < 1000000000L)
159 tm->tm_nsec = set->nsec;
307 set.nsec = n;
/osnet-11/usr/src/lib/libc/port/sys/
H A Dtime_util.c42 uint32_t sec, nsec, tmp; local
56 nsec = (uint32_t)hrt - (tmp << 9);
57 while (nsec >= NANOSEC) {
58 nsec -= NANOSEC;
62 tsp->tv_nsec = nsec;
/osnet-11/usr/src/grub/grub2/include/grub/powerpc/ieee1275/
H A Dbiosdisk.h35 int soff, int nsec, int segment);
/osnet-11/usr/src/lib/fm/libfmd_log/common/
H A Dfmd_filter.c153 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); local
154 return (rp->rec_sec == sec ? rp->rec_nsec <= nsec : rp->rec_sec <= sec);
162 uint64_t nsec = ((struct timeval *)arg)->tv_usec * (NANOSEC / MICROSEC); local
163 return (rp->rec_sec == sec ? rp->rec_nsec >= nsec : rp->rec_sec >= sec);
/osnet-11/usr/src/grub/grub-0.97/stage2/
H A Dbios.c30 int nsec, int segment);
52 unsigned int sector, int nsec, int segment)
80 dap.blocks = nsec;
90 if (err == 0 && dap.blocks != nsec)
104 return biosdisk (read, drive, geometry, sector, nsec, segment);
125 nsec, segment);
49 biosdisk(int read, int drive, struct geometry *geometry, unsigned int sector, int nsec, int segment) argument
H A Dshared.h892 unsigned int sector, int nsec, int segment);
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-setup.c281 unsigned int nsec; local
313 nsec = core_sectors;
328 err = dest_partmap->embed (dest_dev->disk, &nsec, GRUB_EMBED_PCBIOS, &sectors);
351 err = dest_partmap->embed (dest_dev->disk, &nsec, GRUB_EMBED_PCBIOS, &sectors);
508 err = dest_partmap->embed (dest_dev->disk, &nsec,
511 err = fs->embed (dest_dev, &nsec,
514 if (!err && nsec < core_sectors)
530 if (nsec > 2 * core_sectors)
531 nsec = 2 * core_sectors;
532 if (nsec > ((
[all...]
H A Dgrub-mkimage.c1400 grub_uint16_t nsec; member in struct:ecoff_header
1451 head->nsec = grub_host_to_target16 (1);
/osnet-11/usr/src/lib/fm/libasr/common/
H A Dasr_scf.c217 uint32_t nsec = (uint32_t)(val % 1000); local
220 time, nsec);
423 int32_t nsec; local
425 (scf_simple_prop_t *)prop, &nsec);
427 time = (time * 1000) + nsec;
H A Dasr.c458 long nsec; local
461 nsec = ASR_DEFAULT_HTTP_TIMEOUT;
462 else if (sscanf(timeout, "%ld", &nsec) != 1) {
466 nsec = ASR_DEFAULT_HTTP_TIMEOUT;
468 nsec *= 1000000L;
469 return (nsec);
/osnet-11/usr/src/grub/grub-0.97/grub/
H A Dasmstub.c931 unsigned int sector, int nsec, int segment)
970 if (sector == 0 && nsec > 1)
979 nsec--;
982 if (nread (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
991 nsec, sector, drive, device_map[drive]);
992 hex_dump (buf, nsec * SECTOR_SIZE);
995 if (nwrite (fd, buf, nsec * SECTOR_SIZE) != nsec * SECTOR_SIZE)
930 biosdisk(int subfunc, int drive, struct geometry *geometry, unsigned int sector, int nsec, int segment) argument
/osnet-11/usr/src/lib/libast/common/sfio/
H A Dsfpkrd.c168 long nsec = tm < 0 ? 0 : (tm+999)/1000; local
169 while(nsec > 0 && r < 0)
185 if(r < 0 && nsec-- > 0)
/osnet-11/usr/src/lib/libzonestat/common/
H A Dzonestat_impl.h74 #define TIMESTRUC_ADD_NANOSEC(ts, nsec) \
76 (ts).tv_sec += (time_t)((nsec) / NANOSEC); \
77 (ts).tv_nsec += (long)((nsec) % NANOSEC); \
/osnet-11/usr/src/lib/nsswitch/mdns/common/
H A Dmdns_common.c559 int32_t nsec; local
575 &nsec));
576 ptv->tv_usec = nsec / 1000;
/osnet-11/usr/src/lib/libsmbfs/common/
H A Dsmbfs_util.c259 smbfs_time_local2NT(struct timeval *tsp, int tzoff, uint64_t *nsec) argument
264 *nsec = (((uint64_t)(seconds) & ~1) + DIFF1970TO1601) *
/osnet-11/usr/src/grub/grub2/grub-core/disk/i386/pc/
H A Dbiosdisk.c96 int soff, int nsec, int segment)
118 regs.eax |= nsec & 0xff;
95 grub_biosdisk_rw_standard(int ah, int drive, int coff, int hoff, int soff, int nsec, int segment) argument
/osnet-11/usr/src/lib/libresolv2/include/isc/
H A Deventlib.h170 struct timespec evConsTime __P((time_t sec, long nsec));
/osnet-11/usr/src/grub/grub2/grub-core/fs/
H A Dfat.c610 unsigned i, nsec, slots = 0; local
613 nsec = dir.type_specific.file.secondary_count;
617 for (i = 0; i < nsec; i++)
650 if (i != nsec)
/osnet-11/usr/src/lib/libresolv2/common/isc/
H A Dev_timers.c77 evConsTime(time_t sec, long nsec) { argument
81 x.tv_nsec = nsec;
/osnet-11/usr/src/lib/libscf/common/
H A Dmidlevel.c2418 scf_simple_prop_next_time(scf_simple_prop_t *prop, int32_t *nsec) argument
2427 if (nsec != NULL)
2428 *nsec = ret->pv_time.t_nsec;

Completed in 114 milliseconds