Home
last modified time | relevance | path

Searched refs:obj_old (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/infiniband/core/
H A Drdma_core.c603 static void swap_idr_uobjects(struct ib_uobject *obj_old, in swap_idr_uobjects() argument
606 struct ib_uverbs_file *ufile = obj_old->ufile; in swap_idr_uobjects()
613 old = xa_cmpxchg(&ufile->idr, obj_old->id, obj_old, XA_ZERO_ENTRY, in swap_idr_uobjects()
615 if (WARN_ON(old != obj_old)) in swap_idr_uobjects()
618 swap(obj_old->id, obj_new->id); in swap_idr_uobjects()
620 old = xa_cmpxchg(&ufile->idr, obj_old->id, NULL, obj_old, GFP_KERNEL); in swap_idr_uobjects()
/linux/include/linux/
H A Drhashtable.h1206 struct rhash_head *obj_old, struct rhash_head *obj_new, in __rhashtable_replace_fast()
1219 hash = rht_head_hashfn(ht, tbl, obj_old, params); in __rhashtable_replace_fast()
1231 if (he != obj_old) { in __rhashtable_replace_fast()
1236 rcu_assign_pointer(obj_new->next, obj_old->next); in __rhashtable_replace_fast()
1256 * @obj_old: pointer to hash head inside object being replaced
1268 struct rhashtable *ht, struct rhash_head *obj_old, in rhashtable_replace_fast()
1284 while ((err = __rhashtable_replace_fast(ht, tbl, obj_old,
1196 __rhashtable_replace_fast(struct rhashtable * ht,struct bucket_table * tbl,struct rhash_head * obj_old,struct rhash_head * obj_new,const struct rhashtable_params params) __rhashtable_replace_fast() argument
1258 rhashtable_replace_fast(struct rhashtable * ht,struct rhash_head * obj_old,struct rhash_head * obj_new,const struct rhashtable_params params) rhashtable_replace_fast() argument
/linux/include/rdma/
H A Duverbs_types.h74 void (*swap_uobjects)(struct ib_uobject *obj_old,