| /f-stack/freebsd/security/mac/ |
| H A D | mac_pipe.c | 79 pp->pp_label = NULL; in mac_pipe_init() 94 if (pp->pp_label != NULL) { in mac_pipe_destroy() 96 pp->pp_label = NULL; in mac_pipe_destroy() 132 MAC_POLICY_PERFORM_NOSLEEP(pipe_create, cred, pp, pp->pp_label); in mac_pipe_create() 140 MAC_POLICY_PERFORM_NOSLEEP(pipe_relabel, cred, pp, pp->pp_label, in mac_pipe_relabel() 155 MAC_POLICY_CHECK_NOSLEEP(pipe_check_ioctl, cred, pp, pp->pp_label, in mac_pipe_check_ioctl() 172 MAC_POLICY_CHECK_NOSLEEP(pipe_check_poll, cred, pp, pp->pp_label); in mac_pipe_check_poll_impl() 188 MAC_POLICY_CHECK_NOSLEEP(pipe_check_read, cred, pp, pp->pp_label); in mac_pipe_check_read() 205 MAC_POLICY_CHECK_NOSLEEP(pipe_check_relabel, cred, pp, pp->pp_label, in mac_pipe_check_relabel() 222 MAC_POLICY_CHECK_NOSLEEP(pipe_check_stat, cred, pp, pp->pp_label); in mac_pipe_check_stat() [all …]
|
| /f-stack/freebsd/contrib/openzfs/lib/libuutil/ |
| H A D | uu_avl.c | 61 #define POOL_TO_MARKER(pp) (((uintptr_t)(pp) | 1)) argument 110 return (pp); in uu_avl_pool_create() 123 (int)sizeof (pp->uap_name), pp->uap_name, in uu_avl_pool_destroy() 128 pp->uap_next->uap_prev = pp->uap_prev; in uu_avl_pool_destroy() 129 pp->uap_prev->uap_next = pp->uap_next; in uu_avl_pool_destroy() 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() 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() 556 pp = pp->uap_next) in uu_avl_lockup() [all …]
|
| H A D | uu_list.c | 57 #define POOL_TO_MARKER(pp) ((void *)((uintptr_t)(pp) | 1)) argument 106 return (pp); in uu_list_pool_create() 119 (int)sizeof (pp->ulp_name), pp->ulp_name, in uu_list_pool_destroy() 124 pp->ulp_next->ulp_prev = pp->ulp_prev; in uu_list_pool_destroy() 125 pp->ulp_prev->ulp_next = pp->ulp_next; in uu_list_pool_destroy() 142 base, (void *)np, (void *)pp, pp->ulp_name, in uu_list_node_init() 148 base, (void *)np, (void *)pp, pp->ulp_name, in uu_list_node_init() 166 base, (void *)np_arg, (void *)pp, pp->ulp_name); in uu_list_node_fini() 172 base, (void *)np_arg, (void *)pp, pp->ulp_name); in uu_list_node_fini() 705 pp = pp->ulp_next) in uu_list_lockup() [all …]
|
| /f-stack/freebsd/sys/ |
| H A D | endian.h | 102 be16dec(const void *pp) in be16dec() argument 110 be32dec(const void *pp) in be32dec() argument 118 be64dec(const void *pp) in be64dec() argument 126 le16dec(const void *pp) in le16dec() argument 134 le32dec(const void *pp) in le32dec() argument 142 le64dec(const void *pp) in le64dec() argument 152 uint8_t *p = (uint8_t *)pp; in be16enc() 161 uint8_t *p = (uint8_t *)pp; in be32enc() 172 uint8_t *p = (uint8_t *)pp; in be64enc() 181 uint8_t *p = (uint8_t *)pp; in le16enc() [all …]
|
| /f-stack/dpdk/examples/ip_pipeline/ |
| H A D | pipeline.c | 113 pp.name = name; in pipeline_create() 168 } pp; in pipeline_port_in_create() local 178 memset(&pp, 0, sizeof(pp)); in pipeline_port_in_create() 258 pp.fd.fd = tap->fd; in pipeline_port_in_create() 276 pp.kni.kni = kni->k; in pipeline_port_in_create() 412 } pp; in pipeline_port_out_create() local 429 memset(&pp, 0, sizeof(pp)); in pipeline_port_out_create() 791 } pp; in pipeline_table_create() local 801 memset(&pp, 0, sizeof(pp)); in pipeline_table_create() 914 pp.hash.seed = 0; in pipeline_table_create() [all …]
|
| /f-stack/dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_pipeline.c | 242 } pp; in softnic_pipeline_port_in_create() local 252 memset(&pp, 0, sizeof(pp)); in softnic_pipeline_port_in_create() 333 pp.fd.fd = tap->fd; in softnic_pipeline_port_in_create() 463 } pp; in softnic_pipeline_port_out_create() local 478 memset(&pp, 0, sizeof(pp)); in softnic_pipeline_port_out_create() 572 pp.fd.fd = tap->fd; in softnic_pipeline_port_out_create() 816 } pp; in softnic_pipeline_table_create() local 826 memset(&pp, 0, sizeof(pp)); in softnic_pipeline_table_create() 859 pp.acl.name = name; in softnic_pipeline_table_create() 940 pp.hash.seed = 0; in softnic_pipeline_table_create() [all …]
|
| /f-stack/dpdk/drivers/net/nfp/nfpcore/ |
| H A D | nfp_target.h | 25 pushpull_width(int pp) in pushpull_width() argument 27 pp &= 0xf; in pushpull_width() 29 if (pp == 0) in pushpull_width() 31 return (2 << pp); in pushpull_width() 47 return PUSHPULL(0, pp); in target_rw() 51 return PUSHPULL(pp, pp); in target_rw() 283 int pp; in nfp6000_mu() local 313 return pp; in nfp6000_mu() 505 if (pp < 0) in nfp_target_pushpull_width() 506 return pp; in nfp_target_pushpull_width() [all …]
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/zfs/ |
| H A D | vdev_geom.c | 222 if (pp->sectorsize > VDEV_PAD_SIZE || !ISP2(pp->sectorsize)) { in vdev_geom_attach() 225 pp->name, pp->sectorsize); in vdev_geom_attach() 230 pp->name, pp->mediasize); in vdev_geom_attach() 452 pp = cp->provider; in vdev_geom_read_config() 655 pp->name); in vdev_attach_ok() 681 pp->name, in vdev_attach_ok() 729 best_pp = pp; in vdev_geom_attach_by_guids() 732 best_pp = pp; in vdev_geom_attach_by_guids() 794 if (pp != NULL) { in vdev_geom_open_by_path() 953 if (pp->stripesize && pp->stripesize > (1 << *logical_ashift) && in vdev_geom_open() [all …]
|
| H A D | zvol_os.c | 229 zv = pp->private; in zvol_geom_open() 284 pp->stripeoffset = 0; in zvol_geom_open() 336 zv = pp->private; in zvol_geom_close() 406 g_error_provider(pp, 0); in zvol_geom_run() 464 return (pp->error); in zvol_geom_access() 1188 gp = pp->geom; in zvol_rename_minor() 1198 pp->private = zv; in zvol_rename_minor() 1331 struct g_provider *pp; in zvol_create_minor_impl() local 1344 pp->mediasize = 0; in zvol_create_minor_impl() 1345 pp->private = zv; in zvol_create_minor_impl() [all …]
|
| H A D | zfs_vnops_os.c | 104 #define vm_page_wire_lock(pp) vm_page_lock(pp) argument 105 #define vm_page_wire_unlock(pp) vm_page_unlock(pp) argument 317 vm_page_t pp; in page_busy() local 356 pp = NULL; in page_busy() 379 return (pp); in page_busy() 412 vm_page_t pp; in page_hold() local 440 pp = NULL; in page_hold() 443 return (pp); in page_hold() 527 vm_page_t pp; in mappedread_sf() local 561 if (!vm_page_wired(pp) && pp->valid == 0 && in mappedread_sf() [all …]
|
| /f-stack/dpdk/drivers/net/pcap/ |
| H A D | rte_eth_pcap.c | 556 if (!pp->tx_pcap[0] && in eth_dev_start() 560 pp->rx_pcap[0] = pp->tx_pcap[0]; in eth_dev_start() 570 if (!pp->tx_dumper[i] && in eth_dev_start() 573 &pp->tx_dumper[i]) < 0) in eth_dev_start() 625 pp->tx_pcap[0] = NULL; in eth_dev_stop() 626 pp->rx_pcap[0] = NULL; in eth_dev_stop() 638 pp->tx_pcap[i] = NULL; in eth_dev_stop() 645 pp->rx_pcap[i] = NULL; in eth_dev_stop() 1130 if (pp == NULL) { in pmd_init_internals() 1139 rte_free(pp); in pmd_init_internals() [all …]
|
| /f-stack/freebsd/contrib/openzfs/include/os/freebsd/spl/sys/ |
| H A D | proc.h | 68 size_t len, proc_t *pp, int state, pri_t pri, const char *name) in do_thread_create() argument 81 if (pp == &p0) in do_thread_create() 84 ppp = &pp; in do_thread_create() 99 pp, state, pri) \ argument 100 do_thread_create(stk, stksize, proc, arg, len, pp, state, pri, name) 101 #define thread_create(stk, stksize, proc, arg, len, pp, state, pri) \ argument 102 do_thread_create(stk, stksize, proc, arg, len, pp, state, pri, #proc)
|
| H A D | kmem.h | 45 #define POINTER_INVALIDATE(pp) (*(pp) = (void *)((uintptr_t)(*(pp)) | 0x1)) argument
|
| /f-stack/freebsd/netgraph/ |
| H A D | ng_sppp.c | 243 struct sppp *pp; in ng_sppp_constructor() local 255 pp = IFP2SP(ifp); in ng_sppp_constructor() 275 if (ng_name_node(node, SP2IFP(pp)->if_xname) != 0) in ng_sppp_constructor() 277 SP2IFP(pp)->if_xname); in ng_sppp_constructor() 317 struct sppp *const pp = IFP2SP(priv->ifp); in ng_sppp_rcvmsg() local 355 struct sppp *const pp = IFP2SP(priv->ifp); in ng_sppp_rcvdata() local 361 if ((SP2IFP(pp)->if_flags & IFF_UP) == 0) { in ng_sppp_rcvdata() 367 if_inc_counter(SP2IFP(pp), IFCOUNTER_IPACKETS, 1); in ng_sppp_rcvdata() 370 m->m_pkthdr.rcvif = SP2IFP(pp); in ng_sppp_rcvdata() 373 BPF_MTAP (SP2IFP(pp), m); in ng_sppp_rcvdata() [all …]
|
| /f-stack/app/redis-5.0.5/deps/jemalloc/test/unit/ |
| H A D | prof_reset.c | 159 void **pp = &objs[i % OBJ_RING_BUF_COUNT]; in thd_start() local 160 if (*pp != NULL) { in thd_start() 161 dallocx(*pp, 0); in thd_start() 162 *pp = NULL; in thd_start() 164 *pp = btalloc(1, thd_ind*NALLOCS_PER_THREAD + i); in thd_start() 165 assert_ptr_not_null(*pp, in thd_start() 172 void **pp = &objs[i % OBJ_RING_BUF_COUNT]; in thd_start() local 173 if (*pp != NULL) { in thd_start() 174 dallocx(*pp, 0); in thd_start() 175 *pp = NULL; in thd_start()
|
| /f-stack/freebsd/contrib/openzfs/include/os/linux/spl/sys/ |
| H A D | thread.h | 48 pp, state, pri) \ argument 50 name, arg, len, pp, state, pri) 53 #define thread_create(stk, stksize, func, arg, len, pp, state, pri) \ argument 55 #func, arg, len, pp, state, pri) 65 thread_func_t func, const char *name, void *args, size_t len, proc_t *pp,
|
| /f-stack/dpdk/lib/librte_metrics/ |
| H A D | rte_metrics_telemetry.c | 240 if (ep->pp.num_port_ids <= 0) { in rte_metrics_tel_encode_json_format() 245 for (i = 0; i < ep->pp.num_port_ids; i++) { in rte_metrics_tel_encode_json_format() 247 ports, &ep->pp.metric_ids[0], in rte_metrics_tel_encode_json_format() 248 ep->pp.num_metric_ids); in rte_metrics_tel_encode_json_format() 286 for (i = 0; i < ep->pp.num_port_ids; i++) { in rte_metrics_tel_get_ports_stats_json() 287 port_id = ep->pp.port_ids[i]; in rte_metrics_tel_get_ports_stats_json() 315 ep->pp.port_ids[num_port_ids] = p; in rte_metrics_tel_get_port_stats_ids() 324 ep->pp.num_port_ids = num_port_ids; in rte_metrics_tel_get_port_stats_ids() 325 ep->pp.num_metric_ids = 0; in rte_metrics_tel_get_port_stats_ids() 388 ep->pp.num_metric_ids = num_stat_names; in rte_metrics_tel_extract_data() [all …]
|
| /f-stack/app/nginx-1.16.1/src/os/unix/ |
| H A D | ngx_posix_init.c | 122 ngx_fd_t pp[2]; 124 if (pipe(pp) == -1) { 129 if (dup2(pp[1], STDERR_FILENO) == -1) { 134 if (pp[1] > STDERR_FILENO) { 135 if (close(pp[1]) == -1) {
|
| /f-stack/freebsd/contrib/openzfs/module/os/freebsd/spl/ |
| H A D | callb.c | 210 callb_t **pp; in callb_delete() local 216 pp = &ct->ct_first_cb[me->c_class]; in callb_delete() 217 while (*pp != NULL && *pp != me) in callb_delete() 218 pp = &(*pp)->c_next; in callb_delete() 221 if (*pp != me) { in callb_delete() 239 *pp = me->c_next; in callb_delete()
|
| /f-stack/freebsd/kern/ |
| H A D | sys_pipe.c | 269 struct pipepair *pp; in pipe_zone_ctor() local 281 rpipe = &pp->pp_rpipe; in pipe_zone_ctor() 309 pp->pp_label = NULL; in pipe_zone_ctor() 317 struct pipepair *pp; in pipe_zone_init() local 330 struct pipepair *pp; in pipe_zone_fini() local 342 struct pipepair *pp; in pipe_paircreate() local 353 mac_pipe_init(pp); in pipe_paircreate() 392 mac_pipe_destroy(pp); in pipe_paircreate() 400 struct pipepair *pp; in pipe_named_ctor() local 449 struct pipepair *pp; in kern_pipe() local [all …]
|
| /f-stack/freebsd/net/ |
| H A D | bpf_zerocopy.c | 115 zbuf_page_free(vm_page_t pp) in zbuf_page_free() argument 118 vm_page_unwire(pp, PQ_INACTIVE); in zbuf_page_free() 127 vm_page_t pp; in zbuf_sfbuf_free() local 129 pp = sf_buf_page(sf); in zbuf_sfbuf_free() 131 zbuf_page_free(pp); in zbuf_sfbuf_free() 161 vm_page_t pp; in zbuf_sfbuf_get() local 164 VM_PROT_WRITE, &pp, 1) < 0) in zbuf_sfbuf_get() 166 sf = sf_buf_alloc(pp, SFB_NOWAIT); in zbuf_sfbuf_get() 168 zbuf_page_free(pp); in zbuf_sfbuf_get()
|
| /f-stack/freebsd/contrib/openzfs/module/os/linux/zfs/ |
| H A D | zpl_file.c | 605 ASSERT(PageLocked(pp)); in zpl_readpage() 606 ip = pp->mapping->host; in zpl_readpage() 607 pl[0] = pp; in zpl_readpage() 614 SetPageError(pp); in zpl_readpage() 615 ClearPageUptodate(pp); in zpl_readpage() 617 ClearPageError(pp); in zpl_readpage() 618 SetPageUptodate(pp); in zpl_readpage() 619 flush_dcache_page(pp); in zpl_readpage() 622 unlock_page(pp); in zpl_readpage() 646 ASSERT(PageLocked(pp)); in zpl_putpage() [all …]
|
| /f-stack/dpdk/examples/qos_meter/ |
| H A D | main.h | 27 void *pp = p; \ 29 pp = pp; \
|
| /f-stack/app/redis-5.0.5/deps/lua/src/ |
| H A D | lfunc.c | 55 GCObject **pp = &L->openupval; in luaF_findupval() local 58 while (*pp != NULL && (p = ngcotouv(*pp))->v >= level) { in luaF_findupval() 65 pp = &p->next; in luaF_findupval() 71 uv->next = *pp; /* chain it in the proper position */ in luaF_findupval() 72 *pp = obj2gco(uv); in luaF_findupval()
|
| /f-stack/freebsd/contrib/openzfs/cmd/zed/ |
| H A D | zed_exec.c | 43 char **pp; in _zed_exec_create_env() local 58 pp = (char **)buf; in _zed_exec_create_env() 62 pp[i] = p; in _zed_exec_create_env() 68 pp[i] = NULL; in _zed_exec_create_env()
|