Home
last modified time | relevance | path

Searched refs:id (Results 1 – 11 of 11) sorted by relevance

/lib/livepatch/
Dtest_klp_shadow_vars.c21 int id; member
42 return sp->id; in ptr_id()
49 sp->id = count++; in ptr_id()
53 return sp->id; in ptr_id()
61 static void *shadow_get(void *obj, unsigned long id) in shadow_get() argument
63 void *ret = klp_shadow_get(obj, id); in shadow_get()
66 __func__, ptr_id(obj), id, ptr_id(ret)); in shadow_get()
71 static void *shadow_alloc(void *obj, unsigned long id, size_t size, in shadow_alloc() argument
75 void *ret = klp_shadow_alloc(obj, id, size, gfp_flags, ctor, in shadow_alloc()
78 __func__, ptr_id(obj), id, size, &gfp_flags, ptr_id(ctor), in shadow_alloc()
[all …]
/lib/
Didr.c39 unsigned int id = *nextid; in idr_alloc_u32() local
44 id = (id < base) ? 0 : id - base; in idr_alloc_u32()
45 radix_tree_iter_init(&iter, id); in idr_alloc_u32()
81 u32 id = start; in idr_alloc() local
87 ret = idr_alloc_u32(idr, ptr, &id, end > 0 ? end - 1 : INT_MAX, gfp); in idr_alloc()
91 return id; in idr_alloc()
119 u32 id = idr->idr_next; in idr_alloc_cyclic() local
122 if ((int)id < start) in idr_alloc_cyclic()
123 id = start; in idr_alloc_cyclic()
125 err = idr_alloc_u32(idr, ptr, &id, max, gfp); in idr_alloc_cyclic()
[all …]
Dtest_rhashtable.c58 int id; member
74 int id; member
83 return (obj->value.id % 10); in my_hashfn()
91 return test_obj->value.id - val->id; in my_cmpfn()
146 .id = i, in test_rht_lookup()
149 if (array[i / 2].value.id == TEST_INSERT_FAIL) in test_rht_lookup()
155 pr_warn("Test failed: Could not find key %u\n", key.id); in test_rht_lookup()
159 key.id); in test_rht_lookup()
162 if (obj->value.id != i) { in test_rht_lookup()
164 obj->value.id, i); in test_rht_lookup()
[all …]
Dtest_xarray.c50 u32 id; in xa_alloc_index() local
52 XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(index), xa_limit_32b, in xa_alloc_index()
54 XA_BUG_ON(xa, id != index); in xa_alloc_index()
449 u32 id; in check_reserve() local
451 XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_value(8), in check_reserve()
453 XA_BUG_ON(xa, id != 8); in check_reserve()
456 XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_value(6), in check_reserve()
458 XA_BUG_ON(xa, id != 6); in check_reserve()
652 u32 id; in check_xa_alloc_1() local
700 XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(UINT_MAX - 1), in check_xa_alloc_1()
[all …]
Dtest_ida.c33 int i, id; in ida_check_alloc() local
41 id = ida_alloc(ida, GFP_KERNEL); in ida_check_alloc()
42 IDA_BUG_ON(ida, id < 0); in ida_check_alloc()
44 IDA_BUG_ON(ida, id != 10000); in ida_check_alloc()
Dtest_objagg.c13 unsigned int id; member
54 key.id = key_id; in world_obj_get()
94 int diff = key->id - parent_key->id; in delta_check()
104 int diff = key->id - parent_key->id; in delta_create()
127 static void *root_create(void *priv, void *obj, unsigned int id) in root_create() argument
183 if (root->key.id != key_id) { in test_nodelta_obj_get()
633 key_id = root_key->id; in obj_to_key_id()
Dxarray.c1610 int __xa_alloc(struct xarray *xa, u32 *id, void *entry, in __xa_alloc() argument
1629 *id = xas.xa_index; in __xa_alloc()
1659 int __xa_alloc_cyclic(struct xarray *xa, u32 *id, void *entry, in __xa_alloc_cyclic() argument
1666 ret = __xa_alloc(xa, id, entry, limit, gfp); in __xa_alloc_cyclic()
1674 ret = __xa_alloc(xa, id, entry, limit, gfp); in __xa_alloc_cyclic()
1680 *next = *id + 1; in __xa_alloc_cyclic()
DKconfig.kasan113 https://bugs.llvm.org/show_bug.cgi?id=38809
DKconfig.debug25 Selecting this option causes printk() to add a caller "thread id" (if
26 in task context) or a caller "processor id" (if not in task context)
/lib/xz/
Dxz_private.h145 XZ_EXTERN enum xz_ret xz_dec_bcj_reset(struct xz_dec_bcj *s, uint8_t id);
Dxz_dec_bcj.c536 XZ_EXTERN enum xz_ret xz_dec_bcj_reset(struct xz_dec_bcj *s, uint8_t id) in xz_dec_bcj_reset() argument
538 switch (id) { in xz_dec_bcj_reset()
564 s->type = id; in xz_dec_bcj_reset()