Home
last modified time | relevance | path

Searched refs:obj_size (Results 1 – 19 of 19) sorted by relevance

/drivers/net/ethernet/mellanox/mlx4/
Dicm.c257 (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_get()
295 i = (obj & (table->num_obj - 1)) / (MLX4_TABLE_CHUNK_SIZE / table->obj_size); in mlx4_table_put()
324 idx = (u64) (obj & (table->num_obj - 1)) * table->obj_size; in mlx4_table_find()
360 int inc = MLX4_TABLE_CHUNK_SIZE / table->obj_size; in mlx4_table_get_range()
386 for (i = start; i <= end; i += MLX4_TABLE_CHUNK_SIZE / table->obj_size) in mlx4_table_put_range()
391 u64 virt, int obj_size, u32 nobj, int reserved, in mlx4_init_icm_table() argument
400 obj_per_chunk = MLX4_TABLE_CHUNK_SIZE / obj_size; in mlx4_init_icm_table()
409 table->obj_size = obj_size; in mlx4_init_icm_table()
414 size = (u64) nobj * obj_size; in mlx4_init_icm_table()
415 for (i = 0; i * MLX4_TABLE_CHUNK_SIZE < reserved * obj_size; ++i) { in mlx4_init_icm_table()
Dicm.h82 u64 virt, int obj_size, u32 nobj, int reserved,
Dmlx4.h263 int obj_size; member
/drivers/infiniband/hw/mthca/
Dmthca_memfree.c224 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 …]
Dmthca_memfree.h67 int obj_size; member
87 u64 virt, int obj_size,
/drivers/block/
Dosdblk.c400 u64 obj_size = 0; in osdblk_init_disk() local
403 rc = osdblk_get_obj_size(osdev, &obj_size); in osdblk_init_disk()
450 set_capacity(disk, obj_size / 512ULL); in osdblk_init_disk()
454 disk->disk_name, (unsigned long long)obj_size); in osdblk_init_disk()
Drbd.c4338 u64 obj_size; in rbd_dev_v2_striping_info() local
4359 obj_size = (u64)1 << rbd_dev->header.obj_order; in rbd_dev_v2_striping_info()
4362 if (stripe_unit != obj_size) { in rbd_dev_v2_striping_info()
4365 stripe_unit, obj_size); in rbd_dev_v2_striping_info()
/drivers/gpu/drm/
Ddrm_gem.c827 int drm_gem_mmap_obj(struct drm_gem_object *obj, unsigned long obj_size, in drm_gem_mmap_obj() argument
835 if (obj_size < vma->vm_end - vma->vm_start) in drm_gem_mmap_obj()
/drivers/net/ppp/
Dpppopns.c355 .obj_size = sizeof(struct pppox_sock),
Dpppolac.c376 .obj_size = sizeof(struct pppox_sock),
Dpptp.c643 .obj_size = sizeof(struct pppox_sock),
Dpppoe.c524 .obj_size = sizeof(struct pppox_sock),
/drivers/gpu/drm/radeon/
Dradeon_asic.h92 uint32_t offset, uint32_t obj_size);
340 uint32_t offset, uint32_t obj_size);
Dr100.c3097 uint32_t offset, uint32_t obj_size) in r100_set_surface_reg() argument
3136 DRM_DEBUG_KMS("writing surface %d %d %x %x\n", reg, flags, offset, offset+obj_size-1); in r100_set_surface_reg()
3139 WREG32(RADEON_SURFACE0_UPPER_BOUND + surf_index, offset + obj_size - 1); in r100_set_surface_reg()
Dradeon.h1899 uint32_t offset, uint32_t obj_size);
Dr600.c2957 uint32_t offset, uint32_t obj_size) in r600_set_surface_reg() argument
/drivers/isdn/mISDN/
Dsocket.c28 .obj_size = sizeof(struct mISDN_sock)
/drivers/net/
Dmacvtap.c51 .obj_size = sizeof (struct macvtap_queue),
Dtun.c1519 .obj_size = sizeof(struct tun_file),