Searched refs:action (Results 1 – 4 of 4) sorted by relevance
/lib/ |
D | notifier-error-inject.c | 33 struct notifier_err_inject_action *action; in notifier_err_inject_callback() local 35 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_callback() 36 if (action->val == val) { in notifier_err_inject_callback() 37 err = action->error; in notifier_err_inject_callback() 42 pr_info("Injecting error (%d) to %s\n", err, action->name); in notifier_err_inject_callback() 53 struct notifier_err_inject_action *action; in notifier_err_inject_init() local 65 for (action = err_inject->actions; action->name; action++) { in notifier_err_inject_init() 68 action_dir = debugfs_create_dir(action->name, actions_dir); in notifier_err_inject_init() 75 debugfs_create_errno("error", mode, action_dir, &action->error); in notifier_err_inject_init()
|
D | notifier-error-inject.h | 12 #define NOTIFIER_ERR_INJECT_ACTION(action) \ argument 13 .name = #action, .val = (action),
|
D | kobject_uevent.c | 66 enum kobject_action action; in kobject_action_type() local 84 for (action = 0; action < ARRAY_SIZE(kobject_actions); action++) { in kobject_action_type() 85 if (strncmp(kobject_actions[action], buf, count_first) != 0) in kobject_action_type() 87 if (kobject_actions[action][count_first] != '\0') in kobject_action_type() 91 *type = action; in kobject_action_type() 195 enum kobject_action action; in kobject_synth_uevent() local 201 r = kobject_action_type(buf, count, &action, &action_args); in kobject_synth_uevent() 208 r = kobject_uevent_env(kobj, action, no_uuid_envp); in kobject_synth_uevent() 222 r = kobject_uevent_env(kobj, action, env->envp); in kobject_synth_uevent() 456 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env() argument [all …]
|
D | test_objagg.c | 383 enum action { enum 413 enum action action; member 577 if (WARN_ON(action_item->action == ACTION_PUT)) in check_expect() 586 if (WARN_ON(action_item->action == ACTION_GET)) in check_expect() 605 if (WARN_ON(action_item->action == ACTION_PUT)) in check_expect() 614 if (WARN_ON(action_item->action == ACTION_GET)) in check_expect() 765 enum action action = action_item->action; in test_delta_action_item() local 771 action = action == ACTION_GET ? ACTION_PUT : ACTION_GET; in test_delta_action_item() 773 switch (action) { in test_delta_action_item()
|