/Linux-v4.19/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 263 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get() 301 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put() 330 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find() 366 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range() 392 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size) in mlx4_table_put_range() 397 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument 406 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; in mlx4_init_icm_table() 417 table->obj_size = obj_size; in mlx4_init_icm_table() 422 size = (u64) nobj * obj_size; in mlx4_init_icm_table() 423 for (i = 0; i * MLX4_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mlx4_init_icm_table()
|
D | icm.h | 81 u64 virt, int obj_size, u32 nobj, int reserved,
|
/Linux-v4.19/drivers/infiniband/hw/hns/ |
D | hns_roce_hem.c | 168 (chunk_size / table->obj_size); in hns_roce_calc_hem_mhop() 296 (table->table_chunk_size / table->obj_size); in hns_roce_set_hem() 545 table->obj_size); in hns_roce_table_get() 705 (table->table_chunk_size / table->obj_size); in hns_roce_table_put() 743 obj_per_chunk = table->table_chunk_size / table->obj_size; in hns_roce_table_find() 746 dma_offset = offset = idx_offset * table->obj_size; in hns_roce_table_find() 760 table->obj_size % mhop.bt_chunk_size; in hns_roce_table_find() 797 unsigned long inc = table->table_chunk_size / table->obj_size; in hns_roce_table_get_range() 803 inc = mhop.bt_chunk_size / table->obj_size; in hns_roce_table_get_range() 828 unsigned long inc = table->table_chunk_size / table->obj_size; in hns_roce_table_put_range() [all …]
|
D | hns_roce_hem.h | 121 unsigned long obj_size, unsigned long nobj,
|
/Linux-v4.19/include/rdma/ |
D | uverbs_types.h | 105 size_t obj_size; member 167 .obj_size = (_obj_size) + \ 179 .obj_size = (_size) + \
|
/Linux-v4.19/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,
|
/Linux-v4.19/net/netfilter/ |
D | nf_conntrack_proto_udp.c | 300 .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX, 329 .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX, 358 .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX, 387 .obj_size = sizeof(unsigned int) * CTA_TIMEOUT_UDP_MAX,
|
D | nf_conntrack_proto_generic.c | 172 .obj_size = sizeof(unsigned int),
|
/Linux-v4.19/net/dccp/ |
D | ccid.c | 82 static struct kmem_cache *ccid_kmem_cache_create(int obj_size, char *slab_name_fmt, const char *fmt… in ccid_kmem_cache_create() argument 91 slab = kmem_cache_create(slab_name_fmt, sizeof(struct ccid) + obj_size, 0, in ccid_kmem_cache_create()
|
/Linux-v4.19/fs/exofs/ |
D | ore.c | 1142 u64 obj_size; in ore_truncate() local 1145 obj_size = ti.prev_group_obj_off; in ore_truncate() 1147 obj_size = ti.next_group_obj_off; in ore_truncate() 1149 obj_size = ti.si.obj_offset + in ore_truncate() 1152 obj_size = ti.si.obj_offset; in ore_truncate() 1154 obj_size = ti.si.obj_offset - ti.si.unit_off; in ore_truncate() 1156 size_attr->newsize = cpu_to_be64(obj_size); in ore_truncate() 1161 _LLU(oc->comps->obj.id), _LLU(obj_size), i); in ore_truncate()
|
/Linux-v4.19/net/ipv4/ |
D | udplite.c | 59 .obj_size = sizeof(struct udp_sock),
|
/Linux-v4.19/net/ipv6/ |
D | udplite.c | 54 .obj_size = sizeof(struct udp6_sock),
|
/Linux-v4.19/include/drm/ |
D | drm_gem.h | 185 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size,
|
/Linux-v4.19/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_virt.c | 367 unsigned long obj_size, in amdgpu_virt_fw_reserve_get_checksum() argument 377 for (i = 0; i < obj_size; ++i) in amdgpu_virt_fw_reserve_get_checksum()
|
D | amdgpu_virt.h | 297 int amdgpu_virt_fw_reserve_get_checksum(void *obj, unsigned long obj_size,
|
/Linux-v4.19/include/net/netfilter/ |
D | nf_conntrack_l4proto.h | 85 u16 obj_size; member
|
/Linux-v4.19/net/phonet/ |
D | datagram.c | 193 .obj_size = sizeof(struct pn_sock),
|
/Linux-v4.19/include/net/ |
D | request_sock.h | 33 unsigned int obj_size; member
|
D | inet_sock.h | 278 sk_from->sk_prot->obj_size - ancestor_size); in __inet_sk_copy_descendant()
|
/Linux-v4.19/drivers/crypto/chelsio/chtls/ |
D | chtls_cm.h | 132 chtls_tcp_ops->obj_size = sizeof(struct tcp_request_sock); in chtls_init_rsk_ops()
|
/Linux-v4.19/net/bluetooth/bnep/ |
D | sock.c | 191 .obj_size = sizeof(struct bt_sock)
|
/Linux-v4.19/net/bluetooth/cmtp/ |
D | sock.c | 194 .obj_size = sizeof(struct bt_sock)
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_gem.c | 954 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, in drm_gem_mmap_obj() argument 960 if (obj_size < vma->vm_end - vma->vm_start) in drm_gem_mmap_obj()
|
/Linux-v4.19/net/bluetooth/hidp/ |
D | sock.c | 224 .obj_size = sizeof(struct bt_sock)
|