/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | sriov.c | 334 * @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 D | keystone.c | 68 static int keystone_platform_notifier(struct notifier_block *nb, argument
|
/linux-master/drivers/net/ethernet/mellanox/mlx4/ |
H A D | intf.c | 249 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 D | mlx5_vnet.h | 62 struct notifier_block nb; member in struct:mlx5_vdpa_net
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/lag/ |
H A D | lag.h | 69 struct notifier_block nb; member in struct:mlx5_lag
|
/linux-master/include/linux/usb/ |
H A D | chipidea.h | 21 * @nb: hold event notification callback 30 struct notifier_block nb; member in struct:ci_hdrc_cable
|
/linux-master/arch/x86/include/asm/ |
H A D | amd_nb.h | 72 struct amd_northbridge *nb; member in struct:amd_northbridge_info
|
/linux-master/arch/powerpc/platforms/512x/ |
H A D | pdm360ng.c | 74 static int pdm360ng_touchscreen_notifier_call(struct notifier_block *nb, argument
|
/linux-master/arch/mips/include/asm/ |
H A D | traps.h | 26 extern int register_nmi_notifier(struct notifier_block *nb);
|
/linux-master/drivers/clk/mediatek/ |
H A D | clk-mux.c | 295 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 D | pm_clock.h | 15 struct notifier_block nb; member in struct:pm_clk_notifier_block
|
H A D | inetdevice.h | 172 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 D | ionic.h | 58 struct notifier_block nb; member in struct:ionic
|
/linux-master/drivers/platform/x86/dell/ |
H A D | dell-rbtn.c | 338 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 D | 8250_of.c | 63 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 D | extcon.c | 905 * @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 D | vdpa_dev.c | 26 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 D | findparent.c | 209 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 D | devfreq.c | 662 * @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 D | ecc.c | 1340 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 D | da9052-battery.c | 169 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 D | amd.c | 1225 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 D | vfio_fsl_mc.c | 422 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 D | qcom_sysmon.c | 35 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 D | sch_tbf.c | 212 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;
|