/drivers/net/ethernet/mellanox/mlx4/ |
D | icm.c | 257 (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()
|
D | icm.h | 82 u64 virt, int obj_size, u32 nobj, int reserved,
|
D | mlx4.h | 263 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/block/ |
D | osdblk.c | 400 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()
|
D | rbd.c | 4338 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/ |
D | drm_gem.c | 827 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/ |
D | pppopns.c | 355 .obj_size = sizeof(struct pppox_sock),
|
D | pppolac.c | 376 .obj_size = sizeof(struct pppox_sock),
|
D | pptp.c | 643 .obj_size = sizeof(struct pppox_sock),
|
D | pppoe.c | 524 .obj_size = sizeof(struct pppox_sock),
|
/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 | 3097 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()
|
D | radeon.h | 1899 uint32_t offset, uint32_t obj_size);
|
D | r600.c | 2957 uint32_t offset, uint32_t obj_size) in r600_set_surface_reg() argument
|
/drivers/isdn/mISDN/ |
D | socket.c | 28 .obj_size = sizeof(struct mISDN_sock)
|
/drivers/net/ |
D | macvtap.c | 51 .obj_size = sizeof (struct macvtap_queue),
|
D | tun.c | 1519 .obj_size = sizeof(struct tun_file),
|