Home
last modified time | relevance | path

Searched refs:num_objects (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/gpu/drm/
H A Ddrm_exec.c82 exec->num_objects = 0; in drm_exec_init()
128 exec->num_objects = 0; in drm_exec_cleanup()
137 if (unlikely(exec->num_objects == exec->max_objects)) { in drm_exec_obj_locked()
150 exec->objects[exec->num_objects++] = obj; in drm_exec_obj_locked()
258 for (i = exec->num_objects; i--;) { in drm_exec_unlock_obj()
261 for (++i; i < exec->num_objects; ++i) in drm_exec_unlock_obj()
263 --exec->num_objects; in drm_exec_unlock_obj()
317 unsigned int num_objects, in drm_exec_prepare_array() argument
322 for (unsigned int i = 0; i < num_objects; ++i) { in drm_exec_prepare_array()
/openbmc/linux/include/drm/
H A Ddrm_exec.h31 unsigned int num_objects; member
65 return index < exec->num_objects ? exec->objects[index] : NULL; in drm_exec_obj()
91 for ((index) = (exec)->num_objects - 1; \
147 unsigned int num_objects,
/openbmc/linux/mm/kasan/
H A Dreport_generic.c254 unsigned long num_objects; in print_decoded_frame_descr() local
257 &num_objects)) in print_decoded_frame_descr()
261 pr_err("This frame has %lu %s:\n", num_objects, in print_decoded_frame_descr()
262 num_objects == 1 ? "object" : "objects"); in print_decoded_frame_descr()
264 while (num_objects--) { in print_decoded_frame_descr()
/openbmc/linux/drivers/gpu/drm/i915/gem/
H A Di915_gem_shrinker.c289 unsigned long num_objects; in i915_gem_shrinker_count() local
293 num_objects = READ_ONCE(i915->mm.shrink_count); in i915_gem_shrinker_count()
302 if (num_objects) { in i915_gem_shrinker_count()
303 unsigned long avg = 2 * count / num_objects; in i915_gem_shrinker_count()
/openbmc/linux/drivers/gpu/drm/amd/amdkfd/
H A Dkfd_chardev.c2019 uint32_t *num_objects, in criu_get_process_object_info() argument
2039 *num_objects = num_queues + num_events + num_svm_ranges; in criu_get_process_object_info()
2058 uint32_t num_devices, num_bos, num_objects; in criu_checkpoint() local
2080 ret = criu_get_process_object_info(p, &num_devices, &num_bos, &num_objects, &priv_size); in criu_checkpoint()
2086 num_objects != args->num_objects || in criu_checkpoint()
2110 if (num_objects) { in criu_checkpoint()
2507 for (i = 0; i < args->num_objects; i++) { in criu_restore_objects()
2558 args->num_devices, args->num_bos, args->num_objects, args->priv_data_size); in criu_restore()
2699 &args->num_objects, &args->priv_data_size); in criu_process_info()
2704 args->num_devices, args->num_bos, args->num_objects, in criu_process_info()
/openbmc/linux/include/linux/ceph/
H A Dceph_fs.h190 __le64 num_objects; member
/openbmc/linux/include/uapi/linux/
H A Dkfd_ioctl.h615 __u32 num_objects; /* Used during ops: PROCESS_INFO, RESTORE */ member
/openbmc/linux/drivers/input/touchscreen/
H A Datmel_mxt_ts.c1860 uint8_t num_objects; in mxt_read_info_block() local
1879 num_objects = ((struct mxt_info *)id_buf)->object_num; in mxt_read_info_block()
1880 size += (num_objects * sizeof(struct mxt_object)) in mxt_read_info_block()
/openbmc/linux/drivers/block/
H A Drbd.c1832 u64 num_objects; in __rbd_object_map_load() local
1840 num_objects = ceph_get_num_objects(&rbd_dev->layout, in __rbd_object_map_load()
1842 object_map_bytes = DIV_ROUND_UP_ULL(num_objects * BITS_PER_OBJ, in __rbd_object_map_load()
1863 if (object_map_size != num_objects) { in __rbd_object_map_load()
1865 object_map_size, num_objects); in __rbd_object_map_load()
/openbmc/linux/fs/ceph/
H A Dsuper.c102 buf->f_files = le64_to_cpu(st.num_objects); in ceph_statfs()