HomeSort by: relevance | last modified time | path
    Searched defs:nsec (Results 1 - 25 of 63) sorted by relevancy

1 2 3

  /src/sys/arch/atari/stand/ahdilabel/
magic.c 42 u_int nsec; local
45 nsec = (BBMINSIZE + (DEV_BSIZE - 1)) / DEV_BSIZE;
46 bblk = disk_read(fd, offset, nsec);
write.c 316 u_int nsec; local
318 nsec = (BBMINSIZE + (DEV_BSIZE - 1)) / DEV_BSIZE;
320 if ((bb = disk_read (fd, nbdsec, nsec)) == NULL) {
332 if (!disk_write (fd, nbdsec, nsec, bb)) {
  /src/sys/arch/atari/stand/tostools/libtos/
bsdlabel.c 45 u_int nsec; local
48 nsec = (BBMINSIZE + (dd->bsize - 1)) / dd->bsize;
49 bblk = disk_read(dd, offset, nsec);
  /src/sys/arch/i386/stand/efiboot/
efidisk_ll.c 146 int nsec; local
167 while ((nsec = do_read(d, dblk, maxsecs, trbuf)) < 0) {
181 ra_end = dblk + nsec;
186 nsec = ra_end - dblk;
190 if (nsec > num)
191 nsec = num;
194 nsec * d->secsize);
196 buf += nsec * d->secsize;
197 num -= nsec;
198 dblk += nsec;
    [all...]
  /src/sys/arch/alpha/alpha/
qemu.c 81 /* convert request from usec to nsec */
82 const unsigned long nsec = usec * 1000; local
83 KASSERT(nsec > usec);
86 const unsigned long finished = base + nsec;
110 qemu_set_alarm_relative(unsigned long nsec)
113 register unsigned long a1 __asm("$17") = nsec;
  /src/external/bsd/jemalloc/dist/test/include/test/
bench.h 20 uint64_t nsec = usec * 1000; local
22 uint64_t nsec1000 = nsec * 1000;
  /src/sys/arch/hp300/stand/mkboot/
mkboot.c 116 uint32_t count, nsec; local
175 nsec = hp300_btolifs(count);
179 lifd[0].dir_length = htobe32(nsec);
188 lseek(to, HP300_LIF_FILESTART + hp300_lifstob(nsec), SEEK_SET);
190 nsec = hp300_btolifs(count);
194 lifd[1].dir_length = htobe32(nsec);
205 + nsec), SEEK_SET);
207 nsec = hp300_btolifs(count);
211 lifd[2].dir_length = htobe32(nsec);
  /src/sys/dev/goldfish/
gfrtc.c 67 const uint64_t nsec = gfrtc_get_time(sc); local
69 tv->tv_sec = nsec / 1000000000;
70 tv->tv_usec = (nsec - tv->tv_sec * 1000000000) / 1000;
80 const uint64_t nsec = (tv->tv_sec * 1000000 + tv->tv_usec) * 1000; local
81 const uint32_t hi = (uint32_t)(nsec >> 32);
82 const uint32_t lo = (uint32_t)nsec;
123 /* Delay for this many nsec. */
  /src/external/cddl/osnet/dist/uts/common/sys/fm/
util.h 69 uint64_t nsec; /* nanoseconds past ed_tod_base.sec */ member in struct:erpt_dump::__anon9078
  /src/external/cddl/osnet/sys/sys/
time.h 63 #define NSEC_TO_TICK(nsec) ((nsec) / (NANOSEC / hz))
71 hrtime_t nsec; local
74 nsec = (hrtime_t)ts.tv_sec * NANOSEC + ts.tv_nsec;
75 return (nsec);
  /src/sys/arch/atari/stand/tostools/aptck/
disklbl.c 88 u_int nsec; local
91 nsec = (BBMINSIZE + (dd->bsize - 1)) / dd->bsize;
92 bblk = disk_read(dd, offset, nsec);
  /src/sys/arch/i386/stand/lib/
biosdisk_ll.c 213 int cyl, head, sec, nsec, spc, dblk32; local
220 nsec = d->sec - sec;
222 if (nsec > num)
223 nsec = num;
225 if (biosdisk_read(d->dev, cyl, head, sec, nsec, buf)) {
230 return nsec;
245 int nsec; local
266 while ((nsec = do_read(d, dblk, maxsecs, trbuf)) < 0) {
280 ra_end = dblk + nsec;
285 nsec = ra_end - dblk
    [all...]
  /src/external/mpl/bind/dist/lib/dns/rdata/generic/
nsec_47.c 23 * because we must be able to handle a parent/child NSEC pair.
139 dns_rdata_nsec_t *nsec = source; local
143 REQUIRE(nsec != NULL);
144 REQUIRE(nsec->common.rdtype == type);
145 REQUIRE(nsec->common.rdclass == rdclass);
146 REQUIRE(nsec->typebits != NULL || nsec->len == 0);
151 dns_name_toregion(&nsec->next, &region);
154 region.base = nsec->typebits;
155 region.length = nsec->len
163 dns_rdata_nsec_t *nsec = target; local
187 dns_rdata_nsec_t *nsec = source; local
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/dns/rdata/generic/
nsec_47.c 23 * because we must be able to handle a parent/child NSEC pair.
139 dns_rdata_nsec_t *nsec = source; local
143 REQUIRE(nsec != NULL);
144 REQUIRE(nsec->common.rdtype == type);
145 REQUIRE(nsec->common.rdclass == rdclass);
146 REQUIRE(nsec->typebits != NULL || nsec->len == 0);
151 dns_name_toregion(&nsec->next, &region);
154 region.base = nsec->typebits;
155 region.length = nsec->len
163 dns_rdata_nsec_t *nsec = target; local
199 dns_rdata_nsec_t *nsec = source; local
    [all...]
  /src/sbin/dmesg/
dmesg.c 79 fmtydhmsf(char *b, size_t l, intmax_t t, long nsec, int ht)
119 if (nsec)
120 nsec = (nsec + 500000) / 1000000; /* now milliseconds */
122 if (nsec && ht == 2) {
123 while (prec > 0 && (nsec % 10) == 0)
124 --prec, nsec /= 10;
126 if (nsec || ht > 2)
127 APPENDS(s, prec, nsec);
134 pnsec(long nsec, long fsec, int scale
158 long nsec, fsec; local
    [all...]
  /src/sys/arch/atari/stand/edahdi/
edahdi.c 337 u_int nsec; local
340 nsec = (BBMINSIZE + (DEV_BSIZE - 1)) / DEV_BSIZE;
341 bblk = disk_read(fd, offset, nsec);
  /src/sys/arch/vax/boot/boot/
if_ni.c 451 satime_t nsec = getsecs(); local
456 ((getsecs() - nsec) < timeout))
459 if ((getsecs() - nsec) >= timeout)
  /src/sys/rump/librump/rumpkern/
intr.c 101 long nsec; local
105 error = rumpuser_clock_gettime(RUMPUSER_CLOCK_ABSMONO, &sec, &nsec);
110 curclock.tv_nsec = nsec;
  /src/external/bsd/ntp/dist/tests/libntp/
timespecops.c 33 long nsec; member in struct:lfpfracdata
635 struct timespec a = timespec_init(1, fdata[i].nsec);
653 struct timespec a = timespec_init(-1, fdata[i].nsec);
671 struct timespec a = timespec_init(1, fdata[i].nsec);
718 struct timespec E = timespec_init(1, fdata[i].nsec);
737 struct timespec E = timespec_init(-1, fdata[i].nsec);
748 // nsec -> frac -> nsec roundtrip, using a prime start and increment
778 long nsec; member in struct:__anon7542
793 struct timespec a = timespec_init(data[i].sec, data[i].nsec);
    [all...]
  /src/external/bsd/unbound/dist/testcode/
unitneg.c 199 struct ub_packed_rrset_key nsec; local
218 /* construct random NSEC item */
221 /* create nsec and insert it */
223 memset(&nsec, 0, sizeof(nsec));
224 nsec.rk.dname = (uint8_t*)from;
225 nsec.rk.dname_len = strlen(from)+1;
226 nsec.rk.type = htons(LDNS_RR_TYPE_NSEC);
227 nsec.rk.rrset_class = htons(LDNS_RR_CLASS_IN);
228 nsec.entry.data = &rd
    [all...]
  /src/external/bsd/unbound/dist/validator/
val_nsec.c 2 * validator/val_nsec.c - validator NSEC denial of existence functions.
40 * The functions help with NSEC checking, the different NSEC proofs
63 /* Check type present in NSEC typemap with bitmap arg */
97 nsec_has_type(struct ub_packed_rrset_key* nsec, uint16_t type)
99 struct packed_rrset_data* d = (struct packed_rrset_data*)nsec->
112 * Get next owner name from nsec record
113 * @param nsec: the nsec RRset.
117 * @return false on a bad NSEC RR (too short, malformed dname)
208 struct ub_packed_rrset_key* nsec = reply_find_rrset_section_ns( local
    [all...]
  /src/external/gpl2/diffutils/dist/src/
context.c 64 int nsec = TIMESPEC_NS (inf->stat.st_mtim);
65 if (! (tm && nstrftime (buf, sizeof buf, time_format, tm, 0, nsec)))
69 sprintf (buf, "%lld.%.9d", sec, nsec);
63 int nsec = TIMESPEC_NS (inf->stat.st_mtim); local
  /src/external/mpl/bind/dist/lib/dns/include/dns/
rbt.h 89 unsigned int nsec : 2; /*%< range is 0..3 */ member in struct:dns_rbtnode
  /src/external/mpl/bind/dist/lib/dns/
nsec.c 1 /* $NetBSD: nsec.c,v 1.12 2025/05/21 14:48:03 christos Exp $ */
26 #include <dns/nsec.h>
211 dns_nsec_typepresent(dns_rdata_t *nsec, dns_rdatatype_t type) {
217 REQUIRE(nsec != NULL);
218 REQUIRE(nsec->type == dns_rdatatype_nsec);
221 result = dns_rdata_tostruct(nsec, &nsecstruct, NULL);
332 * Return ISC_R_IGNORE when the NSEC is not the appropriate one.
344 dns_rdata_nsec_t nsec; local
355 (*logit)(arg, ISC_LOG_DEBUG(3), "failure processing NSEC set");
365 "NSEC missing RRSIG and/or NSEC from type map")
    [all...]
  /src/external/mpl/dhcp/bind/dist/lib/dns/include/dns/
rbt.h 66 DNS_RBT_NSEC_HAS_NSEC = 1, /* also has node in nsec tree */
67 DNS_RBT_NSEC_NSEC = 2, /* in nsec tree */
99 unsigned int nsec : 2; /*%< range is 0..3 */ member in struct:dns_rbtnode

Completed in 33 milliseconds

1 2 3