/freebsd/sbin/ipf/libipf/ |
H A D | printnat.c | 119 printnataddr(np->in_v[0], np->in_names, &np->in_osrc, in printnat() 127 printnataddr(np->in_v[0], np->in_names, &np->in_odst, in printnat() 135 printnataddr(np->in_v[1], np->in_names, &np->in_nsrc, in printnat() 140 printnataddr(np->in_v[1], np->in_names, &np->in_ndst, in printnat() 158 printnataddr(np->in_v[1], np->in_names, &np->in_nsrc, in printnat() 180 printnataddr(np->in_v[1], np->in_names, &np->in_ndst, in printnat() 199 printnataddr(np->in_v[0], np->in_names, &np->in_odst, in printnat() 214 printnataddr(np->in_v[1], np->in_names, &np->in_ndst, in printnat() 339 np->in_space, np->in_use, np->in_hits, in printnat() 340 np->in_flags, np->in_pr[0], np->in_pr[1]); in printnat() [all …]
|
H A D | printpoolnode.c | 18 printpoolfield(np, IPLT_POOL, i); 25 if (np->ipn_info == 1) 27 printip(np->ipn_addr.adf_family, 29 printmask(np->ipn_addr.adf_family, 52 np->ipn_addr.adf_family); 54 printmask(np->ipn_addr.adf_family, 58 np->ipn_hits, np->ipn_bytes, 59 np->ipn_name, np->ipn_ref); 62 np->ipn_hits, np->ipn_bytes, 63 np->ipn_name, np->ipn_ref); [all …]
|
H A D | printdstlistnode.c | 14 ipf_dstnode_t node, *np; in printdstlistnode() local 24 np = calloc(1, node.ipfd_size); in printdstlistnode() 25 if (np == NULL) in printdstlistnode() 27 if ((*copyfunc)(inp, np, node.ipfd_size)) in printdstlistnode() 32 printpoolfield(np, IPLT_DSTLIST, i); in printdstlistnode() 39 if (np->ipfd_dest.fd_name >= 0) in printdstlistnode() 40 PRINTF("%s:", np->ipfd_names); in printdstlistnode() 54 np->ipfd_dest.fd_name); in printdstlistnode() 70 np->ipfd_states, np->ipfd_ref, in printdstlistnode() 71 np->ipfd_names, np->ipfd_uid); in printdstlistnode() [all …]
|
/freebsd/sys/dev/sym/ |
H A D | sym_hipd.c | 2781 sym_name(np), np->sv_scntl3, np->sv_dmode, np->sv_dcntl, in sym_prepare_setting() 2782 np->sv_ctest3, np->sv_ctest4, np->sv_ctest5); in sym_prepare_setting() 2786 sym_name(np), np->rv_scntl3, np->rv_dmode, np->rv_dcntl, in sym_prepare_setting() 2787 np->rv_ctest3, np->rv_ctest4, np->rv_ctest5); in sym_prepare_setting() 2891 if (np->last_cp && np->iarb_count < np->iarb_max) { in sym_put_start_queue() 3150 np->fw_patch(np); in sym_init() 6065 np->lastmsg = np->msgout[0]; in sym_int_sir() 6075 np->lastmsg = np->msgout[0]; in sym_int_sir() 8419 np->hcb_ba = vtobus(np); 8641 np->fw_setup(np, fw); [all …]
|
/freebsd/usr.bin/mail/ |
H A D | names.c | 52 np = (struct name *)salloc(sizeof(*np)); in nalloc() 72 np = np->n_flink; in tailof() 289 np = np->n_flink; in outof() 410 np = np->n_flink; in outof() 598 np = np->n_flink; in elide() 619 np = np->n_flink; in elide() 632 np = np->n_flink; in elide() 646 np = np->n_flink; in elide() 665 np = np->n_flink; in elide() 677 np = np->n_flink; in elide() [all …]
|
/freebsd/sys/fs/nfsclient/ |
H A D | nfs_clsubs.c | 122 NFSLOCKNODE(np); in ncl_dircookie_lock() 124 (void) msleep(&np->n_flag, &np->n_mtx, PZERO, "nfsdirlk", 0); in ncl_dircookie_lock() 131 NFSLOCKNODE(np); in ncl_dircookie_unlock() 134 NFSUNLOCKNODE(np); in ncl_dircookie_unlock() 140 struct nfsnode *np; in ncl_excl_start() local 150 np = VTONFS(vp); in ncl_excl_start() 158 struct nfsnode *np; in ncl_excl_finish() local 162 np = VTONFS(vp); in ncl_excl_finish() 188 np = VTONFS(vp); in ncl_getattrcache() 192 NFSLOCKNODE(np); in ncl_getattrcache() [all …]
|
H A D | nfs_clnode.c | 99 struct nfsnode *np; in ncl_nget() local 134 vp->v_data = np; in ncl_nget() 135 np->n_vnode = vp; in ncl_nget() 188 *npp = np; in ncl_nget() 214 np = VTONFS(vp); in ncl_releasesillyrename() 231 NFSLOCKNODE(np); in ncl_releasesillyrename() 243 np = VTONFS(vp); in ncl_inactive() 245 NFSLOCKNODE(np); in ncl_inactive() 259 NFSLOCKNODE(np); in ncl_inactive() 296 NFSLOCKNODE(np); in ncl_reclaim() [all …]
|
H A D | nfs_clbio.c | 94 struct nfsnode *np; in ncl_gbp_getblksz() local 98 np = VTONFS(vp); in ncl_gbp_getblksz() 99 NFSLOCKNODE(np); in ncl_gbp_getblksz() 101 NFSUNLOCKNODE(np); in ncl_gbp_getblksz() 130 np = VTONFS(vp); in ncl_getpages() 143 NFSLOCKNODE(np); in ncl_getpages() 278 np = VTONFS(vp); in ncl_putpages() 300 NFSLOCKNODE(np); in ncl_putpages() 305 NFSLOCKNODE(np); in ncl_putpages() 373 NFSLOCKNODE(np); in nfs_bioread_check_cons() [all …]
|
/freebsd/sys/fs/smbfs/ |
H A D | smbfs_node.c | 89 struct smbnode *np; in smbfs_vnode_cmp() local 94 if (np->n_parent != sc->n_parent || np->n_nmlen != sc->n_nmlen || in smbfs_vnode_cmp() 143 np = VTOSMB(*vpp); in smbfs_node_alloc() 175 np = malloc(sizeof *np, M_SMBNODE, M_WAITOK | M_ZERO); in smbfs_node_alloc() 195 vp->v_data = np; in smbfs_node_alloc() 196 np->n_vnode = vp; in smbfs_node_alloc() 198 np->n_rpath = rpath; in smbfs_node_alloc() 269 dvp = (np->n_parent && (np->n_flag & NREFPARENT)) ? in smbfs_reclaim() 276 if (np->n_name) in smbfs_reclaim() 278 if (np->n_rpath) in smbfs_reclaim() [all …]
|
H A D | smbfs_io.c | 85 np = VTOSMB(vp); in smbfs_readvdir() 100 (np->n_parent ? np->n_parentino : 2); in smbfs_readvdir() 119 if (offset != np->n_dirofs || np->n_dirseq == NULL) { in smbfs_readvdir() 121 if (np->n_dirseq) { in smbfs_readvdir() 125 np->n_dirofs = 2; in smbfs_readvdir() 133 np->n_dirseq = ctx; in smbfs_readvdir() 135 ctx = np->n_dirseq; in smbfs_readvdir() 150 np->n_dirofs++; in smbfs_readvdir() 428 struct smbnode *np; in smbfs_getpages() 441 np = VTOSMB(vp); in smbfs_getpages() [all …]
|
/freebsd/sys/dev/nmdm/ |
H A D | nmdm.c | 241 np->np_accumulator += np->np_credits; in nmdm_timeout() 242 np->np_quota = np->np_accumulator >> QS; in nmdm_timeout() 246 callout_reset(&np->np_callout, np->np_rate, nmdm_timeout, np); in nmdm_timeout() 256 tp = np->np_tty; in nmdm_task_tty() 285 if (np->np_rate && !np->np_quota) in nmdm_task_tty() 289 np->np_quota--; in nmdm_task_tty() 328 np->np_rate = 0; in nmdm_param() 362 callout_reset(&np->np_callout, rate, nmdm_timeout, np); in nmdm_param() 368 np = np->np_other; in nmdm_param() 388 ttydisc_modem(np->np_other->np_tty, np->np_other->np_dcd); in nmdm_modem() [all …]
|
/freebsd/sbin/restore/ |
H A D | symtab.c | 102 *epp = np; in addino() 104 for (np = np->e_next; np != NULL; np = np->e_next) in addino() 139 char *np, *cp; in lookupname() local 149 *np = '\0'; in lookupname() 234 np->e_parent = np; in addentry() 236 return (np); in addentry() 239 np->e_namlen = strlen(np->e_name); in addentry() 255 return (np); in addentry() 285 for (; np != NULL; np = np->e_links) { in freeentry() 341 for (np = np->e_entries; np != NULL; np = np->e_sibling) { in removeentry() [all …]
|
H A D | restore.c | 230 if (ip != np) in nodeupdates() 263 freeentry(np); in nodeupdates() 266 myname(np)); in nodeupdates() 269 np = NULL; in nodeupdates() 312 freeentry(np); in nodeupdates() 516 for (np = ep->e_entries; np != NULL; np = np->e_sibling) { in findunreflinks() 530 for (np = ep->e_entries; np != NULL; np = np->e_sibling) { in findunreflinks() 790 for (np = ep->e_links; np != NULL; np = np->e_links) { in createlinks() 843 if (np != ep) in verifyfile() 845 for ( ; np != NULL; np = np->e_links) in verifyfile() [all …]
|
/freebsd/sys/contrib/openzfs/lib/libuutil/ |
H A D | uu_list.c | 274 (void *)lp, NODE_TO_ELEM(lp, np), (void *)np); in list_insert() 309 list_insert(lp, ELEM_TO_NODE(lp, elem), np->uln_prev, np); in uu_list_insert() 326 np = np->uln_next) { in uu_list_find() 388 if ((np = np->uln_prev) == &lp->ul_null_node) in uu_list_nearest_prev() 433 next = (wp->ulw_dir > 0)? np->uln_next : np->uln_prev; in list_walk_advance() 436 return (np); in list_walk_advance() 526 np = np->uln_next) { in uu_list_walk() 532 np = np->uln_prev) { in uu_list_walk() 574 np->uln_next->uln_prev = np->uln_prev; in uu_list_remove() 575 np->uln_prev->uln_next = np->uln_next; in uu_list_remove() [all …]
|
/freebsd/sys/dev/nvmf/controller/ |
H A D | ctl_frontend_nvmf.c | 89 sx_sleep(np, &np->lock, 0, "nvmfoff", 0); in nvmft_offline() 104 np->cdata.subnqn, lun_id, le32toh(np->cdata.nn)); in nvmft_lun_enable() 126 memcpy(new_ns, np->active_ns, i * sizeof(*np->active_ns)); in nvmft_lun_enable() 135 np->num_ns++; in nvmft_lun_enable() 173 memmove(np->active_ns + i, np->active_ns + i + 1, in nvmft_lun_disable() 174 (np->num_ns - (i + 1)) * sizeof(*np->active_ns)); in nvmft_lun_disable() 175 np->num_ns--; in nvmft_lun_disable() 213 struct nvmft_port *np = ctrlr->np; in nvmft_dispatch_command() local 253 struct nvmft_port *np = ctrlr->np; in nvmft_terminate_commands() local 772 memcpy(np->fp.revision[0], np->cdata.fr, sizeof(np->cdata.fr)); in nvmft_port_create() [all …]
|
/freebsd/sys/netpfil/ipfilter/netinet/ |
H A D | ip_nat6.c | 233 np = &(*np)->in_rnext; in ipf_nat6_addrdr() 274 np = &(*np)->in_mnext; in ipf_nat6_addmap() 620 np->in_spnext = np->in_spmin; in ipf_nat6_newmap() 629 np->in_snip6 = np->in_nsrcip6; in ipf_nat6_newmap() 791 np->in_dnip6 = np->in_ndstmsk6; in ipf_nat6_newrdr() 794 np->in_dnip6 = np->in_ndstip6; in ipf_nat6_newrdr() 846 if (np->in_dpnext > np->in_dpmax) in ipf_nat6_newrdr() 847 np->in_dpnext = np->in_dpmin; in ipf_nat6_newrdr() 2655 for (np = softn->ipf_nat_map_rules[hv]; np; np = np->in_mnext) { in ipf_nat6_checkout() 3047 for (np = softn->ipf_nat_rdr_rules[hv]; np; np = np->in_rnext) { in ipf_nat6_checkin() [all …]
|
/freebsd/lib/libc/nls/ |
H A D | msgcat.c | 162 strcmp(np->lang, lang) == 0) || (np->lang == lang))) { in __catopen_l() 346 if (np->catd != NULL && np->catd != NLERR) { in catfree() 347 munmap(np->catd->__data, (size_t)np->catd->__size); in catfree() 348 free(np->catd); in catfree() 351 free(np->name); in catfree() 352 free(np->path); in catfree() 353 free(np->lang); in catfree() 354 free(np); in catfree() 373 catfree(np); in catclose() 403 if ((np->path != NULL) && (strcmp(np->path, path) == 0)) { in load_msgcat() [all …]
|
/freebsd/sys/contrib/openzfs/cmd/zed/ |
H A D | zed_strings.c | 91 if (!np) in _zed_strings_node_destroy() 94 if (np->key) { in _zed_strings_node_destroy() 95 if (np->key != np->val) in _zed_strings_node_destroy() 99 if (np->val) { in _zed_strings_node_destroy() 103 free(np); in _zed_strings_node_destroy() 118 np = calloc(1, sizeof (*np)); in _zed_strings_node_create() 119 if (!np) in _zed_strings_node_create() 123 if (!np->val) in _zed_strings_node_create() 128 if (!np->key) in _zed_strings_node_create() 131 np->key = np->val; in _zed_strings_node_create() [all …]
|
/freebsd/sys/contrib/dev/mediatek/mt76/ |
H A D | eeprom.c | 56 if (!np) in mt76_get_of_epprom_from_mtd() 61 part = np->name; in mt76_get_of_epprom_from_mtd() 106 of_node_put(np); in mt76_get_of_epprom_from_mtd() 150 if (!np) in mt76_get_of_eeprom() 220 np = of_get_child_by_name(np, "power-limits"); in mt76_find_power_limits_node() 221 if (!np) in mt76_find_power_limits_node() 374 if (!np) in mt76_get_rate_power_limits() 392 np = of_get_child_by_name(np, name); in mt76_get_rate_power_limits() 393 if (!np) in mt76_get_rate_power_limits() 396 np = mt76_find_channel_node(np, chan); in mt76_get_rate_power_limits() [all …]
|
/freebsd/tools/regression/geom/ConfCmp/ |
H A D | ConfCmp.c | 80 struct node *np; in new_node() local 82 np = calloc(1, sizeof *np); in new_node() 88 return (np); in new_node() 102 struct node *np; in StartElement() local 112 np = new_node(); in StartElement() 124 mt->cur = np; in StartElement() 131 struct node *np; in EndElement() local 210 printf("\"%s\" -- \"%s\" -- \"%s\"", np->name, sbuf_data(np->cont), sbuf_data(np->key)); in print_node() 211 if (np->id) in print_node() 213 if (np->ref) in print_node() [all …]
|
/freebsd/sys/dev/drm2/ |
H A D | drm_gem_names.c | 57 struct drm_gem_name *np; in drm_gem_names_fini() local 158 if (np->name == -1) { in drm_gem_name_create() 160 free(np, M_GEM_NAMES); in drm_gem_name_create() 163 *name = np->name; in drm_gem_name_create() 164 np->ptr = p; in drm_gem_name_create() 165 LIST_INSERT_HEAD(gem_name_hash_index(names, np->name), np, link); in drm_gem_name_create() 175 LIST_REMOVE(np, link); in drm_gem_names_delete_name() 178 free(np, M_GEM_NAMES); in drm_gem_names_delete_name() 211 for (np = LIST_FIRST(&names->names_hash[i]); np != NULL; ) { in drm_gem_names_foreach() 213 np = LIST_NEXT(np, link); in drm_gem_names_foreach() [all …]
|
/freebsd/lib/libc/tests/sys/ |
H A D | queue_test.c | 46 } *n1, *n2, *n3, *np; in ATF_TC_BODY() local 57 SLIST_FOREACH(np, &head, entries) { in ATF_TC_BODY() 74 SLIST_FOREACH(np, &head, entries) { in ATF_TC_BODY() 75 ATF_REQUIRE_EQ_MSG(np->i, j, in ATF_TC_BODY() 98 ATF_REQUIRE_EQ_MSG(np->i, j, in ATF_TC_BODY() 118 ATF_REQUIRE_EQ_MSG(np->i, j, in ATF_TC_BODY() 132 ATF_REQUIRE_EQ_MSG(np->i, j, in ATF_TC_BODY() 157 } *n1, *n2, *n3, *np; in ATF_TC_BODY() local 181 ATF_REQUIRE_EQ_MSG(np->i, j, in ATF_TC_BODY() 204 ATF_REQUIRE_EQ_MSG(np->i, j, in ATF_TC_BODY() [all …]
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | setenv.c | 62 const char *np; in __findenv() local 68 for (np = name, i = len; i && *cp; i--) in __findenv() 69 if (*cp++ != *np++) in __findenv() 137 const char *np; in setenv() local 140 for (np = name; *np && *np != '='; ++np) in setenv() 143 if (*np) { in setenv() 162 while (__findenv(name, (int)(np - name), &tmpoff)) { in setenv() 203 const char *np; in unsetenv() local 210 for (np = name; *np && *np != '='; ++np) in unsetenv() 212 if (*np) { in unsetenv() [all …]
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | rsaz-avx2.pl | 171 mov $np, $tmp 174 sub \$-128, $np 468 imulq -128($np), %rax 938 mov $np, $tmp 940 sub \$-128,$np 964 lea 64+128(%rsp),$np 1045 imulq -128($np),%rax 1048 imulq 8-128($np),%rax 1124 imulq -128($np),%rax 1206 imulq -128($np),%rax [all …]
|
/freebsd/usr.bin/gprof/ |
H A D | printgprof.c | 126 if ( zflag == 0 && np -> ncall == 0 && np -> time == 0 && in flatprofline() 140 1e9 * np -> time / hz / np -> ncall , in flatprofline() 141 1e9 * ( np -> time + np -> childtime ) / hz / np -> ncall ); in flatprofline() 144 1e6 * np -> time / hz / np -> ncall , in flatprofline() 145 1e6 * ( np -> time + np -> childtime ) / hz / np -> ncall ); in flatprofline() 148 1000 * np -> time / hz / np -> ncall , in flatprofline() 149 1000 * ( np -> time + np -> childtime ) / hz / np -> ncall ); in flatprofline() 150 } else if ( np -> time != 0 || np -> childtime != 0 ) { in flatprofline() 152 100 * np -> time / ( np -> time + np -> childtime ) , "" ); in flatprofline() 197 100 * ( np -> propself + np -> propchild ) / printtime , in gprofline() [all …]
|