Searched refs:nb (Results 26 - 50 of 868) sorted by relevance

1234567891011>>

/linux-master/include/drm/
H A Ddrm_privacy_screen_consumer.h29 struct notifier_block *nb);
31 struct notifier_block *nb);
54 struct notifier_block *nb)
59 struct notifier_block *nb)
53 drm_privacy_screen_register_notifier(struct drm_privacy_screen *priv, struct notifier_block *nb) argument
58 drm_privacy_screen_unregister_notifier(struct drm_privacy_screen *priv, struct notifier_block *nb) argument
/linux-master/include/linux/firmware/imx/
H A Dsci.h21 int imx_scu_irq_register_notifier(struct notifier_block *nb);
22 int imx_scu_irq_unregister_notifier(struct notifier_block *nb);
37 static inline int imx_scu_irq_register_notifier(struct notifier_block *nb) argument
42 static inline int imx_scu_irq_unregister_notifier(struct notifier_block *nb) argument
/linux-master/include/linux/
H A Dextcon.h196 * extcon_register_notifier(*edev, id, *nb) : Register a notifier block
198 * extcon_register_notifier_all(*edev, *nb) : Register a notifier block
202 struct notifier_block *nb);
204 struct notifier_block *nb);
207 struct notifier_block *nb);
210 struct notifier_block *nb);
213 struct notifier_block *nb);
215 struct notifier_block *nb);
218 struct notifier_block *nb);
221 struct notifier_block *nb);
253 extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
259 extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
265 devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
272 devm_extcon_unregister_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
276 extcon_register_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
282 extcon_unregister_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
288 devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
295 devm_extcon_unregister_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
[all...]
H A Dacpi_amd_wbrf.h54 int amd_wbrf_register_notifier(struct notifier_block *nb);
55 int amd_wbrf_unregister_notifier(struct notifier_block *nb);
80 int amd_wbrf_register_notifier(struct notifier_block *nb) argument
85 int amd_wbrf_unregister_notifier(struct notifier_block *nb) argument
H A Dnotifier.h51 typedef int (*notifier_fn_t)(struct notifier_block *nb,
147 struct notifier_block *nb);
149 struct notifier_block *nb);
151 struct notifier_block *nb);
153 struct notifier_block *nb);
156 struct atomic_notifier_head *nh, struct notifier_block *nb);
158 struct blocking_notifier_head *nh, struct notifier_block *nb);
161 struct notifier_block *nb);
163 struct notifier_block *nb);
165 struct notifier_block *nb);
[all...]
/linux-master/drivers/iommu/
H A Diommu-priv.h26 struct notifier_block *nb);
29 struct notifier_block *nb);
/linux-master/drivers/input/misc/
H A Drave-sp-pwrbutton.c19 struct notifier_block nb; member in struct:rave_sp_power_button
22 static int rave_sp_power_button_event(struct notifier_block *nb, argument
26 container_of(nb, struct rave_sp_power_button, nb);
65 pb->nb.notifier_call = rave_sp_power_button_event;
66 pb->nb.priority = 128;
68 error = devm_rave_sp_register_event_notifier(dev, &pb->nb);
/linux-master/drivers/extcon/
H A Ddevres.c35 struct notifier_block *nb; member in struct:extcon_dev_notifier_devres
42 extcon_unregister_notifier(this->edev, this->id, this->nb);
49 extcon_unregister_notifier_all(this->edev, this->nb);
160 * @nb: a notifier block to be registered
166 * Note that the second parameter given to the callback of nb (val) is
173 unsigned int id, struct notifier_block *nb)
183 ret = extcon_register_notifier(edev, id, nb);
191 ptr->nb = nb;
204 * @nb
172 devm_extcon_register_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
206 devm_extcon_unregister_notifier(struct device *dev, struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
228 devm_extcon_register_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
260 devm_extcon_unregister_notifier_all(struct device *dev, struct extcon_dev *edev, struct notifier_block *nb) argument
[all...]
/linux-master/include/net/
H A Dfib_notifier.h32 int (*fib_dump)(struct net *net, struct notifier_block *nb,
38 int call_fib_notifier(struct notifier_block *nb,
43 int register_fib_notifier(struct net *net, struct notifier_block *nb,
44 void (*cb)(struct notifier_block *nb),
46 int unregister_fib_notifier(struct net *net, struct notifier_block *nb);
/linux-master/net/ipv6/
H A Dfib6_notifier.c10 int call_fib6_notifier(struct notifier_block *nb, argument
15 return call_fib_notifier(nb, event_type, info);
30 static int fib6_dump(struct net *net, struct notifier_block *nb, argument
35 err = fib6_rules_dump(net, nb, extack);
39 return fib6_tables_dump(net, nb, extack);
/linux-master/net/ipv4/
H A Dfib_notifier.c11 int call_fib4_notifier(struct notifier_block *nb, argument
16 return call_fib_notifier(nb, event_type, info);
36 static int fib4_dump(struct net *net, struct notifier_block *nb, argument
41 err = fib4_rules_dump(net, nb, extack);
45 return fib_notify(net, nb, extack);
/linux-master/include/linux/mlx5/
H A Deq.h26 struct notifier_block *nb);
28 struct notifier_block *nb);
51 struct notifier_block nb; member in struct:mlx5_nb
56 (container_of(container_of(ptr, struct mlx5_nb, nb), type, member))
59 (name)->nb.notifier_call = handler; \
/linux-master/tools/testing/selftests/bpf/
H A Dxsk.h86 static inline __u32 xsk_prod_nb_free(struct xsk_ring_prod *r, __u32 nb) argument
90 if (free_entries >= nb)
106 static inline __u32 xsk_cons_nb_avail(struct xsk_ring_cons *r, __u32 nb) argument
115 return (entries > nb) ? nb : entries;
118 static inline __u32 xsk_ring_prod__reserve(struct xsk_ring_prod *prod, __u32 nb, __u32 *idx) argument
120 if (xsk_prod_nb_free(prod, nb) < nb)
124 prod->cached_prod += nb;
126 return nb;
129 xsk_ring_prod__submit(struct xsk_ring_prod *prod, __u32 nb) argument
137 xsk_ring_prod__cancel(struct xsk_ring_prod *prod, __u32 nb) argument
142 xsk_ring_cons__peek(struct xsk_ring_cons *cons, __u32 nb, __u32 *idx) argument
154 xsk_ring_cons__cancel(struct xsk_ring_cons *cons, __u32 nb) argument
159 xsk_ring_cons__release(struct xsk_ring_cons *cons, __u32 nb) argument
[all...]
/linux-master/tools/perf/arch/powerpc/util/
H A Dheader.c18 int nb; local
22 nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr));
26 buffer[nb-1] = '\0';
/linux-master/fs/xfs/
H A Dxfs_hooks.h34 struct notifier_block nb; member in struct:xfs_hook
48 hook->nb.notifier_call = fn;
49 hook->nb.priority = 0;
/linux-master/drivers/vfio/pci/pds/
H A Dpci_drv.c46 static int pds_vfio_pci_notify_handler(struct notifier_block *nb, argument
50 container_of(nb, struct pds_vfio_pci_device, nb);
82 struct notifier_block *nb = &pds_vfio->nb; local
85 if (!nb->notifier_call) {
86 nb->notifier_call = pds_vfio_pci_notify_handler;
87 err = pdsc_register_notify(nb);
89 nb->notifier_call = NULL;
104 if (pds_vfio->nb
[all...]
/linux-master/lib/
H A Dmemory-notifier-error-inject.c31 err = register_memory_notifier(&memory_notifier_err_inject.nb);
40 unregister_memory_notifier(&memory_notifier_err_inject.nb);
/linux-master/drivers/gpu/drm/sti/
H A Dsti_vtg.h26 int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb,
29 struct notifier_block *nb);
H A Dsti_crtc.h18 int sti_crtc_vblank_cb(struct notifier_block *nb,
/linux-master/include/linux/pds/
H A Dpds_common.h47 int pdsc_register_notify(struct notifier_block *nb);
48 void pdsc_unregister_notify(struct notifier_block *nb);
/linux-master/include/linux/mlx4/
H A Ddriver.h71 struct notifier_block *nb);
73 struct notifier_block *nb);
/linux-master/drivers/platform/chrome/
H A Dcros_usbpd_notify.c23 struct notifier_block nb; member in struct:cros_usbpd_notify_data
28 * @nb: Notifier block pointer to register
36 int cros_usbpd_register_notify(struct notifier_block *nb) argument
39 nb);
45 * @nb: Notifier block pointer to unregister
50 void cros_usbpd_unregister_notify(struct notifier_block *nb) argument
52 blocking_notifier_chain_unregister(&cros_usbpd_notifier_list, nb);
163 static int cros_usbpd_notify_plat(struct notifier_block *nb, argument
167 struct cros_usbpd_notify_data *pdnotify = container_of(nb,
168 struct cros_usbpd_notify_data, nb);
[all...]
/linux-master/net/core/
H A Dfib_notifier.c18 int call_fib_notifier(struct notifier_block *nb, argument
24 err = nb->notifier_call(nb, event_type, info);
60 static int fib_net_dump(struct net *net, struct notifier_block *nb, argument
71 err = ops->fib_dump(net, nb, extack);
83 static bool fib_dump_is_consistent(struct net *net, struct notifier_block *nb, argument
84 void (*cb)(struct notifier_block *nb),
89 atomic_notifier_chain_register(&fn_net->fib_chain, nb);
92 atomic_notifier_chain_unregister(&fn_net->fib_chain, nb);
94 cb(nb);
99 register_fib_notifier(struct net *net, struct notifier_block *nb, void (*cb)(struct notifier_block *nb), struct netlink_ext_ack *extack) argument
121 unregister_fib_notifier(struct net *net, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/acpi/
H A Dhed.c28 int register_acpi_hed_notifier(struct notifier_block *nb) argument
30 return blocking_notifier_chain_register(&acpi_hed_notify_list, nb);
34 void unregister_acpi_hed_notifier(struct notifier_block *nb) argument
36 blocking_notifier_chain_unregister(&acpi_hed_notify_list, nb);
/linux-master/drivers/crypto/ccree/
H A Dcc_fips.c15 struct notifier_block nb; member in struct:cc_fips_handle
53 static int cc_ree_fips_failure(struct notifier_block *nb, unsigned long unused1, argument
57 container_of(nb, struct cc_fips_handle, nb);
74 atomic_notifier_chain_unregister(&fips_fail_notif_chain, &fips_h->nb);
148 fips_h->nb.notifier_call = cc_ree_fips_failure;
149 atomic_notifier_chain_register(&fips_fail_notif_chain, &fips_h->nb);

Completed in 198 milliseconds

1234567891011>>