Searched refs:nr (Results 1 - 25 of 212) sorted by relevance

123456789

/freebsd-current/share/doc/usd/07.mail/
H A DMakefile3 SRCS= mail0.nr mail1.nr mail2.nr mail3.nr mail4.nr mail5.nr mail6.nr \
4 mail7.nr mail8.nr mail9.nr mail
[all...]
/freebsd-current/sys/dev/tdfx/
H A Dtdfx_io.h74 #define _IOCV(dir,type,nr,size) \
77 ((nr) << _IOC_NRSHIFT) | \
81 #define _IOV(type,nr) _IOCV(_IOC_NONE,(type),(nr),0)
82 #define _IORV(type,nr,size) _IOCV(_IOC_READ,(type),(nr),sizeof(size))
83 #define _IOWV(type,nr,size) _IOCV(_IOC_WRITE,(type),(nr),sizeof(size))
84 #define _IOWRV(type,nr,size) _IOCV(_IOC_READ|_IOC_WRITE,(type),(nr),sizeo
[all...]
/freebsd-current/contrib/wpa/src/ap/
H A Dneighbor_db.c23 struct hostapd_neighbor_entry *nr; local
25 dl_list_for_each(nr, &hapd->nr_db, struct hostapd_neighbor_entry,
27 if (os_memcmp(bssid, nr->bssid, ETH_ALEN) == 0 &&
29 (ssid->ssid_len == nr->ssid.ssid_len &&
30 os_memcmp(ssid->ssid, nr->ssid.ssid,
32 return nr;
40 struct hostapd_neighbor_entry *nr; local
46 dl_list_for_each(nr, &hapd->nr_db, struct hostapd_neighbor_entry,
55 wpa_snprintf_hex(ssid, sizeof(ssid), nr->ssid.ssid,
56 nr
92 hostapd_neighbor_clear_entry(struct hostapd_neighbor_entry *nr) argument
109 struct hostapd_neighbor_entry *nr; local
121 hostapd_neighbor_set(struct hostapd_data *hapd, const u8 *bssid, const struct wpa_ssid_value *ssid, const struct wpabuf *nr, const struct wpabuf *lci, const struct wpabuf *civic, int stationary, u8 bss_parameters) argument
171 struct hostapd_neighbor_entry *nr; local
187 struct hostapd_neighbor_entry *nr, *prev; local
233 struct wpabuf *nr; local
[all...]
H A Drrm.c156 static int hostapd_check_lci_age(struct hostapd_neighbor_entry *nr, u16 max_age) argument
161 if (nr->stationary || max_age == 0xffff)
170 os_time_sub(&curr, &nr->lci_date, &diff);
184 struct hostapd_neighbor_entry *nr,
187 size_t len = 2 + wpabuf_len(nr->nr);
189 if (send_lci && nr->lci)
190 len += 2 + wpabuf_len(nr->lci);
192 if (send_civic && nr->civic)
193 len += 2 + wpabuf_len(nr
183 hostapd_neighbor_report_len(struct wpabuf *buf, struct hostapd_neighbor_entry *nr, int send_lci, int send_civic) argument
204 struct hostapd_neighbor_entry *nr; local
519 struct hostapd_neighbor_entry *nr; local
[all...]
/freebsd-current/usr.bin/cksum/
H A Dsum2.c43 int nr; local
56 while ((nr = read(fd, buf, sizeof(buf))) > 0)
57 for (total += nr, p = buf; nr--; ++p)
59 if (nr < 0)
H A Dsum1.c42 int nr; local
53 while ((nr = read(fd, buf, sizeof(buf))) > 0)
54 for (total += nr, p = buf; nr--; ++p) {
59 if (nr < 0)
/freebsd-current/contrib/ofed/libmlx5/
H A Dbitmap.h57 #define BITS_TO_LONGS(nr) DIV_ROUND_UP(nr, BITS_PER_LONG)
96 static inline void mlx5_set_bit(unsigned int nr, unsigned long *addr) argument
98 addr[(nr / BITS_PER_LONG)] |= (1UL << (nr % BITS_PER_LONG));
101 static inline void mlx5_clear_bit(unsigned int nr, unsigned long *addr) argument
103 addr[(nr / BITS_PER_LONG)] &= ~(1UL << (nr % BITS_PER_LONG));
106 static inline int mlx5_test_bit(unsigned int nr, const unsigned long *addr) argument
108 return !!(addr[(nr / BITS_PER_LON
[all...]
/freebsd-current/sys/compat/linuxkpi/common/include/linux/
H A Dpagevec.h15 uint8_t nr; member in struct:pagevec
22 return PAGEVEC_SIZE - pvec->nr;
28 pvec->nr = 0;
34 pvec->nr = 0;
40 return pvec->nr;
46 pvec->pages[pvec->nr++] = page;
47 return PAGEVEC_SIZE - pvec->nr;
H A Dpagemap.h43 release_pages(struct page **pages, int nr) argument
47 for (i = 0; i < nr; i++)
/freebsd-current/contrib/tcpdump/
H A Dprint-cnfp.c160 const struct nfrec_v1 *nr; local
187 nr = (const struct nfrec_v1 *)&nh[1];
191 for (; nrecs != 0; nr++, nrecs--) {
198 ND_TCHECK_SIZE(nr);
200 GET_BE_U_4(nr->start_time)/1000,
201 GET_BE_U_4(nr->start_time)%1000,
202 GET_BE_U_4(nr->last_time)/1000,
203 GET_BE_U_4(nr->last_time)%1000);
207 intoa(GET_IPV4_TO_NETWORK_ORDER(nr->src_ina)),
209 GET_BE_U_2(nr
255 const struct nfrec_v5 *nr; local
357 const struct nfrec_v6 *nr; local
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_syscall_linux_x86_64.inc15 static uptr internal_syscall(u64 nr) {
17 asm volatile("syscall" : "=a"(retval) : "a"(nr) : "rcx", "r11",
23 static uptr internal_syscall(u64 nr, T1 arg1) {
25 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1) :
31 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2) {
33 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
39 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3) {
41 asm volatile("syscall" : "=a"(retval) : "a"(nr), "D"((u64)arg1),
47 static uptr internal_syscall(u64 nr, T1 arg1, T2 arg2, T3 arg3, T4 arg4) {
50 "syscall" : "=a"(retval) : "a"(nr), "
[all...]
H A Dsanitizer_syscall_linux_riscv64.inc33 static uptr __internal_syscall(u64 nr) {
34 register u64 a7 asm("a7") = nr;
44 static uptr __internal_syscall(u64 nr, u64 arg1) {
45 register u64 a7 asm("a7") = nr;
55 static uptr __internal_syscall(u64 nr, u64 arg1, long arg2) {
56 register u64 a7 asm("a7") = nr;
68 static uptr __internal_syscall(u64 nr, u64 arg1, long arg2, long arg3) {
69 register u64 a7 asm("a7") = nr;
82 static uptr __internal_syscall(u64 nr, u64 arg1, long arg2, long arg3,
84 register u64 a7 asm("a7") = nr;
[all...]
H A Dsanitizer_syscall_linux_loongarch64.inc30 static uptr __internal_syscall(u64 nr) {
31 register u64 a7 asm("$a7") = nr;
41 static uptr __internal_syscall(u64 nr, u64 arg1) {
42 register u64 a7 asm("$a7") = nr;
52 static uptr __internal_syscall(u64 nr, u64 arg1, long arg2) {
53 register u64 a7 asm("$a7") = nr;
65 static uptr __internal_syscall(u64 nr, u64 arg1, long arg2, long arg3) {
66 register u64 a7 asm("$a7") = nr;
79 static uptr __internal_syscall(u64 nr, u64 arg1, long arg2, long arg3,
81 register u64 a7 asm("$a7") = nr;
[all...]
/freebsd-current/sys/dev/ice/
H A Dice_bitops.h51 #define BIT_CHUNK(nr) ((nr) / BITS_PER_CHUNK)
55 #define BIT_IN_CHUNK(nr) ((nr) % BITS_PER_CHUNK)
56 /* How many bits are valid in the last chunk, assumes nr > 0 */
57 #define LAST_CHUNK_BITS(nr) ((((nr) - 1) % BITS_PER_CHUNK) + 1)
58 /* Generate a bitmask of valid bits in the last chunk, assumes nr > 0 */
59 #define LAST_CHUNK_MASK(nr) (((ice_bitmap_t)~0) >> \
60 (BITS_PER_CHUNK - LAST_CHUNK_BITS(nr)))
65 ice_is_bit_set_internal(u16 nr, const ice_bitmap_t *bitmap) argument
83 ice_clear_bit_internal(u16 nr, ice_bitmap_t *bitmap) argument
88 ice_set_bit_internal(u16 nr, ice_bitmap_t *bitmap) argument
93 ice_test_and_clear_bit_internal(u16 nr, ice_bitmap_t *bitmap) argument
103 ice_test_and_set_bit_internal(u16 nr, ice_bitmap_t *bitmap) argument
120 ice_is_bit_set(const ice_bitmap_t *bitmap, u16 nr) argument
134 ice_clear_bit(u16 nr, ice_bitmap_t *bitmap) argument
147 ice_set_bit(u16 nr, ice_bitmap_t *bitmap) argument
161 ice_test_and_clear_bit(u16 nr, ice_bitmap_t *bitmap) argument
176 ice_test_and_set_bit(u16 nr, ice_bitmap_t *bitmap) argument
[all...]
/freebsd-current/tools/tools/ath/athpoke/
H A Dathpoke.c169 struct dumpreg *nr = &chipregs[i]; local
170 if (nr->srevMin == 0)
171 nr->srevMin = def_srev_min;
172 if (nr->srevMax == 0)
173 nr->srevMax = def_srev_max;
174 if (nr->phyMin == 0)
175 nr->phyMin = def_phy_min;
176 if (nr->phyMax == 0)
177 nr->phyMax = def_phy_max;
184 if (nr
[all...]
/freebsd-current/sys/dev/mana/
H A Dgdma_util.h77 #define BIT_MASK(nr) (1UL << ((nr) & (BITS_PER_LONG - 1)))
78 #define BIT_WORD(nr) ((nr) / BITS_PER_LONG)
115 bitmap_set(unsigned long *map, unsigned int start, int nr) argument
117 const unsigned int size = start + nr;
123 while (nr - bits_to_set >= 0) {
125 nr -= bits_to_set;
131 if (nr) {
138 bitmap_clear(unsigned long *map, unsigned int start, int nr) argument
[all...]
/freebsd-current/contrib/capsicum-test/
H A Doverhead.cc12 double RepeatSyscall(int count, int nr, long arg1, long arg2, long arg3) { argument
15 syscall(nr, arg1, arg2, arg3);
23 double CompareSyscall(EntryFn entry_fn, int count, int nr, argument
25 double bare = RepeatSyscall(count, nr, arg1, arg2, arg3);
27 double capmode = RepeatSyscall(count, nr, arg1, arg2, arg3);
/freebsd-current/sys/contrib/openzfs/module/icp/algs/aes/
H A Daes_impl_x86-64.c42 key->nr = rijndael_key_setup_enc_amd64(&(key->encr_ks.ks32[0]),
44 key->nr = rijndael_key_setup_dec_amd64(&(key->decr_ks.ks32[0]),
/freebsd-current/sys/crypto/aesni/
H A Daesni_ccm.c49 #define AESNI_ENC(d, k, nr) aesni_enc(nr-1, (const __m128i*)k, d)
61 xor_and_encrypt(__m128i a, __m128i b, const unsigned char *k, int nr) argument
65 retval = AESNI_ENC(retval, k, nr);
93 const unsigned char *key, int nr,
113 cbc_block = AESNI_ENC(cbc_block, key, nr);
166 cbc_block = xor_and_encrypt(cbc_block, staging_block, key, nr);
175 key, nr);
193 int tag_length, const unsigned char *key, int nr)
220 key, nr, nbyte
91 cbc_mac_start(const unsigned char *auth_data, size_t auth_len, const unsigned char *nonce, size_t nonce_len, const unsigned char *key, int nr, size_t data_len, size_t tag_len) argument
190 AES_CCM_encrypt(const unsigned char *in, unsigned char *out, const unsigned char *addt, const unsigned char *nonce, unsigned char *tag, uint32_t nbytes, uint32_t abytes, int nlen, int tag_length, const unsigned char *key, int nr) argument
291 decrypt_loop(const unsigned char *in, unsigned char *out, size_t nbytes, __m128i s0, size_t nonce_length, __m128i *macp, const unsigned char *key, int nr) argument
360 AES_CCM_decrypt(const unsigned char *in, unsigned char *out, const unsigned char *addt, const unsigned char *nonce, const unsigned char *tag, uint32_t nbytes, uint32_t abytes, int nlen, int tag_length, const unsigned char *key, int nr) argument
[all...]
/freebsd-current/contrib/elftoolchain/libelftc/
H A Delftc_copyfile.c54 ssize_t nr, nw; local
87 for (n = file_size; n > 0; n -= (size_t) nr, b += nr) {
88 if ((nr = read(ifd, b, n)) < 0) {
/freebsd-current/tools/regression/geom_gpt/
H A Dgctl_test.t163 my $nr = 1;
179 printf("%sok $nr \# gctl($key)%s\n",
207 printf("%sok $nr # mdcfg($key)%s\n",
214 print "ok $nr \# conf($key)\n";
216 print "not ok $nr \# conf($key) - $st\n";
229 printf("%sok $nr # mount($key)%s\n",
235 print "ok $nr \# umount($key)\n";
237 $nr += 1;
/freebsd-current/tools/tools/ath/athdecode/
H A Dmain.c290 struct dumpreg *nr = &chipregs[i]; local
291 if (nr->srevMin == 0)
292 nr->srevMin = def_srev_min;
293 if (nr->srevMax == 0)
294 nr->srevMax = def_srev_max;
295 if (nr->phyMin == 0)
296 nr->phyMin = def_phy_min;
297 if (nr->phyMax == 0)
298 nr->phyMax = def_phy_max;
305 if (nr
[all...]
/freebsd-current/usr.bin/locate/locate/
H A Dmklocatedb.sh69 $locate -d $filelist / | $bigram | $sort -nr | \
74 $bigram < $filelist | $sort -nr | \
/freebsd-current/tools/test/stress2/misc/
H A Dmmap2.sh68 work(int nr)
81 sprintf(path, "/tmp/mmap.%06d.%04d", getpid(), nr);
116 printf("nr = %d, %-14s, start = %p, end = %p, len = 0x%08x, (%5d pages)\n",
117 nr, path, p, p + len, len, len>>PAGE_SHIFT);
159 int nr[THREADS];
166 nr[i] = i;
167 if ((r = pthread_create(&threads[i], NULL, thr, (void *)&nr[i])) != 0)
/freebsd-current/contrib/nvi/cl/
H A Dcl_read.c51 int changed, nr = 0; local
103 clp->ibuf + clp->skip, SIZE(clp->ibuf) - clp->skip, &nr, tp)) {
105 rc = INPUT2INT5(sp, clp->cw, clp->ibuf, nr + clp->skip,
112 memmove(clp->ibuf, clp->ibuf + nr + clp->skip - n, n);
151 int maxfd, nr, term_reset; local
164 switch (nr = read(STDIN_FILENO, bp, blen)) {
170 *nrp = nr;
263 switch (nr = read(STDIN_FILENO, bp, blen - ONE_FOR_EOF)) {
290 if (F_ISSET(sp, SC_EX) && bp[nr - 1] != '\n')
291 bp[nr
[all...]

Completed in 576 milliseconds

123456789