Home
last modified time | relevance | path

Searched refs:bd (Results 1 – 25 of 34) sorted by relevance

12

/f-stack/dpdk/drivers/mempool/bucket/
H A Drte_mempool_bucket.c417 mp = bd->pool; in bucket_init_per_lcore()
468 bd = rte_zmalloc_socket("bucket_pool", sizeof(*bd), in bucket_alloc()
470 if (bd == NULL) { in bucket_alloc()
474 bd->pool = mp; in bucket_alloc()
484 bd->obj_per_bucket = (bd->bucket_mem_size - bucket_header_size) / in bucket_alloc()
488 bd->bucket_stack_thresh = (mp->size / bd->obj_per_bucket) * 4 / 3; in bucket_alloc()
542 rte_free(bd); in bucket_alloc()
553 if (bd == NULL) in bucket_free()
561 rte_free(bd); in bucket_free()
572 if (bd == NULL) in bucket_calc_mem_size()
[all …]
/f-stack/tools/netstat/
H A Dbpf.c93 if (bd->bd_promisc) in bpf_flags()
95 if (bd->bd_immediate) in bpf_flags()
97 if (bd->bd_hdrcmplt) in bpf_flags()
101 if (bd->bd_feedback) in bpf_flags()
103 if (bd->bd_async) in bpf_flags()
105 if (bd->bd_locked) in bpf_flags()
130 bd = malloc(size); in bpf_stats()
131 if (bd == NULL) { in bpf_stats()
138 free(bd); in bpf_stats()
147 for (d = &bd[0]; d < &bd[size / sizeof(*d)]; d++) { in bpf_stats()
[all …]
/f-stack/freebsd/net/
H A Dbpfdesc.h118 #define BPFD_LOCK(bd) mtx_lock(&(bd)->bd_lock) argument
119 #define BPFD_UNLOCK(bd) mtx_unlock(&(bd)->bd_lock) argument
120 #define BPFD_LOCK_ASSERT(bd) mtx_assert(&(bd)->bd_lock, MA_OWNED) argument
122 #define BPF_PID_REFRESH(bd, td) (bd)->bd_pid = (td)->td_proc->p_pid argument
123 #define BPF_PID_REFRESH_CUR(bd) (bd)->bd_pid = curthread->td_proc->p_pid argument
H A Dbpf.c2880 struct bpf_d *bd; in bpf_zero_counters() local
2911 d->bd_promisc = bd->bd_promisc; in bpfstats_fill_xbpf()
2915 d->bd_async = bd->bd_async; in bpfstats_fill_xbpf()
2919 d->bd_sig = bd->bd_sig; in bpfstats_fill_xbpf()
2920 d->bd_slen = bd->bd_slen; in bpfstats_fill_xbpf()
2921 d->bd_hlen = bd->bd_hlen; in bpfstats_fill_xbpf()
2923 d->bd_pid = bd->bd_pid; in bpfstats_fill_xbpf()
2926 d->bd_locked = bd->bd_locked; in bpfstats_fill_xbpf()
2944 struct bpf_d *bd; in bpf_stats_sysctl() local
2988 bpfstats_fill_xbpf(xbd, bd); in bpf_stats_sysctl()
[all …]
/f-stack/tools/compat/include/net/
H A Dbpfdesc.h117 #define BPFD_LOCK(bd) mtx_lock(&(bd)->bd_lock) argument
118 #define BPFD_UNLOCK(bd) mtx_unlock(&(bd)->bd_lock) argument
119 #define BPFD_LOCK_ASSERT(bd) mtx_assert(&(bd)->bd_lock, MA_OWNED) argument
121 #define BPF_PID_REFRESH(bd, td) (bd)->bd_pid = (td)->td_proc->p_pid argument
122 #define BPF_PID_REFRESH_CUR(bd) (bd)->bd_pid = curthread->td_proc->p_pid argument
/f-stack/freebsd/netinet/
H A Din_fib_algo.c109 br = &bd->br[i]; in bsearch4_lookup()
166 bd->mem = mem; in bsearch4_init()
168 bd->fd = fd; in bsearch4_init()
170 *_data = bd; in bsearch4_init()
177 if (bd->rr == NULL) in bsearch4_init()
205 if (bd->num_items >= bd->alloc_items) in bsearch4_add_route_cb()
208 rr = &bd->rr[bd->num_items++]; in bsearch4_add_route_cb()
429 .arr = bd->rr, in bsearch4_build()
452 .arr = bd->br, in bsearch4_build()
459 bd->rr = NULL; in bsearch4_build()
[all …]
/f-stack/freebsd/kern/
H A Dvfs_bio.c141 #define BD_LOCKPTR(bd) (&(bd)->bd_cleanq->bq_lock) argument
142 #define BD_LOCK(bd) mtx_lock(BD_LOCKPTR((bd))) argument
143 #define BD_UNLOCK(bd) mtx_unlock(BD_LOCKPTR((bd))) argument
145 #define BD_RUN_LOCKPTR(bd) (&(bd)->bd_run_lock) argument
148 #define BD_DOMAIN(bd) (bd - bdomain) argument
646 if (bd->bd_bufspace < bd->bd_bufspacethresh && in bufspace_daemon_wait()
779 error = msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_wait()
831 while (bd->bd_bufspace > bd->bd_lobufspace || in bufspace_daemon()
847 msleep(&bd->bd_wanted, BD_LOCKPTR(bd), in bufspace_daemon()
1863 bd->bd_cleanq = &bd->bd_subq[mp_maxid + 1]; in bd_init()
[all …]
/f-stack/freebsd/arm/freescale/imx/
H A Dimx6_sdma.c87 struct sdma_buffer_descriptor *bd; in sdma_intr() local
110 bd = &channel->bd[j]; in sdma_intr()
111 bd->mode.status |= BD_DONE; in sdma_intr()
112 if (bd->mode.status & BD_RROR) in sdma_intr()
205 kmem_free((vm_offset_t)channel->bd, PAGE_SIZE); in sdma_free()
247 struct sdma_buffer_descriptor *bd; in sdma_configure() local
278 bd = &channel->bd[i]; in sdma_configure()
279 bd->mode.command = conf->command; in sdma_configure()
282 bd->mode.status |= BD_WRAP; in sdma_configure()
283 bd->mode.count = conf->period; in sdma_configure()
[all …]
H A Dimx6_sdma.h207 struct sdma_buffer_descriptor *bd; member
/f-stack/freebsd/arm/ti/cpsw/
H A Dif_cpsw.c438 printf(" BufPtr: 0x%08x BufLen: 0x%08x\n", bd.bufptr, bd.buflen); in cpsw_dump_slot()
1693 if ((bd.flags & in cpsw_rx_dequeue()
1788 bd.next = 0; in cpsw_rx_enqueue()
1790 bd.bufoff = 0; in cpsw_rx_enqueue()
1792 bd.pktlen = bd.buflen; in cpsw_rx_enqueue()
1930 bd.next = 0; in cpswp_tx_enqueue()
1933 bd.bufoff = 0; in cpswp_tx_enqueue()
1953 bd.next = 0; in cpswp_tx_enqueue()
1955 bd.bufoff = 0; in cpswp_tx_enqueue()
1957 bd.pktlen = 0; in cpswp_tx_enqueue()
[all …]
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_ring.c227 if (!tx_ring->bd) in bnxt_alloc_rings()
243 (struct rx_prod_pkt_bd *)rx_ring->bd; in bnxt_alloc_rings()
248 if (!rx_ring->bd) in bnxt_alloc_rings()
261 (struct rx_prod_pkt_bd *)rx_ring->bd; in bnxt_alloc_rings()
266 if (!rx_ring->bd) in bnxt_alloc_rings()
289 cp_ring_info->cp_desc_ring = cp_ring->bd; in bnxt_alloc_rings()
293 if (!cp_ring->bd) in bnxt_alloc_rings()
308 nq_ring_info->cp_desc_ring = nq_ring->bd; in bnxt_alloc_rings()
312 if (!nq_ring->bd) in bnxt_alloc_rings()
448 ring->bd = (void *)nqr->cp_desc_ring; in bnxt_alloc_rxtx_nq_ring()
[all …]
H A Dbnxt_ring.h42 void *bd; member
/f-stack/freebsd/arm/include/
H A Ddb_machdep.h86 #define next_instr_address(pc, bd) ((bd) ? (pc) : ((pc) + INSN_SIZE)) argument
/f-stack/dpdk/drivers/net/qede/
H A Dqede_rxtx.h37 #define QEDE_BD_SET_ADDR_LEN(bd, maddr, len) \ argument
39 (bd)->addr.hi = rte_cpu_to_le_32(U64_HI(maddr)); \
40 (bd)->addr.lo = rte_cpu_to_le_32(U64_LO(maddr)); \
41 (bd)->nbytes = rte_cpu_to_le_16(len); \
/f-stack/freebsd/arm64/include/
H A Ddb_machdep.h119 #define next_instr_address(pc, bd) ((bd) ? (pc) : ((pc) + 4)) argument
/f-stack/freebsd/contrib/octeon-sdk/
H A Dcvmx-access-native.h209 if (physical_address >= gd->bd->bi_uboot_ram_addr in cvmx_phys_to_ptr()
210 && physical_address < gd->bd->bi_uboot_ram_addr + gd->bd->bi_uboot_ram_used_size) in cvmx_phys_to_ptr()
212 return ((char *)&uboot_start + (physical_address - gd->bd->bi_uboot_ram_addr)); in cvmx_phys_to_ptr()
H A Docteon-boot-info.h106 bd_t *bd; member
/f-stack/freebsd/contrib/device-tree/Bindings/net/
H A Dti-bluetooth.txt45 - nvmem-cell-names: "bd-address" (required when nvmem-cells is specified)
58 nvmem-cell-names = "bd-address";
H A Dbluetooth.txt3 - local-bd-address: array of 6 bytes, specifies the BD address that was
H A Ddavinci_emac.txt24 - ti,davinci-no-bd-ram: boolean, does EMAC have BD RAM?
/f-stack/freebsd/contrib/device-tree/Bindings/soc/qcom/
H A Dqcom,wcnss.txt40 - local-bd-address:
101 local-bd-address = [ 55 44 33 22 11 00 ];
/f-stack/freebsd/contrib/libsodium/test/default/
H A Dpwhash_scrypt_ll.exp12 70 23 bd cb 3a fd 73 48 46 1c 06 cd 81 fd 38 eb
/f-stack/freebsd/contrib/ncsw/Peripherals/FM/Port/
H A Dfm_port.h748 #define BD_STATUS_AND_LENGTH_SET(bd, val) WRITE_UINT32(*(volatile uint32_t*)(bd), (val)) argument
750 #define BD_STATUS_AND_LENGTH(bd) GET_UINT32(*(volatile uint32_t*)(bd)) argument
/f-stack/freebsd/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zdb/
H A Dzdb_display_block.ksh90 log_fail "zdb -R :bd (block 0 display/decompress) failed"
/f-stack/dpdk/drivers/net/mlx5/linux/
H A Dmlx5_os.c1793 int bd = -1; in mlx5_os_pci_probe() local
1827 bd = mlx5_device_bond_pci_match in mlx5_os_pci_probe()
1829 if (bd >= 0) { in mlx5_os_pci_probe()
1847 bd, ibv_list[ret]->name); in mlx5_os_pci_probe()
1886 if (bd >= 0 && !np) { in mlx5_os_pci_probe()
1895 if (bd >= 0) { in mlx5_os_pci_probe()
1921 if (bd >= 0 || np > 1) { in mlx5_os_pci_probe()
1937 list[ns].pf_bond = bd; in mlx5_os_pci_probe()
1970 if (!ret && bd >= 0) { in mlx5_os_pci_probe()
1973 if (list[ns].info.port_name == bd) in mlx5_os_pci_probe()
[all …]

12