Home
last modified time | relevance | path

Searched refs:np (Results 1 – 25 of 96) sorted by relevance

1234

/f-stack/freebsd/contrib/openzfs/lib/libuutil/
H A Duu_list.c276 (void *)lp, NODE_TO_ELEM(lp, np), (void *)np); in list_insert()
311 list_insert(lp, ELEM_TO_NODE(lp, elem), np->uln_prev, np); in uu_list_insert()
328 np = np->uln_next) { in uu_list_find()
390 if ((np = np->uln_prev) == &lp->ul_null_node) in uu_list_nearest_prev()
435 next = (wp->ulw_dir > 0)? np->uln_next : np->uln_prev; in list_walk_advance()
438 return (np); in list_walk_advance()
522 np = np->uln_next) { in uu_list_walk()
528 np = np->uln_prev) { in uu_list_walk()
570 np->uln_next->uln_prev = np->uln_prev; in uu_list_remove()
571 np->uln_prev->uln_next = np->uln_next; in uu_list_remove()
[all …]
H A Duu_avl.c139 uintptr_t *na = (uintptr_t *)np; in uu_avl_node_init()
143 if (offset + sizeof (*np) > pp->uap_objsize) { in uu_avl_node_init()
146 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init()
152 base, (void *)np, (void *)pp, pp->uap_name, in uu_avl_node_init()
164 uintptr_t *na = (uintptr_t *)np; in uu_avl_node_fini()
170 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini()
175 base, (void *)np, (void *)pp, pp->uap_name); in uu_avl_node_fini()
336 void *np = wp->uaw_next_result; in _avl_walk_advance() local
340 if (np == NULL) in _avl_walk_advance()
344 AVL_PREV(t, np); in _avl_walk_advance()
[all …]
/f-stack/freebsd/contrib/openzfs/cmd/zed/
H A Dzed_strings.c91 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 …]
/f-stack/freebsd/contrib/ipfilter/netinet/
H A Dip_nat6.c240 np = &(*np)->in_rnext;
283 np = &(*np)->in_mnext;
639 np->in_spnext = np->in_spmin;
648 np->in_snip6 = np->in_nsrcip6;
813 np->in_dnip6 = np->in_ndstmsk6;
816 np->in_dnip6 = np->in_ndstip6;
868 if (np->in_dpnext > np->in_dpmax)
869 np->in_dpnext = np->in_dpmin;
2698 for (np = softn->ipf_nat_map_rules[hv]; np; np = np->in_mnext) {
3098 for (np = softn->ipf_nat_rdr_rules[hv]; np; np = np->in_rnext) {
[all …]
H A Dip_nat.c655 np = &(*np)->in_rnext;
697 np = &(*np)->in_mnext;
2538 *np->in_pnext = np->in_next;
2780 np->in_spnext = np->in_spmin;
3001 np->in_dpnext = np->in_dpmin;
4939 for (np = softn->ipf_nat_map_rules[hv]; np; np = npnext) {
5434 for (np = softn->ipf_nat_rdr_rules[hv]; np; np = npnext) {
6186 np = np->in_next, rulen++)
7100 np->in_spnext = np->in_spmin;
7154 np->in_dpnext = np->in_dpmin;
[all …]
H A Dip_ipsec_pxy.c146 ipnat_t *ipn, *np; local
171 np = nat->nat_ptr;
172 size = np->in_size;
215 ipn->in_flags = (np->in_flags | IPN_PROXYRULE);
218 ipn->in_namelen = np->in_namelen;
219 bcopy(np->in_names, ipn->in_ifnames, ipn->in_namelen);
220 ipn->in_ifnames[0] = np->in_ifnames[0];
221 ipn->in_ifnames[1] = np->in_ifnames[1];
H A Dip_pptp_pxy.c118 ipnat_t *np; local
126 np = nat->nat_ptr;
127 size = np->in_size;
169 ipn->in_redir = np->in_redir;
176 ipn->in_flags = (np->in_flags | IPN_PROXYRULE);
179 ipn->in_namelen = np->in_namelen;
180 bcopy(np->in_names, ipn->in_ifnames, ipn->in_namelen);
181 ipn->in_ifnames[0] = np->in_ifnames[0];
182 ipn->in_ifnames[1] = np->in_ifnames[1];
/f-stack/freebsd/kern/
H A Dsubr_prof.c97 np.textsize = np.highpc - p->lowpc; in kmupetext()
98 np.kcountsize = np.textsize / HISTFRACTION; in kmupetext()
100 np.fromssize = np.textsize / HASHFRACTION; in kmupetext()
101 np.tolimit = np.textsize * ARCDENSITY / 100; in kmupetext()
106 np.tossize = np.tolimit * sizeof(struct tostruct); in kmupetext()
107 cp = malloc(np.kcountsize + np.fromssize + np.tossize, in kmupetext()
123 np.cputime_count = &KCOUNT(&np, PC_TO_I(&np, cputime)); in kmupetext()
124 np.mcount_count = &KCOUNT(&np, PC_TO_I(&np, mcount)); in kmupetext()
125 np.mexitcount_count = &KCOUNT(&np, PC_TO_I(&np, mexitcount)); in kmupetext()
129 bzero((char *)np.tos + p->tossize, np.tossize - p->tossize); in kmupetext()
[all …]
H A Dvfs_export.c108 struct netcred *np; in vfs_hang_addrlist() local
136 np = &nep->ne_defexported; in vfs_hang_addrlist()
138 np->netc_anon = crget(); in vfs_hang_addrlist()
217 np->netc_anon = crget(); in vfs_hang_addrlist()
228 free(np, M_NETADDR); in vfs_hang_addrlist()
464 struct netcred *np = NULL; in vfs_export_lookup() local
492 if (np != NULL && (np->netc_rnodes->rn_flags & RNF_ROOT) != 0) in vfs_export_lookup()
503 return (np); in vfs_export_lookup()
519 struct netcred *np; in vfs_stdcheckexp() local
523 if (np == NULL) { in vfs_stdcheckexp()
[all …]
/f-stack/tools/libxo/xo/
H A Dxo.c471 np += 1; in main()
486 if (np) in main()
487 *np = '\0'; in main()
489 if (np) in main()
490 np += 1; in main()
498 if (np) in main()
501 if (np) in main()
522 xo_close_container(np ? np + 1 : opt_wrapper); in main()
523 if (np) in main()
535 xo_close_container(np ? np + 1 : opt_closer); in main()
[all …]
/f-stack/dpdk/lib/librte_ring/
H A Drte_ring_hts_c11_mem.h60 union __rte_ring_hts_pos np, op; in __rte_ring_hts_move_prod_head() local
93 np.pos.tail = op.pos.tail; in __rte_ring_hts_move_prod_head()
94 np.pos.head = op.pos.head + n; in __rte_ring_hts_move_prod_head()
102 &op.raw, np.raw, in __rte_ring_hts_move_prod_head()
118 union __rte_ring_hts_pos np, op; in __rte_ring_hts_move_cons_head() local
148 np.pos.tail = op.pos.tail; in __rte_ring_hts_move_cons_head()
149 np.pos.head = op.pos.head + n; in __rte_ring_hts_move_cons_head()
157 &op.raw, np.raw, in __rte_ring_hts_move_cons_head()
/f-stack/freebsd/netgraph/
H A Dng_pptpgre.c735 if (np != st) in ng_pptpgre_sendq()
936 prev = np; in ng_pptpgre_rcvdata_lower()
963 if (prev == np) in ng_pptpgre_rcvdata_lower()
968 last = np; in ng_pptpgre_rcvdata_lower()
972 np = malloc(sizeof(*np), M_NETGRAPH, M_NOWAIT | M_ZERO); in ng_pptpgre_rcvdata_lower()
973 if (np == NULL) { in ng_pptpgre_rcvdata_lower()
990 last = np; in ng_pptpgre_rcvdata_lower()
1005 np->item = item; in ng_pptpgre_rcvdata_lower()
1006 np->seq = seq; in ng_pptpgre_rcvdata_lower()
1029 last = np; in ng_pptpgre_rcvdata_lower()
[all …]
/f-stack/tools/libxo/encoder/csv/
H A Denc_csv.c308 np = strchr(cp, '"'); in csv_escape()
309 if (np) { in csv_escape()
310 np += 1; in csv_escape()
585 if (np) in csv_record_leafs()
586 *np++ = '\0'; in csv_record_leafs()
620 if (np) { in csv_record_path()
621 np += 1; in csv_record_path()
638 if (np) in csv_record_path()
639 *np++ = '\0'; in csv_record_path()
675 if (np) in csv_options()
[all …]
/f-stack/freebsd/security/mac_veriexec/
H A Dveriexec_metadata.c314 if (np == NULL) { in find_veriexec_dev()
322 if (np == NULL) { in find_veriexec_dev()
338 if (np) { in find_veriexec_dev()
340 lp = np; in find_veriexec_dev()
345 } else if (np) { in find_veriexec_dev()
350 free(np, M_VERIEXEC); in find_veriexec_dev()
666 if (np) { in mac_veriexec_metadata_add_file()
669 free(np, M_VERIEXEC); in mac_veriexec_metadata_add_file()
679 if (np == NULL) { in mac_veriexec_metadata_add_file()
685 if (np == NULL) { in mac_veriexec_metadata_add_file()
[all …]
/f-stack/tools/libutil/
H A Dlogin_class.c143 char *np = NULL; in substvar() local
158 np = malloc(strlen(var) + (dollas * nlen) in substvar()
162 if (np != NULL) { in substvar()
163 p = strcpy(np, var); in substvar()
193 return (np); in substvar()
214 if (np != NULL) { in setclassenvironment()
215 setenv(vars->var, np, vars->overwrite); in setclassenvironment()
216 free(np); in setclassenvironment()
235 char *np; in setclassenvironment() local
239 setenv(*set_env, np, 1); in setclassenvironment()
[all …]
/f-stack/freebsd/crypto/openssl/arm/
H A Darmv4-mont.S65 ldr r6,[r3],#4 @ np[0],np++
73 umlal r10,r12,r6,r8 @ np[0]*n0+"t[0]"
79 ldr r6,[r3],#4 @ np[j],np++
83 umlal r12,r14,r6,r8 @ np[j]*n0
103 sub r3,r3,r7 @ "rewind" np to &np[1]
106 ldr r6,[r3,#-4] @ np[0]
114 umlal r10,r12,r6,r8 @ np[0]*n0+"tp[0]"
120 ldr r6,[r3],#4 @ np[j],np++
124 umlal r12,r14,r6,r8 @ np[j]*n0
157 sub r3,r3,r5 @ "rewind" r3 to &np[0]
[all …]
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_tm.c320 struct tm_node *np; in tm_node_pipe_id() local
324 TAILQ_FOREACH(np, nl, node) { in tm_node_pipe_id()
2111 struct tm_node *np, in pipe_profile_build() argument
2243 struct tm_node *ns, *np; in pipe_profiles_generate() local
2440 np->shaper_profile; in subport_profile_build()
2554 TAILQ_FOREACH(np, nl, node) { in hierarchy_commit_check()
2865 np->weight = weight; in update_pipe_weight()
3074 struct tm_node *np, in update_pipe_rate() argument
3108 np->shaper_profile = sp; in update_pipe_rate()
3362 struct tm_node *np, in read_pipe_stats() argument
[all …]
/f-stack/freebsd/netipsec/
H A Dipsec_mbuf.c92 struct mbuf *n0, *n, **np; in m_makespace() local
96 np = &n0; in m_makespace()
113 *np = n; in m_makespace()
114 np = &n->m_next; in m_makespace()
127 *np = m->m_next; in m_makespace()
140 np = &n->m_next; in m_makespace()
143 *np = m->m_next; in m_makespace()
/f-stack/freebsd/contrib/alpine-hal/eth/
H A Dal_hal_eth_kr.c806 struct al_eth_an_np *np) in al_eth_kr_next_page_read() argument
830 np->unformatted_code_field1 = al_eth_an_lt_reg_read(adapter, in al_eth_kr_next_page_read()
834 np->unformatted_code_field2 = al_eth_an_lt_reg_read(adapter, in al_eth_kr_next_page_read()
843 struct al_eth_an_np *np) in al_eth_kr_next_page_write() argument
849 np->unformatted_code_field); in al_eth_kr_next_page_write()
852 np->toggle); in al_eth_kr_next_page_write()
855 np->ack2); in al_eth_kr_next_page_write()
858 np->msg_page); in al_eth_kr_next_page_write()
861 np->next_page); in al_eth_kr_next_page_write()
867 AL_ETH_AN__LT_LANE_0, np->unformatted_code_field1); in al_eth_kr_next_page_write()
[all …]
/f-stack/dpdk/drivers/bus/dpaa/base/qbman/
H A Dqman.c1978 np->fqd_link = be24_to_cpu(np->fqd_link); in qman_query_fq_np()
1979 np->odp_seq = be16_to_cpu(np->odp_seq); in qman_query_fq_np()
1980 np->orp_nesn = be16_to_cpu(np->orp_nesn); in qman_query_fq_np()
1987 np->ics_surp = be16_to_cpu(np->ics_surp); in qman_query_fq_np()
1988 np->byte_cnt = be32_to_cpu(np->byte_cnt); in qman_query_fq_np()
1989 np->frm_cnt = be24_to_cpu(np->frm_cnt); in qman_query_fq_np()
1990 np->ra1_sfdr = be16_to_cpu(np->ra1_sfdr); in qman_query_fq_np()
1991 np->ra2_sfdr = be16_to_cpu(np->ra2_sfdr); in qman_query_fq_np()
1992 np->od1_sfdr = be16_to_cpu(np->od1_sfdr); in qman_query_fq_np()
1993 np->od2_sfdr = be16_to_cpu(np->od2_sfdr); in qman_query_fq_np()
[all …]
/f-stack/app/nginx-1.16.1/src/core/
H A Dngx_conf_file.c1171 ngx_int_t *np; in ngx_conf_set_num_slot() local
1178 if (*np != NGX_CONF_UNSET) { in ngx_conf_set_num_slot()
1184 if (*np == NGX_ERROR) { in ngx_conf_set_num_slot()
1356 ngx_uint_t *np, i; in ngx_conf_set_enum_slot() local
1362 if (*np != NGX_CONF_UNSET_UINT) { in ngx_conf_set_enum_slot()
1376 *np = e[i].value; in ngx_conf_set_enum_slot()
1393 ngx_uint_t *np, i, m; in ngx_conf_set_bitmask_slot() local
1416 *np |= mask[m].mask; in ngx_conf_set_bitmask_slot()
1463 ngx_int_t *np = data; in ngx_conf_check_num_bounds() local
1466 if (*np >= bounds->low) { in ngx_conf_check_num_bounds()
[all …]
/f-stack/freebsd/net/
H A Dbpf_filter.c97 u_char *cp, *np; in m_xword() local
117 np = mtod(m0, u_char *); in m_xword()
121 ((u_int32_t)np[0] << 16) | in m_xword()
122 ((u_int32_t)np[1] << 8) | in m_xword()
123 (u_int32_t)np[2]); in m_xword()
128 ((u_int32_t)np[0] << 8) | in m_xword()
129 (u_int32_t)np[1]); in m_xword()
135 (u_int32_t)np[0]); in m_xword()
/f-stack/dpdk/app/test-pmd/
H A Dcmdline_tm.c1645 struct rte_tm_node_params np; in cmd_add_port_tm_nonleaf_node_parsed() local
1685 if (np.n_shared_shapers) { in cmd_add_port_tm_nonleaf_node_parsed()
1693 np.stats_mask = res->stats_mask; in cmd_add_port_tm_nonleaf_node_parsed()
1698 &np, &error); in cmd_add_port_tm_nonleaf_node_parsed()
1809 struct rte_tm_node_params np; in cmd_add_port_tm_nonleaf_node_pmode_parsed() local
1848 if (np.n_shared_shapers) { in cmd_add_port_tm_nonleaf_node_pmode_parsed()
1863 &np, &error); in cmd_add_port_tm_nonleaf_node_pmode_parsed()
1972 struct rte_tm_node_params np; in cmd_add_port_tm_leaf_node_parsed() local
2013 if (np.n_shared_shapers) { in cmd_add_port_tm_leaf_node_parsed()
2020 np.leaf.cman = res->cman_mode; in cmd_add_port_tm_leaf_node_parsed()
[all …]
/f-stack/freebsd/amd64/amd64/
H A Dmp_machdep.c264 struct nmi_pcpu *np; in init_secondary() local
309 np->np_pcpu = (register_t)pc; in init_secondary()
310 pc->pc_common_tss.tss_ist1 = (long)np; in init_secondary()
313 np = ((struct nmi_pcpu *)&nmi_stack[NMI_STACK_SIZE]) - 1; in init_secondary()
314 np->np_pcpu = (register_t)pc; in init_secondary()
315 pc->pc_common_tss.tss_ist2 = (long)np; in init_secondary()
318 np = ((struct nmi_pcpu *)&mce_stack[MCE_STACK_SIZE]) - 1; in init_secondary()
319 np->np_pcpu = (register_t)pc; in init_secondary()
320 pc->pc_common_tss.tss_ist3 = (long)np; in init_secondary()
324 np->np_pcpu = (register_t)pc; in init_secondary()
[all …]
/f-stack/dpdk/lib/librte_acl/
H A Dacl_run_avx512.c78 xmm_t cp, cr, np, nr; in resolve_mcle8_avx512x1() local
98 np = _mm_loadu_si128((const xmm_t *)(pri + mn)); in resolve_mcle8_avx512x1()
100 msk = _mm_cmpgt_epi32_mask(cp, np); in resolve_mcle8_avx512x1()
102 cp = _mm_mask_mov_epi32(np, msk, cp); in resolve_mcle8_avx512x1()

1234