Home
last modified time | relevance | path

Searched refs:action (Results 1 – 25 of 158) sorted by relevance

1234567

/linux-4.19.296/lib/
Dnotifier-error-inject.c32 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()
Dnotifier-error-inject.h12 #define NOTIFIER_ERR_INJECT_ACTION(action) \ argument
13 .name = #action, .val = (action),
Dkobject_uevent.c66 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()
455 int kobject_uevent_env(struct kobject *kobj, enum kobject_action action, in kobject_uevent_env() argument
[all …]
/linux-4.19.296/drivers/of/
Ddynamic.c76 int of_reconfig_notify(unsigned long action, struct of_reconfig_data *p) in of_reconfig_notify() argument
82 switch (action) { in of_reconfig_notify()
85 pr_debug("notify %-15s %pOF\n", action_names[action], in of_reconfig_notify()
91 pr_debug("notify %-15s %pOF:%s\n", action_names[action], in of_reconfig_notify()
97 rc = blocking_notifier_call_chain(&of_reconfig_chain, action, p); in of_reconfig_notify()
110 int of_reconfig_get_state_change(unsigned long action, struct of_reconfig_data *pr) in of_reconfig_get_state_change() argument
116 switch (action) { in of_reconfig_get_state_change()
148 switch (action) { in of_reconfig_get_state_change()
188 int of_property_notify(int action, struct device_node *np, in of_property_notify() argument
200 return of_reconfig_notify(action, &pr); in of_property_notify()
[all …]
/linux-4.19.296/fs/btrfs/
Ddelayed-ref.c259 if (ref->action == next->action) { in merge_ref()
416 if (exist->action == ref->action) { in insert_delayed_ref()
421 exist->action = ref->action; in insert_delayed_ref()
424 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
427 else if (ref->action == BTRFS_DROP_DELAYED_REF) { in insert_delayed_ref()
444 if (ref->action == BTRFS_ADD_DELAYED_REF) in insert_delayed_ref()
529 u64 reserved, int action, bool is_data, in init_delayed_ref_head() argument
542 if (action == BTRFS_UPDATE_DELAYED_HEAD) in init_delayed_ref_head()
544 else if (action == BTRFS_DROP_DELAYED_REF) in init_delayed_ref_head()
557 if (action == BTRFS_ADD_DELAYED_EXTENT) in init_delayed_ref_head()
[all …]
Dref-verify.h14 int action);
35 u64 owner, u64 offset, int action) in btrfs_ref_tree_mod() argument
Ddelayed-ref.h49 unsigned int action:8; member
239 u64 ref_root, int level, int action,
245 u64 owner, u64 offset, u64 reserved, int action,
Dref-verify.c49 int action; member
633 ra->action, ra->root, ra->ref.root_objectid, ra->ref.parent, in dump_ref_action()
692 int action) in btrfs_ref_tree_mod() argument
721 ref->num_refs = (action == BTRFS_DROP_DELAYED_REF) ? -1 : 1; in btrfs_ref_tree_mod()
736 ra->action = action; in btrfs_ref_tree_mod()
744 if (action == BTRFS_ADD_DELAYED_EXTENT) { in btrfs_ref_tree_mod()
805 action, (unsigned long long)bytenr, in btrfs_ref_tree_mod()
824 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
852 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
880 if (action == BTRFS_DROP_DELAYED_REF) { in btrfs_ref_tree_mod()
[all …]
/linux-4.19.296/include/linux/
Dwait_bit.h27 …ead *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode…
28 …ead *wq_head, struct wait_bit_queue_entry *wbq_entry, wait_bit_action_f *action, unsigned int mode…
30 int out_of_line_wait_on_bit(void *word, int, wait_bit_action_f *action, unsigned int mode);
31 int out_of_line_wait_on_bit_timeout(void *word, int, wait_bit_action_f *action, unsigned int mode, …
32 int out_of_line_wait_on_bit_lock(void *word, int, wait_bit_action_f *action, unsigned int mode);
150 wait_on_bit_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_action() argument
156 return out_of_line_wait_on_bit(word, bit, action, mode); in wait_on_bit_action()
229 wait_on_bit_lock_action(unsigned long *word, int bit, wait_bit_action_f *action, in wait_on_bit_lock_action() argument
235 return out_of_line_wait_on_bit_lock(word, bit, action, mode); in wait_on_bit_lock_action()
Dccp.h174 enum ccp_aes_action action; member
235 enum ccp_aes_action action; member
347 enum ccp_des3_action action; member
/linux-4.19.296/include/trace/events/
Dirq.h55 TP_PROTO(int irq, struct irqaction *action),
57 TP_ARGS(irq, action),
61 __string( name, action->name )
66 __assign_str(name, action->name);
85 TP_PROTO(int irq, struct irqaction *action, int ret),
87 TP_ARGS(irq, action, ret),
Dpower.h228 TP_PROTO(const char *action, int val, bool start),
230 TP_ARGS(action, val, start),
233 __field(const char *, action)
239 __entry->action = action;
244 TP_printk("%s[%u] %s", __entry->action, (unsigned int)__entry->val,
437 TP_PROTO(enum pm_qos_req_action action, int prev_value, int curr_value),
439 TP_ARGS(action, prev_value, curr_value),
442 __field( enum pm_qos_req_action, action )
448 __entry->action = action;
454 __print_symbolic(__entry->action,
[all …]
Dbtrfs.h701 #define show_ref_action(action) \ argument
702 __print_symbolic(action, \
714 int action),
716 TP_ARGS(fs_info, ref, full_ref, action),
721 __field( int, action )
732 __entry->action = action;
745 show_ref_action(__entry->action),
757 int action),
759 TP_ARGS(fs_info, ref, full_ref, action)
767 int action),
[all …]
Dsunrpc.h106 TP_PROTO(const struct rpc_task *task, const void *action),
108 TP_ARGS(task, action),
113 __field(const void *, action)
123 __entry->action = action;
134 __entry->action
140 TP_PROTO(const struct rpc_task *task, const void *action),
142 TP_ARGS(task, action)
148 TP_PROTO(const struct rpc_task *task, const void *action),
150 TP_ARGS(task, action)
156 TP_PROTO(const struct rpc_task *task, const void *action),
[all …]
/linux-4.19.296/drivers/xen/
Darm-device.c116 unsigned long action, void *data) in xen_platform_notifier() argument
124 switch (action) { in xen_platform_notifier()
136 action == BUS_NOTIFY_ADD_DEVICE ? "map" : in xen_platform_notifier()
137 (action == BUS_NOTIFY_DEL_DEVICE ? "unmap" : "?"), in xen_platform_notifier()
161 unsigned long action, void *data) in xen_amba_notifier() argument
166 switch (action) { in xen_amba_notifier()
178 action == BUS_NOTIFY_ADD_DEVICE ? "map" : in xen_amba_notifier()
179 (action == BUS_NOTIFY_DEL_DEVICE ? "unmap" : "?"), in xen_amba_notifier()
Dxen-acpi-cpuhotplug.c351 int *action = context; in processor_walk_namespace_cb() local
357 switch (*action) { in processor_walk_namespace_cb()
380 int action = INSTALL_NOTIFY_HANDLER; in acpi_processor_install_hotplug_notify() local
384 processor_walk_namespace_cb, NULL, &action, NULL); in acpi_processor_install_hotplug_notify()
390 int action = UNINSTALL_NOTIFY_HANDLER; in acpi_processor_uninstall_hotplug_notify() local
394 processor_walk_namespace_cb, NULL, &action, NULL); in acpi_processor_uninstall_hotplug_notify()
Dpci.c192 unsigned long action, void *data) in xen_pci_notifier() argument
197 switch (action) { in xen_pci_notifier()
209 action == BUS_NOTIFY_ADD_DEVICE ? "add" : in xen_pci_notifier()
210 (action == BUS_NOTIFY_DEL_DEVICE ? "delete" : "?")); in xen_pci_notifier()
Dtime.c84 void xen_manage_runstate_time(int action) in xen_manage_runstate_time() argument
90 switch (action) { in xen_manage_runstate_time()
132 if (action != -1 && runstate_delta) { in xen_manage_runstate_time()
/linux-4.19.296/include/linux/mfd/
Drave-sp.h44 static inline u8 rave_sp_action_unpack_event(unsigned long action) in rave_sp_action_unpack_event() argument
46 return action; in rave_sp_action_unpack_event()
49 static inline u8 rave_sp_action_unpack_value(unsigned long action) in rave_sp_action_unpack_value() argument
51 return action >> 8; in rave_sp_action_unpack_value()
/linux-4.19.296/drivers/s390/char/
Dsclp_pci.c37 u8 action; member
114 if (report->action != SCLP_ERRNOTIFY_AQ_REPAIR && in sclp_pci_check_report()
115 report->action != SCLP_ERRNOTIFY_AQ_INFO_LOG) in sclp_pci_check_report()
162 sccb->evbuf.action = report->action; in sclp_pci_report()
/linux-4.19.296/drivers/cpufreq/
Dhighbank-cpufreq.c37 unsigned long action, void *hclk) in hb_cpufreq_clk_notify() argument
42 if (action == PRE_RATE_CHANGE) { in hb_cpufreq_clk_notify()
47 } else if (action == POST_RATE_CHANGE) { in hb_cpufreq_clk_notify()
/linux-4.19.296/drivers/i2c/busses/
Di2c-mv64xxx.c123 u32 action; member
233 drv_data->action = MV64XXX_I2C_ACTION_SEND_STOP; in mv64xxx_i2c_fsm()
242 drv_data->action = MV64XXX_I2C_ACTION_SEND_ADDR_1; in mv64xxx_i2c_fsm()
249 drv_data->action = MV64XXX_I2C_ACTION_SEND_ADDR_2; in mv64xxx_i2c_fsm()
261 drv_data->action = MV64XXX_I2C_ACTION_SEND_STOP; in mv64xxx_i2c_fsm()
264 drv_data->action = in mv64xxx_i2c_fsm()
270 drv_data->action = MV64XXX_I2C_ACTION_SEND_DATA; in mv64xxx_i2c_fsm()
280 drv_data->action = MV64XXX_I2C_ACTION_SEND_ADDR_2; in mv64xxx_i2c_fsm()
288 drv_data->action = MV64XXX_I2C_ACTION_SEND_STOP; in mv64xxx_i2c_fsm()
295 drv_data->action = MV64XXX_I2C_ACTION_CONTINUE; in mv64xxx_i2c_fsm()
[all …]
/linux-4.19.296/drivers/pci/hotplug/
Dsgi_hotplug.c268 int device_num, int action) in sn_slot_disable() argument
277 rc = sal_pcibr_slot_disable(pcibus_info, device_num, action, &resp); in sn_slot_disable()
279 if ((action == PCI_REQ_SLOT_ELIGIBLE) && in sn_slot_disable()
285 if ((action == PCI_REQ_SLOT_ELIGIBLE) && (rc == PCI_EMPTY_33MHZ)) { in sn_slot_disable()
290 if ((action == PCI_REQ_SLOT_ELIGIBLE) && (rc == PCI_L1_ERR)) { in sn_slot_disable()
296 if ((action == PCI_REQ_SLOT_ELIGIBLE) && rc) { in sn_slot_disable()
302 if ((action == PCI_REQ_SLOT_ELIGIBLE) && !rc) in sn_slot_disable()
305 if ((action == PCI_REQ_SLOT_DISABLE) && !rc) { in sn_slot_disable()
312 if ((action == PCI_REQ_SLOT_DISABLE) && rc) { in sn_slot_disable()
/linux-4.19.296/drivers/base/
Ddevres.c693 void (*action)(void *); member
701 return devres->action == target->action && in devm_action_match()
709 devres->action(devres->data); in devm_action_release()
721 int devm_add_action(struct device *dev, void (*action)(void *), void *data) in devm_add_action()
731 devres->action = action; in devm_add_action()
747 void devm_remove_action(struct device *dev, void (*action)(void *), void *data) in devm_remove_action()
751 .action = action, in devm_remove_action()
/linux-4.19.296/drivers/base/power/
Dclock_ops.c463 unsigned long action, void *data) in pm_clk_notify() argument
470 dev_dbg(dev, "%s() %ld\n", __func__, action); in pm_clk_notify()
474 switch (action) { in pm_clk_notify()
591 unsigned long action, void *data) in pm_clk_notify() argument
597 dev_dbg(dev, "%s() %ld\n", __func__, action); in pm_clk_notify()
601 switch (action) { in pm_clk_notify()

1234567