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

12345

/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/profile-n/
H A Derr.D_PDESC_ZEROonensec.d32 * Call profile-1nsec; less than 200 micro seconds.
40 profile-1nsec
42 printf("Call profile-1nsec; less than 200 micro seconds\n");
H A Dtst.profilensec.d32 * Simple profile-nsec simple test.
41 profile-2000000000nsec
43 printf("This test is a simple profile-nsec provider test");
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/tick-n/
H A Derr.D_PDESC_ZEROonensec.d32 * Call profile-1nsec; less than 200 micro seconds.
40 profile-1nsec
42 printf("Call profile-1nsec; less than 200 micro seconds\n");
H A Dtst.ticknsec.d32 * tick-nsec simple test.
41 tick-20000000nsec
43 printf("This test is a simple tick-nsec provider test\n");
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_nsec.h81 * nsec typemap check, takes an NSEC-type bitmap as argument, checks for type.
92 * @param nsec: the nsec RRset.
98 int nsec_has_type(struct ub_packed_rrset_key* nsec, uint16_t type);
103 * wildcard case. If the ownername of 'nsec' is a wildcard, the validator
107 * @param nsec: the nsec record to check against.
115 int nsec_proves_nodata(struct ub_packed_rrset_key* nsec,
122 * @param nsec: the nsec t
[all...]
H A Dval_nsec.c97 nsec_has_type(struct ub_packed_rrset_key* nsec, uint16_t type) argument
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.
120 nsec_get_next(struct ub_packed_rrset_key* nsec, uint8_t** nm, size_t* ln) argument
122 struct packed_rrset_data* d = (struct packed_rrset_data*)nsec->
142 * @param nsec: NSEC for proof, must be trusted.
144 * @return if secure the nsec proves that no DS is present, or
149 val_nsec_proves_no_ds(struct ub_packed_rrset_key* nsec, argument
177 nsec_verify_rrset(struct module_env* env, struct val_env* ve, struct ub_packed_rrset_key* nsec, struct key_entry_key* kkey, char** reason, struct module_qstate* qstate) argument
203 struct ub_packed_rrset_key* nsec = reply_find_rrset_section_ns( local
289 nsec_proves_nodata(struct ub_packed_rrset_key* nsec, struct query_info* qinfo, uint8_t** wc) argument
404 val_nsec_proves_name_error(struct ub_packed_rrset_key* nsec, uint8_t* qname) argument
453 val_nsec_proves_insecuredelegation(struct ub_packed_rrset_key* nsec, struct query_info* qinfo) argument
475 nsec_closest_encloser(uint8_t* qname, struct ub_packed_rrset_key* nsec) argument
490 val_nsec_proves_positive_wildcard(struct ub_packed_rrset_key* nsec, struct query_info* qinf, uint8_t* wc) argument
510 val_nsec_proves_no_wc(struct ub_packed_rrset_key* nsec, uint8_t* qname, size_t qnamelen) argument
[all...]
H A Dval_neg.c671 * @param nsec: the nsec record with the end point
674 struct val_neg_data* el, struct ub_packed_rrset_key* nsec)
676 struct packed_rrset_data* d = (struct packed_rrset_data*)nsec->
687 if(ntohs(nsec->rk.type) == LDNS_RR_TYPE_NSEC) {
693 if(!nsec3_get_nextowner_b32(nsec, 0, buf, sizeof(buf)))
749 struct val_neg_zone* zone, struct ub_packed_rrset_key* nsec)
754 uint8_t* nm = nsec->rk.dname;
755 size_t nm_len = nsec->rk.dname_len;
756 int labs = dname_count_labels(nsec
673 wipeout(struct val_neg_cache* neg, struct val_neg_zone* zone, struct val_neg_data* el, struct ub_packed_rrset_key* nsec) argument
748 neg_insert_data(struct val_neg_cache* neg, struct val_neg_zone* zone, struct ub_packed_rrset_key* nsec) argument
1116 struct ub_packed_rrset_key* nsec; local
1383 struct ub_packed_rrset_key* nsec; /* qname matching/covering nsec */ local
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/include/linux/
H A Dtime.h44 ns_to_timeval(const int64_t nsec) argument
49 if (nsec == 0) {
55 tv.tv_sec = nsec / NSEC_PER_SEC;
56 rem = nsec % NSEC_PER_SEC;
87 set_normalized_timespec(struct timespec *ts, time_t sec, int64_t nsec) argument
91 ts->tv_nsec = nsec;
101 ns_to_timespec(const int64_t nsec) argument
106 if (nsec == 0) {
112 ts.tv_sec = nsec / NSEC_PER_SEC;
113 rem = nsec
[all...]
H A Djiffies.h111 nsecs_to_jiffies64(uint64_t nsec) argument
114 if (nsec > lkpi_nsec2hz_max)
115 nsec = lkpi_nsec2hz_max;
116 return (howmany(nsec * lkpi_nsec2hz_rem, lkpi_nsec2hz_div));
120 nsecs_to_jiffies(uint64_t nsec) argument
124 if (nsec > lkpi_nsec2hz_max)
125 nsec = lkpi_nsec2hz_max;
127 if (nsec > (lkpi_nsec2hz_max >> 32))
128 nsec = (lkpi_nsec2hz_max >> 32);
130 return (howmany(nsec * lkpi_nsec2hz_re
[all...]
/freebsd-11-stable/sys/cddl/compat/opensolaris/sys/
H A Dtime.h60 #define NSEC_TO_TICK(nsec) ((nsec) / (NANOSEC / hz))
67 hrtime_t nsec; local
70 nsec = (hrtime_t)ts.tv_sec * NANOSEC + ts.tv_nsec;
71 return (nsec);
/freebsd-11-stable/lib/libc/stdio/
H A Dxprintf_time.c65 int i, prec, nsec, ret; local
70 nsec = tv->tv_usec * 1000;
75 nsec = ts->tv_nsec;
80 nsec = 0;
87 nsec = 0;
116 nsec /= 10;
117 p += sprintf(p, ".%.*d", prec, nsec);
/freebsd-11-stable/sys/x86/x86/
H A Dpvclock.c157 uint32_t *nsec)
165 *nsec = wc->nsec;
198 uint32_t sec, nsec; local
200 pvclock_read_wall_clock(wc, &sec, &nsec);
202 ts->tv_nsec = nsec;
156 pvclock_read_wall_clock(struct pvclock_wall_clock *wc, uint32_t *sec, uint32_t *nsec) argument
/freebsd-11-stable/sys/geom/eli/
H A Dg_eli_integrity.c158 u_int i, lsec, nsec, data_secsize, decr_secsize, encr_secsize; local
172 nsec = bp->bio_length / decr_secsize;
174 nsec = (nsec * sc->sc_bytes_per_sector) / encr_secsize;
180 auth = srcdata + encr_secsize * nsec;
184 for (i = 1; i <= nsec; i++) {
259 u_int nsec; local
302 nsec = bp->bio_length / bp->bio_to->sectorsize;
304 nsec = (nsec * s
344 off_t nsec; local
409 u_int i, lsec, nsec, data_secsize, decr_secsize, encr_secsize; local
[all...]
/freebsd-11-stable/contrib/ldns/drill/
H A Ddnssec.c197 * - name falls within nsec coverage but is not equal to the owner name
198 * - name falls outside of nsec coverage
210 /* Error, according to the nsec this rrset is signed */
213 /* ok nsec denies existence */
234 /* nsec has nothing to do with this data */
298 ldns_rr *nsec; local
324 nsec = ldns_rr_list_rr(nsec3s, 0);
325 algorithm = ldns_nsec3_algorithm(nsec);
326 salt_length = ldns_nsec3_salt_length(nsec);
327 salt = ldns_nsec3_salt_data(nsec);
406 ldns_rr *nsec; local
[all...]
/freebsd-11-stable/sys/compat/linuxkpi/common/src/
H A Dlinux_hrtimer.c105 int64_t nsec)
109 hrtimer->precision = nsec;
111 nstosbt(nsec), hrtimer_call_handler, hrtimer, 0);
104 linux_hrtimer_start_range_ns(struct hrtimer *hrtimer, ktime_t time, int64_t nsec) argument
/freebsd-11-stable/sys/x86/include/
H A Dpvclock.h49 uint32_t nsec; member in struct:pvclock_wall_clock
/freebsd-11-stable/contrib/ldns/
H A Ddnssec.c84 ldns_nsec_get_bitmap(ldns_rr *nsec) { argument
85 if (ldns_rr_get_type(nsec) == LDNS_RR_TYPE_NSEC) {
86 return ldns_rr_rdf(nsec, 1);
87 } else if (ldns_rr_get_type(nsec) == LDNS_RR_TYPE_NSEC3) {
88 return ldns_rr_rdf(nsec, 5);
117 ldns_rr *nsec; local
124 nsec = ldns_rr_list_rr(nsec3s, 0);
125 algorithm = ldns_nsec3_algorithm(nsec);
126 salt_length = ldns_nsec3_salt_length(nsec);
127 salt = ldns_nsec3_salt_data(nsec);
938 ldns_rr *nsec = NULL; local
1158 ldns_rr *nsec = NULL; local
1332 ldns_nsec3_hash_name_frm_nsec3(const ldns_rr *nsec, ldns_rdf *name) argument
1472 ldns_nsec_covers_name(const ldns_rr *nsec, const ldns_rdf *name) argument
[all...]
H A Dhigher.c305 ldns_nsec_type_check(ldns_rr *nsec, ldns_rr_type t) argument
307 switch (ldns_rr_get_type(nsec)) {
308 case LDNS_RR_TYPE_NSEC : if (ldns_rr_rd_count(nsec) < 2) {
312 ldns_rr_rdf(nsec, 1), t);
314 case LDNS_RR_TYPE_NSEC3 : if (ldns_rr_rd_count(nsec) < 6) {
318 ldns_rr_rdf(nsec, 5), t);
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/safety/
H A Dtst.copyin.d46 #pragma D option statusrate=1nsec
/freebsd-11-stable/contrib/ldns/ldns/
H A Dhigher.h92 * Check if t is enumerated in the nsec type rdata
93 * \param[in] nsec the NSEC Record to look in
97 bool ldns_nsec_type_check(ldns_rr *nsec, ldns_rr_type t);
/freebsd-11-stable/sys/fs/smbfs/
H A Dsmbfs_subr.c73 smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp) argument
75 smb_time_server2local(nsec / 10000000 - DIFF1970TO1601, 0, tsp);
79 smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec) argument
84 *nsec = (((int64_t)(seconds) & ~1) + DIFF1970TO1601) * (int64_t)10000000;
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/sys/fm/
H A Dutil.h70 uint64_t nsec; /* nanoseconds past ed_tod_base.sec */ member in struct:erpt_dump::__anon5441
/freebsd-11-stable/contrib/elftoolchain/elfcopy/
H A Dsegments.c188 if (s == s->seg->v_sec[s->seg->nsec - 1])
235 for (i = 0; i < s->seg->nsec; i++) {
245 for (i = i + 1; i < s->seg->nsec; i++) {
262 for (i = 0; i < s->seg->nsec; i++)
265 if (i >= s->seg->nsec)
269 for (; i < s->seg->nsec; i++) {
300 for (i = seg->nsec - 1; i >= 0; i--)
382 for (i = 0; i < s->seg->nsec; i++) {
399 for (i = 0; i < s->seg->nsec; i++)
402 if (i >= s->seg->nsec)
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_clock.c193 ts->tv_nsec = ct->nsec;
236 ct.nsec = bct->nsec;
287 ct->nsec = ts->tv_nsec;
321 bct->nsec = ct.nsec;
334 nsdigits, nsdigits, bct->nsec / nsdivisors[nsdigits]);
352 nsdigits, nsdigits, ct->nsec / nsdivisors[nsdigits]);
/freebsd-11-stable/sys/sys/
H A Dclock.h86 long nsec; /* nano seconds */ member in struct:clocktime
101 * interpreted as described above. The nsec field is binary. If the ampm arg
108 * 0x2017). The mon through sec values will be 2-digit BCD. The nsec field will
122 long nsec; /* nanoseconds */ member in struct:bcd_clocktime

Completed in 466 milliseconds

12345