/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,
|
D | mlx4.h | 264 int obj_size; member
|
/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 | 217 (chunk_size / table->obj_size); in hns_roce_calc_hem_mhop() 571 table->obj_size); in hns_roce_table_get() 691 (table->table_chunk_size / table->obj_size); in hns_roce_table_put() 728 obj_per_chunk = table->table_chunk_size / table->obj_size; in hns_roce_table_find() 731 dma_offset = offset = idx_offset * table->obj_size; in hns_roce_table_find() 781 unsigned long obj_size, unsigned long nobj, in hns_roce_init_hem_table() argument 789 obj_per_chunk = table->table_chunk_size / obj_size; in hns_roce_init_hem_table() 811 obj_per_chunk = buf_chunk_size / obj_size; in hns_roce_init_hem_table() 859 table->obj_size = obj_size; in hns_roce_init_hem_table() 899 obj = i * buf_chunk_size / table->obj_size; in hns_roce_cleanup_mhop_hem_table() [all …]
|
D | hns_roce_hem.h | 113 unsigned long obj_size, unsigned long nobj,
|
D | hns_roce_device.h | 307 unsigned long obj_size; member
|
/drivers/net/can/spi/mcp251xfd/ |
D | mcp251xfd.h | 514 u8 obj_size; member 528 u8 obj_size; member 733 return ring->base + ring->obj_size * n; in mcp251xfd_get_tx_obj_addr() 739 return ring->base + ring->obj_size * n; in mcp251xfd_get_rx_obj_addr() 790 tx_ring->obj_size; in mcp251xfd_get_tx_nr_by_addr()
|
D | mcp251xfd-core.c | 286 *rx_tail = fifo_ua / ring->obj_size; in mcp251xfd_rx_tail_get_from_chip() 369 prev_rx_ring->obj_size * in mcp251xfd_ring_init() 408 tx_ring->obj_size = tx_obj_size; in mcp251xfd_ring_alloc() 428 rx_ring->obj_size = rx_obj_size; in mcp251xfd_ring_alloc() 431 ram_free -= rx_ring->obj_num * rx_ring->obj_size; in mcp251xfd_ring_alloc() 443 i, rx_ring->obj_num, rx_ring->obj_size, in mcp251xfd_ring_alloc() 444 rx_ring->obj_size * rx_ring->obj_num); in mcp251xfd_ring_alloc() 1465 len * ring->obj_size / sizeof(u32)); in mcp251xfd_rx_obj_read() 1493 i * ring->obj_size); in mcp251xfd_handle_rxif_ring()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgv_sriovmsg.h | 247 unsigned long obj_size,
|
D | amdgpu_virt.c | 249 unsigned long obj_size, in amd_sriov_msg_checksum() argument 259 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 | 1055 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, in drm_gem_mmap_obj() argument 1062 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); 340 uint32_t offset, uint32_t obj_size);
|
D | r100.c | 3095 uint32_t offset, uint32_t obj_size) in r100_set_surface_reg() argument 3134 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); in r100_set_surface_reg() 3137 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); in r100_set_surface_reg()
|
D | radeon.h | 1942 uint32_t offset, uint32_t obj_size);
|
/drivers/net/ppp/ |
D | pptp.c | 616 .obj_size = sizeof(struct pppox_sock),
|
D | pppoe.c | 528 .obj_size = sizeof(struct pppox_sock),
|
/drivers/infiniband/core/ |
D | rdma_core.c | 280 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),
|
/drivers/md/ |
D | raid5.c | 2403 size_t obj_size = in scribble_alloc() local 2414 scribble = kvmalloc_array(cnt, obj_size, GFP_KERNEL); in scribble_alloc() 2421 percpu->scribble_obj_size = obj_size; in scribble_alloc()
|