Home
last modified time | relevance | path

Searched refs:n (Results 1 – 25 of 7660) sorted by last modified time

12345678910>>...307

/freebsd/sys/dev/cxgbe/
H A Dt4_main.c4041 n = 0; in validate_mem_range()
4052 n++; in validate_mem_range()
5961 n++; in fixup_link_config()
5969 n++; in fixup_link_config()
5974 n++; in fixup_link_config()
5979 n++; in fixup_link_config()
5988 n++; in fixup_link_config()
8527 if (n < 0 || n & FEC_AUTO) in sysctl_requested_fec()
8540 else if (n == 0 || n == FEC_NONE) in sysctl_requested_fec()
9978 for (n = 0; n < i - 1; n++) in sysctl_meminfo()
[all …]
/freebsd/sys/kern/
H A Dsys_generic.c1352 int n; in selsetbits() local
1354 n = 0; in selsetbits()
1371 n++; in selsetbits()
1397 n = 0; in selrescan()
1443 n = 0; in selscan()
1649 n = 0; in pollrescan()
1666 n++; in pollrescan()
1679 n++; in pollrescan()
1699 n++; in pollout()
1715 n = 0; in pollscan()
[all …]
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_aperture.c250 struct list_head *pos, *n; in aperture_detach_devices() local
254 list_for_each_safe(pos, n, &apertures) { in aperture_detach_devices()
/freebsd/sys/dev/cxgbe/common/
H A Dcommon.h634 unsigned int n, const u8 *data, int byte_oriented);
667 int start, int n, const u16 *rspq, unsigned int nrspq);
693 int t4_read_cim_ibq(struct adapter *adap, unsigned int qid, u32 *data, size_t n);
694 int t4_read_cim_obq(struct adapter *adap, unsigned int qid, u32 *data, size_t n);
695 int t4_cim_read(struct adapter *adap, unsigned int addr, unsigned int n,
697 int t4_cim_write(struct adapter *adap, unsigned int addr, unsigned int n,
699 int t4_cim_ctl_read(struct adapter *adap, unsigned int addr, unsigned int n,
767 unsigned int start, unsigned int n);
H A Dt4_hw.c3275 if (memcmp(data - n, (u8 *)buf + offset, n)) { in t4_write_flash()
5511 while (n > 0) { in t4_config_rss_range()
5527 n -= nq; in t4_config_rss_range()
6743 u32 n; in t4_get_mps_bg_map() local
6749 if (n == 0) in t4_get_mps_bg_map()
6764 if (n == 0) in t4_get_rx_e_chan_map()
9907 if (n > nwords) in t4_read_cim_ibq()
9908 n = nwords; in t4_read_cim_ibq()
9954 if (n > nwords) in t4_read_cim_obq()
9955 n = nwords; in t4_read_cim_obq()
[all …]
/freebsd/libexec/rtld-elf/
H A Drtld.c418 n = *m; in rtld_get_env_val()
441 n = *m; in rtld_init_env_vars_for_prefix()
460 strncmp(lvd->n, n, nlen) == 0) { in rtld_init_env_vars_for_prefix()
2057 #define COND_SWAP(n) (is_le ? le32toh(n) : be32toh(n)) argument
4725 for (n = needed; n != NULL; n = n->next) { in symlook_needed()
6178 if (v - n == (ptrdiff_t)strlen(l->n) && in parse_args()
6179 strncmp(n, l->n, v - n) == 0) { in parse_args()
6186 n); in parse_args()
6244 int n; in parse_integer() local
6248 n = 0; in parse_integer()
[all …]
/freebsd/sbin/pfctl/
H A Dpfctl.c385 struct node_host *h = NULL, *n = NULL; in pfctl_check_skip_ifaces() local
395 for (n = h; n != NULL; n = n->next) { in pfctl_check_skip_ifaces()
412 struct node_host *h = NULL, *n = NULL; in pfctl_adjust_skip_ifaces() local
422 for (n = h; n != NULL; n = n->next) in pfctl_adjust_skip_ifaces()
427 if (strncmp(pp->pfik_name, n->ifname, IFNAMSIZ)) in pfctl_adjust_skip_ifaces()
2703 struct node_host *h = NULL, *n = NULL; in pfctl_set_interface_flags() local
2715 for (n = h; n != NULL; n = n->next) in pfctl_set_interface_flags()
2716 pfctl_set_interface_flags(pf, n->ifname, flags, how); in pfctl_set_interface_flags()
/freebsd/contrib/libarchive/libarchive/
H A Darchive_read_support_format_lha.c1948 #define lzh_br_has(br, n) ((br)->cache_avail >= n) argument
1952 ((br)->cache_avail - (n)))) & cache_masks[n])
1955 ((n) - (br)->cache_avail))) & cache_masks[n])
1967 (lzh_br_read_ahead_0((strm), (br), (n)) || lzh_br_has((br), (n)))
1970 #define lzh_br_consume(br, n) ((br)->cache_avail -= (n)) argument
1971 #define lzh_br_unconsume(br, n) ((br)->cache_avail += (n)) argument
1994 const int x = n >> 3; in lzh_br_fillup()
2055 n -= 8; in lzh_br_fillup()
2318 int n = (c == 1)?4:9; in lzh_read_blocks() local
2329 lzh_br_consume(br, n); in lzh_read_blocks()
[all …]
H A Darchive_string.c833 p += n; in archive_string_append_from_wcs()
1947 n >>= 1; in utf16nbytes()
2214 n -= r; in invalid_mbs()
2663 int n; in strncat_from_utf8_to_utf8() local
2769 s += n; in archive_string_append_unicode()
3003 s += n; in archive_string_normalize_C()
3319 s += n; in archive_string_normalize_D()
3387 n = n2; in archive_string_normalize_D()
3416 int n; in strncat_from_utf8_libarchive2() local
3464 s += n; in strncat_from_utf8_libarchive2()
[all …]
H A Darchive_match.c1321 cmp_key_mbs(const struct archive_rb_node *n, const void *key) in cmp_key_mbs() argument
1323 struct match_file *f = (struct match_file *)(uintptr_t)n; in cmp_key_mbs()
1350 cmp_key_wcs(const struct archive_rb_node *n, const void *key) in cmp_key_wcs() argument
1352 struct match_file *f = (struct match_file *)(uintptr_t)n; in cmp_key_wcs()
/freebsd/contrib/pf/authpf/
H A Dauthpf.c91 int lockcnt = 0, n; in main() local
189 if ((n = snprintf(rulesetname, sizeof(rulesetname), "%s(%ld)", in main()
190 luser, (long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) { in main()
193 if ((n = snprintf(rulesetname, sizeof(rulesetname), "%ld", in main()
194 (long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) { in main()
202 n = snprintf(pidfile, sizeof(pidfile), "%s/%s", in main()
204 if (n < 0 || (u_int)n >= sizeof(pidfile)) { in main()
587 int n; in check_luser() local
590 n = snprintf(tmp, sizeof(tmp), "%s/%s", luserdir, l_user); in check_luser()
591 if (n < 0 || (u_int)n >= sizeof(tmp)) { in check_luser()
/freebsd/usr.sbin/kbdcontrol/
H A Dkbdcontrol.c1075 int n; in set_keyrates() local
1088 for (n = 0; n < ndelays - 1; n++) in set_keyrates()
1089 if (delay <= kbdelays[n]) in set_keyrates()
1091 d = n; in set_keyrates()
1092 for (n = 0; n < nrepeats - 1; n++) in set_keyrates()
1093 if (repeat <= kbrates[n]) in set_keyrates()
1095 r = n; in set_keyrates()
/freebsd/usr.sbin/ndp/
H A Dndp.c906 ndp_ether_aton(char *a, u_char *n) in ndp_ether_aton() argument
917 n[i] = o[i]; in ndp_ether_aton()
1252 struct in6_prefix *p, *ep, *n; in plist() local
1508 int n; in sec2str() local
1517 n = snprintf(p, ep - p, "%dd", days); in sec2str()
1518 if (n < 0 || n >= ep - p) in sec2str()
1520 p += n; in sec2str()
1525 if (n < 0 || n >= ep - p) in sec2str()
1527 p += n; in sec2str()
1532 if (n < 0 || n >= ep - p) in sec2str()
[all …]
/freebsd/usr.sbin/pstat/
H A Dpstat.c259 unsigned int i, n; in ttymode_sysctl() local
271 n = len / sizeof(*xttys); in ttymode_sysctl()
272 for (i = 0; i < n; i++) in ttymode_sysctl()
544 int i, n; in swapmode_kvm() local
546 n = kvm_getswapinfo(kd, kswap, sizeof kswap / sizeof kswap[0], in swapmode_kvm()
550 for (i = 0; i < n; ++i) in swapmode_kvm()
561 int mib[16], n; in swapmode_sysctl() local
567 for (n = 0; ; ++n) { in swapmode_sysctl()
568 mib[mibsize] = n; in swapmode_sysctl()
/freebsd/usr.sbin/rtadvd/
H A Dcontrol.c62 ssize_t n; in cm_recv() local
91 n = read(fd, cm, sizeof(*cm)); in cm_recv()
92 if (n < 0 && errno == EAGAIN) { in cm_recv()
101 if (n != (ssize_t)sizeof(*cm)) { in cm_recv()
147 n = read(fd, msg, msglen); in cm_recv()
148 if (n < 0 && errno == EAGAIN) { in cm_recv()
156 if (n != (ssize_t)msglen) { in cm_recv()
H A Drtadvd.c460 int n, type, ifindex = 0, plen; in rtmsg_input() local
477 n = read(s->si_fd, msg, sizeof(msg)); in rtmsg_input()
480 "(type = %d, len = %d)", __func__, rtm->rtm_type, n); in rtmsg_input()
482 if (n > rtm->rtm_msglen) { in rtmsg_input()
491 __func__, n, rtm->rtm_msglen); in rtmsg_input()
494 n = rtm->rtm_msglen; in rtmsg_input()
498 lim = msg + n; in rtmsg_input()
/freebsd/usr.sbin/rwhod/
H A Drwhod.c410 int i, n; in receiver_process() local
412 n = (cc - WHDRSIZE) / sizeof(struct whoent); in receiver_process()
419 for (i = 0; i < n; i++) { in receiver_process()
/freebsd/usr.sbin/usbconfig/
H A Dusbconfig.c211 uint8_t n; in get_token() local
213 for (n = 0; n != nitems(token); n++) { in get_token()
551 int n; in main() local
618 for (n = 0; n != argc; n++) { in main()
630 n++; in main()
641 n++; in main()
656 n += 5; in main()
707 n++; in main()
715 n++; in main()
723 n++; in main()
[all …]
/freebsd/usr.sbin/bluetooth/bthidd/
H A Dkbd.c447 if (n == -1) { in kbd_write()
453 b += n; in kbd_write()
476 (n) ++; \
482 int32_t c, n; in kbd_xlate() local
484 n = 0; in kbd_xlate()
498 PUT(0xe0, n, b, eob); in kbd_xlate()
499 PUT(0x46, n, b, eob); in kbd_xlate()
500 PUT(0xe0, n, b, eob); in kbd_xlate()
501 PUT(0xc6, n, b, eob); in kbd_xlate()
513 return (n); in kbd_xlate()
[all …]
/freebsd/usr.sbin/bluetooth/hccontrol/
H A Dhccontrol.c65 int n; in main() local
68 while ((n = getopt(argc, argv, "n:Nvh")) != -1) { in main()
69 switch (n) { in main()
94 n = do_hci_command(node, argc, argv); in main()
96 return (n); in main()
H A Dnode.c156 int n; in hci_read_node_features() local
164 for (n = 0; n < nitems(r.features); n++) in hci_read_node_features()
219 int n, error = OK; in hci_read_neighbor_cache() local
245 for (n = 0; n < r.num_entries; n++) { in hci_read_neighbor_cache()
257 r.entries[n].features[0], r.entries[n].features[1], in hci_read_neighbor_cache()
258 r.entries[n].features[2], r.entries[n].features[3], in hci_read_neighbor_cache()
259 r.entries[n].features[4], r.entries[n].features[5], in hci_read_neighbor_cache()
260 r.entries[n].features[6], r.entries[n].features[7], in hci_read_neighbor_cache()
261 r.entries[n].clock_offset, r.entries[n].page_scan_mode, in hci_read_neighbor_cache()
278 int n, error = OK; in hci_read_connection_list() local
[all …]
/freebsd/usr.sbin/bluetooth/sdpcontrol/
H A Dsearch.c627 for (n = 0; n < values_len; n ++) { in do_sdp_search()
629 values[n].attr = 0; in do_sdp_search()
630 values[n].vlen = BSIZE; in do_sdp_search()
631 values[n].value = buffer[n]; in do_sdp_search()
636 if (n != 0) in do_sdp_search()
640 for (n = 0; n < values_len; n ++) { in do_sdp_search()
660 values[n].vlen); in do_sdp_search()
666 values[n].value + values[n].vlen); in do_sdp_search()
672 values[n].value + values[n].vlen); in do_sdp_search()
678 values[n].value + values[n].vlen); in do_sdp_search()
[all …]
/freebsd/sys/dev/sound/pcm/
H A Dfeeder.c167 cmpdesc(struct pcm_feederdesc *n, struct pcm_feederdesc *m) in cmpdesc() argument
169 return ((n->type == m->type) && in cmpdesc()
170 ((n->in == 0) || (n->in == m->in)) && in cmpdesc()
171 ((n->out == 0) || (n->out == m->out)) && in cmpdesc()
172 (n->flags == m->flags)); in cmpdesc()
/freebsd/sys/dev/axgbe/
H A Dxgbe-sysctl.c257 unsigned long __rounddown_pow_of_two(unsigned long n) in __rounddown_pow_of_two() argument
260 return (1UL << (fls_long(n) - 1)); in __rounddown_pow_of_two()
/freebsd/sbin/ipf/common/
H A Dlexer.c266 n = yygetc(0); in yylex()
280 } while (ISALPHA(n) || ISDIGIT(n) || n == '_'); in yylex()
281 yyunputc(n); in yylex()
312 if (n == EOF || n == TOOLONG) { in yylex()
365 yyunputc(n); in yylex()
388 yyunputc(n); in yylex()
408 yyunputc(n); in yylex()
428 yyunputc(n); in yylex()
516 yyunputc(n); in yylex()
526 yyunputc(n); in yylex()
[all …]

12345678910>>...307