Searched refs:nb (Results 226 - 250 of 881) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dsriov.c334 * @nb: The notifier block to be unregistered.
338 struct notifier_block *nb)
348 blocking_notifier_chain_unregister(&vfs_ctx->notifier, nb);
358 * @nb: The notifier block to be called upon the VF events.
364 struct notifier_block *nb)
374 return blocking_notifier_chain_register(&vfs_ctx->notifier, nb);
336 mlx5_sriov_blocking_notifier_unregister(struct mlx5_core_dev *mdev, int vf_id, struct notifier_block *nb) argument
362 mlx5_sriov_blocking_notifier_register(struct mlx5_core_dev *mdev, int vf_id, struct notifier_block *nb) argument
/linux-master/arch/arm/mach-keystone/
H A Dkeystone.c68 static int keystone_platform_notifier(struct notifier_block *nb, argument
/linux-master/drivers/net/ethernet/mellanox/mlx4/
H A Dintf.c249 struct notifier_block *nb)
253 return atomic_notifier_chain_register(&priv->event_nh, nb);
258 struct notifier_block *nb)
262 return atomic_notifier_chain_unregister(&priv->event_nh, nb);
248 mlx4_register_event_notifier(struct mlx4_dev *dev, struct notifier_block *nb) argument
257 mlx4_unregister_event_notifier(struct mlx4_dev *dev, struct notifier_block *nb) argument
/linux-master/drivers/vdpa/mlx5/net/
H A Dmlx5_vnet.h62 struct notifier_block nb; member in struct:mlx5_vdpa_net
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dlag.h69 struct notifier_block nb; member in struct:mlx5_lag
/linux-master/include/linux/usb/
H A Dchipidea.h21 * @nb: hold event notification callback
30 struct notifier_block nb; member in struct:ci_hdrc_cable
/linux-master/arch/x86/include/asm/
H A Damd_nb.h72 struct amd_northbridge *nb; member in struct:amd_northbridge_info
/linux-master/arch/powerpc/platforms/512x/
H A Dpdm360ng.c74 static int pdm360ng_touchscreen_notifier_call(struct notifier_block *nb, argument
/linux-master/arch/mips/include/asm/
H A Dtraps.h26 extern int register_nmi_notifier(struct notifier_block *nb);
/linux-master/drivers/clk/mediatek/
H A Dclk-mux.c295 static int mtk_clk_mux_notifier_cb(struct notifier_block *nb, argument
300 struct mtk_mux_nb *mux_nb = to_mtk_mux_nb(nb);
320 mux_nb->nb.notifier_call = mtk_clk_mux_notifier_cb;
322 return devm_clk_notifier_register(dev, clk, &mux_nb->nb);
/linux-master/include/linux/
H A Dpm_clock.h15 struct notifier_block nb; member in struct:pm_clk_notifier_block
H A Dinetdevice.h172 int register_inetaddr_notifier(struct notifier_block *nb);
173 int unregister_inetaddr_notifier(struct notifier_block *nb);
174 int register_inetaddr_validator_notifier(struct notifier_block *nb);
175 int unregister_inetaddr_validator_notifier(struct notifier_block *nb);
/linux-master/drivers/net/ethernet/pensando/ionic/
H A Dionic.h58 struct notifier_block nb; member in struct:ionic
/linux-master/drivers/platform/x86/dell/
H A Ddell-rbtn.c338 int dell_rbtn_notifier_register(struct notifier_block *nb) argument
352 ret = atomic_notifier_chain_register(&rbtn_chain_head, nb);
364 int dell_rbtn_notifier_unregister(struct notifier_block *nb) argument
368 ret = atomic_notifier_chain_unregister(&rbtn_chain_head, nb);
/linux-master/drivers/tty/serial/8250/
H A D8250_of.c63 static inline struct of_serial_info *clk_nb_to_info(struct notifier_block *nb) argument
65 return container_of(nb, struct of_serial_info, clk_notifier);
68 static int of_platform_serial_clk_notifier_cb(struct notifier_block *nb, unsigned long event, argument
71 struct of_serial_info *info = clk_nb_to_info(nb);
/linux-master/drivers/extcon/
H A Dextcon.c905 * @nb: a notifier block to be registered
907 * Note that the second parameter given to the callback of nb (val) is
914 struct notifier_block *nb)
919 if (!edev || !nb)
927 ret = raw_notifier_chain_register(&edev->nh[idx], nb);
938 * @nb: a notifier block to be registered
943 struct notifier_block *nb)
948 if (!edev || !nb)
956 ret = raw_notifier_chain_unregister(&edev->nh[idx], nb);
966 * @nb
913 extcon_register_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
942 extcon_unregister_notifier(struct extcon_dev *edev, unsigned int id, struct notifier_block *nb) argument
975 extcon_register_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
999 extcon_unregister_notifier_all(struct extcon_dev *edev, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/vdpa/pds/
H A Dvdpa_dev.c26 static int pds_vdpa_notify_handler(struct notifier_block *nb, argument
30 struct pds_vdpa_device *pdsv = container_of(nb, struct pds_vdpa_device, nb);
46 struct notifier_block *nb = &pdsv->nb; local
49 if (!nb->notifier_call) {
50 nb->notifier_call = pds_vdpa_notify_handler;
51 err = pdsc_register_notify(nb);
53 nb->notifier_call = NULL;
66 if (pdsv->nb
[all...]
/linux-master/fs/xfs/scrub/
H A Dfindparent.c209 struct notifier_block *nb,
217 pscan = container_of(nb, struct xrep_parent_scan_info,
218 dhook.dirent_hook.nb);
208 xrep_findparent_live_update( struct notifier_block *nb, unsigned long action, void *data) argument
/linux-master/drivers/devfreq/
H A Ddevfreq.c662 * @nb: the notifier_block (supposed to be devfreq->nb)
666 * Called by a notifier that uses devfreq->nb.
668 static int devfreq_notifier_call(struct notifier_block *nb, unsigned long type, argument
671 struct devfreq *devfreq = container_of(nb, struct devfreq, nb);
719 * @nb: Should be devfreq->nb_min
723 static int qos_min_notifier_call(struct notifier_block *nb, argument
726 return qos_notifier_call(container_of(nb, struct devfreq, nb_min));
731 * @nb
735 qos_max_notifier_call(struct notifier_block *nb, unsigned long val, void *ptr) argument
2178 devfreq_register_notifier(struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument
2206 devfreq_unregister_notifier(struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument
2230 struct notifier_block *nb; member in struct:devfreq_notifier_devres
2249 devm_devfreq_register_notifier(struct device *dev, struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument
2285 devm_devfreq_unregister_notifier(struct device *dev, struct devfreq *devfreq, struct notifier_block *nb, unsigned int list) argument
[all...]
/linux-master/crypto/
H A Decc.c1340 int i, nb; local
1358 nb = !vli_test_bit(scalar, i);
1359 xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb], curve);
1360 xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb], curv
[all...]
/linux-master/drivers/power/supply/
H A Dda9052-battery.c169 struct notifier_block nb; member in struct:da9052_battery
457 static int da9052_USB_current_notifier(struct notifier_block *nb, argument
464 struct da9052_battery *bat = container_of(nb, struct da9052_battery,
465 nb);
604 bat->nb.notifier_call = da9052_USB_current_notifier;
/linux-master/arch/x86/kernel/cpu/mce/
H A Damd.c1225 struct amd_northbridge *nb = NULL; local
1234 nb = node_to_amd_nb(topology_amd_node_id(cpu));
1237 if (nb && nb->bank4) {
1239 b = nb->bank4;
1270 /* nb is already initialized, see above */
1271 if (nb) {
1272 WARN_ON(nb->bank4);
1273 nb->bank4 = b;
1322 struct amd_northbridge *nb; local
[all...]
/linux-master/drivers/vfio/fsl-mc/
H A Dvfio_fsl_mc.c422 static int vfio_fsl_mc_bus_notifier(struct notifier_block *nb, argument
425 struct vfio_fsl_mc_device *vdev = container_of(nb,
426 struct vfio_fsl_mc_device, nb);
466 vdev->nb.notifier_call = vfio_fsl_mc_bus_notifier;
467 ret = bus_register_notifier(&fsl_mc_bus_type, &vdev->nb);
480 bus_unregister_notifier(&fsl_mc_bus_type, &vdev->nb);
509 bus_unregister_notifier(&fsl_mc_bus_type, &vdev->nb);
/linux-master/drivers/remoteproc/
H A Dqcom_sysmon.c35 struct notifier_block nb; member in struct:qcom_sysmon
581 * @nb: notifier_block associated with sysmon instance
585 static int sysmon_notify(struct notifier_block *nb, unsigned long event, argument
588 struct qcom_sysmon *sysmon = container_of(nb, struct qcom_sysmon, nb);
689 sysmon->nb.notifier_call = sysmon_notify;
690 blocking_notifier_chain_register(&sysmon_notifiers, &sysmon->nb);
713 blocking_notifier_chain_unregister(&sysmon_notifiers, &sysmon->nb);
/linux-master/net/sched/
H A Dsch_tbf.c212 int ret, nb; local
219 nb = 0;
229 nb++;
232 sch->q.qlen += nb;
233 if (nb > 1)
234 qdisc_tree_reduce_backlog(sch, 1 - nb, prev_len - len);
236 return nb > 0 ? NET_XMIT_SUCCESS : NET_XMIT_DROP;

Completed in 332 milliseconds

1234567891011>>