Searched refs:action (Results 1 – 6 of 6) sorted by relevance
/lib/ |
D | notifier-error-inject.c | 32 struct notifier_err_inject_action *action; in notifier_err_inject_callback() local 34 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback() 35 if (action->val == val) { in notifier_err_inject_callback() 36 err = action->error; in notifier_err_inject_callback() 41 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback() 52 struct notifier_err_inject_action *action; in notifier_err_inject_init() local 68 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init() 71 action_dir = debugfs_create_dir(action->name, actions_dir); in notifier_err_inject_init() 81 &action->error)) in notifier_err_inject_init()
|
D | notifier-error-inject.h | 11 #define NOTIFIER_ERR_INJECT_ACTION(action) \ argument 12 .name = #action, .val = (action),
|
D | kobject_uevent.c | 68 enum kobject_action action; in kobject_action_type() local 77 for (action = 0; action < ARRAY_SIZE(kobject_actions); action++) { in kobject_action_type() 78 if (strncmp(kobject_actions[action], buf, count) != 0) in kobject_action_type() 80 if (kobject_actions[action][count] != '\0') in kobject_action_type() 82 *type = action; in kobject_action_type() 165 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env() argument 169 const char *action_string = kobject_actions[action]; in kobject_uevent_env() 276 if (action == KOBJ_ADD) in kobject_uevent_env() 278 else if (action == KOBJ_REMOVE) in kobject_uevent_env() 373 int kobject_uevent(struct kobject *kobj, enum kobject_action action) in kobject_uevent() argument [all …]
|
D | percpu_counter.c | 169 unsigned long action, void *hcpu) in percpu_counter_hotcpu_callback() argument 176 if (action != CPU_DEAD && action != CPU_DEAD_FROZEN) in percpu_counter_hotcpu_callback()
|
D | radix-tree.c | 1469 unsigned long action, in radix_tree_callback() argument 1476 if (action == CPU_DEAD || action == CPU_DEAD_FROZEN) { in radix_tree_callback()
|
D | dma-debug.c | 942 static int dma_debug_device_change(struct notifier_block *nb, unsigned long action, void *data) in dma_debug_device_change() argument 951 switch (action) { in dma_debug_device_change()
|