Searched refs:idr (Results 26 - 50 of 416) sorted by relevance

1234567891011>>

/linux-master/drivers/accel/ivpu/
H A Divpu_job.h10 #include <linux/idr.h>
/linux-master/fs/nfs/
H A Dnetns.h30 struct idr cb_ident_idr; /* Protected by nfs_client_lock */
/linux-master/drivers/gpu/drm/xe/
H A Dxe_guc_types.h9 #include <linux/idr.h>
/linux-master/drivers/dca/
H A Ddca-sysfs.c9 #include <linux/idr.h>
17 static struct idr dca_idr;
/linux-master/drivers/net/wireless/ath/ath11k/
H A Ddbring.h11 #include <linux/idr.h>
44 struct idr bufs_idr;
/linux-master/drivers/tee/optee/
H A Dsupp.c27 idr_init(&supp->idr);
35 idr_destroy(&supp->idr);
47 idr_for_each_entry(&supp->idr, req, id) {
48 idr_remove(&supp->idr, id);
175 *id = idr_alloc(&supp->idr, req, 1, 0, GFP_KERNEL);
315 req = idr_find(&supp->idr, id);
322 idr_remove(&supp->idr, id);
/linux-master/kernel/
H A Dpid_namespace.c25 #include <linux/idr.h>
97 idr_init(&ns->idr);
120 idr_destroy(&ns->idr);
142 idr_destroy(&ns->idr);
206 idr_for_each_entry_continue(&pid_ns->idr, pid, nr) {
290 next = idr_get_cursor(&pid_ns->idr) - 1;
295 idr_set_cursor(&pid_ns->idr, next + 1);
H A Dpid.c44 #include <linux/idr.h>
81 .idr = IDR_INIT(init_pid_ns.idr),
159 idr_remove(&ns->idr, upid->nr);
219 nr = idr_alloc(&tmp->idr, NULL, tid,
233 if (idr_get_cursor(&tmp->idr) > RESERVED_PIDS)
240 nr = idr_alloc_cyclic(&tmp->idr, NULL, pid_min,
283 idr_replace(&upid->ns->idr, pid, upid->nr);
298 idr_remove(&upid->ns->idr, upid->nr);
303 idr_set_cursor(&ns->idr,
[all...]
/linux-master/drivers/tee/
H A Dtee_shm.c7 #include <linux/idr.h>
138 id = idr_alloc(&teedev->idr, NULL, 1, 0, GFP_KERNEL);
146 idr_remove(&teedev->idr, id);
152 ret = idr_replace(&teedev->idr, shm, id);
381 id = idr_alloc(&teedev->idr, NULL, 1, 0, GFP_KERNEL);
390 idr_remove(&teedev->idr, id);
396 ret = idr_replace(&teedev->idr, shm, id);
542 shm = idr_find(&teedev->idr, id);
575 idr_remove(&teedev->idr, shm->id);
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dttm_object.c88 * @object_lock: lock that protects idr.
97 struct idr idr; member in struct:ttm_object_device
113 * This is similar to an idr object, but it also has a hash table entry
203 ret = idr_alloc(&tdev->idr, base, 1, 0, GFP_NOWAIT);
219 idr_remove(&tdev->idr, base->handle);
231 idr_remove(&tdev->idr, base->handle);
281 base = idr_find(&tdev->idr, key);
440 idr_init_base(&tdev->idr, VMWGFX_NUM_MOB + 1);
453 WARN_ON_ONCE(!idr_is_empty(&tdev->idr));
[all...]
/linux-master/include/drm/
H A Ddrm_file.h35 #include <linux/idr.h>
302 struct idr object_idr;
308 struct idr syncobj_idr;
H A Ddrm_mode_config.h28 #include <linux/idr.h>
419 * Main KMS ID tracking object. Use this idr for all IDs, fb, crtc,
422 struct idr object_idr;
427 * Use this idr for allocating new IDs for tiled sinks like use in some
430 struct idr tile_idr;
/linux-master/fs/smb/server/
H A Dvfs_cache.h13 #include <linux/idr.h>
125 struct idr *idr; member in struct:ksmbd_file_table
H A Dvfs_cache.c283 idr_remove(global_ft.idr, fp->persistent_id);
297 idr_remove(ft->idr, fp->volatile_id);
355 fp = idr_find(ft->idr, id);
391 fp = idr_find(ft->idr, id);
501 idr_for_each_entry(global_ft.idr, fp, id) {
564 ret = idr_alloc_cyclic(ft->idr, fp, 0, INT_MAX - 1, GFP_NOWAIT);
650 idr_for_each_entry(ft->idr, fp, id) {
751 idr_for_each_entry(global_ft.idr, fp, id) {
823 ft->idr = kzalloc(sizeof(struct idr), GFP_KERNE
[all...]
/linux-master/include/linux/
H A Dtee_core.h11 #include <linux/idr.h>
43 * @mutex: mutex protecting @num_users and @idr
44 * @idr: register of user space shared memory objects allocated or
59 struct mutex mutex; /* protects num_users and idr */
61 struct idr idr; member in struct:tee_device
H A Dipc_namespace.h6 #include <linux/idr.h>
22 struct idr ipcs_idr;
/linux-master/drivers/misc/ocxl/
H A Docxl_internal.h48 struct idr contexts_idr;
81 struct idr irq_idr;
/linux-master/drivers/infiniband/core/
H A Drdma_core.c299 * We start with allocating an idr pointing to NULL. This represents an
303 return xa_alloc(&uobj->ufile->idr, &uobj->id, NULL, xa_limit_32b,
325 uobj = xa_load(&ufile->idr, id);
446 xa_erase(&attrs->ufile->idr, uobj->id);
528 xa_erase(&uobj->ufile->idr, uobj->id);
554 xa_erase(&uobj->ufile->idr, uobj->id);
594 old = xa_store(&ufile->idr, uobj->id, uobj, GFP_KERNEL);
608 old = xa_cmpxchg(&ufile->idr, obj_old->id, obj_old, XA_ZERO_ENTRY,
615 old = xa_cmpxchg(&ufile->idr, obj_old->id, NULL, obj_old, GFP_KERNEL);
768 xa_init_flags(&ufile->idr, XA_FLAGS_ALLO
[all...]
/linux-master/drivers/cxl/core/
H A Dpmu.c6 #include <linux/idr.h>
/linux-master/drivers/dax/
H A Ddax-private.h10 #include <linux/idr.h>
/linux-master/drivers/block/rnbd/
H A Drnbd-srv.h13 #include <linux/idr.h>
/linux-master/sound/soc/sof/
H A Dipc4-priv.h12 #include <linux/idr.h>
/linux-master/include/linux/soc/qcom/
H A Dqmi.h10 #include <linux/idr.h>
234 struct idr txns;
/linux-master/fs/vboxsf/
H A Dvfsmod.h12 #include <linux/idr.h>
44 struct idr ino_idr;
/linux-master/fs/notify/inotify/
H A Dinotify_fsnotify.c145 * removed from the idr when the watch was removed or in the
147 * torn down. This is only called if the idr is about to be freed but there
164 "idr. Probably leaking memory\n", id, p, data);
180 /* ideally the idr is empty and we won't hit the BUG in the callback */
181 idr_for_each(&group->inotify_data.idr, idr_callback, group);
182 idr_destroy(&group->inotify_data.idr);

Completed in 424 milliseconds

1234567891011>>