Home
last modified time | relevance | path

Searched refs:item (Results 1 – 8 of 8) sorted by relevance

/lib/
Dparman.c45 struct parman_item *item);
47 struct parman_item *item);
126 struct parman_item *item, unsigned long to_index, in __parman_prio_move() argument
129 parman->ops->move(parman->priv, item->index, to_index, count); in __parman_prio_move()
135 struct parman_item *item; in parman_prio_shift_down() local
140 item = parman_prio_first_item(prio); in parman_prio_shift_down()
142 __parman_prio_move(parman, prio, item, to_index, 1); in parman_prio_shift_down()
143 list_move_tail(&item->list, &prio->item_list); in parman_prio_shift_down()
144 item->index = to_index; in parman_prio_shift_down()
150 struct parman_item *item; in parman_prio_shift_up() local
[all …]
Dtest_parman.c193 struct test_parman_item *item = &test_parman->items[i]; in test_parman_items_init() local
198 item->prio = &test_parman->prios[prio_index]; in test_parman_items_init()
207 struct test_parman_item *item = &test_parman->items[i]; in test_parman_items_fini() local
209 if (!item->used) in test_parman_items_fini()
212 &item->prio->parman_prio, in test_parman_items_fini()
213 &item->parman_item); in test_parman_items_fini()
275 struct test_parman_item *item = &test_parman->items[item_index]; in test_parman_run() local
280 if (!item->used) { in test_parman_run()
282 &item->prio->parman_prio, in test_parman_run()
283 &item->parman_item); in test_parman_run()
[all …]
Dfault-inject.c333 static struct fault_config *to_fault_config(struct config_item *item) in to_fault_config() argument
335 return container_of(to_config_group(item), struct fault_config, group); in to_fault_config()
339 static ssize_t fault_##NAME##_show(struct config_item *item, char *page) \
341 return fault_##TYPE##_attr_show(to_fault_config(item)->attr.MEMBER, page); \
343 static ssize_t fault_##NAME##_store(struct config_item *item, const char *page, size_t count) \
345 struct fault_config *config = to_fault_config(item); \
366 static ssize_t fault_stacktrace_depth_show(struct config_item *item, char *page) in fault_stacktrace_depth_show() argument
368 return fault_ulong_attr_show(to_fault_config(item)->attr.stacktrace_depth, page); in fault_stacktrace_depth_show()
371 static ssize_t fault_stacktrace_depth_store(struct config_item *item, const char *page, in fault_stacktrace_depth_store() argument
381 to_fault_config(item)->attr.stacktrace_depth = in fault_stacktrace_depth_store()
Dradix-tree.c682 void __rcu **slot, void *item) in insert_entries() argument
686 rcu_assign_pointer(*slot, item); in insert_entries()
689 if (xa_is_value(item)) in insert_entries()
704 void *item) in radix_tree_insert() argument
710 BUG_ON(radix_tree_is_internal_node(item)); in radix_tree_insert()
716 error = insert_entries(node, slot, item); in radix_tree_insert()
823 static void replace_slot(void __rcu **slot, void *item, in replace_slot() argument
831 rcu_assign_pointer(*slot, item); in replace_slot()
852 void *item, void *old) in calculate_count() argument
862 return !!item - !!old; in calculate_count()
[all …]
Dstring_helpers.c947 const char *item; in match_string() local
950 item = array[index]; in match_string()
951 if (!item) in match_string()
953 if (!strcmp(item, string)) in match_string()
980 const char *item; in __sysfs_match_string() local
984 item = array[index]; in __sysfs_match_string()
985 if (!item) in __sysfs_match_string()
987 if (sysfs_streq(item, str)) in __sysfs_match_string()
Dtest_xarray.c1130 static noinline unsigned long xa_find_entry(struct xarray *xa, void *item) in xa_find_entry() argument
1140 if (entry == item) in xa_find_entry()
DKconfig105 sure your devices really need this configure item enabled.
DKconfig.debug1212 item for over a given amount of time, 30s by default, a
1227 triggering likely indicates that the work item should be switched