Searched refs:nb (Results 51 - 75 of 870) sorted by last modified time

1234567891011>>

/linux-master/kernel/
H A Dkprobes.c2620 static int kprobes_module_callback(struct notifier_block *nb, argument
/linux-master/include/net/bluetooth/
H A Dbluetooth.h496 unsigned long len, int nb, int *err)
500 skb = sock_alloc_send_skb(sk, len + BT_SKB_RESERVE, nb, err);
495 bt_skb_send_alloc(struct sock *sk, unsigned long len, int nb, int *err) argument
/linux-master/include/net/
H A Daddrconf.h304 int register_inet6addr_notifier(struct notifier_block *nb);
305 int unregister_inet6addr_notifier(struct notifier_block *nb);
308 int register_inet6addr_validator_notifier(struct notifier_block *nb);
309 int unregister_inet6addr_validator_notifier(struct notifier_block *nb);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dpci_irq.c340 int mlx5_irq_attach_nb(struct mlx5_irq *irq, struct notifier_block *nb) argument
350 ret = atomic_notifier_chain_register(&irq->nh, nb);
356 int mlx5_irq_detach_nb(struct mlx5_irq *irq, struct notifier_block *nb) argument
360 err = atomic_notifier_chain_unregister(&irq->nh, nb);
H A Deswitch.c996 static int eswitch_vport_event(struct notifier_block *nb, argument
999 struct mlx5_eswitch *esw = mlx5_nb_cof(nb, struct mlx5_eswitch, nb);
1044 MLX5_NB_INIT(&esw->esw_funcs.nb, mlx5_esw_funcs_changed_handler,
1046 mlx5_eq_notifier_register(esw->dev, &esw->esw_funcs.nb);
1053 mlx5_eq_notifier_unregister(esw->dev, &esw->esw_funcs.nb);
1481 MLX5_NB_INIT(&esw->nb, eswitch_vport_event, NIC_VPORT_CHANGE);
1482 mlx5_eq_notifier_register(esw->dev, &esw->nb);
1616 mlx5_eq_notifier_unregister(esw->dev, &esw->nb);
2220 int mlx5_esw_event_notifier_register(struct mlx5_eswitch *esw, struct notifier_block *nb)
2219 mlx5_esw_event_notifier_register(struct mlx5_eswitch *esw, struct notifier_block *nb) argument
2224 mlx5_esw_event_notifier_unregister(struct mlx5_eswitch *esw, struct notifier_block *nb) argument
[all...]
/linux-master/drivers/net/ethernet/amd/pds_core/
H A Dcore.c11 int pdsc_register_notify(struct notifier_block *nb) argument
13 return blocking_notifier_chain_register(&pds_notify_chain, nb);
17 void pdsc_unregister_notify(struct notifier_block *nb) argument
19 blocking_notifier_chain_unregister(&pds_notify_chain, nb);
H A Dcore.h303 int pdsc_register_notify(struct notifier_block *nb);
304 void pdsc_unregister_notify(struct notifier_block *nb);
/linux-master/drivers/hv/
H A Dvmbus_drv.c67 static int hv_panic_vmbus_unload(struct notifier_block *nb, unsigned long val, argument
/linux-master/drivers/gpu/drm/amd/pm/swsmu/
H A Damdgpu_smu.c1403 * @nb: notifier block
1410 static int smu_wbrf_event_handler(struct notifier_block *nb, argument
1413 struct smu_context *smu = container_of(nb, struct smu_context, wbrf_notifier);
/linux-master/drivers/acpi/
H A Dscan.c2801 int acpi_reconfig_notifier_register(struct notifier_block *nb) argument
2803 return blocking_notifier_chain_register(&acpi_reconfig_chain, nb);
2807 int acpi_reconfig_notifier_unregister(struct notifier_block *nb) argument
2809 return blocking_notifier_chain_unregister(&acpi_reconfig_chain, nb);
/linux-master/drivers/crypto/ccp/
H A Dsev-dev.c2306 static int snp_shutdown_on_panic(struct notifier_block *nb, argument
/linux-master/arch/x86/kernel/cpu/mce/
H A Dcore.c146 void mce_register_decode_chain(struct notifier_block *nb) argument
148 if (WARN_ON(nb->priority < MCE_PRIO_LOWEST ||
149 nb->priority > MCE_PRIO_HIGHEST))
152 blocking_notifier_chain_register(&x86_mce_decoder_chain, nb);
156 void mce_unregister_decode_chain(struct notifier_block *nb) argument
158 blocking_notifier_chain_unregister(&x86_mce_decoder_chain, nb);
562 static int mce_early_notifier(struct notifier_block *nb, unsigned long val, argument
585 static int uc_decode_notifier(struct notifier_block *nb, unsigned long val, argument
612 static int mce_default_notifier(struct notifier_block *nb, unsigned long val, argument
/linux-master/kernel/trace/
H A Dbpf_trace.c2546 static int bpf_event_notify(struct notifier_block *nb, unsigned long op,
2527 bpf_event_notify(struct notifier_block *nb, unsigned long op, void *module) argument
/linux-master/drivers/of/
H A Ddynamic.c55 int of_reconfig_notifier_register(struct notifier_block *nb) argument
57 return blocking_notifier_chain_register(&of_reconfig_chain, nb);
61 int of_reconfig_notifier_unregister(struct notifier_block *nb) argument
63 return blocking_notifier_chain_unregister(&of_reconfig_chain, nb);
/linux-master/drivers/block/null_blk/
H A Dmain.c2000 struct nullb *nullb = NULL, *nb;
2003 list_for_each_entry(nb, &nullb_list, list) {
2004 if (strcmp(nb->disk_name, name) == 0) {
2005 nullb = nb;
1986 struct nullb *nullb = NULL, *nb; local
/linux-master/security/
H A Dsecurity.c584 int register_blocking_lsm_notifier(struct notifier_block *nb) argument
587 nb);
591 int unregister_blocking_lsm_notifier(struct notifier_block *nb) argument
594 nb);
/linux-master/fs/vboxsf/
H A Dutils.c370 int path_len, out_len, nb; local
397 nb = sbi->nls->char2uni(path, path_len, &uni);
398 if (nb < 0) {
403 path += nb;
404 path_len -= nb;
406 nb = utf32_to_utf8(uni, out, out_len);
407 if (nb < 0) {
412 out += nb;
413 out_len -= nb;
454 int nb; local
[all...]
/linux-master/arch/x86/kernel/
H A Dkvm.c756 static int kvm_pv_reboot_notify(struct notifier_block *nb, argument
/linux-master/drivers/ras/amd/
H A Dfmpm.c401 static int fru_handle_mem_poison(struct notifier_block *nb, unsigned long val, void *data) argument
/linux-master/arch/x86/events/amd/
H A Dcore.c395 struct amd_nb *nb = cpuc->amd_nb; local
397 return nb && nb->nb_id != -1;
424 struct amd_nb *nb = cpuc->amd_nb; local
436 if (cmpxchg(nb->owners + i, event, NULL) == event)
482 struct amd_nb *nb = cpuc->amd_nb; local
505 old = cmpxchg(nb->owners + idx, NULL, event);
506 else if (nb->owners[idx] == event)
517 cmpxchg(nb->owners + new, event, NULL);
528 return &nb
533 struct amd_nb *nb; local
602 struct amd_nb *nb; local
641 struct amd_nb *nb = cpuhw->amd_nb; local
[all...]
/linux-master/block/
H A Dblk-merge.c55 struct bio_vec pb, nb; local
78 * one single bvec of 'nb', otherwise the 'nb' can't
82 bio_get_first_bvec(next, &nb);
83 if (biovec_phys_mergeable(q, &pb, &nb))
85 return __bvec_gap_to_prev(&q->limits, &pb, nb.bv_offset);
/linux-master/net/wireless/
H A Dwext-core.c361 static int wext_netdev_notifier_call(struct notifier_block *nb, argument
/linux-master/net/ipv4/
H A Dnexthop.c439 static int call_nexthop_notifier(struct notifier_block *nb, struct net *net, argument
454 err = nb->notifier_call(nb, event_type, &info);
3846 static int nexthops_dump(struct net *net, struct notifier_block *nb, argument
3858 err = call_nexthop_notifier(nb, net, event_type, nh, extack);
3866 int register_nexthop_notifier(struct net *net, struct notifier_block *nb, argument
3872 err = nexthops_dump(net, nb, NEXTHOP_EVENT_REPLACE, extack);
3876 nb);
3883 int __unregister_nexthop_notifier(struct net *net, struct notifier_block *nb) argument
3888 nb);
3895 unregister_nexthop_notifier(struct net *net, struct notifier_block *nb) argument
[all...]
/linux-master/include/linux/framer/
H A Dframer.h108 int framer_notifier_register(struct framer *framer, struct notifier_block *nb);
109 int framer_notifier_unregister(struct framer *framer, struct notifier_block *nb);
173 struct notifier_block *nb)
179 struct notifier_block *nb)
172 framer_notifier_register(struct framer *framer, struct notifier_block *nb) argument
178 framer_notifier_unregister(struct framer *framer, struct notifier_block *nb) argument
/linux-master/drivers/iommu/
H A Diommu.c93 static int iommu_bus_notifier(struct notifier_block *nb,
193 struct notifier_block *nb; local
221 nb = kcalloc(ARRAY_SIZE(iommu_buses), sizeof(*nb), GFP_KERNEL);
222 if (!nb)
226 nb[i].notifier_call = iommu_bus_notifier;
227 bus_register_notifier(iommu_buses[i], &nb[i]);
293 struct notifier_block *nb)
295 bus_unregister_notifier(bus, nb);
308 struct notifier_block *nb)
291 iommu_device_unregister_bus(struct iommu_device *iommu, const struct bus_type *bus, struct notifier_block *nb) argument
305 iommu_device_register_bus(struct iommu_device *iommu, const struct iommu_ops *ops, const struct bus_type *bus, struct notifier_block *nb) argument
1664 iommu_bus_notifier(struct notifier_block *nb, unsigned long action, void *data) argument
[all...]

Completed in 471 milliseconds

1234567891011>>