/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 261 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get() 299 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put() 328 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find() 385 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range() 411 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size) in mlx4_table_put_range() 416 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument 425 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; in mlx4_init_icm_table() 436 table->obj_size = obj_size; in mlx4_init_icm_table() 441 size = (u64) nobj * obj_size; in mlx4_init_icm_table() 442 for (i = 0; i * MLX4_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mlx4_init_icm_table()
|
D | icm.h | 91 u64 virt, int obj_size, u32 nobj, int reserved,
|
/drivers/infiniband/hw/mthca/ |
D | mthca_memfree.c | 224 int i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_get() 264 i = (obj & (table->num_obj - 1)) * table->obj_size / MTHCA_TABLE_CHUNK_SIZE; in mthca_table_put() 290 idx = (obj & (table->num_obj - 1)) * table->obj_size; in mthca_table_find() 324 int inc = MTHCA_TABLE_CHUNK_SIZE / table->obj_size; in mthca_table_get_range() 352 for (i = start; i <= end; i += MTHCA_TABLE_CHUNK_SIZE / table->obj_size) in mthca_table_put_range() 357 u64 virt, int obj_size, in mthca_alloc_icm_table() argument 367 obj_per_chunk = MTHCA_TABLE_CHUNK_SIZE / obj_size; in mthca_alloc_icm_table() 377 table->obj_size = obj_size; in mthca_alloc_icm_table() 385 for (i = 0; i * MTHCA_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mthca_alloc_icm_table() 387 if ((i + 1) * MTHCA_TABLE_CHUNK_SIZE > nobj * obj_size) in mthca_alloc_icm_table() [all …]
|
D | mthca_memfree.h | 67 int obj_size; member 87 u64 virt, int obj_size,
|
/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 227 table_idx = *obj / (chunk_size / table->obj_size); in hns_roce_calc_hem_mhop() 580 i = obj / (table->table_chunk_size / table->obj_size); in hns_roce_table_get() 699 i = obj / (table->table_chunk_size / table->obj_size); in hns_roce_table_put() 736 obj_per_chunk = table->table_chunk_size / table->obj_size; in hns_roce_table_find() 739 dma_offset = offset = idx_offset * table->obj_size; in hns_roce_table_find() 788 unsigned long obj_size, unsigned long nobj, in hns_roce_init_hem_table() argument 796 obj_per_chunk = table->table_chunk_size / obj_size; in hns_roce_init_hem_table() 818 obj_per_chunk = buf_chunk_size / obj_size; in hns_roce_init_hem_table() 865 table->obj_size = obj_size; in hns_roce_init_hem_table() 905 obj = i * buf_chunk_size / table->obj_size; in hns_roce_cleanup_mhop_hem_table() [all …]
|
D | hns_roce_hem.h | 114 unsigned long obj_size, unsigned long nobj,
|
D | hns_roce_device.h | 270 unsigned long obj_size; member
|
/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd.h | 524 u8 obj_size; member 538 u8 obj_size; member 755 return ring->base + ring->obj_size * n; in mcp251xfd_get_tx_obj_addr() 761 return ring->base + ring->obj_size * n; in mcp251xfd_get_rx_obj_addr() 812 tx_ring->obj_size; in mcp251xfd_get_tx_nr_by_addr()
|
D | mcp251xfd-dump.c | 176 .val = rx->obj_size, in mcp251xfd_dump_rx_ring_one() 219 .val = tx->obj_size, in mcp251xfd_dump_tx_ring()
|
D | mcp251xfd-core.c | 285 *rx_tail = fifo_ua / ring->obj_size; in mcp251xfd_rx_tail_get_from_chip() 397 prev_rx_ring->obj_size * in mcp251xfd_ring_init() 460 tx_ring->obj_size = tx_obj_size; in mcp251xfd_ring_alloc() 481 rx_ring->obj_size = rx_obj_size; in mcp251xfd_ring_alloc() 484 ram_free -= rx_ring->obj_num * rx_ring->obj_size; in mcp251xfd_ring_alloc() 496 i, rx_ring->obj_num, rx_ring->obj_size, in mcp251xfd_ring_alloc() 497 rx_ring->obj_size * rx_ring->obj_num); in mcp251xfd_ring_alloc() 1546 len * ring->obj_size / val_bytes); in mcp251xfd_rx_obj_read() 1576 i * ring->obj_size); in mcp251xfd_handle_rxif_ring()
|
/drivers/crypto/qat/qat_common/ |
D | qat_uclo.c | 1637 unsigned int *obj_size) in qat_uclo_seek_obj_inside_mof() argument 1646 *obj_size = obj_hdr[i].obj_size; in qat_uclo_seek_obj_inside_mof() 1672 mobj_hdr->obj_size = (unsigned int)obj_chunkhdr->size; in qat_uclo_map_obj_from_mof() 1789 unsigned int *obj_size) in qat_uclo_map_mof_obj() argument 1801 if (obj_size) in qat_uclo_map_mof_obj() 1802 *obj_size = mof_size; in qat_uclo_map_mof_obj() 1835 obj_ptr, obj_size); in qat_uclo_map_mof_obj() 1842 u32 obj_size; in qat_uclo_map_obj() local 1853 &obj_addr, &obj_size); in qat_uclo_map_obj() 1858 obj_size = mem_size; in qat_uclo_map_obj() [all …]
|
D | icp_qat_uclo.h | 563 unsigned int obj_size; member
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgv_sriovmsg.h | 302 unsigned long obj_size,
|
D | amdgpu_virt.c | 255 unsigned long obj_size, in amd_sriov_msg_checksum() argument 265 for (i = 0; i < obj_size; ++i) in amd_sriov_msg_checksum()
|
/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.h | 127 chtls_tcp_ops->obj_size = sizeof(struct tcp_request_sock); in chtls_init_rsk_ops()
|
/drivers/gpu/drm/ |
D | drm_gem.c | 1015 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, in drm_gem_mmap_obj() argument 1021 if (obj_size < vma->vm_end - vma->vm_start) in drm_gem_mmap_obj()
|
/drivers/gpu/drm/radeon/ |
D | radeon_asic.h | 92 uint32_t offset, uint32_t obj_size); 339 uint32_t offset, uint32_t obj_size);
|
D | r100.c | 3091 uint32_t offset, uint32_t obj_size) in r100_set_surface_reg() argument 3130 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); in r100_set_surface_reg() 3133 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); in r100_set_surface_reg()
|
/drivers/net/ppp/ |
D | pptp.c | 614 .obj_size = sizeof(struct pppox_sock),
|
D | pppoe.c | 528 .obj_size = sizeof(struct pppox_sock),
|
/drivers/infiniband/core/ |
D | rdma_core.c | 274 uobj = kzalloc(obj->type_attrs->obj_size, GFP_KERNEL); in alloc_uobj()
|
/drivers/isdn/mISDN/ |
D | socket.c | 19 .obj_size = sizeof(struct mISDN_sock)
|
/drivers/net/ |
D | tap.c | 99 .obj_size = sizeof(struct tap_queue),
|
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_acl_erp.c | 1309 .obj_size = sizeof(struct mlxsw_sp_acl_erp_key),
|
/drivers/xen/ |
D | pvcalls-front.c | 28 .obj_size = sizeof(struct sock),
|