Home
last modified time | relevance | path

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

12345678910>>...15

/include/linux/
Dntb.h178 static inline int ntb_client_ops_is_valid(const struct ntb_client_ops *ops) in ntb_client_ops_is_valid() argument
182 ops->probe && in ntb_client_ops_is_valid()
183 ops->remove && in ntb_client_ops_is_valid()
199 static inline int ntb_ctx_ops_is_valid(const struct ntb_ctx_ops *ops) in ntb_ctx_ops_is_valid() argument
334 static inline int ntb_dev_ops_is_valid(const struct ntb_dev_ops *ops) in ntb_dev_ops_is_valid() argument
339 !ops->peer_port_count == !ops->port_number && in ntb_dev_ops_is_valid()
340 !ops->peer_port_number == !ops->port_number && in ntb_dev_ops_is_valid()
341 !ops->peer_port_idx == !ops->port_number && in ntb_dev_ops_is_valid()
344 ops->link_is_up && in ntb_dev_ops_is_valid()
345 ops->link_enable && in ntb_dev_ops_is_valid()
[all …]
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,
Dftrace.h173 ftrace_func_t ftrace_ops_get_func(struct ftrace_ops *ops);
389 int register_ftrace_function(struct ftrace_ops *ops);
390 int unregister_ftrace_function(struct ftrace_ops *ops);
402 #define register_ftrace_function(ops) ({ 0; }) argument
403 #define unregister_ftrace_function(ops) ({ 0; }) argument
421 int register_ftrace_direct(struct ftrace_ops *ops, unsigned long addr);
422 int unregister_ftrace_direct(struct ftrace_ops *ops, unsigned long addr,
424 int modify_ftrace_direct(struct ftrace_ops *ops, unsigned long addr);
425 int modify_ftrace_direct_nolock(struct ftrace_ops *ops, unsigned long addr);
435 static inline int register_ftrace_direct(struct ftrace_ops *ops, unsigned long addr) in register_ftrace_direct() argument
[all …]
Dlcd.h64 const struct lcd_ops *ops; member
99 if (ld->ops && ld->ops->set_power) in lcd_set_power()
100 ld->ops->set_power(ld, power); in lcd_set_power()
105 struct device *parent, void *devdata, const struct lcd_ops *ops);
108 void *devdata, const struct lcd_ops *ops);
Dpipe_fs_i.h29 const struct pipe_buf_operations *ops; member
205 return buf->ops->get(pipe, buf); in pipe_buf_get()
216 const struct pipe_buf_operations *ops = buf->ops; in pipe_buf_release() local
218 buf->ops = NULL; in pipe_buf_release()
219 ops->release(pipe, buf); in pipe_buf_release()
230 if (!buf->ops->confirm) in pipe_buf_confirm()
232 return buf->ops->confirm(pipe, buf); in pipe_buf_confirm()
243 if (!buf->ops->try_steal) in pipe_buf_try_steal()
245 return buf->ops->try_steal(pipe, buf); in pipe_buf_try_steal()
Dmoduleparam.h72 const struct kernel_param_ops *ops; member
97 const struct kernel_param_ops *ops; member
175 #define module_param_cb(name, ops, arg, perm) \ argument
176 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, 0)
178 #define module_param_cb_unsafe(name, ops, arg, perm) \ argument
179 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, -1, \
182 #define __level_param_cb(name, ops, arg, perm, level) \ argument
183 __module_param_call(MODULE_PARAM_PREFIX, name, ops, arg, perm, level, 0)
194 #define core_param_cb(name, ops, arg, perm) \ argument
195 __level_param_cb(name, ops, arg, perm, 1)
[all …]
Diomap.h232 int iomap_iter(struct iomap_iter *iter, const struct iomap_ops *ops);
299 const struct iomap_ops *ops, void *private);
300 int iomap_read_folio(struct folio *folio, const struct iomap_ops *ops);
301 void iomap_readahead(struct readahead_control *, const struct iomap_ops *ops);
308 const struct iomap_ops *ops);
310 bool *did_zero, const struct iomap_ops *ops);
312 const struct iomap_ops *ops);
314 const struct iomap_ops *ops);
323 u64 start, u64 len, const struct iomap_ops *ops);
325 const struct iomap_ops *ops);
[all …]
Dfwnode.h50 const struct fwnode_operations *ops; member
185 (!IS_ERR_OR_NULL(fwnode) && (fwnode)->ops && (fwnode)->ops->op)
189 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : (IS_ERR_OR_NULL(fwnode) ? -EINVAL : -ENXIO))
193 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : false)
197 (fwnode)->ops->op(fwnode, ## __VA_ARGS__) : NULL)
201 (fwnode)->ops->op(fwnode, ## __VA_ARGS__); \
205 const struct fwnode_operations *ops) in fwnode_init() argument
207 fwnode->ops = ops; in fwnode_init()
Dirqdomain.h173 const struct irq_domain_ops *ops; member
325 const struct irq_domain_ops *ops; member
345 const struct irq_domain_ops *ops,
351 const struct irq_domain_ops *ops,
357 const struct irq_domain_ops *ops,
376 return fwnode && fwnode->ops == &irqchip_fwnode_ops; in is_fwnode_irqchip()
413 const struct irq_domain_ops *ops, in irq_domain_add_simple() argument
416 return irq_domain_create_simple(of_node_to_fwnode(of_node), size, first_irq, ops, host_data); in irq_domain_add_simple()
428 const struct irq_domain_ops *ops, in irq_domain_add_linear() argument
435 .ops = ops, in irq_domain_add_linear()
[all …]
Dproc_fs.h98 struct proc_dir_entry *parent, const struct seq_operations *ops,
100 #define proc_create_seq_data(name, mode, parent, ops, data) \ argument
101 proc_create_seq_private(name, mode, parent, ops, 0, data)
102 #define proc_create_seq(name, mode, parent, ops) \ argument
103 proc_create_seq_private(name, mode, parent, ops, 0, NULL)
134 struct proc_dir_entry *parent, const struct seq_operations *ops,
136 #define proc_create_net(name, mode, parent, ops, state_size) \ argument
137 proc_create_net_data(name, mode, parent, ops, state_size, NULL)
143 const struct seq_operations *ops,
193 #define proc_create_seq_private(name, mode, parent, ops, size, data) ({NULL;}) argument
[all …]
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);
Ddma-fence.h68 const struct dma_fence_ops *ops; member
283 void dma_fence_init(struct dma_fence *fence, const struct dma_fence_ops *ops,
425 if (fence->ops->signaled && fence->ops->signaled(fence)) { in dma_fence_is_signaled_locked()
455 if (fence->ops->signaled && fence->ops->signaled(fence)) { in dma_fence_is_signaled()
473 const struct dma_fence_ops *ops) in __dma_fence_is_later() argument
479 if (ops->use_64bit_seqno) in __dma_fence_is_later()
499 return __dma_fence_is_later(f1->seqno, f2->seqno, f1->ops); in dma_fence_is_later()
658 return fence->ops == &dma_fence_array_ops; in dma_fence_is_array()
669 return fence->ops == &dma_fence_chain_ops; in dma_fence_is_chain()
Dthermal.h136 const struct thermal_cooling_device_ops *ops; member
203 const struct thermal_zone_device_ops *ops);
211 const struct thermal_zone_device_ops *ops) in devm_thermal_of_zone_register() argument
238 const struct thermal_zone_device_ops *ops,
246 const struct thermal_zone_device_ops *ops,
268 const struct thermal_cooling_device_ops *ops);
287 const struct thermal_zone_device_ops *ops, in thermal_zone_device_register_with_trips() argument
295 struct thermal_zone_device_ops *ops, in thermal_tripless_zone_device_register() argument
304 const struct thermal_cooling_device_ops *ops) in thermal_cooling_device_register() argument
309 const struct thermal_cooling_device_ops *ops) in thermal_of_cooling_device_register() argument
[all …]
Dpagewalk.h120 const struct mm_walk_ops *ops; member
130 unsigned long end, const struct mm_walk_ops *ops,
133 unsigned long end, const struct mm_walk_ops *ops,
137 unsigned long end, const struct mm_walk_ops *ops,
139 int walk_page_vma(struct vm_area_struct *vma, const struct mm_walk_ops *ops,
142 pgoff_t nr, const struct mm_walk_ops *ops,
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/
Dotg-fsm.h178 struct otg_fsm_ops *ops; member
207 if (!fsm->ops->chrg_vbus) in otg_chrg_vbus()
209 fsm->ops->chrg_vbus(fsm, on); in otg_chrg_vbus()
215 if (!fsm->ops->drv_vbus) in otg_drv_vbus()
219 fsm->ops->drv_vbus(fsm, on); in otg_drv_vbus()
226 if (!fsm->ops->loc_conn) in otg_loc_conn()
230 fsm->ops->loc_conn(fsm, on); 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()
[all …]
Dulpi.h52 struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops,
56 struct usb_phy_io_ops *ops,
59 static inline struct usb_phy *otg_ulpi_create(struct usb_phy_io_ops *ops, in otg_ulpi_create() argument
66 struct usb_phy_io_ops *ops, in devm_otg_ulpi_create() argument
/include/kvm/
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/
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/
Dtc_wrapper.h53 if (a->ops->act == tcf_gact_act) in tc_act()
57 if (a->ops->act == tcf_mirred_act) in tc_act()
61 if (a->ops->act == tcf_pedit_act) in tc_act()
65 if (a->ops->act == tcf_skbedit_act) in tc_act()
69 if (a->ops->act == tcf_skbmod_act) in tc_act()
73 if (a->ops->act == tcf_police_act) in tc_act()
77 if (a->ops->act == tcf_bpf_act) in tc_act()
81 if (a->ops->act == tcf_connmark_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()
[all …]
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()
Dxdp_sock.h159 const struct xsk_tx_metadata_ops *ops, in xsk_tx_metadata_request() argument
165 if (ops->tmo_request_timestamp) in xsk_tx_metadata_request()
167 ops->tmo_request_timestamp(priv); in xsk_tx_metadata_request()
169 if (ops->tmo_request_checksum) in xsk_tx_metadata_request()
171 ops->tmo_request_checksum(meta->request.csum_start, in xsk_tx_metadata_request()
186 const struct xsk_tx_metadata_ops *ops, in xsk_tx_metadata_complete() argument
194 *compl->tx_timestamp = ops->tmo_fill_timestamp(priv); in xsk_tx_metadata_complete()
219 const struct xsk_tx_metadata_ops *ops, in xsk_tx_metadata_request() argument
225 const struct xsk_tx_metadata_ops *ops, in xsk_tx_metadata_complete() argument
/include/linux/soc/mediatek/
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()
273 #define mtk_wed_device_active(_dev) !!(_dev)->ops
274 #define mtk_wed_device_detach(_dev) (_dev)->ops->detach(_dev)
275 #define mtk_wed_device_start(_dev, _mask) (_dev)->ops->start(_dev, _mask)
277 (_dev)->ops->tx_ring_setup(_dev, _ring, _regs, _reset)
279 (_dev)->ops->txfree_ring_setup(_dev, _regs)
[all …]
/include/net/netfilter/
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/
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()

12345678910>>...15