/include/linux/ |
D | dma-resv.h | 78 #define dma_resv_held(obj) lockdep_is_held(&(obj)->lock.base) argument 79 #define dma_resv_assert_held(obj) lockdep_assert_held(&(obj)->lock.base) argument 82 void dma_resv_reset_shared_max(struct dma_resv *obj); 84 static inline void dma_resv_reset_shared_max(struct dma_resv *obj) {} in dma_resv_reset_shared_max() argument 102 static inline int dma_resv_lock(struct dma_resv *obj, in dma_resv_lock() argument 105 return ww_mutex_lock(&obj->lock, ctx); in dma_resv_lock() 123 static inline int dma_resv_lock_interruptible(struct dma_resv *obj, in dma_resv_lock_interruptible() argument 126 return ww_mutex_lock_interruptible(&obj->lock, ctx); in dma_resv_lock_interruptible() 138 static inline void dma_resv_lock_slow(struct dma_resv *obj, in dma_resv_lock_slow() argument 141 ww_mutex_lock_slow(&obj->lock, ctx); in dma_resv_lock_slow() [all …]
|
D | livepatch.h | 98 int (*pre_patch)(struct klp_object *obj); 99 void (*post_patch)(struct klp_object *obj); 100 void (*pre_unpatch)(struct klp_object *obj); 101 void (*post_unpatch)(struct klp_object *obj); 176 #define klp_for_each_object_static(patch, obj) \ argument 177 for (obj = patch->objs; obj->funcs || obj->name; obj++) 179 #define klp_for_each_object_safe(patch, obj, tmp_obj) \ argument 180 list_for_each_entry_safe(obj, tmp_obj, &patch->obj_list, node) 182 #define klp_for_each_object(patch, obj) \ argument 183 list_for_each_entry(obj, &patch->obj_list, node) [all …]
|
D | hashtable.h | 126 #define hash_for_each(name, bkt, obj, member) \ argument 127 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 129 hlist_for_each_entry(obj, &name[bkt], member) 138 #define hash_for_each_rcu(name, bkt, obj, member) \ argument 139 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 141 hlist_for_each_entry_rcu(obj, &name[bkt], member) 152 #define hash_for_each_safe(name, bkt, tmp, obj, member) \ argument 153 for ((bkt) = 0, obj = NULL; obj == NULL && (bkt) < HASH_SIZE(name);\ 155 hlist_for_each_entry_safe(obj, tmp, &name[bkt], member) 165 #define hash_for_each_possible(name, obj, member, key) \ argument [all …]
|
D | rhashtable.h | 243 struct rhash_head *obj); 387 struct rhash_head *obj) in rht_assign_locked() argument 389 if (rht_is_a_nulls(obj)) in rht_assign_locked() 390 obj = NULL; in rht_assign_locked() 391 rcu_assign_pointer(*bkt, (void *)((unsigned long)obj | BIT(0))); in rht_assign_locked() 396 struct rhash_head *obj) in rht_assign_unlock() argument 398 if (rht_is_a_nulls(obj)) in rht_assign_unlock() 399 obj = NULL; in rht_assign_unlock() 401 rcu_assign_pointer(*bkt, (void *)obj); in rht_assign_unlock() 572 const void *obj) in rhashtable_compare() argument [all …]
|
D | objagg.h | 10 const void *obj); 12 void * (*delta_create)(void *priv, void *parent_obj, void *obj); 14 void * (*root_create)(void *priv, void *obj, unsigned int root_id); 27 struct objagg_obj *objagg_obj_get(struct objagg *objagg, void *obj);
|
D | cpu_rmap.h | 27 void **obj; member 38 extern int cpu_rmap_add(struct cpu_rmap *rmap, void *obj); 49 return rmap->obj[rmap->near[cpu].index]; in cpu_rmap_lookup_obj()
|
D | slub_def.h | 186 void *addr, void *obj) in __obj_to_index() argument 188 return reciprocal_divide(kasan_reset_tag(obj) - addr, in __obj_to_index() 193 const struct page *page, void *obj) in obj_to_index() argument 195 if (is_kfence_address(obj)) in obj_to_index() 197 return __obj_to_index(cache, page_address(page), obj); in obj_to_index()
|
D | slab_def.h | 40 void (*ctor)(void *obj); 109 const struct page *page, void *obj) in obj_to_index() argument 111 u32 offset = (obj - page->s_mem); in obj_to_index()
|
D | lcd.h | 113 #define to_lcd_device(obj) container_of(obj, struct lcd_device, dev) argument
|
/include/trace/events/ |
D | objagg.h | 49 const struct objagg_obj *obj), 51 TP_ARGS(objagg, obj), 55 __field(const void *, obj) 60 __entry->obj = obj; 63 TP_printk("objagg %p, obj %p", __entry->objagg, __entry->obj) 68 const struct objagg_obj *obj), 70 TP_ARGS(objagg, obj), 74 __field(const void *, obj) 79 __entry->obj = obj; 82 TP_printk("objagg %p, obj %p", __entry->objagg, __entry->obj) [all …]
|
D | cachefiles.h | 72 TP_PROTO(struct cachefiles_object *obj, 77 TP_ARGS(obj, cookie, why, usage), 81 __field(unsigned int, obj ) 88 __entry->obj = obj->fscache.debug_id; 95 __entry->cookie, __entry->obj, __entry->usage, 100 TP_PROTO(struct cachefiles_object *obj, 104 TP_ARGS(obj, de, inode), 107 __field(unsigned int, obj ) 113 __entry->obj = obj->fscache.debug_id; 119 __entry->obj, __entry->de, __entry->inode) [all …]
|
/include/drm/ |
D | drm_gem_shmem_helper.h | 106 #define to_drm_gem_shmem_obj(obj) \ argument 107 container_of(obj, struct drm_gem_shmem_object, base) 110 void drm_gem_shmem_free_object(struct drm_gem_object *obj); 114 int drm_gem_shmem_pin(struct drm_gem_object *obj); 115 void drm_gem_shmem_unpin(struct drm_gem_object *obj); 116 int drm_gem_shmem_vmap(struct drm_gem_object *obj, struct dma_buf_map *map); 117 void drm_gem_shmem_vunmap(struct drm_gem_object *obj, struct dma_buf_map *map); 119 int drm_gem_shmem_madvise(struct drm_gem_object *obj, int madv); 128 void drm_gem_shmem_purge_locked(struct drm_gem_object *obj); 129 bool drm_gem_shmem_purge(struct drm_gem_object *obj); [all …]
|
D | drm_gem.h | 56 void (*free)(struct drm_gem_object *obj); 65 int (*open)(struct drm_gem_object *obj, struct drm_file *file); 74 void (*close)(struct drm_gem_object *obj, struct drm_file *file); 90 const struct drm_gem_object *obj); 100 struct dma_buf *(*export)(struct drm_gem_object *obj, int flags); 109 int (*pin)(struct drm_gem_object *obj); 118 void (*unpin)(struct drm_gem_object *obj); 132 struct sg_table *(*get_sg_table)(struct drm_gem_object *obj); 142 int (*vmap)(struct drm_gem_object *obj, struct dma_buf_map *map); 152 void (*vunmap)(struct drm_gem_object *obj, struct dma_buf_map *map); [all …]
|
D | drm_mode_object.h | 120 void drm_mode_object_get(struct drm_mode_object *obj); 121 void drm_mode_object_put(struct drm_mode_object *obj); 123 int drm_object_property_set_value(struct drm_mode_object *obj, 126 int drm_object_property_get_value(struct drm_mode_object *obj, 130 void drm_object_attach_property(struct drm_mode_object *obj,
|
D | drm_syncobj.h | 76 drm_syncobj_get(struct drm_syncobj *obj) in drm_syncobj_get() argument 78 kref_get(&obj->refcount); in drm_syncobj_get() 86 drm_syncobj_put(struct drm_syncobj *obj) in drm_syncobj_put() argument 88 kref_put(&obj->refcount, drm_syncobj_free); in drm_syncobj_put()
|
D | drm_gem_cma_helper.h | 97 const struct drm_gem_object *obj); 99 struct sg_table *drm_gem_cma_get_sg_table(struct drm_gem_object *obj); 104 int drm_gem_cma_vmap(struct drm_gem_object *obj, struct dma_buf_map *map); 105 int drm_gem_cma_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma);
|
D | drm_prime.h | 89 int drm_gem_prime_mmap(struct drm_gem_object *obj, struct vm_area_struct *vma); 94 struct dma_buf *drm_gem_prime_export(struct drm_gem_object *obj, 106 void drm_prime_gem_destroy(struct drm_gem_object *obj, struct sg_table *sg);
|
D | drm_atomic.h | 221 struct drm_private_state *(*atomic_duplicate_state)(struct drm_private_obj *obj); 228 void (*atomic_destroy_state)(struct drm_private_obj *obj, 490 struct drm_private_obj *obj, 493 void drm_atomic_private_obj_fini(struct drm_private_obj *obj); 497 struct drm_private_obj *obj); 500 struct drm_private_obj *obj); 503 struct drm_private_obj *obj); 965 #define for_each_oldnew_private_obj_in_state(__state, obj, old_obj_state, new_obj_state, __i) \ argument 968 ((obj) = (__state)->private_objs[__i].ptr, \ 984 #define for_each_old_private_obj_in_state(__state, obj, old_obj_state, __i) \ argument [all …]
|
/include/media/ |
D | media-request.h | 287 static inline void media_request_object_get(struct media_request_object *obj) in media_request_object_get() argument 289 kref_get(&obj->kref); in media_request_object_get() 300 void media_request_object_put(struct media_request_object *obj); 331 void media_request_object_init(struct media_request_object *obj); 359 struct media_request_object *obj); 368 void media_request_object_unbind(struct media_request_object *obj); 378 void media_request_object_complete(struct media_request_object *obj); 402 static inline void media_request_object_get(struct media_request_object *obj) in media_request_object_get() argument 406 static inline void media_request_object_put(struct media_request_object *obj) in media_request_object_put() argument 418 static inline void media_request_object_init(struct media_request_object *obj) in media_request_object_init() argument [all …]
|
/include/net/ |
D | switchdev.h | 81 struct switchdev_obj obj; member 87 container_of((OBJ), struct switchdev_obj_port_vlan, obj) 91 struct switchdev_obj obj; member 97 container_of((OBJ), struct switchdev_obj_port_mdb, obj) 102 struct switchdev_obj obj; member 110 container_of((OBJ), struct switchdev_obj_mrp, obj) 114 struct switchdev_obj obj; member 124 container_of((OBJ), struct switchdev_obj_ring_test_mrp, obj) 128 struct switchdev_obj obj; member 135 container_of((OBJ), struct switchdev_obj_ring_role_mrp, obj) [all …]
|
/include/net/phonet/ |
D | phonet.h | 71 u16 obj = pn_object(ph->pn_sdev, ph->pn_sobj); in pn_skb_get_src_sockaddr() local 74 pn_sockaddr_set_object(sa, obj); in pn_skb_get_src_sockaddr() 83 u16 obj = pn_object(ph->pn_rdev, ph->pn_robj); in pn_skb_get_dst_sockaddr() local 86 pn_sockaddr_set_object(sa, obj); in pn_skb_get_dst_sockaddr()
|
/include/linux/sched/ |
D | task_stack.h | 85 static inline int object_is_on_stack(const void *obj) in object_is_on_stack() argument 89 return (obj >= stack) && (obj < (stack + THREAD_SIZE)); in object_is_on_stack()
|
/include/rdma/ |
D | uverbs_types.h | 58 struct ib_uobject *(*alloc_begin)(const struct uverbs_api_object *obj, 65 struct ib_uobject *(*lookup_get)(const struct uverbs_api_object *obj, 108 struct ib_uobject *rdma_lookup_get_uobject(const struct uverbs_api_object *obj, 114 struct ib_uobject *rdma_alloc_begin_uobject(const struct uverbs_api_object *obj,
|
D | uverbs_std_types.h | 49 int __uobj_perform_destroy(const struct uverbs_api_object *obj, u32 id, 55 struct ib_uobject *__uobj_get_destroy(const struct uverbs_api_object *obj, 101 __uobj_alloc(const struct uverbs_api_object *obj, in __uobj_alloc() argument 104 struct ib_uobject *uobj = rdma_alloc_begin_uobject(obj, attrs); in __uobj_alloc()
|
/include/net/sctp/ |
D | command.h | 185 union sctp_arg obj; member 214 enum sctp_verb verb, union sctp_arg obj) in sctp_add_cmd_sf() argument 221 cmd->obj = obj; in sctp_add_cmd_sf()
|