Home
last modified time | relevance | path

Searched refs:ops (Results 1 – 25 of 360) sorted by relevance

12345678910>>...15

/include/linux/
A Dntb.h339 !ops->peer_port_count == !ops->port_number && in ntb_dev_ops_is_valid()
341 !ops->peer_port_idx == !ops->port_number && in ntb_dev_ops_is_valid()
379 !ops->spad_read == !ops->spad_count && in ntb_dev_ops_is_valid()
380 !ops->spad_write == !ops->spad_count && in ntb_dev_ops_is_valid()
383 !ops->peer_spad_write == !ops->spad_count && in ntb_dev_ops_is_valid()
386 !ops->msg_inbits == !ops->msg_count && in ntb_dev_ops_is_valid()
387 !ops->msg_outbits == !ops->msg_count && in ntb_dev_ops_is_valid()
388 !ops->msg_read_sts == !ops->msg_count && in ntb_dev_ops_is_valid()
389 !ops->msg_clear_sts == !ops->msg_count && in ntb_dev_ops_is_valid()
392 !ops->msg_read == !ops->msg_count && in ntb_dev_ops_is_valid()
[all …]
A Dassoc_array.h65 const struct assoc_array_ops *ops,
68 const struct assoc_array_ops *ops);
70 const struct assoc_array_ops *ops,
76 const struct assoc_array_ops *ops,
79 const struct assoc_array_ops *ops);
83 const struct assoc_array_ops *ops,
A Dftrace.h491 int register_ftrace_function(struct ftrace_ops *ops);
492 int unregister_ftrace_function(struct ftrace_ops *ops);
504 #define register_ftrace_function(ops) ({ 0; }) argument
505 #define unregister_ftrace_function(ops) ({ 0; }) argument
731 void ftrace_free_filter(struct ftrace_ops *ops);
791 int ftrace_regex_open(struct ftrace_ops *ops, int flag,
1007 #define ftrace_free_filter(ops) do { } while (0) argument
1171 bool ftrace_pids_enabled(struct ftrace_ops *ops);
1178 struct ftrace_ops ops; /* for the hash lists */ member
1286 #define register_ftrace_graph(ops) ({ -1; }) argument
[all …]
A Dmoduleparam.h77 const struct kernel_param_ops *ops; member
102 const struct kernel_param_ops *ops; member
200 __level_param_cb(name, ops, arg, perm, 1)
213 __level_param_cb(name, ops, arg, perm, 2)
226 __level_param_cb(name, ops, arg, perm, 3)
239 __level_param_cb(name, ops, arg, perm, 4)
252 __level_param_cb(name, ops, arg, perm, 5)
265 __level_param_cb(name, ops, arg, perm, 6)
278 __level_param_cb(name, ops, arg, perm, 7)
526 .ops = &param_ops_##type, \
[all …]
A Dpipe_fs_i.h29 const struct pipe_buf_operations *ops; member
268 return buf->ops->get(pipe, buf); in pipe_buf_get()
279 const struct pipe_buf_operations *ops = buf->ops; in pipe_buf_release() local
281 buf->ops = NULL; in pipe_buf_release()
282 ops->release(pipe, buf); in pipe_buf_release()
293 if (!buf->ops->confirm) in pipe_buf_confirm()
295 return buf->ops->confirm(pipe, buf); in pipe_buf_confirm()
306 if (!buf->ops->try_steal) in pipe_buf_try_steal()
308 return buf->ops->try_steal(pipe, buf); in pipe_buf_try_steal()
A Dfwnode.h54 const struct fwnode_operations *ops; member
188 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op)
192 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO))
196 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false)
200 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : NULL)
204 (fwnode)->ops->op(fwnode, ## __VA_ARGS__); \
208 const struct fwnode_operations *ops) in fwnode_init() argument
210 fwnode->ops = ops; in fwnode_init()
A Dlcd.h78 const struct lcd_ops *ops; member
116 if (ld->ops && ld->ops->set_power) in lcd_set_power()
117 ld->ops->set_power(ld, power); in lcd_set_power()
122 struct device *parent, void *devdata, const struct lcd_ops *ops);
125 void *devdata, const struct lcd_ops *ops);
A Dproc_fs.h100 struct proc_dir_entry *parent, const struct seq_operations *ops,
102 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument
103 proc_create_seq_private(name, mode, parent, ops, 0, data)
104 #define proc_create_seq(name, mode, parent, ops) \ argument
105 proc_create_seq_private(name, mode, parent, ops, 0, NULL)
136 struct proc_dir_entry *parent, const struct seq_operations *ops,
138 #define proc_create_net(name, mode, parent, ops, state_size) \ argument
139 proc_create_net_data(name, mode, parent, ops, state_size, NULL)
145 const struct seq_operations *ops,
196 #define proc_create_seq_data(name, mode, parent, ops, data) ({NULL;}) argument
[all …]
A Dnfs_ssc.h39 extern void nfs42_ssc_register(const struct nfs4_ssc_client_ops *ops);
40 extern void nfs42_ssc_unregister(const struct nfs4_ssc_client_ops *ops);
74 extern void nfs_ssc_register(const struct nfs_ssc_client_ops *ops);
75 extern void nfs_ssc_unregister(const struct nfs_ssc_client_ops *ops);
A Diomap.h340 const struct iomap_ops *ops,
350 const struct iomap_ops *ops,
353 bool *did_zero, const struct iomap_ops *ops,
356 const struct iomap_ops *ops,
367 u64 start, u64 len, const struct iomap_ops *ops);
369 const struct iomap_ops *ops);
371 const struct iomap_ops *ops);
373 const struct iomap_ops *ops);
453 const struct iomap_writeback_ops *ops; member
522 const struct iomap_ops *ops, const struct iomap_dio_ops *dops,
[all …]
A Dirqdomain.h150 const struct irq_domain_ops *ops; member
303 const struct irq_domain_ops *ops; member
373 const struct irq_domain_ops *ops, in irq_domain_create_nomap() argument
380 .ops = ops, in irq_domain_create_nomap()
402 const struct irq_domain_ops *ops, in irq_domain_create_linear() argument
409 .ops = ops, in irq_domain_create_linear()
418 const struct irq_domain_ops *ops, in irq_domain_create_tree() argument
424 .ops = ops, in irq_domain_create_tree()
555 .ops = ops, in irq_domain_create_hierarchy()
719 .ops = ops, in irq_domain_add_tree()
[all …]
A Dthermal.h131 const struct thermal_cooling_device_ops *ops; member
197 const struct thermal_zone_device_ops *ops);
205 const struct thermal_zone_device_ops *ops) in devm_thermal_of_zone_register() argument
232 const struct thermal_zone_device_ops *ops,
240 const struct thermal_zone_device_ops *ops,
262 const struct thermal_cooling_device_ops *ops);
281 const struct thermal_zone_device_ops *ops, in thermal_zone_device_register_with_trips() argument
289 struct thermal_zone_device_ops *ops, in thermal_tripless_zone_device_register() argument
302 const struct thermal_cooling_device_ops *ops) in thermal_cooling_device_register() argument
307 const struct thermal_cooling_device_ops *ops) in thermal_of_cooling_device_register() argument
[all …]
A Dfwctl.h81 const struct fwctl_ops *ops; member
85 const struct fwctl_ops *ops,
98 #define fwctl_alloc_device(parent, ops, drv_struct, member) \ argument
103 (drv_struct *)_fwctl_alloc_device(parent, ops, \
A Dpagewalk.h122 const struct mm_walk_ops *ops; member
132 unsigned long end, const struct mm_walk_ops *ops,
135 unsigned long end, const struct mm_walk_ops *ops,
138 unsigned long end, const struct mm_walk_ops *ops,
140 int walk_page_vma(struct vm_area_struct *vma, const struct mm_walk_ops *ops,
143 pgoff_t nr, const struct mm_walk_ops *ops,
A Dio-pgtable.h212 int (*map_pages)(struct io_pgtable_ops *ops, unsigned long iova,
215 size_t (*unmap_pages)(struct io_pgtable_ops *ops, unsigned long iova,
218 phys_addr_t (*iova_to_phys)(struct io_pgtable_ops *ops,
220 int (*pgtable_walk)(struct io_pgtable_ops *ops, unsigned long iova, void *wd);
221 int (*read_and_clear_dirty)(struct io_pgtable_ops *ops,
248 void free_io_pgtable_ops(struct io_pgtable_ops *ops);
268 struct io_pgtable_ops ops; member
271 #define io_pgtable_ops_to_pgtable(x) container_of((x), struct io_pgtable, ops)
A Dsyscore_ops.h20 extern void register_syscore_ops(struct syscore_ops *ops);
21 extern void unregister_syscore_ops(struct syscore_ops *ops);
/include/linux/usb/
A Dotg-fsm.h178 struct otg_fsm_ops *ops; member
207 if (!fsm->ops->chrg_vbus) in otg_chrg_vbus()
215 if (!fsm->ops->drv_vbus) in otg_drv_vbus()
226 if (!fsm->ops->loc_conn) in otg_loc_conn()
237 if (!fsm->ops->loc_sof) in otg_loc_sof()
241 fsm->ops->loc_sof(fsm, on); in otg_loc_sof()
248 if (!fsm->ops->start_pulse) in otg_start_pulse()
252 fsm->ops->start_pulse(fsm); in otg_start_pulse()
282 if (!fsm->ops->add_timer) in otg_add_timer()
290 if (!fsm->ops->del_timer) in otg_del_timer()
[all …]
/include/kvm/
A Diodev.h33 const struct kvm_io_device_ops *ops; member
37 const struct kvm_io_device_ops *ops) in kvm_iodevice_init() argument
39 dev->ops = ops; in kvm_iodevice_init()
46 return dev->ops->read ? dev->ops->read(vcpu, dev, addr, l, v) in kvm_iodevice_read()
54 return dev->ops->write ? dev->ops->write(vcpu, dev, addr, l, v) in kvm_iodevice_write()
/include/net/tc_act/
A Dtc_mirred.h22 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_egress_redirect()
31 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_egress_mirror()
40 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_ingress_redirect()
49 if (a->ops && a->ops->id == TCA_ID_MIRRED) in is_tcf_mirred_ingress_mirror()
/include/net/
A Dtc_wrapper.h53 if (a->ops->act == tcf_gact_act) in tc_act()
61 if (a->ops->act == tcf_pedit_act) in tc_act()
77 if (a->ops->act == tcf_bpf_act) in tc_act()
85 if (a->ops->act == tcf_csum_act) in tc_act()
89 if (a->ops->act == tcf_ct_act) in tc_act()
97 if (a->ops->act == tcf_gate_act) in tc_act()
101 if (a->ops->act == tcf_mpls_act) in tc_act()
105 if (a->ops->act == tcf_nat_act) in tc_act()
113 if (a->ops->act == tcf_vlan_act) in tc_act()
117 if (a->ops->act == tcf_ife_act) in tc_act()
[all …]
A Dxdp_sock.h162 const struct xsk_tx_metadata_ops *ops, in xsk_tx_metadata_request() argument
168 if (ops->tmo_request_launch_time) in xsk_tx_metadata_request()
170 ops->tmo_request_launch_time(meta->request.launch_time, in xsk_tx_metadata_request()
173 if (ops->tmo_request_timestamp) in xsk_tx_metadata_request()
175 ops->tmo_request_timestamp(priv); in xsk_tx_metadata_request()
177 if (ops->tmo_request_checksum) in xsk_tx_metadata_request()
179 ops->tmo_request_checksum(meta->request.csum_start, in xsk_tx_metadata_request()
194 const struct xsk_tx_metadata_ops *ops, in xsk_tx_metadata_complete() argument
202 *compl->tx_timestamp = ops->tmo_fill_timestamp(priv); in xsk_tx_metadata_complete()
227 const struct xsk_tx_metadata_ops *ops, in xsk_tx_metadata_request() argument
[all …]
A Dip6_tunnel.h82 int ip6_tnl_encap_add_ops(const struct ip6_tnl_encap_ops *ops,
84 int ip6_tnl_encap_del_ops(const struct ip6_tnl_encap_ops *ops,
91 const struct ip6_tnl_encap_ops *ops; in ip6_encap_hlen() local
101 ops = rcu_dereference(ip6tun_encaps[e->type]); in ip6_encap_hlen()
102 if (likely(ops && ops->encap_hlen)) in ip6_encap_hlen()
103 hlen = ops->encap_hlen(e); in ip6_encap_hlen()
112 const struct ip6_tnl_encap_ops *ops; in ip6_tnl_encap() local
122 ops = rcu_dereference(ip6tun_encaps[t->encap.type]); in ip6_tnl_encap()
123 if (likely(ops && ops->build_header)) in ip6_tnl_encap()
124 ret = ops->build_header(skb, &t->encap, protocol, fl6); in ip6_tnl_encap()
/include/linux/soc/mediatek/
A Dmtk_wed.h87 const struct mtk_wed_ops *ops; member
238 dev->ops = rcu_dereference(mtk_soc_wed_ops); in mtk_wed_device_attach()
239 if (dev->ops) in mtk_wed_device_attach()
240 ret = dev->ops->attach(dev); in mtk_wed_device_attach()
245 dev->ops = NULL; in mtk_wed_device_attach()
279 (_dev)->ops->txfree_ring_setup(_dev, _regs)
281 (_dev)->ops->reg_read(_dev, _reg)
283 (_dev)->ops->reg_write(_dev, _reg, _val)
285 (_dev)->ops->irq_get(_dev, _mask)
287 (_dev)->ops->irq_set_mask(_dev, _mask)
[all …]
/include/net/netfilter/
A Dnf_nat.h71 int nf_nat_register_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops,
73 void nf_nat_unregister_fn(struct net *net, u8 pf, const struct nf_hook_ops *ops,
94 int nf_nat_ipv4_register_fn(struct net *net, const struct nf_hook_ops *ops);
95 void nf_nat_ipv4_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
97 int nf_nat_ipv6_register_fn(struct net *net, const struct nf_hook_ops *ops);
98 void nf_nat_ipv6_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
100 int nf_nat_inet_register_fn(struct net *net, const struct nf_hook_ops *ops);
101 void nf_nat_inet_unregister_fn(struct net *net, const struct nf_hook_ops *ops);
/include/video/
A Dmmp_disp.h159 const struct mmp_overlay_ops *ops; member
230 struct mmp_path_ops ops; member
242 path->ops.set_mode(path, mode); in mmp_path_set_mode()
247 path->ops.set_onoff(path, status); in mmp_path_set_onoff()
253 return path->ops.get_modelist(path, modelist); in mmp_path_get_modelist()
260 return path->ops.get_overlay(path, overlay_id); in mmp_path_get_overlay()
267 overlay->ops->set_fetch(overlay, fetch_id); in mmp_overlay_set_fetch()
273 overlay->ops->set_onoff(overlay, status); in mmp_overlay_set_onoff()
279 overlay->ops->set_win(overlay, win); in mmp_overlay_set_win()
285 return overlay->ops->set_addr(overlay, addr); in mmp_overlay_set_addr()

Completed in 58 milliseconds

12345678910>>...15