nb 385 arch/arm/common/bL_switcher.c int bL_switcher_register_notifier(struct notifier_block *nb) nb 387 arch/arm/common/bL_switcher.c return blocking_notifier_chain_register(&bL_activation_notifier, nb); nb 391 arch/arm/common/bL_switcher.c int bL_switcher_unregister_notifier(struct notifier_block *nb) nb 393 arch/arm/common/bL_switcher.c return blocking_notifier_chain_unregister(&bL_activation_notifier, nb); nb 40 arch/arm/include/asm/bL_switcher.h int bL_switcher_register_notifier(struct notifier_block *nb); nb 41 arch/arm/include/asm/bL_switcher.h int bL_switcher_unregister_notifier(struct notifier_block *nb); nb 58 arch/arm/include/asm/bL_switcher.h static inline int bL_switcher_register_notifier(struct notifier_block *nb) nb 63 arch/arm/include/asm/bL_switcher.h static inline int bL_switcher_unregister_notifier(struct notifier_block *nb) nb 757 arch/arm/kernel/smp.c static int cpufreq_callback(struct notifier_block *nb, nb 111 arch/arm/kernel/smp_twd.c static int twd_rate_change(struct notifier_block *nb, nb 121 arch/arm/mach-davinci/board-mityomapl138.c static int read_factory_config(struct notifier_block *nb, nb 67 arch/arm/mach-highbank/highbank.c static int highbank_platform_notifier(struct notifier_block *nb, nb 119 arch/arm/mach-highbank/highbank.c static int hb_keys_notifier(struct notifier_block *nb, unsigned long event, void *data) nb 29 arch/arm/mach-keystone/keystone.c static int keystone_platform_notifier(struct notifier_block *nb, nb 94 arch/arm/mach-mvebu/coherency.c static int mvebu_hwcc_notifier(struct notifier_block *nb, nb 453 arch/arm/mach-omap2/clockdomain.c static int cpu_notifier(struct notifier_block *nb, unsigned long cmd, void *v) nb 480 arch/arm/mach-omap2/clockdomain.c static struct notifier_block nb; nb 497 arch/arm/mach-omap2/clockdomain.c nb.notifier_call = cpu_notifier; nb 498 arch/arm/mach-omap2/clockdomain.c cpu_pm_register_notifier(&nb); nb 710 arch/arm/mach-omap2/control.c static int cpu_notifier(struct notifier_block *nb, unsigned long cmd, void *v) nb 804 arch/arm/mach-omap2/control.c static struct notifier_block nb; nb 839 arch/arm/mach-omap2/control.c nb.notifier_call = cpu_notifier; nb 840 arch/arm/mach-omap2/control.c cpu_pm_register_notifier(&nb); nb 214 arch/arm/mach-omap2/omap_device.c static int _omap_device_notifier_call(struct notifier_block *nb, nb 337 arch/arm/mach-omap2/powerdomain.c static int cpu_notifier(struct notifier_block *nb, unsigned long cmd, void *v) nb 367 arch/arm/mach-omap2/powerdomain.c static struct notifier_block nb; nb 377 arch/arm/mach-omap2/powerdomain.c nb.notifier_call = cpu_notifier; nb 378 arch/arm/mach-omap2/powerdomain.c cpu_pm_register_notifier(&nb); nb 770 arch/arm/mach-omap2/prm44xx.c static int cpu_notifier(struct notifier_block *nb, unsigned long cmd, void *v) nb 806 arch/arm/mach-omap2/prm44xx.c static struct notifier_block nb; nb 830 arch/arm/mach-omap2/prm44xx.c nb.notifier_call = cpu_notifier; nb 831 arch/arm/mach-omap2/prm44xx.c cpu_pm_register_notifier(&nb); nb 886 arch/arm/mach-pxa/viper.c static int viper_cpufreq_notifier(struct notifier_block *nb, nb 50 arch/arm/mach-s3c24xx/mach-osiris-dvs.c static int osiris_dvs_notify(struct notifier_block *nb, nb 73 arch/arm/mach-shmobile/regulator-quirk-rcar-gen2.c static int regulator_quirk_notify(struct notifier_block *nb, nb 97 arch/arm/mach-zynq/slcr.c int zynq_slcr_system_restart(struct notifier_block *nb, nb 157 arch/arm/mm/cache-b15-rac.c static int b15_rac_reboot_notifier(struct notifier_block *nb, nb 93 arch/arm/xen/enlighten.c static int xen_pvclock_gtod_notify(struct notifier_block *nb, nb 59 arch/mips/include/asm/cop2.h extern int register_cu2_notifier(struct notifier_block *nb); nb 124 arch/mips/include/asm/cpu-info.h extern int register_proc_cpuinfo_notifier(struct notifier_block *nb); nb 26 arch/mips/include/asm/traps.h extern int register_nmi_notifier(struct notifier_block *nb); nb 26 arch/mips/kernel/proc.c int __ref register_proc_cpuinfo_notifier(struct notifier_block *nb) nb 28 arch/mips/kernel/proc.c return raw_notifier_chain_register(&proc_cpuinfo_chain, nb); nb 1206 arch/mips/kernel/traps.c int __ref register_cu2_notifier(struct notifier_block *nb) nb 1208 arch/mips/kernel/traps.c return raw_notifier_chain_register(&cu2_chain, nb); nb 1904 arch/mips/kernel/traps.c int register_nmi_notifier(struct notifier_block *nb) nb 1906 arch/mips/kernel/traps.c return raw_notifier_chain_register(&nmi_chain, nb); nb 295 arch/mips/mm/c-octeon.c int register_co_cache_error_notifier(struct notifier_block *nb) nb 297 arch/mips/mm/c-octeon.c return raw_notifier_chain_register(&co_cache_error_chain, nb); nb 301 arch/mips/mm/c-octeon.c int unregister_co_cache_error_notifier(struct notifier_block *nb) nb 303 arch/mips/mm/c-octeon.c return raw_notifier_chain_unregister(&co_cache_error_chain, nb); nb 323 arch/powerpc/include/asm/opal.h extern int opal_notifier_register(struct notifier_block *nb); nb 324 arch/powerpc/include/asm/opal.h extern int opal_notifier_unregister(struct notifier_block *nb); nb 327 arch/powerpc/include/asm/opal.h struct notifier_block *nb); nb 329 arch/powerpc/include/asm/opal.h struct notifier_block *nb); nb 118 arch/powerpc/kernel/align.c unsigned int nb, flags; nb 125 arch/powerpc/kernel/align.c nb = spe_aligninfo[instr].len; nb 130 arch/powerpc/kernel/align.c !access_ok(addr, nb))) nb 173 arch/powerpc/kernel/align.c switch (nb) { nb 258 arch/powerpc/kernel/align.c switch (nb) { nb 1050 arch/powerpc/kernel/eeh.c static int eeh_reboot_notifier(struct notifier_block *nb, nb 120 arch/powerpc/kernel/iommu.c static int fail_iommu_bus_notify(struct notifier_block *nb, nb 306 arch/powerpc/kernel/isa-bridge.c static int isa_bridge_notify(struct notifier_block *nb, unsigned long action, nb 1747 arch/powerpc/kvm/book3s_64_mmu_hv.c unsigned long i, nb, nw; nb 1767 arch/powerpc/kvm/book3s_64_mmu_hv.c nb = 0; nb 1768 arch/powerpc/kvm/book3s_64_mmu_hv.c while (nb + sizeof(hdr) + HPTE_SIZE < count) { nb 1773 arch/powerpc/kvm/book3s_64_mmu_hv.c nw = nb; nb 1774 arch/powerpc/kvm/book3s_64_mmu_hv.c nb += sizeof(hdr); nb 1791 arch/powerpc/kvm/book3s_64_mmu_hv.c nb + HPTE_SIZE < count && nb 1798 arch/powerpc/kvm/book3s_64_mmu_hv.c nb += HPTE_SIZE; nb 1819 arch/powerpc/kvm/book3s_64_mmu_hv.c nw = nb; nb 1822 arch/powerpc/kvm/book3s_64_mmu_hv.c nb = nw; nb 1835 arch/powerpc/kvm/book3s_64_mmu_hv.c return nb; nb 1849 arch/powerpc/kvm/book3s_64_mmu_hv.c ssize_t nb; nb 1874 arch/powerpc/kvm/book3s_64_mmu_hv.c for (nb = 0; nb + sizeof(hdr) <= count; ) { nb 1880 arch/powerpc/kvm/book3s_64_mmu_hv.c if (nb + hdr.n_valid * HPTE_SIZE > count) nb 1883 arch/powerpc/kvm/book3s_64_mmu_hv.c nb += sizeof(hdr); nb 1911 arch/powerpc/kvm/book3s_64_mmu_hv.c nb += HPTE_SIZE; nb 1959 arch/powerpc/kvm/book3s_64_mmu_hv.c return nb; nb 495 arch/powerpc/kvm/book3s_hv.c unsigned long len, nb; nb 514 arch/powerpc/kvm/book3s_hv.c va = kvmppc_pin_guest_page(kvm, vpa, &nb); nb 524 arch/powerpc/kvm/book3s_hv.c if (len > nb || len < sizeof(struct reg_vpa)) nb 611 arch/powerpc/kvm/book3s_hv.c unsigned long nb; nb 626 arch/powerpc/kvm/book3s_hv.c nb = 0; nb 628 arch/powerpc/kvm/book3s_hv.c va = kvmppc_pin_guest_page(kvm, gpa, &nb); nb 638 arch/powerpc/kvm/book3s_hv.c if (va && nb < vpap->len) { nb 105 arch/powerpc/lib/sstep.c unsigned long ea, int nb) nb 109 arch/powerpc/lib/sstep.c if (__access_ok(ea, nb, USER_DS)) nb 218 arch/powerpc/lib/sstep.c static nokprobe_inline void do_byte_reverse(void *ptr, int nb) nb 220 arch/powerpc/lib/sstep.c switch (nb) { nb 246 arch/powerpc/lib/sstep.c unsigned long ea, int nb, nb 252 arch/powerpc/lib/sstep.c switch (nb) { nb 279 arch/powerpc/lib/sstep.c static nokprobe_inline int copy_mem_in(u8 *dest, unsigned long ea, int nb, nb 285 arch/powerpc/lib/sstep.c for (; nb > 0; nb -= c) { nb 287 arch/powerpc/lib/sstep.c if (c > nb) nb 288 arch/powerpc/lib/sstep.c c = max_align(nb); nb 319 arch/powerpc/lib/sstep.c unsigned long ea, int nb, nb 330 arch/powerpc/lib/sstep.c i = IS_BE ? sizeof(unsigned long) - nb : 0; nb 331 arch/powerpc/lib/sstep.c err = copy_mem_in(&u.b[i], ea, nb, regs); nb 342 arch/powerpc/lib/sstep.c static int read_mem(unsigned long *dest, unsigned long ea, int nb, nb 345 arch/powerpc/lib/sstep.c if (!address_ok(regs, ea, nb)) nb 347 arch/powerpc/lib/sstep.c if ((ea & (nb - 1)) == 0) nb 348 arch/powerpc/lib/sstep.c return read_mem_aligned(dest, ea, nb, regs); nb 349 arch/powerpc/lib/sstep.c return read_mem_unaligned(dest, ea, nb, regs); nb 354 arch/powerpc/lib/sstep.c unsigned long ea, int nb, nb 359 arch/powerpc/lib/sstep.c switch (nb) { nb 384 arch/powerpc/lib/sstep.c static nokprobe_inline int copy_mem_out(u8 *dest, unsigned long ea, int nb, nb 390 arch/powerpc/lib/sstep.c for (; nb > 0; nb -= c) { nb 392 arch/powerpc/lib/sstep.c if (c > nb) nb 393 arch/powerpc/lib/sstep.c c = max_align(nb); nb 424 arch/powerpc/lib/sstep.c unsigned long ea, int nb, nb 434 arch/powerpc/lib/sstep.c i = IS_BE ? sizeof(unsigned long) - nb : 0; nb 435 arch/powerpc/lib/sstep.c return copy_mem_out(&u.b[i], ea, nb, regs); nb 442 arch/powerpc/lib/sstep.c static int write_mem(unsigned long val, unsigned long ea, int nb, nb 445 arch/powerpc/lib/sstep.c if (!address_ok(regs, ea, nb)) nb 447 arch/powerpc/lib/sstep.c if ((ea & (nb - 1)) == 0) nb 448 arch/powerpc/lib/sstep.c return write_mem_aligned(val, ea, nb, regs); nb 449 arch/powerpc/lib/sstep.c return write_mem_unaligned(val, ea, nb, regs); nb 461 arch/powerpc/lib/sstep.c int err, rn, nb; nb 471 arch/powerpc/lib/sstep.c nb = GETSIZE(op->type); nb 472 arch/powerpc/lib/sstep.c if (!address_ok(regs, ea, nb)) nb 475 arch/powerpc/lib/sstep.c err = copy_mem_in(u.b, ea, nb, regs); nb 479 arch/powerpc/lib/sstep.c do_byte_reverse(u.b, min(nb, 8)); nb 480 arch/powerpc/lib/sstep.c if (nb == 16) nb 484 arch/powerpc/lib/sstep.c if (nb == 4) { nb 496 arch/powerpc/lib/sstep.c if (nb == 16) { nb 512 arch/powerpc/lib/sstep.c int rn, nb; nb 521 arch/powerpc/lib/sstep.c nb = GETSIZE(op->type); nb 522 arch/powerpc/lib/sstep.c if (!address_ok(regs, ea, nb)) nb 530 arch/powerpc/lib/sstep.c if (nb == 4) { nb 536 arch/powerpc/lib/sstep.c if (nb == 16) { nb 545 arch/powerpc/lib/sstep.c do_byte_reverse(u.b, min(nb, 8)); nb 546 arch/powerpc/lib/sstep.c if (nb == 16) nb 549 arch/powerpc/lib/sstep.c return copy_mem_out(u.b, ea, nb, regs); nb 2300 arch/powerpc/lib/sstep.c int nb; nb 2303 arch/powerpc/lib/sstep.c nb = regs->gpr[rb] & 0xff; nb 2304 arch/powerpc/lib/sstep.c if (nb > 16) nb 2305 arch/powerpc/lib/sstep.c nb = 16; nb 2306 arch/powerpc/lib/sstep.c op->type = MKOP(LOAD_VSX, 0, nb); nb 2335 arch/powerpc/lib/sstep.c int nb; nb 2338 arch/powerpc/lib/sstep.c nb = regs->gpr[rb] & 0xff; nb 2339 arch/powerpc/lib/sstep.c if (nb > 16) nb 2340 arch/powerpc/lib/sstep.c nb = 16; nb 2341 arch/powerpc/lib/sstep.c op->type = MKOP(STORE_VSX, 0, nb); nb 2850 arch/powerpc/lib/sstep.c int i, rd, nb; nb 2998 arch/powerpc/lib/sstep.c nb = size - i; nb 2999 arch/powerpc/lib/sstep.c if (nb > 4) nb 3000 arch/powerpc/lib/sstep.c nb = 4; nb 3001 arch/powerpc/lib/sstep.c err = copy_mem_in((u8 *) &v32, ea, nb, regs); nb 3069 arch/powerpc/lib/sstep.c nb = size - i; nb 3070 arch/powerpc/lib/sstep.c if (nb > 4) nb 3071 arch/powerpc/lib/sstep.c nb = 4; nb 3074 arch/powerpc/lib/sstep.c err = copy_mem_out((u8 *) &v32, ea, nb, regs); nb 186 arch/powerpc/mm/book3s32/mmu.c int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; nb 195 arch/powerpc/mm/book3s32/mmu.c for (i = 0; i < nb - 1 && base < top && top - base > (128 << 10);) { nb 211 arch/powerpc/mm/book3s32/mmu.c for (; i < nb; i++) nb 227 arch/powerpc/mm/book3s32/mmu.c int nb = mmu_has_feature(MMU_FTR_USE_HIGH_BATS) ? 8 : 4; nb 233 arch/powerpc/mm/book3s32/mmu.c for (i = 0; i < nb; i++) { nb 435 arch/powerpc/mm/mem.c unsigned long nb = PAGE_SIZE / bytes; nb 462 arch/powerpc/mm/mem.c : "r" (nb), "r" (msr), "i" (bytes), "r" (msr0) nb 1477 arch/powerpc/mm/numa.c static int dt_update_callback(struct notifier_block *nb, nb 1111 arch/powerpc/oprofile/op_model_cell.c oprof_cpufreq_notify(struct notifier_block *nb, unsigned long val, void *data) nb 111 arch/powerpc/perf/callchain.c static int read_user_stack_slow(void __user *ptr, void *buf, int nb) nb 145 arch/powerpc/perf/callchain.c memcpy(buf, kaddr + offset, nb); nb 73 arch/powerpc/platforms/512x/pdm360ng.c static int pdm360ng_touchscreen_notifier_call(struct notifier_block *nb, nb 579 arch/powerpc/platforms/cell/iommu.c static int cell_of_bus_notify(struct notifier_block *nb, unsigned long action, nb 236 arch/powerpc/platforms/cell/ras.c static int cbe_ptcal_notify_reboot(struct notifier_block *nb, nb 212 arch/powerpc/platforms/powernv/opal-async.c static int opal_async_comp_event(struct notifier_block *nb, nb 324 arch/powerpc/platforms/powernv/opal-hmi.c static int opal_handle_hmi_event(struct notifier_block *nb, nb 87 arch/powerpc/platforms/powernv/opal-memory-errors.c static int opal_memory_err_event(struct notifier_block *nb, nb 78 arch/powerpc/platforms/powernv/opal-power.c static int opal_power_control_event(struct notifier_block *nb, nb 336 arch/powerpc/platforms/powernv/opal-prd.c static int opal_prd_msg_notifier(struct notifier_block *nb, nb 245 arch/powerpc/platforms/powernv/opal.c struct notifier_block *nb) nb 247 arch/powerpc/platforms/powernv/opal.c if (!nb || msg_type >= OPAL_MSG_TYPE_MAX) { nb 254 arch/powerpc/platforms/powernv/opal.c &opal_msg_notifier_head[msg_type], nb); nb 259 arch/powerpc/platforms/powernv/opal.c struct notifier_block *nb) nb 262 arch/powerpc/platforms/powernv/opal.c &opal_msg_notifier_head[msg_type], nb); nb 979 arch/powerpc/platforms/powernv/pci.c static int pnv_tce_iommu_bus_notifier(struct notifier_block *nb, nb 879 arch/powerpc/platforms/ps3/device-init.c static int ps3_stop_probe_thread(struct notifier_block *nb, unsigned long code, nb 887 arch/powerpc/platforms/ps3/device-init.c static struct notifier_block nb = { nb 934 arch/powerpc/platforms/ps3/device-init.c register_reboot_notifier(&nb); nb 472 arch/powerpc/platforms/pseries/cmm.c static int cmm_reboot_notifier(struct notifier_block *nb, nb 897 arch/powerpc/platforms/pseries/hotplug-cpu.c static int pseries_smp_notifier(struct notifier_block *nb, nb 1030 arch/powerpc/platforms/pseries/hotplug-memory.c static int pseries_memory_notifier(struct notifier_block *nb, nb 1233 arch/powerpc/platforms/pseries/iommu.c static int iommu_mem_notifier(struct notifier_block *nb, unsigned long action, nb 1273 arch/powerpc/platforms/pseries/iommu.c static int iommu_reconfig_notifier(struct notifier_block *nb, unsigned long action, void *data) nb 1353 arch/powerpc/platforms/pseries/iommu.c static int tce_iommu_bus_notifier(struct notifier_block *nb, nb 242 arch/powerpc/platforms/pseries/setup.c static int pci_dn_reconfig_notifier(struct notifier_block *nb, unsigned long action, void *data) nb 38 arch/powerpc/xmon/nonstdio.c static int xmon_write(const char *ptr, int nb) nb 44 arch/powerpc/xmon/nonstdio.c if (nb <= 0) nb 48 arch/powerpc/xmon/nonstdio.c return nb; nb 75 arch/powerpc/xmon/nonstdio.c return nb; nb 80 arch/powerpc/xmon/nonstdio.c return rv + udbg_write(p, nb - (p - ptr)); nb 147 arch/powerpc/xmon/nonstdio.c char *xmon_gets(char *str, int nb) nb 152 arch/powerpc/xmon/nonstdio.c for (p = str; p < str + nb - 1; ) { nb 3000 arch/powerpc/xmon/xmon.c memdiffs(unsigned char *p1, unsigned char *p2, unsigned nb, unsigned maxpr) nb 3005 arch/powerpc/xmon/xmon.c for( n = nb; n > 0; --n ) nb 10 arch/riscv/include/asm/sifive_l2_cache.h extern int register_sifive_l2_error_notifier(struct notifier_block *nb); nb 11 arch/riscv/include/asm/sifive_l2_cache.h extern int unregister_sifive_l2_error_notifier(struct notifier_block *nb); nb 98 arch/riscv/mm/sifive_l2_cache.c int register_sifive_l2_error_notifier(struct notifier_block *nb) nb 100 arch/riscv/mm/sifive_l2_cache.c return atomic_notifier_chain_register(&l2_err_chain, nb); nb 104 arch/riscv/mm/sifive_l2_cache.c int unregister_sifive_l2_error_notifier(struct notifier_block *nb) nb 106 arch/riscv/mm/sifive_l2_cache.c return atomic_notifier_chain_unregister(&l2_err_chain, nb); nb 44 arch/s390/kernel/machine_kexec.c static int machine_kdump_pm_cb(struct notifier_block *nb, unsigned long action, nb 612 arch/s390/kernel/setup.c static int kdump_mem_notifier(struct notifier_block *nb, nb 175 arch/s390/kernel/suspend.c static int suspend_pm_cb(struct notifier_block *nb, unsigned long action, nb 733 arch/s390/mm/gmap.c void gmap_register_pte_notifier(struct gmap_notifier *nb) nb 736 arch/s390/mm/gmap.c list_add_rcu(&nb->list, &gmap_notifier_list); nb 745 arch/s390/mm/gmap.c void gmap_unregister_pte_notifier(struct gmap_notifier *nb) nb 748 arch/s390/mm/gmap.c list_del_rcu(&nb->list); nb 763 arch/s390/mm/gmap.c struct gmap_notifier *nb; nb 765 arch/s390/mm/gmap.c list_for_each_entry(nb, &gmap_notifier_list, list) nb 766 arch/s390/mm/gmap.c nb->notifier_call(gmap, start, end); nb 242 arch/s390/mm/init.c static int s390_cma_mem_notifier(struct notifier_block *nb, nb 1147 arch/sh/kernel/cpu/sh4a/setup-sh7724.c static int sh7724_pre_sleep_notifier_call(struct notifier_block *nb, nb 1209 arch/sh/kernel/cpu/sh4a/setup-sh7724.c static int sh7724_post_sleep_notifier_call(struct notifier_block *nb, nb 242 arch/sparc/kernel/nmi.c static int nmi_shutdown(struct notifier_block *nb, unsigned long cmd, void *p) nb 652 arch/sparc/kernel/time_64.c static int sparc64_cpufreq_notifier(struct notifier_block *nb, unsigned long val, nb 349 arch/x86/events/amd/core.c struct amd_nb *nb = cpuc->amd_nb; nb 351 arch/x86/events/amd/core.c return nb && nb->nb_id != -1; nb 378 arch/x86/events/amd/core.c struct amd_nb *nb = cpuc->amd_nb; nb 390 arch/x86/events/amd/core.c if (cmpxchg(nb->owners + i, event, NULL) == event) nb 436 arch/x86/events/amd/core.c struct amd_nb *nb = cpuc->amd_nb; nb 459 arch/x86/events/amd/core.c old = cmpxchg(nb->owners + idx, NULL, event); nb 460 arch/x86/events/amd/core.c else if (nb->owners[idx] == event) nb 471 arch/x86/events/amd/core.c cmpxchg(nb->owners + new, event, NULL); nb 482 arch/x86/events/amd/core.c return &nb->event_constraints[new]; nb 487 arch/x86/events/amd/core.c struct amd_nb *nb; nb 490 arch/x86/events/amd/core.c nb = kzalloc_node(sizeof(struct amd_nb), GFP_KERNEL, cpu_to_node(cpu)); nb 491 arch/x86/events/amd/core.c if (!nb) nb 494 arch/x86/events/amd/core.c nb->nb_id = -1; nb 500 arch/x86/events/amd/core.c __set_bit(i, nb->event_constraints[i].idxmsk); nb 501 arch/x86/events/amd/core.c nb->event_constraints[i].weight = 1; nb 503 arch/x86/events/amd/core.c return nb; nb 526 arch/x86/events/amd/core.c struct amd_nb *nb; nb 538 arch/x86/events/amd/core.c nb = per_cpu(cpu_hw_events, i).amd_nb; nb 539 arch/x86/events/amd/core.c if (WARN_ON_ONCE(!nb)) nb 542 arch/x86/events/amd/core.c if (nb->nb_id == nb_id) { nb 544 arch/x86/events/amd/core.c cpuc->amd_nb = nb; nb 563 arch/x86/events/amd/core.c struct amd_nb *nb = cpuhw->amd_nb; nb 565 arch/x86/events/amd/core.c if (nb->nb_id == -1 || --nb->refcnt == 0) nb 566 arch/x86/events/amd/core.c kfree(nb); nb 74 arch/x86/include/asm/amd_nb.h struct amd_northbridge *nb; nb 64 arch/x86/include/asm/intel_scu_ipc.h static inline void intel_scu_notifier_add(struct notifier_block *nb) nb 66 arch/x86/include/asm/intel_scu_ipc.h blocking_notifier_chain_register(&intel_scu_notifier, nb); nb 69 arch/x86/include/asm/intel_scu_ipc.h static inline void intel_scu_notifier_remove(struct notifier_block *nb) nb 71 arch/x86/include/asm/intel_scu_ipc.h blocking_notifier_chain_unregister(&intel_scu_notifier, nb); nb 167 arch/x86/include/asm/iosf_mbi.h int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb); nb 174 arch/x86/include/asm/iosf_mbi.h int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb); nb 186 arch/x86/include/asm/iosf_mbi.h struct notifier_block *nb); nb 225 arch/x86/include/asm/iosf_mbi.h int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) nb 231 arch/x86/include/asm/iosf_mbi.h int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) nb 237 arch/x86/include/asm/iosf_mbi.h iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(struct notifier_block *nb) nb 156 arch/x86/include/asm/mce.h extern void mce_register_decode_chain(struct notifier_block *nb); nb 157 arch/x86/include/asm/mce.h extern void mce_unregister_decode_chain(struct notifier_block *nb); nb 111 arch/x86/kernel/amd_nb.c return (node < amd_northbridges.num) ? &amd_northbridges.nb[node] : NULL; nb 225 arch/x86/kernel/amd_nb.c struct amd_northbridge *nb; nb 264 arch/x86/kernel/amd_nb.c nb = kcalloc(misc_count, sizeof(struct amd_northbridge), GFP_KERNEL); nb 265 arch/x86/kernel/amd_nb.c if (!nb) nb 268 arch/x86/kernel/amd_nb.c amd_northbridges.nb = nb; nb 395 arch/x86/kernel/amd_nb.c struct amd_northbridge *nb = node_to_amd_nb(amd_get_nb_id(cpu)); nb 404 arch/x86/kernel/amd_nb.c pci_read_config_dword(nb->link, 0x1d4, &reset); nb 405 arch/x86/kernel/amd_nb.c pci_read_config_dword(nb->misc, 0x1b8, &ban); nb 411 arch/x86/kernel/amd_nb.c pci_read_config_dword(nb->misc, 0x1b8, ®); nb 412 arch/x86/kernel/amd_nb.c pci_write_config_dword(nb->misc, 0x1b8, reg & ~0x180000); nb 419 arch/x86/kernel/amd_nb.c pci_write_config_dword(nb->link, 0x1d4, mask); nb 422 arch/x86/kernel/amd_nb.c pci_read_config_dword(nb->link, 0x1d4, ®); nb 424 arch/x86/kernel/amd_nb.c pci_read_config_dword(nb->misc, 0x1b8, ®); nb 426 arch/x86/kernel/amd_nb.c pci_write_config_dword(nb->misc, 0x1b8, reg | ban); nb 163 arch/x86/kernel/cpu/cacheinfo.c struct amd_northbridge *nb; nb 306 arch/x86/kernel/cpu/cacheinfo.c static void amd_calc_l3_indices(struct amd_northbridge *nb) nb 308 arch/x86/kernel/cpu/cacheinfo.c struct amd_l3_cache *l3 = &nb->l3_cache; nb 312 arch/x86/kernel/cpu/cacheinfo.c pci_read_config_dword(nb->misc, 0x1C4, &val); nb 336 arch/x86/kernel/cpu/cacheinfo.c static int amd_get_l3_disable_slot(struct amd_northbridge *nb, unsigned slot) nb 340 arch/x86/kernel/cpu/cacheinfo.c pci_read_config_dword(nb->misc, 0x1BC + slot * 4, ®); nb 353 arch/x86/kernel/cpu/cacheinfo.c struct amd_northbridge *nb = this_leaf->priv; nb 355 arch/x86/kernel/cpu/cacheinfo.c index = amd_get_l3_disable_slot(nb, slot); nb 373 arch/x86/kernel/cpu/cacheinfo.c static void amd_l3_disable_index(struct amd_northbridge *nb, int cpu, nb 386 arch/x86/kernel/cpu/cacheinfo.c if (!nb->l3_cache.subcaches[i]) nb 389 arch/x86/kernel/cpu/cacheinfo.c pci_write_config_dword(nb->misc, 0x1BC + slot * 4, reg); nb 399 arch/x86/kernel/cpu/cacheinfo.c pci_write_config_dword(nb->misc, 0x1BC + slot * 4, reg); nb 413 arch/x86/kernel/cpu/cacheinfo.c static int amd_set_l3_disable_slot(struct amd_northbridge *nb, int cpu, nb 419 arch/x86/kernel/cpu/cacheinfo.c ret = amd_get_l3_disable_slot(nb, slot); nb 423 arch/x86/kernel/cpu/cacheinfo.c if (index > nb->l3_cache.indices) nb 427 arch/x86/kernel/cpu/cacheinfo.c if (index == amd_get_l3_disable_slot(nb, !slot)) nb 430 arch/x86/kernel/cpu/cacheinfo.c amd_l3_disable_index(nb, cpu, slot, index); nb 441 arch/x86/kernel/cpu/cacheinfo.c struct amd_northbridge *nb = this_leaf->priv; nb 451 arch/x86/kernel/cpu/cacheinfo.c err = amd_set_l3_disable_slot(nb, cpu, slot, val); nb 564 arch/x86/kernel/cpu/cacheinfo.c struct amd_northbridge *nb = this_leaf->priv; nb 566 arch/x86/kernel/cpu/cacheinfo.c if (this_leaf->level < 3 || !nb) nb 569 arch/x86/kernel/cpu/cacheinfo.c if (nb && nb->l3_cache.indices) nb 584 arch/x86/kernel/cpu/cacheinfo.c this_leaf->nb = node_to_amd_nb(node); nb 585 arch/x86/kernel/cpu/cacheinfo.c if (this_leaf->nb && !this_leaf->nb->l3_cache.indices) nb 586 arch/x86/kernel/cpu/cacheinfo.c amd_calc_l3_indices(this_leaf->nb); nb 985 arch/x86/kernel/cpu/cacheinfo.c this_leaf->priv = base->nb; nb 1306 arch/x86/kernel/cpu/mce/amd.c struct amd_northbridge *nb = NULL; nb 1315 arch/x86/kernel/cpu/mce/amd.c nb = node_to_amd_nb(amd_get_nb_id(cpu)); nb 1318 arch/x86/kernel/cpu/mce/amd.c if (nb && nb->bank4) { nb 1320 arch/x86/kernel/cpu/mce/amd.c b = nb->bank4; nb 1350 arch/x86/kernel/cpu/mce/amd.c if (nb) { nb 1351 arch/x86/kernel/cpu/mce/amd.c WARN_ON(nb->bank4); nb 1352 arch/x86/kernel/cpu/mce/amd.c nb->bank4 = b; nb 1406 arch/x86/kernel/cpu/mce/amd.c struct amd_northbridge *nb; nb 1426 arch/x86/kernel/cpu/mce/amd.c nb = node_to_amd_nb(amd_get_nb_id(cpu)); nb 1427 arch/x86/kernel/cpu/mce/amd.c nb->bank4 = NULL; nb 178 arch/x86/kernel/cpu/mce/core.c void mce_register_decode_chain(struct notifier_block *nb) nb 180 arch/x86/kernel/cpu/mce/core.c if (WARN_ON(nb->priority > MCE_PRIO_MCELOG && nb->priority < MCE_PRIO_EDAC)) nb 185 arch/x86/kernel/cpu/mce/core.c blocking_notifier_chain_register(&x86_mce_decoder_chain, nb); nb 189 arch/x86/kernel/cpu/mce/core.c void mce_unregister_decode_chain(struct notifier_block *nb) nb 193 arch/x86/kernel/cpu/mce/core.c blocking_notifier_chain_unregister(&x86_mce_decoder_chain, nb); nb 573 arch/x86/kernel/cpu/mce/core.c static int mce_first_notifier(struct notifier_block *nb, unsigned long val, nb 599 arch/x86/kernel/cpu/mce/core.c static int srao_decode_notifier(struct notifier_block *nb, unsigned long val, nb 621 arch/x86/kernel/cpu/mce/core.c static int mce_default_notifier(struct notifier_block *nb, unsigned long val, nb 40 arch/x86/kernel/cpu/mce/dev-mcelog.c static int dev_mce_log(struct notifier_block *nb, unsigned long val, nb 279 arch/x86/kernel/cpu/mce/dev-mcelog.c void mce_register_injector_chain(struct notifier_block *nb) nb 281 arch/x86/kernel/cpu/mce/dev-mcelog.c blocking_notifier_chain_register(&mce_injector_chain, nb); nb 285 arch/x86/kernel/cpu/mce/dev-mcelog.c void mce_unregister_injector_chain(struct notifier_block *nb) nb 287 arch/x86/kernel/cpu/mce/dev-mcelog.c blocking_notifier_chain_unregister(&mce_injector_chain, nb); nb 277 arch/x86/kernel/cpu/mce/inject.c static int mce_inject_raise(struct notifier_block *nb, unsigned long val, nb 424 arch/x86/kernel/cpu/mce/inject.c struct amd_northbridge *nb; nb 429 arch/x86/kernel/cpu/mce/inject.c nb = node_to_amd_nb(nid); nb 430 arch/x86/kernel/cpu/mce/inject.c if (!nb) nb 433 arch/x86/kernel/cpu/mce/inject.c F3 = nb->misc; nb 101 arch/x86/kernel/cpu/mce/internal.h void mce_register_injector_chain(struct notifier_block *nb); nb 102 arch/x86/kernel/cpu/mce/internal.h void mce_unregister_injector_chain(struct notifier_block *nb); nb 105 arch/x86/kernel/cpu/mce/internal.h static inline void mce_register_injector_chain(struct notifier_block *nb) { } nb 106 arch/x86/kernel/cpu/mce/internal.h static inline void mce_unregister_injector_chain(struct notifier_block *nb) { } nb 367 arch/x86/kernel/kvm.c static int kvm_pv_reboot_notify(struct notifier_block *nb, nb 975 arch/x86/kernel/tsc.c static int time_cpufreq_notifier(struct notifier_block *nb, unsigned long val, nb 7102 arch/x86/kvm/x86.c static int kvmclock_cpufreq_notifier(struct notifier_block *nb, unsigned long val, nb 7218 arch/x86/kvm/x86.c static int pvclock_gtod_notify(struct notifier_block *nb, unsigned long unused, nb 74 arch/x86/lib/insn.c int i, nb; nb 79 arch/x86/lib/insn.c nb = 0; nb 85 arch/x86/lib/insn.c for (i = 0; i < nb; i++) nb 88 arch/x86/lib/insn.c if (nb == 4) nb 91 arch/x86/lib/insn.c prefixes->bytes[nb++] = b; nb 114 arch/x86/lib/insn.c for (i = 0; i < nb; i++) nb 61 arch/x86/mm/amdtopology.c int i, j, nb; nb 68 arch/x86/mm/amdtopology.c nb = find_northbridge(); nb 69 arch/x86/mm/amdtopology.c if (nb < 0) nb 70 arch/x86/mm/amdtopology.c return nb; nb 72 arch/x86/mm/amdtopology.c pr_info("Scanning NUMA topology in Northbridge %d\n", nb); nb 74 arch/x86/mm/amdtopology.c reg = read_pci_config(0, nb, 0, 0x60); nb 85 arch/x86/mm/amdtopology.c base = read_pci_config(0, nb, 1, 0x40 + i*8); nb 86 arch/x86/mm/amdtopology.c limit = read_pci_config(0, nb, 1, 0x44 + i*8); nb 586 arch/x86/mm/kmmio.c kmmio_die_notifier(struct notifier_block *nb, unsigned long val, void *args) nb 31 arch/x86/platform/intel-mid/device_libs/platform_mrfld_power_btn.c static int mrfld_power_btn_scu_status_change(struct notifier_block *nb, nb 52 arch/x86/platform/intel-mid/device_libs/platform_mrfld_wdt.c static int wdt_scu_status_change(struct notifier_block *nb, nb 39 arch/x86/platform/intel-mid/device_libs/platform_msic.c static int msic_scu_status_change(struct notifier_block *nb, nb 401 arch/x86/platform/intel/iosf_mbi.c int iosf_mbi_register_pmic_bus_access_notifier(struct notifier_block *nb) nb 408 arch/x86/platform/intel/iosf_mbi.c &iosf_mbi_pmic_bus_access_notifier, nb); nb 416 arch/x86/platform/intel/iosf_mbi.c struct notifier_block *nb) nb 421 arch/x86/platform/intel/iosf_mbi.c &iosf_mbi_pmic_bus_access_notifier, nb); nb 425 arch/x86/platform/intel/iosf_mbi.c int iosf_mbi_unregister_pmic_bus_access_notifier(struct notifier_block *nb) nb 431 arch/x86/platform/intel/iosf_mbi.c ret = iosf_mbi_unregister_pmic_bus_access_notifier_unlocked(nb); nb 331 arch/x86/power/cpu.c static int bsp_pm_callback(struct notifier_block *nb, unsigned long action, nb 123 arch/x86/tools/insn_decoder_test.c int nb = 0; nb 146 arch/x86/tools/insn_decoder_test.c insn_buff[nb++] = (unsigned char) b; nb 154 arch/x86/tools/insn_decoder_test.c if (insn.length != nb) { nb 160 arch/x86/tools/insn_decoder_test.c "says %d\n", nb, insn.length); nb 88 arch/x86/xen/time.c static int xen_pvclock_gtod_notify(struct notifier_block *nb, nb 18 block/blk-merge.c struct bio_vec pb, nb; nb 45 block/blk-merge.c bio_get_first_bvec(next, &nb); nb 46 block/blk-merge.c if (biovec_phys_mergeable(q, &pb, &nb)) nb 48 block/blk-merge.c return __bvec_gap_to_prev(q, &pb, nb.bv_offset); nb 759 crypto/algapi.c int crypto_register_notifier(struct notifier_block *nb) nb 761 crypto/algapi.c return blocking_notifier_chain_register(&crypto_chain, nb); nb 765 crypto/algapi.c int crypto_unregister_notifier(struct notifier_block *nb) nb 767 crypto/algapi.c return blocking_notifier_chain_unregister(&crypto_chain, nb); nb 1153 crypto/ecc.c int i, nb; nb 1169 crypto/ecc.c nb = !vli_test_bit(scalar, i); nb 1170 crypto/ecc.c xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb], curve_prime, nb 1172 crypto/ecc.c xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb], curve_prime, nb 1176 crypto/ecc.c nb = !vli_test_bit(scalar, 0); nb 1177 crypto/ecc.c xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb], curve_prime, nb 1184 crypto/ecc.c vli_mod_mult_fast(z, z, ry[1 - nb], curve_prime, ndigits); nb 1194 crypto/ecc.c vli_mod_mult_fast(z, z, rx[1 - nb], curve_prime, ndigits); nb 1197 crypto/ecc.c xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb], curve_prime, ndigits); nb 264 drivers/acpi/ac.c static int acpi_ac_battery_notify(struct notifier_block *nb, nb 267 drivers/acpi/ac.c struct acpi_ac *ac = container_of(nb, struct acpi_ac, battery_nb); nb 135 drivers/acpi/acpi_extlog.c static int extlog_print(struct notifier_block *nb, unsigned long val, nb 1264 drivers/acpi/acpi_lpss.c static int acpi_lpss_platform_notify(struct notifier_block *nb, nb 42 drivers/acpi/acpi_platform.c static int acpi_platform_device_remove_notify(struct notifier_block *nb, nb 1691 drivers/acpi/acpi_video.c static int acpi_video_resume(struct notifier_block *nb, nb 1705 drivers/acpi/acpi_video.c video = container_of(nb, struct acpi_video_bus, pm_nb); nb 1279 drivers/acpi/battery.c static int battery_notify(struct notifier_block *nb, nb 1282 drivers/acpi/battery.c struct acpi_battery *battery = container_of(nb, struct acpi_battery, nb 356 drivers/acpi/button.c int acpi_lid_notifier_register(struct notifier_block *nb) nb 358 drivers/acpi/button.c return blocking_notifier_chain_register(&acpi_lid_notifier, nb); nb 362 drivers/acpi/button.c int acpi_lid_notifier_unregister(struct notifier_block *nb) nb 364 drivers/acpi/button.c return blocking_notifier_chain_unregister(&acpi_lid_notifier, nb); nb 41 drivers/acpi/event.c int register_acpi_notifier(struct notifier_block *nb) nb 43 drivers/acpi/event.c return blocking_notifier_chain_register(&acpi_chain_head, nb); nb 47 drivers/acpi/event.c int unregister_acpi_notifier(struct notifier_block *nb) nb 49 drivers/acpi/event.c return blocking_notifier_chain_unregister(&acpi_chain_head, nb); nb 28 drivers/acpi/hed.c int register_acpi_hed_notifier(struct notifier_block *nb) nb 30 drivers/acpi/hed.c return blocking_notifier_chain_register(&acpi_hed_notify_list, nb); nb 34 drivers/acpi/hed.c void unregister_acpi_hed_notifier(struct notifier_block *nb) nb 36 drivers/acpi/hed.c blocking_notifier_chain_unregister(&acpi_hed_notify_list, nb); nb 13 drivers/acpi/nfit/mce.c static int nfit_handle_mce(struct notifier_block *nb, unsigned long val, nb 289 drivers/acpi/processor_driver.c static int acpi_processor_notifier(struct notifier_block *nb, nb 2336 drivers/acpi/scan.c int acpi_reconfig_notifier_register(struct notifier_block *nb) nb 2338 drivers/acpi/scan.c return blocking_notifier_chain_register(&acpi_reconfig_chain, nb); nb 2342 drivers/acpi/scan.c int acpi_reconfig_notifier_unregister(struct notifier_block *nb) nb 2344 drivers/acpi/scan.c return blocking_notifier_chain_unregister(&acpi_reconfig_chain, nb); nb 370 drivers/acpi/video_detect.c static int acpi_video_backlight_notify(struct notifier_block *nb, nb 172 drivers/base/arch_topology.c init_cpu_capacity_callback(struct notifier_block *nb, nb 900 drivers/base/bus.c int bus_register_notifier(struct bus_type *bus, struct notifier_block *nb) nb 902 drivers/base/bus.c return blocking_notifier_chain_register(&bus->p->bus_notifier, nb); nb 906 drivers/base/bus.c int bus_unregister_notifier(struct bus_type *bus, struct notifier_block *nb) nb 908 drivers/base/bus.c return blocking_notifier_chain_unregister(&bus->p->bus_notifier, nb); nb 64 drivers/base/memory.c int register_memory_notifier(struct notifier_block *nb) nb 66 drivers/base/memory.c return blocking_notifier_chain_register(&memory_chain, nb); nb 70 drivers/base/memory.c void unregister_memory_notifier(struct notifier_block *nb) nb 72 drivers/base/memory.c blocking_notifier_chain_unregister(&memory_chain, nb); nb 78 drivers/base/memory.c int register_memory_isolate_notifier(struct notifier_block *nb) nb 80 drivers/base/memory.c return atomic_notifier_chain_register(&memory_isolate_chain, nb); nb 84 drivers/base/memory.c void unregister_memory_isolate_notifier(struct notifier_block *nb) nb 86 drivers/base/memory.c atomic_notifier_chain_unregister(&memory_isolate_chain, nb); nb 464 drivers/base/power/clock_ops.c static int pm_clk_notify(struct notifier_block *nb, nb 474 drivers/base/power/clock_ops.c clknb = container_of(nb, struct pm_clk_notifier_block, nb); nb 592 drivers/base/power/clock_ops.c static int pm_clk_notify(struct notifier_block *nb, nb 601 drivers/base/power/clock_ops.c clknb = container_of(nb, struct pm_clk_notifier_block, nb); nb 644 drivers/base/power/clock_ops.c clknb->nb.notifier_call = pm_clk_notify; nb 645 drivers/base/power/clock_ops.c bus_register_notifier(bus, &clknb->nb); nb 637 drivers/base/power/domain.c static int genpd_dev_pm_qos_notifier(struct notifier_block *nb, nb 643 drivers/base/power/domain.c gpd_data = container_of(nb, struct generic_pm_domain_data, nb); nb 1413 drivers/base/power/domain.c gpd_data->nb.notifier_call = genpd_dev_pm_qos_notifier; nb 1534 drivers/base/power/domain.c dev_pm_qos_add_notifier(dev, &gpd_data->nb, nb 1568 drivers/base/power/domain.c dev_pm_qos_remove_notifier(dev, &gpd_data->nb, nb 1597 drivers/base/power/domain.c dev_pm_qos_add_notifier(dev, &gpd_data->nb, DEV_PM_QOS_RESUME_LATENCY); nb 248 drivers/base/power/trace.c pm_trace_notify(struct notifier_block *nb, unsigned long mode, void *_unused) nb 59 drivers/bcma/driver_chipcommon.c u32 nb; nb 63 drivers/bcma/driver_chipcommon.c nb = 32; nb 65 drivers/bcma/driver_chipcommon.c nb = 16; nb 67 drivers/bcma/driver_chipcommon.c nb = (cc->core->id.rev >= 37) ? 32 : 24; nb 69 drivers/bcma/driver_chipcommon.c nb = 28; nb 71 drivers/bcma/driver_chipcommon.c if (nb == 32) nb 74 drivers/bcma/driver_chipcommon.c return (1 << nb) - 1; nb 108 drivers/bluetooth/btmrvl_drv.h u8 *payload, u16 nb); nb 1144 drivers/bluetooth/btmrvl_sdio.c u8 *payload, u16 nb) nb 1159 drivers/bluetooth/btmrvl_sdio.c blksz = DIV_ROUND_UP(nb, SDIO_BLOCK_SIZE) * SDIO_BLOCK_SIZE; nb 1163 drivers/bluetooth/btmrvl_sdio.c nb < blksz) { nb 1170 drivers/bluetooth/btmrvl_sdio.c memcpy(buf, payload, nb); nb 1182 drivers/bluetooth/btmrvl_sdio.c BT_ERR("hex: %*ph", nb, payload); nb 2021 drivers/bus/ti-sysc.c static int sysc_notifier_call(struct notifier_block *nb, nb 271 drivers/char/agp/amd64-agp.c static int fix_northbridge(struct pci_dev *nb, struct pci_dev *agp, u16 cap) nb 278 drivers/char/agp/amd64-agp.c pci_read_config_dword(nb, AMD64_GARTAPERTURECTL, &nb_order); nb 280 drivers/char/agp/amd64-agp.c pci_read_config_dword(nb, AMD64_GARTAPERTUREBASE, &nb_base); nb 320 drivers/char/agp/amd64-agp.c gart_set_size_and_enable(nb, order); nb 321 drivers/char/agp/amd64-agp.c pci_write_config_dword(nb, AMD64_GARTAPERTUREBASE, aper >> 25); nb 509 drivers/char/apm-emulation.c static int apm_suspend_notifier(struct notifier_block *nb, nb 278 drivers/char/ipmi/ipmi_si_intf.c static int register_xaction_notifier(struct notifier_block *nb) nb 280 drivers/char/ipmi/ipmi_si_intf.c return atomic_notifier_chain_register(&xaction_notifier_list, nb); nb 4141 drivers/clk/clk.c int clk_notifier_register(struct clk *clk, struct notifier_block *nb) nb 4146 drivers/clk/clk.c if (!clk || !nb) nb 4168 drivers/clk/clk.c ret = srcu_notifier_chain_register(&cn->notifier_head, nb); nb 4190 drivers/clk/clk.c int clk_notifier_unregister(struct clk *clk, struct notifier_block *nb) nb 4195 drivers/clk/clk.c if (!clk || !nb) nb 4205 drivers/clk/clk.c ret = srcu_notifier_chain_unregister(&cn->notifier_head, nb); nb 306 drivers/clk/davinci/pll.c static int davinci_pllen_rate_change(struct notifier_block *nb, nb 640 drivers/clk/davinci/pll.c static int davinci_pll_sysclk_rate_change(struct notifier_block *nb, nb 908 drivers/clk/meson/g12a.c static int g12a_cpu_clk_mux_notifier_cb(struct notifier_block *nb, nb 925 drivers/clk/meson/g12a.c struct notifier_block nb; nb 933 drivers/clk/meson/g12a.c static int g12a_cpu_clk_postmux_notifier_cb(struct notifier_block *nb, nb 937 drivers/clk/meson/g12a.c container_of(nb, struct g12a_cpu_clk_postmux_nb_data, nb); nb 1018 drivers/clk/meson/g12a.c .nb.notifier_call = g12a_cpu_clk_postmux_notifier_cb, nb 1026 drivers/clk/meson/g12a.c .nb.notifier_call = g12a_cpu_clk_postmux_notifier_cb, nb 1030 drivers/clk/meson/g12a.c struct notifier_block nb; nb 1036 drivers/clk/meson/g12a.c static int g12a_sys_pll_notifier_cb(struct notifier_block *nb, nb 1040 drivers/clk/meson/g12a.c container_of(nb, struct g12a_sys_pll_nb_data, nb); nb 1100 drivers/clk/meson/g12a.c .nb.notifier_call = g12a_sys_pll_notifier_cb, nb 1108 drivers/clk/meson/g12a.c .nb.notifier_call = g12a_sys_pll_notifier_cb, nb 1116 drivers/clk/meson/g12a.c .nb.notifier_call = g12a_sys_pll_notifier_cb, nb 4901 drivers/clk/meson/g12a.c &g12a_cpu_clk_postmux0_nb_data.nb); nb 4946 drivers/clk/meson/g12a.c &g12b_cpu_clk_sys1_pll_nb_data.nb); nb 4959 drivers/clk/meson/g12a.c &g12b_cpub_clk_postmux0_nb_data.nb); nb 4987 drivers/clk/meson/g12a.c &g12b_cpub_clk_sys_pll_nb_data.nb); nb 5019 drivers/clk/meson/g12a.c ret = clk_notifier_register(notifier_clk, &g12a_sys_pll_nb_data.nb); nb 3590 drivers/clk/meson/meson8b.c struct notifier_block nb; nb 3594 drivers/clk/meson/meson8b.c static int meson8b_cpu_clk_notifier_cb(struct notifier_block *nb, nb 3598 drivers/clk/meson/meson8b.c container_of(nb, struct meson8b_nb_data, nb); nb 3632 drivers/clk/meson/meson8b.c .nb.notifier_call = meson8b_cpu_clk_notifier_cb, nb 3710 drivers/clk/meson/meson8b.c ret = clk_notifier_register(notifier_clk, &meson8b_cpu_nb_data.nb); nb 134 drivers/clk/microchip/clk-pic32mzda.c static int pic32_fscm_nmi(struct notifier_block *nb, nb 139 drivers/clk/microchip/clk-pic32mzda.c cd = container_of(nb, struct pic32mzda_clk_data, failsafe_notifier); nb 31 drivers/clk/qcom/apcs-msm8916.c static int a53cc_notifier_cb(struct notifier_block *nb, unsigned long event, nb 35 drivers/clk/qcom/apcs-msm8916.c struct clk_regmap_mux_div *md = container_of(nb, nb 1736 drivers/clk/qcom/gcc-ipq4019.c gcc_ipq4019_cpu_clk_notifier_fn(struct notifier_block *nb, nb 33 drivers/clk/qcom/krait-cc.c static int krait_notifier_cb(struct notifier_block *nb, nb 38 drivers/clk/qcom/krait-cc.c struct krait_mux_clk *mux = container_of(nb, struct krait_mux_clk, nb 42 drivers/clk/renesas/clk-div6.c struct notifier_block nb; nb 180 drivers/clk/renesas/clk-div6.c static int cpg_div6_clock_notifier_call(struct notifier_block *nb, nb 183 drivers/clk/renesas/clk-div6.c struct div6_clock *clock = container_of(nb, struct div6_clock, nb); nb 281 drivers/clk/renesas/clk-div6.c clock->nb.notifier_call = cpg_div6_clock_notifier_call; nb 282 drivers/clk/renesas/clk-div6.c raw_notifier_chain_register(notifiers, &clock->nb); nb 50 drivers/clk/renesas/rcar-gen3-cpg.c struct notifier_block nb; nb 55 drivers/clk/renesas/rcar-gen3-cpg.c static int cpg_simple_notifier_call(struct notifier_block *nb, nb 59 drivers/clk/renesas/rcar-gen3-cpg.c container_of(nb, struct cpg_simple_notifier, nb); nb 76 drivers/clk/renesas/rcar-gen3-cpg.c csn->nb.notifier_call = cpg_simple_notifier_call; nb 77 drivers/clk/renesas/rcar-gen3-cpg.c raw_notifier_chain_register(notifiers, &csn->nb); nb 68 drivers/clk/rockchip/clk-cpu.c #define to_rockchip_cpuclk_nb(nb) \ nb 69 drivers/clk/rockchip/clk-cpu.c container_of(nb, struct rockchip_cpuclk, clk_nb) nb 229 drivers/clk/rockchip/clk-cpu.c static int rockchip_cpuclk_notifier_cb(struct notifier_block *nb, nb 233 drivers/clk/rockchip/clk-cpu.c struct rockchip_cpuclk *cpuclk = to_rockchip_cpuclk_nb(nb); nb 158 drivers/clk/rockchip/clk-mmc-phase.c static int rockchip_mmc_clk_rate_notify(struct notifier_block *nb, nb 161 drivers/clk/rockchip/clk-mmc-phase.c struct rockchip_mmc_clock *mmc_clock = to_rockchip_mmc_clock(nb); nb 46 drivers/clk/rockchip/clk-pll.c #define to_rockchip_clk_pll_nb(nb) \ nb 47 drivers/clk/rockchip/clk-pll.c container_of(nb, struct rockchip_clk_pll, clk_nb) nb 383 drivers/clk/rockchip/clk-pll.c rate->nb = ((pllcon >> RK3066_PLLCON2_NB_SHIFT) nb 447 drivers/clk/rockchip/clk-pll.c writel_relaxed(HIWORD_UPDATE(rate->nb - 1, RK3066_PLLCON2_NB_MASK, nb 539 drivers/clk/rockchip/clk-pll.c rate->no, cur.no, rate->nf, cur.nf, rate->nb, cur.nb); nb 541 drivers/clk/rockchip/clk-pll.c || rate->nb != cur.nb) { nb 865 drivers/clk/rockchip/clk-rk3188.c rate->nb = 1; nb 137 drivers/clk/rockchip/clk.c #define to_rockchip_clk_frac_nb(nb) \ nb 138 drivers/clk/rockchip/clk.c container_of(nb, struct rockchip_clk_frac, clk_nb) nb 140 drivers/clk/rockchip/clk.c static int rockchip_clk_frac_notifier_cb(struct notifier_block *nb, nb 144 drivers/clk/rockchip/clk.c struct rockchip_clk_frac *frac = to_rockchip_clk_frac_nb(nb); nb 216 drivers/clk/rockchip/clk.h .nb = ((_nf) < 2) ? 1 : (_nf) >> 1, \ nb 225 drivers/clk/rockchip/clk.h .nb = _nb, \ nb 249 drivers/clk/rockchip/clk.h unsigned int nb; nb 360 drivers/clk/samsung/clk-cpu.c static int exynos_cpuclk_notifier_cb(struct notifier_block *nb, nb 368 drivers/clk/samsung/clk-cpu.c cpuclk = container_of(nb, struct exynos_cpuclk, clk_nb); nb 383 drivers/clk/samsung/clk-cpu.c static int exynos5433_cpuclk_notifier_cb(struct notifier_block *nb, nb 391 drivers/clk/samsung/clk-cpu.c cpuclk = container_of(nb, struct exynos_cpuclk, clk_nb); nb 191 drivers/clk/samsung/clk-s3c2410-dclk.c static int s3c24xx_dclk0_div_notify(struct notifier_block *nb, nb 194 drivers/clk/samsung/clk-s3c2410-dclk.c struct s3c24xx_dclk *s3c24xx_dclk = to_s3c24xx_dclk0(nb); nb 204 drivers/clk/samsung/clk-s3c2410-dclk.c static int s3c24xx_dclk1_div_notify(struct notifier_block *nb, nb 207 drivers/clk/samsung/clk-s3c2410-dclk.c struct s3c24xx_dclk *s3c24xx_dclk = to_s3c24xx_dclk1(nb); nb 53 drivers/clk/sunxi-ng/ccu_common.c static int ccu_pll_notifier_cb(struct notifier_block *nb, nb 56 drivers/clk/sunxi-ng/ccu_common.c struct ccu_pll_nb *pll = to_ccu_pll_nb(nb); nb 261 drivers/clk/sunxi-ng/ccu_mux.c static int ccu_mux_notifier_cb(struct notifier_block *nb, nb 264 drivers/clk/sunxi-ng/ccu_mux.c struct ccu_mux_nb *mux = to_ccu_mux_nb(nb); nb 112 drivers/clocksource/mips-gic-timer.c static int gic_clk_notifier(struct notifier_block *nb, unsigned long action, nb 224 drivers/clocksource/timer-cadence-ttc.c static int ttc_rate_change_clocksource_cb(struct notifier_block *nb, nb 228 drivers/clocksource/timer-cadence-ttc.c struct ttc_timer *ttc = to_ttc_timer(nb); nb 378 drivers/clocksource/timer-cadence-ttc.c static int ttc_rate_change_clockevent_cb(struct notifier_block *nb, nb 382 drivers/clocksource/timer-cadence-ttc.c struct ttc_timer *ttc = to_ttc_timer(nb); nb 163 drivers/clocksource/timer-sun5i.c static int sun5i_rate_cb_clksrc(struct notifier_block *nb, nb 167 drivers/clocksource/timer-sun5i.c struct sun5i_timer *timer = to_sun5i_timer(nb); nb 249 drivers/clocksource/timer-sun5i.c static int sun5i_rate_cb_clkevt(struct notifier_block *nb, nb 253 drivers/clocksource/timer-sun5i.c struct sun5i_timer *timer = to_sun5i_timer(nb); nb 460 drivers/cpufreq/cpufreq.c struct notifier_block *nb; nb 466 drivers/cpufreq/cpufreq.c for (nb = cpufreq_transition_notifier_list.head; nb; nb = nb->next) nb 467 drivers/cpufreq/cpufreq.c pr_info("%pS\n", nb->notifier_call); nb 1134 drivers/cpufreq/cpufreq.c static int cpufreq_notifier_min(struct notifier_block *nb, unsigned long freq, nb 1137 drivers/cpufreq/cpufreq.c struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_min); nb 1143 drivers/cpufreq/cpufreq.c static int cpufreq_notifier_max(struct notifier_block *nb, unsigned long freq, nb 1146 drivers/cpufreq/cpufreq.c struct cpufreq_policy *policy = container_of(nb, struct cpufreq_policy, nb_max); nb 1919 drivers/cpufreq/cpufreq.c int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list) nb 1935 drivers/cpufreq/cpufreq.c &cpufreq_transition_notifier_list, nb); nb 1943 drivers/cpufreq/cpufreq.c &cpufreq_policy_notifier_list, nb); nb 1963 drivers/cpufreq/cpufreq.c int cpufreq_unregister_notifier(struct notifier_block *nb, unsigned int list) nb 1975 drivers/cpufreq/cpufreq.c &cpufreq_transition_notifier_list, nb); nb 1983 drivers/cpufreq/cpufreq.c &cpufreq_policy_notifier_list, nb); nb 33 drivers/cpufreq/highbank-cpufreq.c static int hb_cpufreq_clk_notify(struct notifier_block *nb, nb 36 drivers/cpufreq/loongson1-cpufreq.c static int ls1x_cpufreq_notifier(struct notifier_block *nb, nb 32 drivers/cpufreq/loongson2_cpufreq.c static int loongson2_cpu_freq_notifier(struct notifier_block *nb, nb 39 drivers/cpufreq/loongson2_cpufreq.c static int loongson2_cpu_freq_notifier(struct notifier_block *nb, nb 883 drivers/cpufreq/powernv-cpufreq.c static int powernv_cpufreq_reboot_notifier(struct notifier_block *nb, nb 930 drivers/cpufreq/powernv-cpufreq.c static int powernv_cpufreq_occ_msg(struct notifier_block *nb, nb 15 drivers/crypto/ccree/cc_fips.c struct notifier_block nb; nb 53 drivers/crypto/ccree/cc_fips.c static int cc_ree_fips_failure(struct notifier_block *nb, unsigned long unused1, nb 57 drivers/crypto/ccree/cc_fips.c container_of(nb, struct cc_fips_handle, nb); nb 74 drivers/crypto/ccree/cc_fips.c atomic_notifier_chain_unregister(&fips_fail_notif_chain, &fips_h->nb); nb 148 drivers/crypto/ccree/cc_fips.c fips_h->nb.notifier_call = cc_ree_fips_failure; nb 149 drivers/crypto/ccree/cc_fips.c atomic_notifier_chain_register(&fips_fail_notif_chain, &fips_h->nb); nb 37 drivers/crypto/chelsio/chtls/chtls_main.c static void register_listen_notifier(struct notifier_block *nb) nb 40 drivers/crypto/chelsio/chtls/chtls_main.c raw_notifier_chain_register(&listen_notify_list, nb); nb 44 drivers/crypto/chelsio/chtls/chtls_main.c static void unregister_listen_notifier(struct notifier_block *nb) nb 47 drivers/crypto/chelsio/chtls/chtls_main.c raw_notifier_chain_unregister(&listen_notify_list, nb); nb 429 drivers/dca/dca-core.c void dca_register_notify(struct notifier_block *nb) nb 431 drivers/dca/dca-core.c blocking_notifier_chain_register(&dca_provider_chain, nb); nb 438 drivers/dca/dca-core.c void dca_unregister_notify(struct notifier_block *nb) nb 440 drivers/dca/dca-core.c blocking_notifier_chain_unregister(&dca_provider_chain, nb); nb 550 drivers/devfreq/devfreq.c static int devfreq_notifier_call(struct notifier_block *nb, unsigned long type, nb 553 drivers/devfreq/devfreq.c struct devfreq *devfreq = container_of(nb, struct devfreq, nb); nb 650 drivers/devfreq/devfreq.c devfreq->nb.notifier_call = devfreq_notifier_call; nb 1537 drivers/devfreq/devfreq.c return dev_pm_opp_register_notifier(dev, &devfreq->nb); nb 1553 drivers/devfreq/devfreq.c return dev_pm_opp_unregister_notifier(dev, &devfreq->nb); nb 1612 drivers/devfreq/devfreq.c struct notifier_block *nb, nb 1623 drivers/devfreq/devfreq.c &devfreq->transition_notifier_list, nb); nb 1640 drivers/devfreq/devfreq.c struct notifier_block *nb, nb 1651 drivers/devfreq/devfreq.c &devfreq->transition_notifier_list, nb); nb 1663 drivers/devfreq/devfreq.c struct notifier_block *nb; nb 1671 drivers/devfreq/devfreq.c devfreq_unregister_notifier(this->devfreq, this->nb, this->list); nb 1684 drivers/devfreq/devfreq.c struct notifier_block *nb, nb 1695 drivers/devfreq/devfreq.c ret = devfreq_register_notifier(devfreq, nb, list); nb 1702 drivers/devfreq/devfreq.c ptr->nb = nb; nb 1720 drivers/devfreq/devfreq.c struct notifier_block *nb, nb 125 drivers/devfreq/governor_passive.c static int devfreq_passive_notifier_call(struct notifier_block *nb, nb 129 drivers/devfreq/governor_passive.c = container_of(nb, struct devfreq_passive_data, nb); nb 155 drivers/devfreq/governor_passive.c struct notifier_block *nb = &p_data->nb; nb 166 drivers/devfreq/governor_passive.c nb->notifier_call = devfreq_passive_notifier_call; nb 167 drivers/devfreq/governor_passive.c ret = devfreq_register_notifier(parent, nb, nb 171 drivers/devfreq/governor_passive.c WARN_ON(devfreq_unregister_notifier(parent, nb, nb 357 drivers/devfreq/tegra30-devfreq.c static int tegra_actmon_rate_notify_cb(struct notifier_block *nb, nb 368 drivers/devfreq/tegra30-devfreq.c tegra = container_of(nb, struct tegra_devfreq, rate_change_nb); nb 1226 drivers/edac/amd64_edac.c struct amd_northbridge *nb; nb 1248 drivers/edac/amd64_edac.c nb = node_to_amd_nb(dram_dst_node(pvt, range)); nb 1249 drivers/edac/amd64_edac.c if (WARN_ON(!nb)) nb 1259 drivers/edac/amd64_edac.c f1 = pci_get_related_function(nb->misc->vendor, pci_func, nb->misc); nb 1811 drivers/edac/i7core_edac.c static int i7core_mce_check_error(struct notifier_block *nb, unsigned long val, nb 1036 drivers/edac/mce_amd.c amd_decode_mce(struct notifier_block *nb, unsigned long val, void *data) nb 23 drivers/edac/octeon_edac-pc.c extern int register_co_cache_error_notifier(struct notifier_block *nb); nb 24 drivers/edac/octeon_edac-pc.c extern int unregister_co_cache_error_notifier(struct notifier_block *nb); nb 1392 drivers/edac/pnd2_edac.c static int pnd2_mce_check_error(struct notifier_block *nb, unsigned long val, void *data) nb 3132 drivers/edac/sb_edac.c static int sbridge_mce_check_error(struct notifier_block *nb, unsigned long val, nb 565 drivers/edac/skx_common.c int skx_mce_check_error(struct notifier_block *nb, unsigned long val, nb 139 drivers/edac/skx_common.h int skx_mce_check_error(struct notifier_block *nb, unsigned long val, nb 35 drivers/extcon/devres.c struct notifier_block *nb; nb 42 drivers/extcon/devres.c extcon_unregister_notifier(this->edev, this->id, this->nb); nb 49 drivers/extcon/devres.c extcon_unregister_notifier_all(this->edev, this->nb); nb 173 drivers/extcon/devres.c unsigned int id, struct notifier_block *nb) nb 183 drivers/extcon/devres.c ret = extcon_register_notifier(edev, id, nb); nb 191 drivers/extcon/devres.c ptr->nb = nb; nb 208 drivers/extcon/devres.c struct notifier_block *nb) nb 229 drivers/extcon/devres.c struct notifier_block *nb) nb 239 drivers/extcon/devres.c ret = extcon_register_notifier_all(edev, nb); nb 246 drivers/extcon/devres.c ptr->nb = nb; nb 262 drivers/extcon/devres.c struct notifier_block *nb) nb 284 drivers/extcon/extcon-axp288.c static int axp288_extcon_id_evt(struct notifier_block *nb, nb 288 drivers/extcon/extcon-axp288.c container_of(nb, struct axp288_extcon_info, id_nb); nb 362 drivers/extcon/extcon-usbc-cros-ec.c static int extcon_cros_ec_event(struct notifier_block *nb, nb 370 drivers/extcon/extcon-usbc-cros-ec.c info = container_of(nb, struct cros_ec_extcon_info, notifier); nb 900 drivers/extcon/extcon.c struct notifier_block *nb) nb 905 drivers/extcon/extcon.c if (!edev || !nb) nb 913 drivers/extcon/extcon.c ret = raw_notifier_chain_register(&edev->nh[idx], nb); nb 929 drivers/extcon/extcon.c struct notifier_block *nb) nb 934 drivers/extcon/extcon.c if (!edev || !nb) nb 942 drivers/extcon/extcon.c ret = raw_notifier_chain_unregister(&edev->nh[idx], nb); nb 962 drivers/extcon/extcon.c struct notifier_block *nb) nb 967 drivers/extcon/extcon.c if (!edev || !nb) nb 971 drivers/extcon/extcon.c ret = raw_notifier_chain_register(&edev->nh_all, nb); nb 986 drivers/extcon/extcon.c struct notifier_block *nb) nb 991 drivers/extcon/extcon.c if (!edev || !nb) nb 995 drivers/extcon/extcon.c ret = raw_notifier_chain_unregister(&edev->nh_all, nb); nb 752 drivers/firmware/arm_sdei.c static int sdei_pm_notifier(struct notifier_block *nb, unsigned long action, nb 856 drivers/firmware/arm_sdei.c static int sdei_reboot_notifier(struct notifier_block *nb, unsigned long action, nb 286 drivers/firmware/efi/capsule.c static int capsule_reboot_notify(struct notifier_block *nb, unsigned long event, void *cmd) nb 1061 drivers/firmware/efi/efi.c static int update_efi_random_seed(struct notifier_block *nb, nb 656 drivers/firmware/google/gsmi.c static int gsmi_reboot_callback(struct notifier_block *nb, nb 667 drivers/firmware/google/gsmi.c static int gsmi_die_callback(struct notifier_block *nb, nb 679 drivers/firmware/google/gsmi.c static int gsmi_panic_callback(struct notifier_block *nb, nb 45 drivers/firmware/imx/imx-scu-irq.c int imx_scu_irq_register_notifier(struct notifier_block *nb) nb 48 drivers/firmware/imx/imx-scu-irq.c &imx_scu_irq_notifier_chain, nb); nb 52 drivers/firmware/imx/imx-scu-irq.c int imx_scu_irq_unregister_notifier(struct notifier_block *nb) nb 55 drivers/firmware/imx/imx-scu-irq.c &imx_scu_irq_notifier_chain, nb); nb 120 drivers/firmware/ti_sci.c struct notifier_block nb; nb 140 drivers/firmware/ti_sci.c #define reboot_to_ti_sci_info(n) container_of(n, struct ti_sci_info, nb) nb 3335 drivers/firmware/ti_sci.c static int tisci_reboot_handler(struct notifier_block *nb, unsigned long mode, nb 3338 drivers/firmware/ti_sci.c struct ti_sci_info *info = reboot_to_ti_sci_info(nb); nb 3501 drivers/firmware/ti_sci.c info->nb.notifier_call = tisci_reboot_handler; nb 3502 drivers/firmware/ti_sci.c info->nb.priority = 128; nb 3504 drivers/firmware/ti_sci.c ret = register_restart_handler(&info->nb); nb 3540 drivers/firmware/ti_sci.c if (info->nb.notifier_call) nb 3541 drivers/firmware/ti_sci.c unregister_restart_handler(&info->nb); nb 344 drivers/fpga/of-fpga-region.c static int of_fpga_region_notify(struct notifier_block *nb, nb 61 drivers/gpio/gpio-omap.c struct notifier_block nb; nb 1233 drivers/gpio/gpio-omap.c static int gpio_omap_cpu_notifier(struct notifier_block *nb, nb 1239 drivers/gpio/gpio-omap.c bank = container_of(nb, struct gpio_bank, nb); nb 1459 drivers/gpio/gpio-omap.c bank->nb.notifier_call = gpio_omap_cpu_notifier; nb 1460 drivers/gpio/gpio-omap.c cpu_pm_register_notifier(&bank->nb); nb 1471 drivers/gpio/gpio-omap.c cpu_pm_unregister_notifier(&bank->nb); nb 741 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c static int amdgpu_acpi_event(struct notifier_block *nb, nb 745 drivers/gpu/drm/amd/amdgpu/amdgpu_acpi.c struct amdgpu_device *adev = container_of(nb, struct amdgpu_device, acpi_nb); nb 234 drivers/gpu/drm/gma500/opregion.c static int psb_intel_opregion_video_event(struct notifier_block *nb, nb 623 drivers/gpu/drm/i915/display/intel_opregion.c static int intel_opregion_video_event(struct notifier_block *nb, nb 626 drivers/gpu/drm/i915/display/intel_opregion.c struct intel_opregion *opregion = container_of(nb, struct intel_opregion, nb 84 drivers/gpu/drm/i915/gem/i915_gem_pm.c static int pm_notifier(struct notifier_block *nb, nb 89 drivers/gpu/drm/i915/gem/i915_gem_pm.c container_of(nb, typeof(*i915), gem.pm_notifier); nb 382 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_shrinker_oom(struct notifier_block *nb, unsigned long event, void *ptr) nb 385 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c container_of(nb, struct drm_i915_private, mm.oom_notifier); nb 422 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c i915_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr) nb 425 drivers/gpu/drm/i915/gem/i915_gem_shrinker.c container_of(nb, struct drm_i915_private, mm.vmap_notifier); nb 696 drivers/gpu/drm/i915/gvt/kvmgt.c static int intel_vgpu_iommu_notifier(struct notifier_block *nb, nb 699 drivers/gpu/drm/i915/gvt/kvmgt.c struct intel_vgpu *vgpu = container_of(nb, nb 727 drivers/gpu/drm/i915/gvt/kvmgt.c static int intel_vgpu_group_notifier(struct notifier_block *nb, nb 730 drivers/gpu/drm/i915/gvt/kvmgt.c struct intel_vgpu *vgpu = container_of(nb, nb 226 drivers/gpu/drm/i915/gvt/scheduler.c static int shadow_context_status_change(struct notifier_block *nb, nb 230 drivers/gpu/drm/i915/gvt/scheduler.c struct intel_gvt *gvt = container_of(nb, struct intel_gvt, nb 1567 drivers/gpu/drm/i915/intel_uncore.c static int i915_pmic_bus_access_notifier(struct notifier_block *nb, nb 1570 drivers/gpu/drm/i915/intel_uncore.c struct intel_uncore *uncore = container_of(nb, nb 96 drivers/gpu/drm/msm/msm_gem_shrinker.c msm_gem_shrinker_vmap(struct notifier_block *nb, unsigned long event, void *ptr) nb 99 drivers/gpu/drm/msm/msm_gem_shrinker.c container_of(nb, struct msm_drm_private, vmap_notifier); nb 129 drivers/gpu/drm/nouveau/include/nvkm/core/device.h struct notifier_block nb; nb 54 drivers/gpu/drm/nouveau/nouveau_backlight.c const int nb = ida_simple_get(&bl_ida, 0, 0, GFP_KERNEL); nb 55 drivers/gpu/drm/nouveau/nouveau_backlight.c if (nb < 0 || nb >= 100) nb 57 drivers/gpu/drm/nouveau/nouveau_backlight.c if (nb > 0) nb 58 drivers/gpu/drm/nouveau/nouveau_backlight.c snprintf(backlight_name, BL_NAME_SIZE, "nv_backlight%d", nb); nb 61 drivers/gpu/drm/nouveau/nouveau_backlight.c bl->id = nb; nb 364 drivers/gpu/drm/nouveau/nouveau_display.c nouveau_display_acpi_ntfy(struct notifier_block *nb, unsigned long val, nb 367 drivers/gpu/drm/nouveau/nouveau_display.c struct nouveau_drm *drm = container_of(nb, typeof(*drm), acpi_nb); nb 30 drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.c nvkm_acpi_ntfy(struct notifier_block *nb, unsigned long val, void *data) nb 33 drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.c container_of(nb, typeof(*device), acpi.nb); nb 47 drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.c unregister_acpi_notifier(&device->acpi.nb); nb 55 drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.c device->acpi.nb.notifier_call = nvkm_acpi_ntfy; nb 56 drivers/gpu/drm/nouveau/nvkm/engine/device/acpi.c register_acpi_notifier(&device->acpi.nb); nb 680 drivers/gpu/drm/radeon/radeon_acpi.c static int radeon_acpi_event(struct notifier_block *nb, nb 684 drivers/gpu/drm/radeon/radeon_acpi.c struct radeon_device *rdev = container_of(nb, struct radeon_device, acpi_nb); nb 989 drivers/gpu/drm/rockchip/cdn-dp-core.c static int cdn_dp_pd_event(struct notifier_block *nb, nb 992 drivers/gpu/drm/rockchip/cdn-dp-core.c struct cdn_dp_port *port = container_of(nb, struct cdn_dp_port, nb 243 drivers/gpu/drm/sti/sti_crtc.c int sti_crtc_vblank_cb(struct notifier_block *nb, nb 252 drivers/gpu/drm/sti/sti_crtc.c compo = container_of(nb, struct sti_compositor, vtg_vblank_nb[pipe]); nb 20 drivers/gpu/drm/sti/sti_crtc.h int sti_crtc_vblank_cb(struct notifier_block *nb, nb 147 drivers/gpu/drm/sti/sti_dvo.c static void dvo_awg_configure(struct sti_dvo *dvo, u32 *awg_ram_code, int nb) nb 153 drivers/gpu/drm/sti/sti_dvo.c for (i = 0; i < nb; i++) nb 156 drivers/gpu/drm/sti/sti_dvo.c for (i = nb; i < AWG_MAX_INST; i++) nb 486 drivers/gpu/drm/sti/sti_gdp.c static int sti_gdp_field_cb(struct notifier_block *nb, nb 489 drivers/gpu/drm/sti/sti_gdp.c struct sti_gdp *gdp = container_of(nb, struct sti_gdp, vtg_field_nb); nb 388 drivers/gpu/drm/sti/sti_hda.c static void sti_hda_configure_awg(struct sti_hda *hda, u32 *awg_instr, int nb) nb 394 drivers/gpu/drm/sti/sti_hda.c for (i = 0; i < nb; i++) nb 396 drivers/gpu/drm/sti/sti_hda.c for (i = nb; i < AWG_MAX_INST; i++) nb 795 drivers/gpu/drm/sti/sti_hqvdp.c static int sti_hqvdp_vtg_cb(struct notifier_block *nb, unsigned long evt, void *data) nb 797 drivers/gpu/drm/sti/sti_hqvdp.c struct sti_hqvdp *hqvdp = container_of(nb, struct sti_hqvdp, vtg_nb); nb 340 drivers/gpu/drm/sti/sti_vtg.c int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb, nb 344 drivers/gpu/drm/sti/sti_vtg.c return raw_notifier_chain_register(&vtg->notifier_list, nb); nb 347 drivers/gpu/drm/sti/sti_vtg.c int sti_vtg_unregister_client(struct sti_vtg *vtg, struct notifier_block *nb) nb 349 drivers/gpu/drm/sti/sti_vtg.c return raw_notifier_chain_unregister(&vtg->notifier_list, nb); nb 26 drivers/gpu/drm/sti/sti_vtg.h int sti_vtg_register_client(struct sti_vtg *vtg, struct notifier_block *nb, nb 29 drivers/gpu/drm/sti/sti_vtg.h struct notifier_block *nb); nb 166 drivers/gpu/drm/tilcdc/tilcdc_drv.c static int cpufreq_transition(struct notifier_block *nb, nb 169 drivers/gpu/drm/tilcdc/tilcdc_drv.c struct tilcdc_drm_private *priv = container_of(nb, nb 262 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c static int vmwgfx_pm_notifier(struct notifier_block *nb, unsigned long val, nb 1214 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c static int vmwgfx_pm_notifier(struct notifier_block *nb, unsigned long val, nb 1218 drivers/gpu/drm/vmwgfx/vmwgfx_drv.c container_of(nb, struct vmw_private, pm_nb); nb 1415 drivers/gpu/vga/vgaarb.c static int pci_notify(struct notifier_block *nb, unsigned long action, nb 90 drivers/hid/hid-google-hammer.c static int cbas_ec_notify(struct notifier_block *nb, nb 268 drivers/hsi/controllers/omap_ssi_core.c static int ssi_clk_event(struct notifier_block *nb, unsigned long event, nb 271 drivers/hsi/controllers/omap_ssi_core.c struct omap_ssi_controller *omap_ssi = container_of(nb, nb 644 drivers/hsi/hsi_core.c static int hsi_event_notifier_call(struct notifier_block *nb, nb 647 drivers/hsi/hsi_core.c struct hsi_client *cl = container_of(nb, struct hsi_client, nb); nb 676 drivers/hsi/hsi_core.c cl->nb.notifier_call = hsi_event_notifier_call; nb 678 drivers/hsi/hsi_core.c return blocking_notifier_chain_register(&port->n_head, &cl->nb); nb 698 drivers/hsi/hsi_core.c err = blocking_notifier_chain_unregister(&port->n_head, &cl->nb); nb 626 drivers/hv/hv_balloon.c static int hv_memory_notifier(struct notifier_block *nb, unsigned long val, nb 64 drivers/hv/vmbus_drv.c static int hyperv_panic_event(struct notifier_block *nb, unsigned long val, nb 84 drivers/hv/vmbus_drv.c static int hyperv_die_event(struct notifier_block *nb, unsigned long val, nb 168 drivers/hwmon/sht15.c struct notifier_block nb; nb 895 drivers/hwmon/sht15.c static int sht15_invalidate_voltage(struct notifier_block *nb, nb 899 drivers/hwmon/sht15.c struct sht15_data *data = container_of(nb, struct sht15_data, nb); nb 955 drivers/hwmon/sht15.c data->nb.notifier_call = &sht15_invalidate_voltage; nb 956 drivers/hwmon/sht15.c ret = regulator_register_notifier(data->reg, &data->nb); nb 1014 drivers/hwmon/sht15.c regulator_unregister_notifier(data->reg, &data->nb); nb 1036 drivers/hwmon/sht15.c regulator_unregister_notifier(data->reg, &data->nb); nb 36 drivers/i2c/busses/i2c-brcmstb.c #define BSC_CNT_REG1_MASK(nb) (nb == 1 ? GENMASK(3, 0) : GENMASK(5, 0)) nb 773 drivers/i2c/busses/i2c-cadence.c static int cdns_i2c_clk_notifier_cb(struct notifier_block *nb, unsigned long nb 777 drivers/i2c/busses/i2c-cadence.c struct cdns_i2c *id = to_cdns_i2c(nb); nb 705 drivers/i2c/busses/i2c-davinci.c static int i2c_davinci_cpufreq_transition(struct notifier_block *nb, nb 710 drivers/i2c/busses/i2c-davinci.c dev = container_of(nb, struct davinci_i2c_dev, freq_transition); nb 519 drivers/i2c/busses/i2c-imx.c static int i2c_imx_clk_notifier_call(struct notifier_block *nb, nb 523 drivers/i2c/busses/i2c-imx.c struct imx_i2c_struct *i2c_imx = container_of(nb, nb 923 drivers/i2c/busses/i2c-rk3x.c static int rk3x_i2c_clk_notifier_cb(struct notifier_block *nb, unsigned long nb 927 drivers/i2c/busses/i2c-rk3x.c struct rk3x_i2c *i2c = container_of(nb, struct rk3x_i2c, clk_rate_nb); nb 893 drivers/i2c/busses/i2c-s3c2410.c static int s3c24xx_i2c_cpufreq_transition(struct notifier_block *nb, nb 896 drivers/i2c/busses/i2c-s3c2410.c struct s3c24xx_i2c *i2c = freq_to_i2c(nb); nb 410 drivers/i2c/i2c-core-acpi.c static int i2c_acpi_notify(struct notifier_block *nb, unsigned long value, nb 229 drivers/i2c/i2c-core-of.c static int of_i2c_notify(struct notifier_block *nb, unsigned long action, nb 695 drivers/i2c/i2c-dev.c static int i2cdev_notifier_call(struct notifier_block *nb, unsigned long action, nb 30 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c s64 timestamp, size_t nb) nb 44 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c } else if (nb == 1) { nb 66 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c interval = (nb - 1) * st->chip_period * divider; nb 172 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c size_t i, nb; nb 217 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c nb = 3 * bytes_per_datum; nb 218 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c if (fifo_count >= st->hw->fifo_size - nb) { nb 224 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c nb = fifo_count / bytes_per_datum; nb 225 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c inv_mpu6050_update_period(st, pf->timestamp, nb); nb 226 drivers/iio/imu/inv_mpu6050/inv_mpu_ring.c for (i = 0; i < nb; ++i) { nb 865 drivers/infiniband/core/addr.c static struct notifier_block nb = { nb 875 drivers/infiniband/core/addr.c register_netevent_notifier(&nb); nb 882 drivers/infiniband/core/addr.c unregister_netevent_notifier(&nb); nb 191 drivers/infiniband/core/device.c static int ib_security_change(struct notifier_block *nb, unsigned long event, nb 840 drivers/infiniband/core/device.c static int ib_security_change(struct notifier_block *nb, unsigned long event, nb 704 drivers/infiniband/hw/hns/hns_roce_device.h struct notifier_block nb; nb 147 drivers/infiniband/hw/hns/hns_roce_main.c hr_dev = container_of(self, struct hns_roce_dev, iboe.nb); nb 412 drivers/infiniband/hw/hns/hns_roce_main.c unregister_netdevice_notifier(&iboe->nb); nb 566 drivers/infiniband/hw/hns/hns_roce_main.c iboe->nb.notifier_call = hns_roce_netdev_event; nb 567 drivers/infiniband/hw/hns/hns_roce_main.c ret = register_netdevice_notifier(&iboe->nb); nb 2395 drivers/infiniband/hw/mlx4/main.c ibdev = container_of(this, struct mlx4_ib_dev, iboe.nb); nb 2869 drivers/infiniband/hw/mlx4/main.c if (!iboe->nb.notifier_call) { nb 2870 drivers/infiniband/hw/mlx4/main.c iboe->nb.notifier_call = mlx4_ib_netdev_event; nb 2871 drivers/infiniband/hw/mlx4/main.c err = register_netdevice_notifier(&iboe->nb); nb 2873 drivers/infiniband/hw/mlx4/main.c iboe->nb.notifier_call = NULL; nb 2903 drivers/infiniband/hw/mlx4/main.c if (ibdev->iboe.nb.notifier_call) { nb 2904 drivers/infiniband/hw/mlx4/main.c if (unregister_netdevice_notifier(&ibdev->iboe.nb)) nb 2906 drivers/infiniband/hw/mlx4/main.c ibdev->iboe.nb.notifier_call = NULL; nb 3024 drivers/infiniband/hw/mlx4/main.c if (ibdev->iboe.nb.notifier_call) { nb 3025 drivers/infiniband/hw/mlx4/main.c if (unregister_netdevice_notifier(&ibdev->iboe.nb)) nb 3027 drivers/infiniband/hw/mlx4/main.c ibdev->iboe.nb.notifier_call = NULL; nb 521 drivers/infiniband/hw/mlx4/mlx4_ib.h struct notifier_block nb; nb 2365 drivers/infiniband/hw/mlx5/devx.c static int devx_event_notifier(struct notifier_block *nb, nb 2381 drivers/infiniband/hw/mlx5/devx.c table = container_of(nb, struct mlx5_devx_event_table, devx_nb.nb); nb 191 drivers/infiniband/hw/mlx5/main.c struct mlx5_roce *roce = container_of(this, struct mlx5_roce, nb); nb 4657 drivers/infiniband/hw/mlx5/main.c static int mlx5_ib_event(struct notifier_block *nb, nb 4667 drivers/infiniband/hw/mlx5/main.c work->dev = container_of(nb, struct mlx5_ib_dev, mdev_events); nb 4677 drivers/infiniband/hw/mlx5/main.c static int mlx5_ib_event_slave_port(struct notifier_block *nb, nb 4687 drivers/infiniband/hw/mlx5/main.c work->mpi = container_of(nb, struct mlx5_ib_multiport_info, mdev_events); nb 5225 drivers/infiniband/hw/mlx5/main.c dev->port[port_num].roce.nb.notifier_call = mlx5_netdev_event; nb 5226 drivers/infiniband/hw/mlx5/main.c err = register_netdevice_notifier(&dev->port[port_num].roce.nb); nb 5228 drivers/infiniband/hw/mlx5/main.c dev->port[port_num].roce.nb.notifier_call = NULL; nb 5237 drivers/infiniband/hw/mlx5/main.c if (dev->port[port_num].roce.nb.notifier_call) { nb 5238 drivers/infiniband/hw/mlx5/main.c unregister_netdevice_notifier(&dev->port[port_num].roce.nb); nb 5239 drivers/infiniband/hw/mlx5/main.c dev->port[port_num].roce.nb.notifier_call = NULL; nb 743 drivers/infiniband/hw/mlx5/mlx5_ib.h struct notifier_block nb; nb 1448 drivers/infiniband/hw/mlx5/odp.c static int mlx5_ib_eq_pf_int(struct notifier_block *nb, unsigned long type, nb 1452 drivers/infiniband/hw/mlx5/odp.c container_of(nb, struct mlx5_ib_pf_eq, irq_nb); nb 53 drivers/infiniband/hw/mlx5/srq.h struct notifier_block nb; nb 658 drivers/infiniband/hw/mlx5/srq_cmd.c static int srq_event_notifier(struct notifier_block *nb, nb 670 drivers/infiniband/hw/mlx5/srq_cmd.c table = container_of(nb, struct mlx5_srq_table, nb); nb 698 drivers/infiniband/hw/mlx5/srq_cmd.c table->nb.notifier_call = srq_event_notifier; nb 699 drivers/infiniband/hw/mlx5/srq_cmd.c mlx5_notifier_register(dev->mdev, &table->nb); nb 708 drivers/infiniband/hw/mlx5/srq_cmd.c mlx5_notifier_unregister(dev->mdev, &table->nb); nb 1201 drivers/infiniband/hw/qib/qib_init.c static int qib_notify_dca(struct notifier_block *nb, unsigned long event, nb 465 drivers/infiniband/sw/siw/siw_main.c static int siw_netdev_event(struct notifier_block *nb, unsigned long event, nb 35 drivers/input/keyboard/adp5520-keys.c static int adp5520_keys_notifier(struct notifier_block *nb, nb 42 drivers/input/keyboard/adp5520-keys.c dev = container_of(nb, struct adp5520_keys, notifier); nb 224 drivers/input/keyboard/cros_ec_keyb.c static int cros_ec_keyb_work(struct notifier_block *nb, nb 227 drivers/input/keyboard/cros_ec_keyb.c struct cros_ec_keyb *ckdev = container_of(nb, struct cros_ec_keyb, nb 59 drivers/input/misc/pm8941-pwrkey.c static int pm8941_reboot_notify(struct notifier_block *nb, nb 62 drivers/input/misc/pm8941-pwrkey.c struct pm8941_pwrkey *pwrkey = container_of(nb, struct pm8941_pwrkey, nb 19 drivers/input/misc/rave-sp-pwrbutton.c struct notifier_block nb; nb 22 drivers/input/misc/rave-sp-pwrbutton.c static int rave_sp_power_button_event(struct notifier_block *nb, nb 26 drivers/input/misc/rave-sp-pwrbutton.c container_of(nb, struct rave_sp_power_button, nb); nb 65 drivers/input/misc/rave-sp-pwrbutton.c pb->nb.notifier_call = rave_sp_power_button_event; nb 66 drivers/input/misc/rave-sp-pwrbutton.c pb->nb.priority = 128; nb 68 drivers/input/misc/rave-sp-pwrbutton.c error = devm_rave_sp_register_event_notifier(dev, &pb->nb); nb 88 drivers/input/mouse/psmouse-smbus.c static int psmouse_smbus_notifier_call(struct notifier_block *nb, nb 1507 drivers/input/serio/i8042.c static int i8042_kbd_bind_notifier(struct notifier_block *nb, nb 231 drivers/input/touchscreen/da9034-ts.c static int da9034_touch_notifier(struct notifier_block *nb, nb 235 drivers/input/touchscreen/da9034-ts.c container_of(nb, struct da9034_touch, notifier); nb 3306 drivers/iommu/amd_iommu.c int amd_iommu_register_ppr_notifier(struct notifier_block *nb) nb 3308 drivers/iommu/amd_iommu.c return atomic_notifier_chain_register(&ppr_notifier, nb); nb 3312 drivers/iommu/amd_iommu.c int amd_iommu_unregister_ppr_notifier(struct notifier_block *nb) nb 3314 drivers/iommu/amd_iommu.c return atomic_notifier_chain_unregister(&ppr_notifier, nb); nb 42 drivers/iommu/amd_iommu_proto.h extern int amd_iommu_register_ppr_notifier(struct notifier_block *nb); nb 43 drivers/iommu/amd_iommu_proto.h extern int amd_iommu_unregister_ppr_notifier(struct notifier_block *nb); nb 515 drivers/iommu/amd_iommu_v2.c static int ppr_notifier(struct notifier_block *nb, unsigned long e, void *data) nb 333 drivers/iommu/dmar.c static int dmar_pci_bus_notifier(struct notifier_block *nb, nb 4649 drivers/iommu/intel-iommu.c static int intel_iommu_memory_notifier(struct notifier_block *nb, nb 915 drivers/iommu/iommu.c struct notifier_block *nb) nb 917 drivers/iommu/iommu.c return blocking_notifier_chain_register(&group->notifier, nb); nb 929 drivers/iommu/iommu.c struct notifier_block *nb) nb 931 drivers/iommu/iommu.c return blocking_notifier_chain_unregister(&group->notifier, nb); nb 1438 drivers/iommu/iommu.c static int iommu_bus_notifier(struct notifier_block *nb, nb 1493 drivers/iommu/iommu.c struct notifier_block *nb; nb 1495 drivers/iommu/iommu.c nb = kzalloc(sizeof(struct notifier_block), GFP_KERNEL); nb 1496 drivers/iommu/iommu.c if (!nb) nb 1499 drivers/iommu/iommu.c nb->notifier_call = iommu_bus_notifier; nb 1501 drivers/iommu/iommu.c err = bus_register_notifier(bus, nb); nb 1515 drivers/iommu/iommu.c bus_unregister_notifier(bus, nb); nb 1518 drivers/iommu/iommu.c kfree(nb); nb 583 drivers/isdn/capi/capiutil.c u_char *nb; nb 587 drivers/isdn/capi/capiutil.c nb = kmalloc(ns, GFP_ATOMIC); nb 588 drivers/isdn/capi/capiutil.c if (!nb) { nb 592 drivers/isdn/capi/capiutil.c memcpy(nb, cdb->buf, cdb->pos); nb 594 drivers/isdn/capi/capiutil.c nb[cdb->pos] = 0; nb 595 drivers/isdn/capi/capiutil.c cdb->buf = nb; nb 255 drivers/isdn/capi/kcapi.c notify_handler(struct notifier_block *nb, unsigned long val, void *v) nb 299 drivers/isdn/capi/kcapi.c int register_capictr_notifier(struct notifier_block *nb) nb 301 drivers/isdn/capi/kcapi.c return blocking_notifier_chain_register(&ctr_notifier_list, nb); nb 305 drivers/isdn/capi/kcapi.c int unregister_capictr_notifier(struct notifier_block *nb) nb 307 drivers/isdn/capi/kcapi.c return blocking_notifier_chain_unregister(&ctr_notifier_list, nb); nb 218 drivers/leds/trigger/ledtrig-activity.c static int activity_reboot_notifier(struct notifier_block *nb, nb 225 drivers/leds/trigger/ledtrig-activity.c static int activity_panic_notifier(struct notifier_block *nb, nb 165 drivers/leds/trigger/ledtrig-heartbeat.c static int heartbeat_reboot_notifier(struct notifier_block *nb, nb 172 drivers/leds/trigger/ledtrig-heartbeat.c static int heartbeat_panic_notifier(struct notifier_block *nb, nb 296 drivers/leds/trigger/ledtrig-netdev.c static int netdev_trig_notify(struct notifier_block *nb, nb 302 drivers/leds/trigger/ledtrig-netdev.c container_of(nb, struct led_netdev_data, notifier); nb 43 drivers/leds/trigger/ledtrig-panic.c static int led_trigger_panic_notifier(struct notifier_block *nb, nb 520 drivers/macintosh/adb.c adb_input(unsigned char *buf, int nb, int autopoll) nb 537 drivers/macintosh/adb.c for (i = 0; i < nb; ++i) nb 547 drivers/macintosh/adb.c (*handler)(buf, nb, autopoll); nb 266 drivers/macintosh/adbhid.c adbhid_keyboard_input(unsigned char *data, int nb, int apoll) nb 277 drivers/macintosh/adbhid.c if (nb != 3 || (data[0] & 3) != KEYB_KEYREG) nb 405 drivers/macintosh/adbhid.c adbhid_mouse_input(unsigned char *data, int nb, int autopoll) nb 484 drivers/macintosh/adbhid.c nb=4; nb 491 drivers/macintosh/adbhid.c if (nb >= 4 && adbhid[id]->mouse_kind != ADBMOUSE_TRACKPAD) nb 503 drivers/macintosh/adbhid.c adbhid_buttons_input(unsigned char *data, int nb, int autopoll) nb 185 drivers/macintosh/via-cuda.c static void cuda_input(unsigned char *buf, int nb); nb 742 drivers/macintosh/via-cuda.c cuda_input(unsigned char *buf, int nb) nb 747 drivers/macintosh/via-cuda.c if (nb == 5 && buf[2] == 0x2c) { nb 756 drivers/macintosh/via-cuda.c adb_input(buf+2, nb-2, buf[1] & 0x40); nb 768 drivers/macintosh/via-cuda.c buf, nb, false); nb 137 drivers/macintosh/windfarm.h extern int wf_register_client(struct notifier_block *nb); nb 138 drivers/macintosh/windfarm.h extern int wf_unregister_client(struct notifier_block *nb); nb 373 drivers/macintosh/windfarm_core.c int wf_register_client(struct notifier_block *nb) nb 380 drivers/macintosh/windfarm_core.c rc = blocking_notifier_chain_register(&wf_client_list, nb); nb 396 drivers/macintosh/windfarm_core.c int wf_unregister_client(struct notifier_block *nb) nb 399 drivers/macintosh/windfarm_core.c blocking_notifier_chain_unregister(&wf_client_list, nb); nb 87 drivers/macintosh/windfarm_fcu_controls.c unsigned char *buf, int nb) nb 109 drivers/macintosh/windfarm_fcu_controls.c nr = i2c_master_recv(pv->i2c, buf, nb); nb 123 drivers/macintosh/windfarm_fcu_controls.c const unsigned char *ptr, int nb) nb 129 drivers/macintosh/windfarm_fcu_controls.c memcpy(buf+1, ptr, nb); nb 130 drivers/macintosh/windfarm_fcu_controls.c ++nb; nb 133 drivers/macintosh/windfarm_fcu_controls.c nw = i2c_master_send(pv->i2c, buf, nb); nb 118 drivers/mailbox/pl320-ipc.c int pl320_ipc_register_notifier(struct notifier_block *nb) nb 120 drivers/mailbox/pl320-ipc.c return atomic_notifier_chain_register(&ipc_notifier, nb); nb 124 drivers/mailbox/pl320-ipc.c int pl320_ipc_unregister_notifier(struct notifier_block *nb) nb 126 drivers/mailbox/pl320-ipc.c return atomic_notifier_chain_unregister(&ipc_notifier, nb); nb 416 drivers/md/persistent-data/dm-space-map-common.c struct dm_block *nb; nb 428 drivers/md/persistent-data/dm-space-map-common.c &dm_sm_bitmap_validator, &nb, &inc); nb 433 drivers/md/persistent-data/dm-space-map-common.c ie_disk.blocknr = cpu_to_le64(dm_block_location(nb)); nb 435 drivers/md/persistent-data/dm-space-map-common.c bm_le = dm_bitmap_data(nb); nb 441 drivers/md/persistent-data/dm-space-map-common.c dm_tm_unlock(ll->tm, nb); nb 448 drivers/md/persistent-data/dm-space-map-common.c dm_tm_unlock(ll->tm, nb); nb 455 drivers/md/persistent-data/dm-space-map-common.c dm_tm_unlock(ll->tm, nb); nb 469 drivers/md/persistent-data/dm-space-map-common.c dm_tm_unlock(ll->tm, nb); nb 425 drivers/media/i2c/st-mipid02.c static int mipid02_configure_data0_lane(struct mipid02_dev *bridge, int nb, nb 430 drivers/media/i2c/st-mipid02.c if (nb == 1 && are_lanes_swap) nb 444 drivers/media/i2c/st-mipid02.c static int mipid02_configure_data1_lane(struct mipid02_dev *bridge, int nb, nb 449 drivers/media/i2c/st-mipid02.c if (nb == 1 && !are_lanes_swap) nb 464 drivers/media/i2c/st-mipid02.c int nb = ep->bus.mipi_csi2.num_data_lanes; nb 471 drivers/media/i2c/st-mipid02.c ret = mipid02_configure_data0_lane(bridge, nb, are_lanes_swap, nb 476 drivers/media/i2c/st-mipid02.c ret = mipid02_configure_data1_lane(bridge, nb, are_lanes_swap, nb 482 drivers/media/i2c/st-mipid02.c bridge->r.mode_reg1 |= (nb - 1) << 1; nb 902 drivers/media/pci/meye/meye.c static int meyeioc_qbuf_capt(int *nb) nb 907 drivers/media/pci/meye/meye.c if (*nb >= gbuffers) nb 910 drivers/media/pci/meye/meye.c if (*nb < 0) { nb 916 drivers/media/pci/meye/meye.c if (meye.grab_buffer[*nb].state != MEYE_BUF_UNUSED) nb 924 drivers/media/pci/meye/meye.c meye.grab_buffer[*nb].state = MEYE_BUF_USING; nb 925 drivers/media/pci/meye/meye.c kfifo_in_locked(&meye.grabq, (unsigned char *)nb, sizeof(int), nb 70 drivers/media/platform/cros-ec-cec/cros-ec-cec.c static int cros_ec_cec_event(struct notifier_block *nb, nb 77 drivers/media/platform/cros-ec-cec/cros-ec-cec.c cros_ec_cec = container_of(nb, struct cros_ec_cec, notifier); nb 300 drivers/media/usb/pvrusb2/pvrusb2-io.c struct pvr2_buffer **nb; nb 302 drivers/media/usb/pvrusb2/pvrusb2-io.c nb = kmalloc_array(scnt, sizeof(*nb), GFP_KERNEL); nb 303 drivers/media/usb/pvrusb2/pvrusb2-io.c if (!nb) return -ENOMEM; nb 305 drivers/media/usb/pvrusb2/pvrusb2-io.c memcpy(nb, sp->buffers, nb 306 drivers/media/usb/pvrusb2/pvrusb2-io.c sp->buffer_slot_count * sizeof(*nb)); nb 309 drivers/media/usb/pvrusb2/pvrusb2-io.c sp->buffers = nb; nb 336 drivers/media/usb/pvrusb2/pvrusb2-io.c struct pvr2_buffer **nb = NULL; nb 338 drivers/media/usb/pvrusb2/pvrusb2-io.c nb = kmemdup(sp->buffers, scnt * sizeof(*nb), nb 340 drivers/media/usb/pvrusb2/pvrusb2-io.c if (!nb) return -ENOMEM; nb 343 drivers/media/usb/pvrusb2/pvrusb2-io.c sp->buffers = nb; nb 164 drivers/media/usb/zr364xx/zr364xx.c int nb; nb 664 drivers/media/usb/zr364xx/zr364xx.c DBG("Bogus frame ? %d\n", ++(cam->nb)); nb 1478 drivers/media/usb/zr364xx/zr364xx.c cam->nb = 0; nb 247 drivers/memory/tegra/tegra20-emc.c static int tegra_emc_clk_change_notify(struct notifier_block *nb, nb 250 drivers/memory/tegra/tegra20-emc.c struct tegra_emc *emc = container_of(nb, struct tegra_emc, clk_nb); nb 361 drivers/mfd/ab3100-core.c struct notifier_block *nb) nb 364 drivers/mfd/ab3100-core.c nb); nb 372 drivers/mfd/ab3100-core.c struct notifier_block *nb) nb 375 drivers/mfd/ab3100-core.c nb); nb 143 drivers/mfd/adp5520.c int adp5520_register_notifier(struct device *dev, struct notifier_block *nb, nb 154 drivers/mfd/adp5520.c nb); nb 161 drivers/mfd/adp5520.c int adp5520_unregister_notifier(struct device *dev, struct notifier_block *nb, nb 170 drivers/mfd/adp5520.c return blocking_notifier_chain_unregister(&chip->notifier_list, nb); nb 126 drivers/mfd/da903x.c int da903x_register_notifier(struct device *dev, struct notifier_block *nb, nb 132 drivers/mfd/da903x.c return blocking_notifier_chain_register(&chip->notifier_list, nb); nb 136 drivers/mfd/da903x.c int da903x_unregister_notifier(struct device *dev, struct notifier_block *nb, nb 142 drivers/mfd/da903x.c return blocking_notifier_chain_unregister(&chip->notifier_list, nb); nb 211 drivers/mfd/rave-sp.c struct notifier_block *nb = *(struct notifier_block **)res; nb 214 drivers/mfd/rave-sp.c WARN_ON(blocking_notifier_chain_unregister(bnh, nb)); nb 218 drivers/mfd/rave-sp.c struct notifier_block *nb) nb 229 drivers/mfd/rave-sp.c ret = blocking_notifier_chain_register(&sp->event_notifier_list, nb); nb 231 drivers/mfd/rave-sp.c *rcnb = nb; nb 34 drivers/misc/pvpanic.c pvpanic_panic_notify(struct notifier_block *nb, unsigned long code, nb 1054 drivers/misc/sgi-xp/xpc_main.c xpc_system_reboot(struct notifier_block *nb, unsigned long event, void *unused) nb 1162 drivers/misc/sgi-xp/xpc_main.c xpc_system_die(struct notifier_block *nb, unsigned long event, void *_die_args) nb 1062 drivers/mmc/host/davinci_mmc.c static int mmc_davinci_cpufreq_transition(struct notifier_block *nb, nb 1070 drivers/mmc/host/davinci_mmc.c host = container_of(nb, struct mmc_davinci_host, freq_transition); nb 1329 drivers/mmc/host/s3cmci.c static int s3cmci_cpufreq_transition(struct notifier_block *nb, nb 1337 drivers/mmc/host/s3cmci.c host = container_of(nb, struct s3cmci_host, freq_transition); nb 2654 drivers/mtd/chips/cfi_cmdset_0001.c static int cfi_intelext_reboot(struct notifier_block *nb, unsigned long val, nb 2659 drivers/mtd/chips/cfi_cmdset_0001.c mtd = container_of(nb, struct mtd_info, reboot_notifier); nb 3088 drivers/mtd/chips/cfi_cmdset_0002.c static int cfi_amdstd_reboot(struct notifier_block *nb, unsigned long val, nb 3093 drivers/mtd/chips/cfi_cmdset_0002.c mtd = container_of(nb, struct mtd_info, reboot_notifier); nb 143 drivers/mtd/maps/nettel.c static int nettel_reboot_notifier(struct notifier_block *nb, unsigned long val, void *v) nb 717 drivers/mtd/nand/raw/s3c2410.c static int s3c2410_nand_cpufreq_transition(struct notifier_block *nb, nb 723 drivers/mtd/nand/raw/s3c2410.c info = container_of(nb, struct s3c2410_nand_info, freq_transition); nb 569 drivers/mtd/ubi/block.c static int ubiblock_notify(struct notifier_block *nb, nb 186 drivers/mtd/ubi/build.c int ubi_notify_all(struct ubi_device *ubi, int ntype, struct notifier_block *nb) nb 204 drivers/mtd/ubi/build.c if (nb) nb 205 drivers/mtd/ubi/build.c nb->notifier_call(nb, ntype, &nt); nb 225 drivers/mtd/ubi/build.c int ubi_enumerate_volumes(struct notifier_block *nb) nb 238 drivers/mtd/ubi/build.c count += ubi_notify_all(ubi, UBI_VOLUME_ADDED, nb); nb 444 drivers/mtd/ubi/gluebi.c static int gluebi_notify(struct notifier_block *nb, unsigned long l, nb 818 drivers/mtd/ubi/kapi.c int ubi_register_volume_notifier(struct notifier_block *nb, nb 823 drivers/mtd/ubi/kapi.c err = blocking_notifier_chain_register(&ubi_notifiers, nb); nb 836 drivers/mtd/ubi/kapi.c ubi_enumerate_volumes(nb); nb 850 drivers/mtd/ubi/kapi.c int ubi_unregister_volume_notifier(struct notifier_block *nb) nb 852 drivers/mtd/ubi/kapi.c return blocking_notifier_chain_unregister(&ubi_notifiers, nb); nb 949 drivers/mtd/ubi/ubi.h struct notifier_block *nb); nb 950 drivers/mtd/ubi/ubi.h int ubi_enumerate_volumes(struct notifier_block *nb); nb 100 drivers/net/can/led.c static int can_led_notifier(struct notifier_block *nb, unsigned long msg, nb 436 drivers/net/ethernet/amd/xgbe/xgbe-main.c static int xgbe_netdev_event(struct notifier_block *nb, unsigned long event, nb 240 drivers/net/ethernet/apple/bmac.c bmac_mif_readbits(struct net_device *dev, int nb) nb 244 drivers/net/ethernet/apple/bmac.c while (--nb >= 0) { nb 248 drivers/net/ethernet/apple/bmac.c val |= 1 << nb; nb 260 drivers/net/ethernet/apple/bmac.c bmac_mif_writebits(struct net_device *dev, unsigned int val, int nb) nb 264 drivers/net/ethernet/apple/bmac.c while (--nb >= 0) { nb 265 drivers/net/ethernet/apple/bmac.c b = (val & (1 << nb))? 6: 4; nb 680 drivers/net/ethernet/apple/bmac.c int i, nb, stat; nb 701 drivers/net/ethernet/apple/bmac.c nb = RX_BUFLEN - residual - 2; nb 702 drivers/net/ethernet/apple/bmac.c if (nb < (ETHERMINPACKET - ETHERCRC)) { nb 711 drivers/net/ethernet/apple/bmac.c nb -= ETHERCRC; nb 712 drivers/net/ethernet/apple/bmac.c skb_put(skb, nb); nb 716 drivers/net/ethernet/apple/bmac.c dev->stats.rx_bytes += nb; nb 880 drivers/net/ethernet/apple/mace.c int i, nb, stat, next; nb 903 drivers/net/ethernet/apple/mace.c nb = le16_to_cpu(cp->req_count) - le16_to_cpu(cp->res_count); nb 909 drivers/net/ethernet/apple/mace.c } else if (nb > 8) { nb 911 drivers/net/ethernet/apple/mace.c frame_status = (data[nb-3] << 8) + data[nb-4]; nb 926 drivers/net/ethernet/apple/mace.c nb -= 4; nb 928 drivers/net/ethernet/apple/mace.c nb -= 8; nb 929 drivers/net/ethernet/apple/mace.c skb_put(skb, nb); nb 2268 drivers/net/ethernet/broadcom/bcmsysport.c static int bcm_sysport_map_queues(struct notifier_block *nb, nb 2278 drivers/net/ethernet/broadcom/bcmsysport.c priv = container_of(nb, struct bcm_sysport_priv, dsa_notifier); nb 2334 drivers/net/ethernet/broadcom/bcmsysport.c static int bcm_sysport_unmap_queues(struct notifier_block *nb, nb 2344 drivers/net/ethernet/broadcom/bcmsysport.c priv = container_of(nb, struct bcm_sysport_priv, dsa_notifier); nb 2375 drivers/net/ethernet/broadcom/bcmsysport.c static int bcm_sysport_dsa_notifier(struct notifier_block *nb, nb 2382 drivers/net/ethernet/broadcom/bcmsysport.c ret = bcm_sysport_map_queues(nb, ptr); nb 2385 drivers/net/ethernet/broadcom/bcmsysport.c ret = bcm_sysport_unmap_queues(nb, ptr); nb 607 drivers/net/ethernet/cavium/liquidio/lio_vf_rep.c lio_vf_rep_netdev_event(struct notifier_block *nb, nb 983 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c static struct notifier_block nb = { nb 1266 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c register_netevent_notifier(&nb); nb 1296 drivers/net/ethernet/chelsio/cxgb3/cxgb3_offload.c unregister_netevent_notifier(&nb); nb 1986 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static int netevent_cb(struct notifier_block *nb, unsigned long event, nb 278 drivers/net/ethernet/hisilicon/hns/hnae.c int hnae_register_notifier(struct notifier_block *nb) nb 280 drivers/net/ethernet/hisilicon/hns/hnae.c return raw_notifier_chain_register(&ae_chain, nb); nb 284 drivers/net/ethernet/hisilicon/hns/hnae.c void hnae_unregister_notifier(struct notifier_block *nb) nb 286 drivers/net/ethernet/hisilicon/hns/hnae.c if (raw_notifier_chain_unregister(&ae_chain, nb)) nb 581 drivers/net/ethernet/hisilicon/hns/hnae.h int hnae_register_notifier(struct notifier_block *nb); nb 582 drivers/net/ethernet/hisilicon/hns/hnae.h void hnae_unregister_notifier(struct notifier_block *nb); nb 2243 drivers/net/ethernet/hisilicon/hns/hns_enet.c static int hns_nic_notifier_action(struct notifier_block *nb, nb 2247 drivers/net/ethernet/hisilicon/hns/hns_enet.c container_of(nb, struct hns_nic_priv, notifier_block); nb 3225 drivers/net/ethernet/ibm/ehea/ehea_main.c static int ehea_reboot_notifier(struct notifier_block *nb, nb 3239 drivers/net/ethernet/ibm/ehea/ehea_main.c static int ehea_mem_notifier(struct notifier_block *nb, nb 2401 drivers/net/ethernet/ibm/emac/core.c static int emac_of_bus_notify(struct notifier_block *nb, unsigned long action, nb 6706 drivers/net/ethernet/intel/igb/igb_main.c static int igb_notify_dca(struct notifier_block *nb, unsigned long event, nb 11555 drivers/net/ethernet/intel/ixgbe/ixgbe_main.c static int ixgbe_notify_dca(struct notifier_block *nb, unsigned long event, nb 246 drivers/net/ethernet/mellanox/mlx4/en_main.c if (mdev->nb.notifier_call) nb 247 drivers/net/ethernet/mellanox/mlx4/en_main.c unregister_netdevice_notifier(&mdev->nb); nb 264 drivers/net/ethernet/mellanox/mlx4/en_main.c mdev->nb.notifier_call = mlx4_en_netdev_event; nb 265 drivers/net/ethernet/mellanox/mlx4/en_main.c if (register_netdevice_notifier(&mdev->nb)) { nb 266 drivers/net/ethernet/mellanox/mlx4/en_main.c mdev->nb.notifier_call = NULL; nb 3048 drivers/net/ethernet/mellanox/mlx4/en_netdev.c mdev = container_of(this, struct mlx4_en_dev, nb); nb 1016 drivers/net/ethernet/mellanox/mlx4/en_rx.c int pad, nb; nb 1026 drivers/net/ethernet/mellanox/mlx4/en_rx.c nb = PAGE_SIZE / frag_stride; nb 1027 drivers/net/ethernet/mellanox/mlx4/en_rx.c pad = (PAGE_SIZE - nb * frag_stride) / nb; nb 438 drivers/net/ethernet/mellanox/mlx4/mlx4_en.h struct notifier_block nb; nb 1424 drivers/net/ethernet/mellanox/mlx5/core/cmd.c static int cmd_comp_notifier(struct notifier_block *nb, nb 1431 drivers/net/ethernet/mellanox/mlx5/core/cmd.c cmd = mlx5_nb_cof(nb, struct mlx5_cmd, nb); nb 1441 drivers/net/ethernet/mellanox/mlx5/core/cmd.c MLX5_NB_INIT(&dev->cmd.nb, cmd_comp_notifier, CMD); nb 1442 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_eq_notifier_register(dev, &dev->cmd.nb); nb 1449 drivers/net/ethernet/mellanox/mlx5/core/cmd.c mlx5_eq_notifier_unregister(dev, &dev->cmd.nb); nb 989 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c static int fw_tracer_event(struct notifier_block *nb, unsigned long action, void *data); nb 1017 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c MLX5_NB_INIT(&tracer->nb, fw_tracer_event, DEVICE_TRACER); nb 1018 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_eq_notifier_register(dev, &tracer->nb); nb 1037 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c mlx5_eq_notifier_unregister(tracer->dev, &tracer->nb); nb 1067 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c static int fw_tracer_event(struct notifier_block *nb, unsigned long action, void *data) nb 1069 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.c struct mlx5_fw_tracer *tracer = mlx5_nb_cof(nb, struct mlx5_fw_tracer, nb); nb 68 drivers/net/ethernet/mellanox/mlx5/core/diag/fw_tracer.h struct mlx5_nb nb; nb 60 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c static int mlx5e_monitor_event_handler(struct notifier_block *nb, nb 63 drivers/net/ethernet/mellanox/mlx5/core/en/monitor_stats.c struct mlx5e_priv *priv = mlx5_nb_cof(nb, struct mlx5e_priv, nb 201 drivers/net/ethernet/mellanox/mlx5/core/en_main.c static int async_event(struct notifier_block *nb, unsigned long event, void *data) nb 203 drivers/net/ethernet/mellanox/mlx5/core/en_main.c struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); nb 856 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c static int mlx5e_nic_rep_netdevice_event(struct notifier_block *nb, nb 859 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct mlx5e_rep_priv *rpriv = container_of(nb, struct mlx5e_rep_priv, nb 905 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c static int mlx5e_rep_netevent_event(struct notifier_block *nb, nb 908 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct mlx5e_rep_priv *rpriv = container_of(nb, struct mlx5e_rep_priv, nb 1694 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c static int uplink_rep_async_event(struct notifier_block *nb, unsigned long event, void *data) nb 1696 drivers/net/ethernet/mellanox/mlx5/core/en_rep.c struct mlx5e_priv *priv = container_of(nb, struct mlx5e_priv, events_nb); nb 128 drivers/net/ethernet/mellanox/mlx5/core/eq.c static int mlx5_eq_comp_int(struct notifier_block *nb, nb 133 drivers/net/ethernet/mellanox/mlx5/core/eq.c container_of(nb, struct mlx5_eq_comp, irq_nb); nb 193 drivers/net/ethernet/mellanox/mlx5/core/eq.c static int mlx5_eq_async_int(struct notifier_block *nb, nb 197 drivers/net/ethernet/mellanox/mlx5/core/eq.c container_of(nb, struct mlx5_eq_async, irq_nb); nb 336 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct notifier_block *nb) nb 341 drivers/net/ethernet/mellanox/mlx5/core/eq.c err = mlx5_irq_attach_nb(eq_table->irq_table, eq->vecidx, nb); nb 358 drivers/net/ethernet/mellanox/mlx5/core/eq.c struct notifier_block *nb) nb 362 drivers/net/ethernet/mellanox/mlx5/core/eq.c mlx5_irq_detach_nb(eq_table->irq_table, eq->vecidx, nb); nb 474 drivers/net/ethernet/mellanox/mlx5/core/eq.c static int cq_err_event_notifier(struct notifier_block *nb, nb 485 drivers/net/ethernet/mellanox/mlx5/core/eq.c eqt = mlx5_nb_cof(nb, struct mlx5_eq_table, cq_err_nb); nb 937 drivers/net/ethernet/mellanox/mlx5/core/eq.c int mlx5_eq_notifier_register(struct mlx5_core_dev *dev, struct mlx5_nb *nb) nb 941 drivers/net/ethernet/mellanox/mlx5/core/eq.c return atomic_notifier_chain_register(&eqt->nh[nb->event_type], &nb->nb); nb 945 drivers/net/ethernet/mellanox/mlx5/core/eq.c int mlx5_eq_notifier_unregister(struct mlx5_core_dev *dev, struct mlx5_nb *nb) nb 949 drivers/net/ethernet/mellanox/mlx5/core/eq.c return atomic_notifier_chain_unregister(&eqt->nh[nb->event_type], &nb->nb); nb 1763 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c static int eswitch_vport_event(struct notifier_block *nb, nb 1766 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c struct mlx5_eswitch *esw = mlx5_nb_cof(nb, struct mlx5_eswitch, nb); nb 1814 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_NB_INIT(&esw->nb, eswitch_vport_event, NIC_VPORT_CHANGE); nb 1815 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eq_notifier_register(esw->dev, &esw->nb); nb 1818 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c MLX5_NB_INIT(&esw->esw_funcs.nb, mlx5_esw_funcs_changed_handler, nb 1820 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eq_notifier_register(esw->dev, &esw->esw_funcs.nb); nb 1827 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eq_notifier_unregister(esw->dev, &esw->esw_funcs.nb); nb 1829 drivers/net/ethernet/mellanox/mlx5/core/eswitch.c mlx5_eq_notifier_unregister(esw->dev, &esw->nb); nb 209 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h struct mlx5_nb nb; nb 219 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h struct mlx5_nb nb; nb 594 drivers/net/ethernet/mellanox/mlx5/core/eswitch.h int mlx5_esw_funcs_changed_handler(struct notifier_block *nb, unsigned long type, void *data); nb 2132 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c int mlx5_esw_funcs_changed_handler(struct notifier_block *nb, unsigned long type, void *data) nb 2142 drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c esw_funcs = mlx5_nb_cof(nb, struct mlx5_esw_functions, nb); nb 11 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_nb nb; nb 31 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = any_notifier, .event_type = MLX5_EVENT_TYPE_NOTIFY_ANY }, nb 32 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = temp_warn, .event_type = MLX5_EVENT_TYPE_TEMP_WARN_EVENT }, nb 33 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = port_module, .event_type = MLX5_EVENT_TYPE_PORT_MODULE_EVENT }, nb 34 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = pcie_core, .event_type = MLX5_EVENT_TYPE_GENERAL_EVENT }, nb 37 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_PORT_CHANGE }, nb 38 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_GENERAL_EVENT }, nb 40 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_DCT_DRAINED }, nb 41 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_PATH_MIG }, nb 42 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_COMM_EST }, nb 43 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_SQ_DRAINED }, nb 44 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_SRQ_LAST_WQE }, nb 45 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_WQ_CATAS_ERROR }, nb 46 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_PATH_MIG_FAILED }, nb 47 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_WQ_INVAL_REQ_ERROR }, nb 48 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_WQ_ACCESS_ERROR }, nb 50 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_SRQ_CATAS_ERROR }, nb 51 drivers/net/ethernet/mellanox/mlx5/core/events.c {.nb.notifier_call = forward_event, .event_type = MLX5_EVENT_TYPE_SRQ_RQ_LIMIT }, nb 137 drivers/net/ethernet/mellanox/mlx5/core/events.c static int any_notifier(struct notifier_block *nb, nb 140 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_event_nb *event_nb = mlx5_nb_cof(nb, struct mlx5_event_nb, nb); nb 150 drivers/net/ethernet/mellanox/mlx5/core/events.c static int temp_warn(struct notifier_block *nb, unsigned long type, void *data) nb 152 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_event_nb *event_nb = mlx5_nb_cof(nb, struct mlx5_event_nb, nb); nb 212 drivers/net/ethernet/mellanox/mlx5/core/events.c static int port_module(struct notifier_block *nb, unsigned long type, void *data) nb 214 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_event_nb *event_nb = mlx5_nb_cof(nb, struct mlx5_event_nb, nb); nb 301 drivers/net/ethernet/mellanox/mlx5/core/events.c static int pcie_core(struct notifier_block *nb, unsigned long type, void *data) nb 303 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_event_nb *event_nb = mlx5_nb_cof(nb, nb 305 drivers/net/ethernet/mellanox/mlx5/core/events.c nb); nb 326 drivers/net/ethernet/mellanox/mlx5/core/events.c static int forward_event(struct notifier_block *nb, unsigned long event, void *data) nb 328 drivers/net/ethernet/mellanox/mlx5/core/events.c struct mlx5_event_nb *event_nb = mlx5_nb_cof(nb, struct mlx5_event_nb, nb); nb 370 drivers/net/ethernet/mellanox/mlx5/core/events.c events->notifiers[i].nb = events_nbs_ref[i]; nb 372 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_eq_notifier_register(dev, &events->notifiers[i].nb); nb 382 drivers/net/ethernet/mellanox/mlx5/core/events.c mlx5_eq_notifier_unregister(dev, &events->notifiers[i].nb); nb 386 drivers/net/ethernet/mellanox/mlx5/core/events.c int mlx5_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb) nb 390 drivers/net/ethernet/mellanox/mlx5/core/events.c return atomic_notifier_chain_register(&events->nh, nb); nb 394 drivers/net/ethernet/mellanox/mlx5/core/events.c int mlx5_notifier_unregister(struct mlx5_core_dev *dev, struct notifier_block *nb) nb 398 drivers/net/ethernet/mellanox/mlx5/core/events.c return atomic_notifier_chain_unregister(&events->nh, nb); nb 151 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c static int fpga_err_event(struct notifier_block *nb, unsigned long event, void *eqe) nb 153 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c struct mlx5_fpga_device *fdev = mlx5_nb_cof(nb, struct mlx5_fpga_device, fpga_err_nb); nb 158 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c static int fpga_qp_err_event(struct notifier_block *nb, unsigned long event, void *eqe) nb 160 drivers/net/ethernet/mellanox/mlx5/core/fpga/core.c struct mlx5_fpga_device *fdev = mlx5_nb_cof(nb, struct mlx5_fpga_device, fpga_qp_err_nb); nb 470 drivers/net/ethernet/mellanox/mlx5/core/lag.c ldev = container_of(this, struct mlx5_lag, nb); nb 584 drivers/net/ethernet/mellanox/mlx5/core/lag.c if (!ldev->nb.notifier_call) { nb 585 drivers/net/ethernet/mellanox/mlx5/core/lag.c ldev->nb.notifier_call = mlx5_lag_netdev_event; nb 586 drivers/net/ethernet/mellanox/mlx5/core/lag.c if (register_netdevice_notifier(&ldev->nb)) { nb 587 drivers/net/ethernet/mellanox/mlx5/core/lag.c ldev->nb.notifier_call = NULL; nb 618 drivers/net/ethernet/mellanox/mlx5/core/lag.c if (ldev->nb.notifier_call) nb 619 drivers/net/ethernet/mellanox/mlx5/core/lag.c unregister_netdevice_notifier(&ldev->nb); nb 41 drivers/net/ethernet/mellanox/mlx5/core/lag.h struct notifier_block nb; nb 91 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c static void mlx5_lag_fib_event_flush(struct notifier_block *nb) nb 93 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); nb 238 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c static int mlx5_lag_fib_event(struct notifier_block *nb, nb 242 drivers/net/ethernet/mellanox/mlx5/core/lag_mp.c struct lag_mp *mp = container_of(nb, struct lag_mp, fib_nb); nb 464 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c static int mlx5_pps_event(struct notifier_block *nb, nb 467 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c struct mlx5_clock *clock = mlx5_nb_cof(nb, struct mlx5_clock, pps_nb); nb 167 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h struct notifier_block *nb); nb 169 drivers/net/ethernet/mellanox/mlx5/core/mlx5_core.h struct notifier_block *nb); nb 452 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c static int req_pages_handler(struct notifier_block *nb, nb 463 drivers/net/ethernet/mellanox/mlx5/core/pagealloc.c priv = mlx5_nb_cof(nb, struct mlx5_priv, pg_nb); nb 59 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c struct notifier_block *nb) nb 64 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c return atomic_notifier_chain_register(&irq->nh, nb); nb 68 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c struct notifier_block *nb) nb 73 drivers/net/ethernet/mellanox/mlx5/core/pci_irq.c return atomic_notifier_chain_unregister(&irq->nh, nb); nb 122 drivers/net/ethernet/mellanox/mlx5/core/qp.c static int rsc_event_notifier(struct notifier_block *nb, nb 157 drivers/net/ethernet/mellanox/mlx5/core/qp.c table = container_of(nb, struct mlx5_qp_table, nb); nb 533 drivers/net/ethernet/mellanox/mlx5/core/qp.c table->nb.notifier_call = rsc_event_notifier; nb 534 drivers/net/ethernet/mellanox/mlx5/core/qp.c mlx5_notifier_register(dev, &table->nb); nb 541 drivers/net/ethernet/mellanox/mlx5/core/qp.c mlx5_notifier_unregister(dev, &table->nb); nb 6437 drivers/net/ethernet/mellanox/mlxsw/spectrum.c static int mlxsw_sp_netdevice_event(struct notifier_block *nb, nb 6445 drivers/net/ethernet/mellanox/mlxsw/spectrum.c mlxsw_sp = container_of(nb, struct mlxsw_sp, netdevice_nb); nb 2531 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c struct notifier_block *nb, nb 2544 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c router = container_of(nb, struct mlxsw_sp_router, netevent_nb); nb 2551 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static int mlxsw_sp_router_netevent_event(struct notifier_block *nb, nb 2613 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_router_schedule_work(ptr, nb, nb 2617 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c return mlxsw_sp_router_schedule_work(ptr, nb, nb 6233 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static int mlxsw_sp_router_fib_event(struct notifier_block *nb, nb 6247 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c router = container_of(nb, struct mlxsw_sp_router, fib_nb); nb 7024 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static int mlxsw_sp_inetaddr_event(struct notifier_block *nb, nb 7037 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c router = container_of(nb, struct mlxsw_sp_router, inetaddr_nb); nb 7104 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static int mlxsw_sp_inet6addr_event(struct notifier_block *nb, nb 7120 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c router = container_of(nb, struct mlxsw_sp_router, inet6addr_nb); nb 7944 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c static void mlxsw_sp_router_fib_dump_flush(struct notifier_block *nb) nb 7953 drivers/net/ethernet/mellanox/mlxsw/spectrum_router.c router = container_of(nb, struct mlxsw_sp_router, fib_nb); nb 3481 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct notifier_block *nb; nb 3496 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c nb = &mlxsw_sp_switchdev_blocking_notifier; nb 3497 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c err = register_switchdev_blocking_notifier(nb); nb 3515 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c struct notifier_block *nb; nb 3519 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c nb = &mlxsw_sp_switchdev_blocking_notifier; nb 3520 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c unregister_switchdev_blocking_notifier(nb); nb 4046 drivers/net/ethernet/myricom/myri10ge/myri10ge.c myri10ge_notify_dca(struct notifier_block *nb, unsigned long event, void *p) nb 326 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c nfp_tun_neigh_event_handler(struct notifier_block *nb, unsigned long event, nb 351 drivers/net/ethernet/netronome/nfp/flower/tunnel_conf.c app_priv = container_of(nb, struct nfp_flower_priv, tun.neigh_nb); nb 174 drivers/net/ethernet/netronome/nfp/nfp_app.c nfp_app_netdev_event(struct notifier_block *nb, unsigned long event, void *ptr) nb 180 drivers/net/ethernet/netronome/nfp/nfp_app.c app = container_of(nb, struct nfp_app, netdev_nb); nb 48 drivers/net/ethernet/pensando/ionic/ionic.h struct notifier_block nb; nb 2103 drivers/net/ethernet/pensando/ionic/ionic_lif.c static int ionic_lif_notify(struct notifier_block *nb, nb 2107 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct ionic *ionic = container_of(nb, struct ionic, nb); nb 2128 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic->nb.notifier_call = ionic_lif_notify; nb 2130 drivers/net/ethernet/pensando/ionic/ionic_lif.c err = register_netdevice_notifier(&ionic->nb); nb 2132 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic->nb.notifier_call = NULL; nb 2149 drivers/net/ethernet/pensando/ionic/ionic_lif.c if (ionic->nb.notifier_call) { nb 2150 drivers/net/ethernet/pensando/ionic/ionic_lif.c unregister_netdevice_notifier(&ionic->nb); nb 2152 drivers/net/ethernet/pensando/ionic/ionic_lif.c ionic->nb.notifier_call = NULL; nb 236 drivers/net/ethernet/qualcomm/rmnet/rmnet_config.c static int rmnet_config_notify_cb(struct notifier_block *nb, nb 2185 drivers/net/ethernet/rocker/rocker_main.c static int rocker_router_fib_event(struct notifier_block *nb, nb 2188 drivers/net/ethernet/rocker/rocker_main.c struct rocker *rocker = container_of(nb, struct rocker, fib_nb); nb 2891 drivers/net/ethernet/rocker/rocker_main.c struct notifier_block *nb; nb 3007 drivers/net/ethernet/rocker/rocker_main.c nb = &rocker_switchdev_blocking_notifier; nb 3008 drivers/net/ethernet/rocker/rocker_main.c err = register_switchdev_blocking_notifier(nb); nb 3054 drivers/net/ethernet/rocker/rocker_main.c struct notifier_block *nb; nb 3056 drivers/net/ethernet/rocker/rocker_main.c nb = &rocker_switchdev_blocking_notifier; nb 3057 drivers/net/ethernet/rocker/rocker_main.c unregister_switchdev_blocking_notifier(nb); nb 3663 drivers/net/ethernet/via/via-velocity.c static int velocity_netdev_event(struct notifier_block *nb, unsigned long notification, void *ptr) nb 550 drivers/net/ieee802154/adf7242.c size_t nb = (i >= PRAM_PAGESIZE) ? PRAM_PAGESIZE : i; nb 553 drivers/net/ieee802154/adf7242.c adf7242_read_fbuf(lp, buf, nb, false); nb 555 drivers/net/ieee802154/adf7242.c for (j = 0; j < nb; j++) { nb 178 drivers/net/netdevsim/fib.c static int nsim_fib_event_nb(struct notifier_block *nb, unsigned long event, nb 200 drivers/net/netdevsim/fib.c static void nsim_fib_dump_inconsistent(struct notifier_block *nb) nb 635 drivers/net/rionet.c static int rionet_shutdown(struct notifier_block *nb, unsigned long code, nb 4247 drivers/net/usb/r8152.c static int rtl_notifier(struct notifier_block *nb, unsigned long action, nb 4250 drivers/net/usb/r8152.c struct r8152 *tp = container_of(nb, struct r8152, pm_notifier); nb 569 drivers/net/vxlan.c static int vxlan_fdb_notify_one(struct notifier_block *nb, nb 579 drivers/net/vxlan.c rc = nb->notifier_call(nb, SWITCHDEV_VXLAN_FDB_ADD_TO_DEVICE, nb 585 drivers/net/vxlan.c struct notifier_block *nb, nb 603 drivers/net/vxlan.c rc = vxlan_fdb_notify_one(nb, vxlan, nb 114 drivers/net/wireless/ath/ath10k/qmi.h int ath10k_qmi_register_service_notifier(struct notifier_block *nb); nb 559 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c uint nb, banksize, lss; nb 574 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c nb = (coreinfo & SRCI_SRNB_MASK) >> SRCI_SRNB_SHIFT; nb 580 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c nb--; nb 581 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c *ramsize = nb * (1 << (banksize + SR_BSZ_BASE)); nb 587 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c nb = (coreinfo & (SRCI_SRNB_MASK | SRCI_SRNB_MASK_EXT)) nb 590 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c nb = (coreinfo & SRCI_SRNB_MASK) >> SRCI_SRNB_SHIFT; nb 592 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c for (i = 0; i < nb; i++) { nb 623 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c u32 nb; nb 630 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c nb = (coreinfo & SRCI_SRNB_MASK) >> SRCI_SRNB_SHIFT; nb 632 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c for (idx = 0; idx < nb; idx++) { nb 909 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c static int brcmf_inetaddr_changed(struct notifier_block *nb, nb 912 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c struct brcmf_pub *drvr = container_of(nb, struct brcmf_pub, nb 1000 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c static int brcmf_inet6addr_changed(struct notifier_block *nb, nb 1003 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c struct brcmf_pub *drvr = container_of(nb, struct brcmf_pub, nb 70 drivers/net/wireless/intel/iwlwifi/fw/api/coex.h #define BITS(nb) (BIT(nb) - 1) nb 3804 drivers/net/wireless/mac80211_hwsim.c static int mac80211_hwsim_netlink_notify(struct notifier_block *nb, nb 106 drivers/net/wireless/marvell/libertas/dev.h int (*hw_host_to_card) (struct lbs_private *priv, u8 type, u8 *payload, u16 nb); nb 337 drivers/net/wireless/marvell/libertas/if_cs.c static int if_cs_send_cmd(struct lbs_private *priv, u8 *buf, u16 nb) nb 357 drivers/net/wireless/marvell/libertas/if_cs.c if_cs_write16(card, IF_CS_CMD_LEN, nb); nb 359 drivers/net/wireless/marvell/libertas/if_cs.c if_cs_write16_rep(card, IF_CS_CMD, buf, nb / 2); nb 361 drivers/net/wireless/marvell/libertas/if_cs.c if (nb & 1) nb 362 drivers/net/wireless/marvell/libertas/if_cs.c if_cs_write8(card, IF_CS_CMD, buf[nb-1]); nb 381 drivers/net/wireless/marvell/libertas/if_cs.c static void if_cs_send_data(struct lbs_private *priv, u8 *buf, u16 nb) nb 391 drivers/net/wireless/marvell/libertas/if_cs.c if_cs_write16(card, IF_CS_WRITE_LEN, nb); nb 394 drivers/net/wireless/marvell/libertas/if_cs.c if_cs_write16_rep(card, IF_CS_WRITE, buf, nb / 2); nb 395 drivers/net/wireless/marvell/libertas/if_cs.c if (nb & 1) nb 396 drivers/net/wireless/marvell/libertas/if_cs.c if_cs_write8(card, IF_CS_WRITE, buf[nb-1]); nb 756 drivers/net/wireless/marvell/libertas/if_cs.c u16 nb) nb 763 drivers/net/wireless/marvell/libertas/if_cs.c if_cs_send_data(priv, buf, nb); nb 768 drivers/net/wireless/marvell/libertas/if_cs.c ret = if_cs_send_cmd(priv, buf, nb); nb 105 drivers/net/wireless/marvell/libertas/if_sdio.c u16 nb; nb 420 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer, packet->nb); nb 908 drivers/net/wireless/marvell/libertas/if_sdio.c u8 type, u8 *buf, u16 nb) nb 918 drivers/net/wireless/marvell/libertas/if_sdio.c if (nb > (65536 - sizeof(struct if_sdio_packet) - 4)) { nb 928 drivers/net/wireless/marvell/libertas/if_sdio.c size = sdio_align_size(card->func, nb + 4); nb 938 drivers/net/wireless/marvell/libertas/if_sdio.c packet->nb = size; nb 943 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer[0] = (nb + 4) & 0xff; nb 944 drivers/net/wireless/marvell/libertas/if_sdio.c packet->buffer[1] = ((nb + 4) >> 8) & 0xff; nb 948 drivers/net/wireless/marvell/libertas/if_sdio.c memcpy(packet->buffer + 4, buf, nb); nb 935 drivers/net/wireless/marvell/libertas/if_spi.c u8 type, u8 *buf, u16 nb) nb 943 drivers/net/wireless/marvell/libertas/if_spi.c if (nb == 0) { nb 945 drivers/net/wireless/marvell/libertas/if_spi.c __func__, nb); nb 949 drivers/net/wireless/marvell/libertas/if_spi.c blen = ALIGN(nb, 4); nb 956 drivers/net/wireless/marvell/libertas/if_spi.c memcpy(packet->buffer, buf, nb); nb 957 drivers/net/wireless/marvell/libertas/if_spi.c memset(packet->buffer + nb, 0, blen - nb); nb 72 drivers/net/wireless/marvell/libertas/if_usb.c uint8_t *payload, uint16_t nb); nb 74 drivers/net/wireless/marvell/libertas/if_usb.c uint16_t nb); nb 415 drivers/net/wireless/marvell/libertas/if_usb.c static int usb_tx_block(struct if_usb_card *cardp, uint8_t *payload, uint16_t nb) nb 429 drivers/net/wireless/marvell/libertas/if_usb.c payload, nb, if_usb_write_bulk_callback, cardp); nb 726 drivers/net/wireless/marvell/libertas/if_usb.c uint8_t *payload, uint16_t nb) nb 731 drivers/net/wireless/marvell/libertas/if_usb.c lbs_deb_usbd(&cardp->udev->dev,"size after = %d\n", nb); nb 741 drivers/net/wireless/marvell/libertas/if_usb.c memcpy((cardp->ep_out_buf + MESSAGE_HEADER_LEN), payload, nb); nb 743 drivers/net/wireless/marvell/libertas/if_usb.c return usb_tx_block(cardp, cardp->ep_out_buf, nb + MESSAGE_HEADER_LEN); nb 43 drivers/net/wireless/marvell/libertas_tf/if_usb.c uint8_t *payload, uint16_t nb); nb 45 drivers/net/wireless/marvell/libertas_tf/if_usb.c uint16_t nb, u8 data); nb 371 drivers/net/wireless/marvell/libertas_tf/if_usb.c uint16_t nb, u8 data) nb 391 drivers/net/wireless/marvell/libertas_tf/if_usb.c payload, nb, if_usb_write_bulk_callback, cardp); nb 713 drivers/net/wireless/marvell/libertas_tf/if_usb.c uint8_t *payload, uint16_t nb) nb 719 drivers/net/wireless/marvell/libertas_tf/if_usb.c lbtf_deb_usbd(&cardp->udev->dev, "size after = %d\n", nb); nb 728 drivers/net/wireless/marvell/libertas_tf/if_usb.c memcpy((cardp->ep_out_buf + MESSAGE_HEADER_LEN), payload, nb); nb 730 drivers/net/wireless/marvell/libertas_tf/if_usb.c return usb_tx_block(cardp, cardp->ep_out_buf, nb + MESSAGE_HEADER_LEN, nb 175 drivers/net/wireless/marvell/libertas_tf/libertas_tf.h u8 *payload, u16 nb); nb 951 drivers/net/wireless/marvell/mwifiex/sdio.c u32 nb; nb 968 drivers/net/wireless/marvell/mwifiex/sdio.c nb = get_unaligned_le16((buffer)); nb 969 drivers/net/wireless/marvell/mwifiex/sdio.c if (nb > npayload) { nb 972 drivers/net/wireless/marvell/mwifiex/sdio.c __func__, nb, npayload); nb 217 drivers/nvmem/core.c int nvmem_register_notifier(struct notifier_block *nb) nb 219 drivers/nvmem/core.c return blocking_notifier_chain_register(&nvmem_notifier, nb); nb 230 drivers/nvmem/core.c int nvmem_unregister_notifier(struct notifier_block *nb) nb 232 drivers/nvmem/core.c return blocking_notifier_chain_unregister(&nvmem_notifier, nb); nb 54 drivers/of/dynamic.c int of_reconfig_notifier_register(struct notifier_block *nb) nb 56 drivers/of/dynamic.c return blocking_notifier_chain_register(&of_reconfig_chain, nb); nb 60 drivers/of/dynamic.c int of_reconfig_notifier_unregister(struct notifier_block *nb) nb 62 drivers/of/dynamic.c return blocking_notifier_chain_unregister(&of_reconfig_chain, nb); nb 136 drivers/of/overlay.c int of_overlay_notifier_register(struct notifier_block *nb) nb 138 drivers/of/overlay.c return blocking_notifier_chain_register(&overlay_notify_chain, nb); nb 146 drivers/of/overlay.c int of_overlay_notifier_unregister(struct notifier_block *nb) nb 148 drivers/of/overlay.c return blocking_notifier_chain_unregister(&overlay_notify_chain, nb); nb 657 drivers/of/platform.c static int of_platform_notify(struct notifier_block *nb, nb 2151 drivers/opp/core.c int dev_pm_opp_register_notifier(struct device *dev, struct notifier_block *nb) nb 2160 drivers/opp/core.c ret = blocking_notifier_chain_register(&opp_table->head, nb); nb 2176 drivers/opp/core.c struct notifier_block *nb) nb 2185 drivers/opp/core.c ret = blocking_notifier_chain_unregister(&opp_table->head, nb); nb 505 drivers/parisc/led.c static int led_halt(struct notifier_block *nb, unsigned long event, void *buf) nb 745 drivers/pcmcia/soc_common.c static int soc_common_pcmcia_cpufreq_nb(struct notifier_block *nb, nb 748 drivers/pcmcia/soc_common.c struct soc_pcmcia_socket *skt = container_of(nb, struct soc_pcmcia_socket, cpufreq_nb); nb 630 drivers/phy/allwinner/phy-sun4i-usb.c static int sun4i_usb_phy0_vbus_notify(struct notifier_block *nb, nb 634 drivers/phy/allwinner/phy-sun4i-usb.c container_of(nb, struct sun4i_usb_phy_data, vbus_power_nb); nb 91 drivers/phy/qualcomm/phy-qcom-usb-hs.c qcom_usb_hs_phy_vbus_notifier(struct notifier_block *nb, unsigned long event, nb 97 drivers/phy/qualcomm/phy-qcom-usb-hs.c uphy = container_of(nb, struct qcom_usb_hs_phy, vbus_notify); nb 968 drivers/phy/rockchip/phy-rockchip-inno-usb2.c static int rockchip_otg_event(struct notifier_block *nb, nb 972 drivers/phy/rockchip/phy-rockchip-inno-usb2.c container_of(nb, struct rockchip_usb2phy_port, event_nb); nb 1072 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_ps_hold_restart(struct notifier_block *nb, unsigned long action, nb 1075 drivers/pinctrl/qcom/pinctrl-msm.c struct msm_pinctrl *pctrl = container_of(nb, struct msm_pinctrl, restart_nb); nb 205 drivers/platform/chrome/chromeos_laptop.c static int chromeos_laptop_i2c_notifier_call(struct notifier_block *nb, nb 93 drivers/platform/chrome/cros_ec_chardev.c static int cros_ec_chardev_mkbp_event(struct notifier_block *nb, nb 97 drivers/platform/chrome/cros_ec_chardev.c struct chardev_priv *priv = container_of(nb, struct chardev_priv, nb 584 drivers/platform/x86/dcdbas.c static int dcdbas_reboot_notify(struct notifier_block *nb, unsigned long code, nb 719 drivers/platform/x86/dell-laptop.c static int dell_laptop_rbtn_notifier_call(struct notifier_block *nb, nb 2104 drivers/platform/x86/dell-laptop.c static int dell_laptop_notifier_call(struct notifier_block *nb, nb 339 drivers/platform/x86/dell-rbtn.c int dell_rbtn_notifier_register(struct notifier_block *nb) nb 353 drivers/platform/x86/dell-rbtn.c ret = atomic_notifier_chain_register(&rbtn_chain_head, nb); nb 365 drivers/platform/x86/dell-rbtn.c int dell_rbtn_notifier_unregister(struct notifier_block *nb) nb 369 drivers/platform/x86/dell-rbtn.c ret = atomic_notifier_chain_unregister(&rbtn_chain_head, nb); nb 13 drivers/platform/x86/dell-rbtn.h int dell_rbtn_notifier_register(struct notifier_block *nb); nb 14 drivers/platform/x86/dell-rbtn.h int dell_rbtn_notifier_unregister(struct notifier_block *nb); nb 335 drivers/platform/x86/dell-smbios-base.c int dell_laptop_register_notifier(struct notifier_block *nb) nb 337 drivers/platform/x86/dell-smbios-base.c return blocking_notifier_chain_register(&dell_laptop_chain_head, nb); nb 341 drivers/platform/x86/dell-smbios-base.c int dell_laptop_unregister_notifier(struct notifier_block *nb) nb 343 drivers/platform/x86/dell-smbios-base.c return blocking_notifier_chain_unregister(&dell_laptop_chain_head, nb); nb 71 drivers/platform/x86/dell-smbios.h int dell_laptop_register_notifier(struct notifier_block *nb); nb 72 drivers/platform/x86/dell-smbios.h int dell_laptop_unregister_notifier(struct notifier_block *nb); nb 144 drivers/platform/x86/intel_speed_select_if/isst_if_mbox_msr.c static int isst_pm_notify(struct notifier_block *nb, nb 1477 drivers/platform/x86/samsung-laptop.c static int samsung_pm_notification(struct notifier_block *nb, nb 1482 drivers/platform/x86/samsung-laptop.c samsung = container_of(nb, struct samsung_laptop, pm_nb); nb 1015 drivers/platform/x86/touchscreen_dmi.c static int ts_dmi_notifier_call(struct notifier_block *nb, nb 68 drivers/power/avs/rockchip-io-domain.c struct notifier_block nb; nb 100 drivers/power/avs/rockchip-io-domain.c static int rockchip_iodomain_notify(struct notifier_block *nb, nb 105 drivers/power/avs/rockchip-io-domain.c container_of(nb, struct rockchip_iodomain_supply, nb); nb 565 drivers/power/avs/rockchip-io-domain.c supply->nb.notifier_call = rockchip_iodomain_notify; nb 574 drivers/power/avs/rockchip-io-domain.c ret = regulator_register_notifier(reg, &supply->nb); nb 594 drivers/power/avs/rockchip-io-domain.c &io_supply->nb); nb 610 drivers/power/avs/rockchip-io-domain.c &io_supply->nb); nb 241 drivers/power/reset/ltc2952-poweroff.c static int ltc2952_poweroff_notify_panic(struct notifier_block *nb, nb 244 drivers/power/reset/ltc2952-poweroff.c struct ltc2952_poweroff *data = to_ltc2952(nb, panic_notifier); nb 17 drivers/power/reset/msm-poweroff.c static int deassert_pshold(struct notifier_block *nb, unsigned long action, nb 313 drivers/power/supply/ab8500_charger.c struct notifier_block nb; nb 3156 drivers/power/supply/ab8500_charger.c static int ab8500_charger_usb_notifier_call(struct notifier_block *nb, nb 3160 drivers/power/supply/ab8500_charger.c container_of(nb, struct ab8500_charger, nb); nb 3298 drivers/power/supply/ab8500_charger.c usb_unregister_notifier(di->usb_phy, &di->nb); nb 3533 drivers/power/supply/ab8500_charger.c di->nb.notifier_call = ab8500_charger_usb_notifier_call; nb 3534 drivers/power/supply/ab8500_charger.c ret = usb_register_notifier(di->usb_phy, &di->nb); nb 3596 drivers/power/supply/ab8500_charger.c usb_unregister_notifier(di->usb_phy, &di->nb); nb 133 drivers/power/supply/axp288_charger.c struct notifier_block nb; nb 644 drivers/power/supply/axp288_charger.c static int axp288_charger_handle_cable_evt(struct notifier_block *nb, nb 648 drivers/power/supply/axp288_charger.c container_of(nb, struct axp288_chrg_info, cable.nb); nb 675 drivers/power/supply/axp288_charger.c static int axp288_charger_handle_otg_evt(struct notifier_block *nb, nb 679 drivers/power/supply/axp288_charger.c container_of(nb, struct axp288_chrg_info, otg.id_nb); nb 858 drivers/power/supply/axp288_charger.c info->cable.nb.notifier_call = axp288_charger_handle_cable_evt; nb 860 drivers/power/supply/axp288_charger.c &info->cable.nb); nb 165 drivers/power/supply/bq2415x_charger.c struct notifier_block nb; nb 806 drivers/power/supply/bq2415x_charger.c static int bq2415x_notifier_call(struct notifier_block *nb, nb 810 drivers/power/supply/bq2415x_charger.c container_of(nb, struct bq2415x_device, nb); nb 1640 drivers/power/supply/bq2415x_charger.c bq->nb.notifier_call = bq2415x_notifier_call; nb 1641 drivers/power/supply/bq2415x_charger.c ret = power_supply_reg_notifier(&bq->nb); nb 1655 drivers/power/supply/bq2415x_charger.c if (bq->nb.notifier_call) { nb 1703 drivers/power/supply/bq2415x_charger.c if (bq->nb.notifier_call) nb 1704 drivers/power/supply/bq2415x_charger.c power_supply_unreg_notifier(&bq->nb); nb 732 drivers/power/supply/bq25890_charger.c static int bq25890_usb_notifier(struct notifier_block *nb, unsigned long val, nb 736 drivers/power/supply/bq25890_charger.c container_of(nb, struct bq25890_device, usb_nb); nb 1163 drivers/power/supply/charger-manager.c container_of(self, struct charger_cable, nb); nb 1207 drivers/power/supply/charger-manager.c cable->nb.notifier_call = charger_extcon_notifier; nb 1209 drivers/power/supply/charger-manager.c cable->extcon_name, cable->name, &cable->nb); nb 526 drivers/power/supply/cros_usbpd-charger.c static int cros_usbpd_charger_ec_event(struct notifier_block *nb, nb 534 drivers/power/supply/cros_usbpd-charger.c charger = container_of(nb, struct charger_data, notifier); nb 112 drivers/power/supply/da9030_battery.c struct notifier_block nb; nb 398 drivers/power/supply/da9030_battery.c static int da9030_battery_event(struct notifier_block *nb, unsigned long event, nb 402 drivers/power/supply/da9030_battery.c container_of(nb, struct da9030_charger, nb); nb 532 drivers/power/supply/da9030_battery.c charger->nb.notifier_call = da9030_battery_event; nb 533 drivers/power/supply/da9030_battery.c ret = da903x_register_notifier(charger->master, &charger->nb, nb 555 drivers/power/supply/da9030_battery.c da903x_unregister_notifier(charger->master, &charger->nb, nb 571 drivers/power/supply/da9030_battery.c da903x_unregister_notifier(charger->master, &charger->nb, nb 169 drivers/power/supply/da9052-battery.c struct notifier_block nb; nb 457 drivers/power/supply/da9052-battery.c static int da9052_USB_current_notifier(struct notifier_block *nb, nb 464 drivers/power/supply/da9052-battery.c struct da9052_battery *bat = container_of(nb, struct da9052_battery, nb 465 drivers/power/supply/da9052-battery.c nb); nb 604 drivers/power/supply/da9052-battery.c bat->nb.notifier_call = da9052_USB_current_notifier; nb 446 drivers/power/supply/da9150-charger.c static int da9150_charger_otg_ncb(struct notifier_block *nb, unsigned long val, nb 450 drivers/power/supply/da9150-charger.c container_of(nb, struct da9150_charger, otg_nb); nb 51 drivers/power/supply/isp1704_charger.c struct notifier_block nb; nb 293 drivers/power/supply/isp1704_charger.c static int isp1704_notifier_call(struct notifier_block *nb, nb 297 drivers/power/supply/isp1704_charger.c container_of(nb, struct isp1704_charger, nb); nb 441 drivers/power/supply/isp1704_charger.c isp->nb.notifier_call = isp1704_notifier_call; nb 443 drivers/power/supply/isp1704_charger.c ret = usb_register_notifier(isp->phy, &isp->nb); nb 484 drivers/power/supply/isp1704_charger.c usb_unregister_notifier(isp->phy, &isp->nb); nb 230 drivers/power/supply/pda_power.c static int otg_handle_notification(struct notifier_block *nb, nb 831 drivers/power/supply/power_supply_core.c int power_supply_reg_notifier(struct notifier_block *nb) nb 833 drivers/power/supply/power_supply_core.c return atomic_notifier_chain_register(&power_supply_notifier, nb); nb 837 drivers/power/supply/power_supply_core.c void power_supply_unreg_notifier(struct notifier_block *nb) nb 839 drivers/power/supply/power_supply_core.c atomic_notifier_chain_unregister(&power_supply_notifier, nb); nb 240 drivers/power/supply/rt9455_charger.c struct notifier_block nb; nb 1400 drivers/power/supply/rt9455_charger.c static int rt9455_usb_event(struct notifier_block *nb, nb 1403 drivers/power/supply/rt9455_charger.c struct rt9455_info *info = container_of(nb, struct rt9455_info, nb); nb 1642 drivers/power/supply/rt9455_charger.c info->nb.notifier_call = rt9455_usb_event; nb 1643 drivers/power/supply/rt9455_charger.c ret = usb_register_notifier(info->usb_phy, &info->nb); nb 1650 drivers/power/supply/rt9455_charger.c info->nb.notifier_call = NULL; nb 1693 drivers/power/supply/rt9455_charger.c if (info->nb.notifier_call) { nb 1694 drivers/power/supply/rt9455_charger.c usb_unregister_notifier(info->usb_phy, &info->nb); nb 1695 drivers/power/supply/rt9455_charger.c info->nb.notifier_call = NULL; nb 1711 drivers/power/supply/rt9455_charger.c if (info->nb.notifier_call) nb 1712 drivers/power/supply/rt9455_charger.c usb_unregister_notifier(info->usb_phy, &info->nb); nb 356 drivers/power/supply/sc2731_charger.c static int sc2731_charger_usb_change(struct notifier_block *nb, nb 360 drivers/power/supply/sc2731_charger.c container_of(nb, struct sc2731_charger_info, usb_notify); nb 664 drivers/power/supply/twl4030_charger.c static int twl4030_bci_usb_ncb(struct notifier_block *nb, unsigned long val, nb 667 drivers/power/supply/twl4030_charger.c struct twl4030_bci *bci = container_of(nb, struct twl4030_bci, usb_nb); nb 140 drivers/power/supply/wm831x_power.c static int wm831x_usb_limit_change(struct notifier_block *nb, nb 143 drivers/power/supply/wm831x_power.c struct wm831x_power *wm831x_power = container_of(nb, nb 1398 drivers/powercap/intel_rapl_common.c static int rapl_pm_callback(struct notifier_block *nb, nb 217 drivers/pwm/pwm-sifive.c static int pwm_sifive_clock_notifier(struct notifier_block *nb, nb 222 drivers/pwm/pwm-sifive.c container_of(nb, struct pwm_sifive_ddata, notifier); nb 519 drivers/pwm/pwm-stm32.c int nb, ret, i, array_size; nb 521 drivers/pwm/pwm-stm32.c nb = of_property_count_elems_of_size(np, "st,breakinput", nb 528 drivers/pwm/pwm-stm32.c if (nb <= 0) nb 531 drivers/pwm/pwm-stm32.c if (nb > MAX_BREAKINPUT) nb 534 drivers/pwm/pwm-stm32.c array_size = nb * sizeof(struct stm32_breakinput) / sizeof(u32); nb 540 drivers/pwm/pwm-stm32.c for (i = 0; i < nb && !ret; i++) { nb 2241 drivers/rapidio/rio_cm.c static int rio_cm_shutdown(struct notifier_block *nb, unsigned long code, nb 4356 drivers/regulator/core.c struct notifier_block *nb) nb 4359 drivers/regulator/core.c nb); nb 4371 drivers/regulator/core.c struct notifier_block *nb) nb 4374 drivers/regulator/core.c nb); nb 400 drivers/regulator/devres.c struct notifier_block *nb; nb 409 drivers/regulator/devres.c return match->regulator == target->regulator && match->nb == target->nb; nb 416 drivers/regulator/devres.c regulator_unregister_notifier(match->regulator, match->nb); nb 430 drivers/regulator/devres.c struct notifier_block *nb) nb 442 drivers/regulator/devres.c match->nb = nb; nb 444 drivers/regulator/devres.c ret = regulator_register_notifier(regulator, nb); nb 468 drivers/regulator/devres.c struct notifier_block *nb) nb 474 drivers/regulator/devres.c match.nb = nb; nb 187 drivers/remoteproc/qcom_common.c int qcom_register_ssr_notifier(struct notifier_block *nb) nb 189 drivers/remoteproc/qcom_common.c return blocking_notifier_chain_register(&ssr_notifiers, nb); nb 197 drivers/remoteproc/qcom_common.c void qcom_unregister_ssr_notifier(struct notifier_block *nb) nb 199 drivers/remoteproc/qcom_common.c blocking_notifier_chain_unregister(&ssr_notifiers, nb); nb 33 drivers/remoteproc/qcom_sysmon.c struct notifier_block nb; nb 454 drivers/remoteproc/qcom_sysmon.c static int sysmon_notify(struct notifier_block *nb, unsigned long event, nb 457 drivers/remoteproc/qcom_sysmon.c struct qcom_sysmon *sysmon = container_of(nb, struct qcom_sysmon, nb); nb 551 drivers/remoteproc/qcom_sysmon.c sysmon->nb.notifier_call = sysmon_notify; nb 552 drivers/remoteproc/qcom_sysmon.c blocking_notifier_chain_register(&sysmon_notifiers, &sysmon->nb); nb 575 drivers/remoteproc/qcom_sysmon.c blocking_notifier_chain_unregister(&sysmon_notifiers, &sysmon->nb); nb 75 drivers/reset/reset-ath79.c static int ath79_reset_restart_handler(struct notifier_block *nb, nb 79 drivers/reset/reset-ath79.c container_of(nb, struct ath79_reset, restart_nb); nb 44 drivers/reset/reset-lpc18xx.c static int lpc18xx_rgu_restart(struct notifier_block *nb, unsigned long mode, nb 47 drivers/reset/reset-lpc18xx.c struct lpc18xx_rgu_data *rc = container_of(nb, struct lpc18xx_rgu_data, nb 105 drivers/rtc/rtc-brcmstb-waketimer.c static int brcmstb_waketmr_reboot(struct notifier_block *nb, nb 110 drivers/rtc/rtc-brcmstb-waketimer.c timer = container_of(nb, struct brcmstb_waketmr, reboot_notifier); nb 265 drivers/rtc/rtc-cros-ec.c static int cros_ec_rtc_event(struct notifier_block *nb, nb 274 drivers/rtc/rtc-cros-ec.c cros_ec_rtc = container_of(nb, struct cros_ec_rtc, notifier); nb 135 drivers/rtc/rtc-imx-sc.c static int imx_sc_rtc_alarm_notify(struct notifier_block *nb, nb 318 drivers/s390/char/sclp_cmd.c static int sclp_mem_notifier(struct notifier_block *nb, nb 421 drivers/s390/cio/ccwgroup.c static int ccwgroup_notifier(struct notifier_block *nb, unsigned long action, nb 47 drivers/s390/cio/vfio_ccw_ops.c static int vfio_ccw_mdev_notifier(struct notifier_block *nb, nb 52 drivers/s390/cio/vfio_ccw_ops.c container_of(nb, struct vfio_ccw_private, nb); nb 166 drivers/s390/cio/vfio_ccw_ops.c private->nb.notifier_call = vfio_ccw_mdev_notifier; nb 169 drivers/s390/cio/vfio_ccw_ops.c &events, &private->nb); nb 176 drivers/s390/cio/vfio_ccw_ops.c &private->nb); nb 195 drivers/s390/cio/vfio_ccw_ops.c &private->nb); nb 84 drivers/s390/cio/vfio_ccw_private.h struct notifier_block nb; nb 1068 drivers/s390/crypto/vfio_ap_ops.c static int vfio_ap_mdev_iommu_notifier(struct notifier_block *nb, nb 1073 drivers/s390/crypto/vfio_ap_ops.c matrix_mdev = container_of(nb, struct ap_matrix_mdev, iommu_notifier); nb 1086 drivers/s390/crypto/vfio_ap_ops.c static int vfio_ap_mdev_group_notifier(struct notifier_block *nb, nb 1095 drivers/s390/crypto/vfio_ap_ops.c matrix_mdev = container_of(nb, struct ap_matrix_mdev, group_notifier); nb 4250 drivers/scsi/gdth.c static int gdth_halt(struct notifier_block *nb, unsigned long event, void *buf) nb 10801 drivers/scsi/ipr.c static int ipr_halt(struct notifier_block *nb, ulong event, void *buf) nb 398 drivers/scsi/ips.c static int ips_halt(struct notifier_block *nb, ulong event, void *buf); nb 716 drivers/scsi/ips.c ips_halt(struct notifier_block *nb, ulong event, void *buf) nb 200 drivers/scsi/mac53c94.c int nb, stat, seq, intr; nb 269 drivers/scsi/mac53c94.c nb = cmd->SCp.this_residual; nb 270 drivers/scsi/mac53c94.c if (nb > 0xfff0) nb 271 drivers/scsi/mac53c94.c nb = 0xfff0; nb 272 drivers/scsi/mac53c94.c cmd->SCp.this_residual -= nb; nb 273 drivers/scsi/mac53c94.c writeb(nb, ®s->count_lo); nb 274 drivers/scsi/mac53c94.c writeb(nb >> 8, ®s->count_mid); nb 302 drivers/scsi/mac53c94.c nb = cmd->SCp.this_residual; nb 303 drivers/scsi/mac53c94.c if (nb > 0xfff0) nb 304 drivers/scsi/mac53c94.c nb = 0xfff0; nb 305 drivers/scsi/mac53c94.c cmd->SCp.this_residual -= nb; nb 306 drivers/scsi/mac53c94.c writeb(nb, ®s->count_lo); nb 307 drivers/scsi/mac53c94.c writeb(nb >> 8, ®s->count_mid); nb 681 drivers/scsi/mesh.c int i, seq, nb; nb 791 drivers/scsi/mesh.c nb = ms->dma_count; nb 792 drivers/scsi/mesh.c if (nb > 0xfff0) nb 793 drivers/scsi/mesh.c nb = 0xfff0; nb 794 drivers/scsi/mesh.c ms->dma_count -= nb; nb 795 drivers/scsi/mesh.c ms->data_ptr += nb; nb 796 drivers/scsi/mesh.c out_8(&mr->count_lo, nb); nb 797 drivers/scsi/mesh.c out_8(&mr->count_hi, nb >> 8); nb 1324 drivers/scsi/mesh.c int t, nb; nb 1336 drivers/scsi/mesh.c nb = (mr->count_hi << 8) + mr->count_lo; nb 1338 drivers/scsi/mesh.c MKWORD(0, mr->fifo_count, 0, nb)); nb 1340 drivers/scsi/mesh.c nb += mr->fifo_count; nb 1343 drivers/scsi/mesh.c ms->data_ptr -= nb; nb 1347 drivers/scsi/mesh.c ms->data_ptr, nb, ms); nb 362 drivers/scsi/stex.c static int stex_halt(struct notifier_block *nb, ulong event, void *buf); nb 1996 drivers/scsi/stex.c static int stex_halt(struct notifier_block *nb, unsigned long event, void *buf) nb 665 drivers/soc/bcm/brcmstb/pm/pm-arm.c static int brcmstb_pm_panic_notify(struct notifier_block *nb, nb 51 drivers/soc/qcom/glink_ssr.c struct notifier_block nb; nb 84 drivers/soc/qcom/glink_ssr.c static int qcom_glink_ssr_notify(struct notifier_block *nb, unsigned long event, nb 87 drivers/soc/qcom/glink_ssr.c struct glink_ssr *ssr = container_of(nb, struct glink_ssr, nb); nb 124 drivers/soc/qcom/glink_ssr.c ssr->nb.notifier_call = qcom_glink_ssr_notify; nb 128 drivers/soc/qcom/glink_ssr.c return qcom_register_ssr_notifier(&ssr->nb); nb 135 drivers/soc/qcom/glink_ssr.c qcom_unregister_ssr_notifier(&ssr->nb); nb 488 drivers/spi/spi-at91-usart.c int nb; nb 493 drivers/spi/spi-at91-usart.c nb = of_gpio_named_count(np, "cs-gpios"); nb 494 drivers/spi/spi-at91-usart.c for (i = 0; i < nb; i++) { nb 2245 drivers/spi/spi.c int nb, i, *cs; nb 2251 drivers/spi/spi.c nb = of_gpio_named_count(np, "cs-gpios"); nb 2252 drivers/spi/spi.c ctlr->num_chipselect = max_t(int, nb, ctlr->num_chipselect); nb 2255 drivers/spi/spi.c if (nb == 0 || nb == -ENOENT) nb 2257 drivers/spi/spi.c else if (nb < 0) nb 2258 drivers/spi/spi.c return nb; nb 2270 drivers/spi/spi.c for (i = 0; i < nb; i++) nb 2288 drivers/spi/spi.c int nb, i; nb 2292 drivers/spi/spi.c nb = gpiod_count(dev, "cs"); nb 2293 drivers/spi/spi.c ctlr->num_chipselect = max_t(int, nb, ctlr->num_chipselect); nb 2296 drivers/spi/spi.c if (nb == 0 || nb == -ENOENT) nb 2298 drivers/spi/spi.c else if (nb < 0) nb 2299 drivers/spi/spi.c return nb; nb 2307 drivers/spi/spi.c for (i = 0; i < nb; i++) { nb 3684 drivers/spi/spi.c static int of_spi_notify(struct notifier_block *nb, unsigned long action, nb 3770 drivers/spi/spi.c static int acpi_spi_notify(struct notifier_block *nb, unsigned long value, nb 295 drivers/ssb/driver_chipcommon.c u32 nb; nb 299 drivers/ssb/driver_chipcommon.c nb = 16; nb 301 drivers/ssb/driver_chipcommon.c nb = (cc->dev->id.revision >= 37) ? 32 : 24; nb 303 drivers/ssb/driver_chipcommon.c nb = 28; nb 305 drivers/ssb/driver_chipcommon.c if (nb == 32) nb 308 drivers/ssb/driver_chipcommon.c return (1 << nb) - 1; nb 54 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c struct notifier_block nb; nb 64 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c #define to_clk_wzrd(_nb) container_of(_nb, struct clk_wzrd, nb) nb 73 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c static int clk_wzrd_clk_notifier(struct notifier_block *nb, unsigned long event, nb 78 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c struct clk_wzrd *clk_wzrd = to_clk_wzrd(nb); nb 267 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c clk_wzrd->nb.notifier_call = clk_wzrd_clk_notifier; nb 270 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c &clk_wzrd->nb); nb 275 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c ret = clk_notifier_register(clk_wzrd->axi_clk, &clk_wzrd->nb); nb 307 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c clk_notifier_unregister(clk_wzrd->axi_clk, &clk_wzrd->nb); nb 308 drivers/staging/clocking-wizard/clk-xlnx-clock-wizard.c clk_notifier_unregister(clk_wzrd->clk_in1, &clk_wzrd->nb); nb 1494 drivers/staging/fsl-dpaa2/ethsw/ethsw.c struct notifier_block *nb; nb 1497 drivers/staging/fsl-dpaa2/ethsw/ethsw.c nb = &port_switchdev_blocking_nb; nb 1498 drivers/staging/fsl-dpaa2/ethsw/ethsw.c err = unregister_switchdev_blocking_notifier(nb); nb 107 drivers/staging/nvec/nvec.c int nvec_register_notifier(struct nvec_chip *nvec, struct notifier_block *nb, nb 110 drivers/staging/nvec/nvec.c return atomic_notifier_chain_register(&nvec->notifier_list, nb); nb 122 drivers/staging/nvec/nvec.c int nvec_unregister_notifier(struct nvec_chip *nvec, struct notifier_block *nb) nb 124 drivers/staging/nvec/nvec.c return atomic_notifier_chain_unregister(&nvec->notifier_list, nb); nb 134 drivers/staging/nvec/nvec.c static int nvec_status_notifier(struct notifier_block *nb, nb 137 drivers/staging/nvec/nvec.c struct nvec_chip *nvec = container_of(nb, struct nvec_chip, nb 172 drivers/staging/nvec/nvec.h struct notifier_block *nb, nb 175 drivers/staging/nvec/nvec.h int nvec_unregister_notifier(struct nvec_chip *dev, struct notifier_block *nb); nb 53 drivers/staging/nvec/nvec_kbd.c static int nvec_keys_notifier(struct notifier_block *nb, nb 84 drivers/staging/nvec/nvec_power.c static int nvec_power_notifier(struct notifier_block *nb, nb 88 drivers/staging/nvec/nvec_power.c container_of(nb, struct nvec_power, notifier); nb 120 drivers/staging/nvec/nvec_power.c static int nvec_power_bat_notifier(struct notifier_block *nb, nb 124 drivers/staging/nvec/nvec_power.c container_of(nb, struct nvec_power, notifier); nb 73 drivers/staging/nvec/nvec_ps2.c static int nvec_ps2_notifier(struct notifier_block *nb, nb 552 drivers/staging/olpc_dcon/olpc_dcon.c static int dcon_reboot_notify(struct notifier_block *nb, nb 555 drivers/staging/olpc_dcon/olpc_dcon.c struct dcon_priv *dcon = container_of(nb, struct dcon_priv, reboot_nb); nb 566 drivers/staging/olpc_dcon/olpc_dcon.c static int unfreeze_on_panic(struct notifier_block *nb, nb 439 drivers/staging/rtl8723bs/os_dep/os_intfs.c static int rtw_ndev_notifier_call(struct notifier_block *nb, unsigned long state, void *ptr) nb 2214 drivers/staging/speakup/main.c static int keyboard_notifier_call(struct notifier_block *nb, nb 2284 drivers/staging/speakup/main.c static int vt_notifier_call(struct notifier_block *nb, nb 922 drivers/staging/wusbcore/devconnect.c int wusb_usb_ncb(struct notifier_block *nb, unsigned long val, nb 384 drivers/staging/wusbcore/wusbhc.h extern int wusb_usb_ncb(struct notifier_block *nb, unsigned long val, nb 636 drivers/target/iscsi/cxgbit/cxgbit_main.c cxgbit_dcbevent_notify(struct notifier_block *nb, unsigned long action, nb 130 drivers/target/tcm_fc/tfc_sess.c int ft_lport_notify(struct notifier_block *nb, unsigned long event, void *arg) nb 263 drivers/thermal/clock_cooling.c static int clock_cooling_clock_notifier(struct notifier_block *nb, nb 267 drivers/thermal/clock_cooling.c struct clock_cooling_device *ccdev = to_clock_cooling_device(nb); nb 1558 drivers/thermal/thermal_core.c static int thermal_pm_notify(struct notifier_block *nb, nb 131 drivers/tty/serial/mvebu-uart.c unsigned char __iomem *nb; nb 1613 drivers/tty/serial/samsung.c static int s3c24xx_serial_cpufreq_transition(struct notifier_block *nb, nb 1619 drivers/tty/serial/samsung.c port = container_of(nb, struct s3c24xx_uart_port, freq_transition); nb 175 drivers/tty/serial/sifive.c #define notifier_to_sifive_serial_port(nb) (container_of((nb), \ nb 626 drivers/tty/serial/sifive.c static int sifive_serial_clk_notifier(struct notifier_block *nb, nb 630 drivers/tty/serial/sifive.c struct sifive_serial_port *ssp = notifier_to_sifive_serial_port(nb); nb 487 drivers/tty/serial/xilinx_uartps.c static int cdns_uart_clk_notifier_cb(struct notifier_block *nb, nb 495 drivers/tty/serial/xilinx_uartps.c struct cdns_uart *cdns_uart = to_cdns_uart(nb); nb 148 drivers/tty/vt/keyboard.c int register_keyboard_notifier(struct notifier_block *nb) nb 150 drivers/tty/vt/keyboard.c return atomic_notifier_chain_register(&keyboard_notifier_list, nb); nb 154 drivers/tty/vt/keyboard.c int unregister_keyboard_notifier(struct notifier_block *nb) nb 156 drivers/tty/vt/keyboard.c return atomic_notifier_chain_unregister(&keyboard_notifier_list, nb); nb 89 drivers/tty/vt/vc_screen.c vcs_notifier(struct notifier_block *nb, unsigned long code, void *_param) nb 94 drivers/tty/vt/vc_screen.c container_of(nb, struct vcs_poll_data, notifier); nb 257 drivers/tty/vt/vt.c int register_vt_notifier(struct notifier_block *nb) nb 259 drivers/tty/vt/vt.c return atomic_notifier_chain_register(&vt_notifier_list, nb); nb 263 drivers/tty/vt/vt.c int unregister_vt_notifier(struct notifier_block *nb) nb 265 drivers/tty/vt/vt.c return atomic_notifier_chain_unregister(&vt_notifier_list, nb); nb 590 drivers/usb/chipidea/core.c static int ci_cable_notifier(struct notifier_block *nb, unsigned long event, nb 593 drivers/usb/chipidea/core.c struct ci_hdrc_cable *cbl = container_of(nb, struct ci_hdrc_cable, nb); nb 771 drivers/usb/chipidea/core.c cable->nb.notifier_call = ci_cable_notifier; nb 783 drivers/usb/chipidea/core.c cable->nb.notifier_call = ci_cable_notifier; nb 826 drivers/usb/chipidea/core.c EXTCON_USB_HOST, &id->nb); nb 837 drivers/usb/chipidea/core.c EXTCON_USB, &vbus->nb); nb 19 drivers/usb/core/ledtrig-usbport.c struct notifier_block nb; nb 275 drivers/usb/core/ledtrig-usbport.c static int usbport_trig_notify(struct notifier_block *nb, unsigned long action, nb 279 drivers/usb/core/ledtrig-usbport.c container_of(nb, struct usbport_trig_data, nb); nb 321 drivers/usb/core/ledtrig-usbport.c usbport_data->nb.notifier_call = usbport_trig_notify; nb 323 drivers/usb/core/ledtrig-usbport.c usb_register_notify(&usbport_data->nb); nb 342 drivers/usb/core/ledtrig-usbport.c usb_unregister_notify(&usbport_data->nb); nb 29 drivers/usb/core/notify.c void usb_register_notify(struct notifier_block *nb) nb 31 drivers/usb/core/notify.c blocking_notifier_chain_register(&usb_notifier_list, nb); nb 42 drivers/usb/core/notify.c void usb_unregister_notify(struct notifier_block *nb) nb 44 drivers/usb/core/notify.c blocking_notifier_chain_unregister(&usb_notifier_list, nb); nb 939 drivers/usb/core/usb.c static int usb_bus_notify(struct notifier_block *nb, unsigned long action, nb 429 drivers/usb/dwc3/drd.c static int dwc3_drd_notifier(struct notifier_block *nb, nb 432 drivers/usb/dwc3/drd.c struct dwc3 *dwc = container_of(nb, struct dwc3, edev_nb); nb 342 drivers/usb/dwc3/dwc3-omap.c static int dwc3_omap_id_notifier(struct notifier_block *nb, nb 345 drivers/usb/dwc3/dwc3-omap.c struct dwc3_omap *omap = container_of(nb, struct dwc3_omap, id_nb); nb 355 drivers/usb/dwc3/dwc3-omap.c static int dwc3_omap_vbus_notifier(struct notifier_block *nb, nb 358 drivers/usb/dwc3/dwc3-omap.c struct dwc3_omap *omap = container_of(nb, struct dwc3_omap, vbus_nb); nb 120 drivers/usb/dwc3/dwc3-qcom.c static int dwc3_qcom_vbus_notifier(struct notifier_block *nb, nb 123 drivers/usb/dwc3/dwc3-qcom.c struct dwc3_qcom *qcom = container_of(nb, struct dwc3_qcom, vbus_nb); nb 132 drivers/usb/dwc3/dwc3-qcom.c static int dwc3_qcom_host_notifier(struct notifier_block *nb, nb 135 drivers/usb/dwc3/dwc3-qcom.c struct dwc3_qcom *qcom = container_of(nb, struct dwc3_qcom, host_nb); nb 573 drivers/usb/gadget/udc/amd5536udc.h struct notifier_block nb; nb 1592 drivers/usb/gadget/udc/pxa27x_udc.c static int pxa_udc_phy_event(struct notifier_block *nb, unsigned long action, nb 90 drivers/usb/gadget/udc/snps_udc_plat.c struct udc *udc = container_of(self, struct udc, nb); nb 171 drivers/usb/gadget/udc/snps_udc_plat.c udc->nb.notifier_call = usbd_connect_notify; nb 173 drivers/usb/gadget/udc/snps_udc_plat.c &udc->nb); nb 219 drivers/usb/gadget/udc/snps_udc_plat.c extcon_unregister_notifier(udc->edev, EXTCON_USB, &udc->nb); nb 253 drivers/usb/gadget/udc/snps_udc_plat.c extcon_unregister_notifier(dev->edev, EXTCON_USB, &dev->nb); nb 42 drivers/usb/host/ohci-da8xx.c struct notifier_block nb; nb 179 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_regulator_event(struct notifier_block *nb, nb 183 drivers/usb/host/ohci-da8xx.c container_of(nb, struct da8xx_ohci_hcd, nb); nb 216 drivers/usb/host/ohci-da8xx.c da8xx_ohci->nb.notifier_call = ohci_da8xx_regulator_event; nb 218 drivers/usb/host/ohci-da8xx.c &da8xx_ohci->nb); nb 512 drivers/usb/host/pci-quirks.c struct pci_dev *nb, *smbus; nb 524 drivers/usb/host/pci-quirks.c nb = amd_chipset.nb_dev; nb 536 drivers/usb/host/pci-quirks.c pci_dev_put(nb); nb 215 drivers/usb/mtu3/mtu3_dr.c static int ssusb_id_notifier(struct notifier_block *nb, nb 219 drivers/usb/mtu3/mtu3_dr.c container_of(nb, struct otg_switch_mtk, id_nb); nb 227 drivers/usb/mtu3/mtu3_dr.c static int ssusb_vbus_notifier(struct notifier_block *nb, nb 231 drivers/usb/mtu3/mtu3_dr.c container_of(nb, struct otg_switch_mtk, vbus_nb); nb 310 drivers/usb/musb/musb_core.h struct notifier_block nb; nb 199 drivers/usb/musb/sunxi.c static int sunxi_musb_host_notifier(struct notifier_block *nb, nb 202 drivers/usb/musb/sunxi.c struct sunxi_glue *glue = container_of(nb, struct sunxi_glue, host_nb); nb 94 drivers/usb/musb/ux500.c static int musb_otg_notifications(struct notifier_block *nb, nb 97 drivers/usb/musb/ux500.c struct musb *musb = container_of(nb, struct musb, nb); nb 154 drivers/usb/musb/ux500.c musb->nb.notifier_call = musb_otg_notifications; nb 155 drivers/usb/musb/ux500.c status = usb_register_notifier(musb->xceiv, &musb->nb); nb 168 drivers/usb/musb/ux500.c usb_unregister_notifier(musb->xceiv, &musb->nb); nb 63 drivers/usb/phy/phy-omap-otg.c static int omap_otg_id_notifier(struct notifier_block *nb, nb 66 drivers/usb/phy/phy-omap-otg.c struct otg_device *otg_dev = container_of(nb, struct otg_device, id_nb); nb 74 drivers/usb/phy/phy-omap-otg.c static int omap_otg_vbus_notifier(struct notifier_block *nb, nb 77 drivers/usb/phy/phy-omap-otg.c struct otg_device *otg_dev = container_of(nb, struct otg_device, nb 34 drivers/usb/phy/phy.c struct notifier_block *nb; nb 159 drivers/usb/phy/phy.c static int usb_phy_get_charger_type(struct notifier_block *nb, nb 162 drivers/usb/phy/phy.c struct usb_phy *usb_phy = container_of(nb, struct usb_phy, type_nb); nb 295 drivers/usb/phy/phy.c if (res->nb) nb 296 drivers/usb/phy/phy.c usb_unregister_notifier(res->phy, res->nb); nb 488 drivers/usb/phy/phy.c struct notifier_block *nb) nb 513 drivers/usb/phy/phy.c if (nb) nb 514 drivers/usb/phy/phy.c usb_register_notifier(phy, nb); nb 516 drivers/usb/phy/phy.c ptr->nb = nb; nb 226 drivers/usb/typec/class.c struct notifier_block *nb) nb 251 drivers/usb/typec/class.c ret = blocking_notifier_chain_register(&altmode->nh, nb); nb 262 drivers/usb/typec/class.c struct notifier_block *nb) nb 266 drivers/usb/typec/class.c blocking_notifier_chain_unregister(&altmode->nh, nb); nb 194 drivers/vfio/pci/vfio_pci_nvlink2.c static int vfio_pci_nvgpu_group_notifier(struct notifier_block *nb, nb 198 drivers/vfio/pci/vfio_pci_nvlink2.c struct vfio_pci_nvgpu_data *data = container_of(nb, nb 80 drivers/vfio/vfio.c struct notifier_block nb; nb 281 drivers/vfio/vfio.c static int vfio_iommu_group_notifier(struct notifier_block *nb, nb 316 drivers/vfio/vfio.c iommu_group_unregister_notifier(group->iommu_group, &group->nb); nb 347 drivers/vfio/vfio.c group->nb.notifier_call = vfio_iommu_group_notifier; nb 356 drivers/vfio/vfio.c ret = iommu_group_register_notifier(iommu_group, &group->nb); nb 720 drivers/vfio/vfio.c static int vfio_iommu_group_notifier(struct notifier_block *nb, nb 723 drivers/vfio/vfio.c struct vfio_group *group = container_of(nb, struct vfio_group, nb); nb 1999 drivers/vfio/vfio.c struct notifier_block *nb) nb 2013 drivers/vfio/vfio.c events, nb); nb 2023 drivers/vfio/vfio.c struct notifier_block *nb) nb 2037 drivers/vfio/vfio.c nb); nb 2056 drivers/vfio/vfio.c struct notifier_block *nb) nb 2075 drivers/vfio/vfio.c ret = blocking_notifier_chain_register(&group->notifier, nb); nb 2091 drivers/vfio/vfio.c struct notifier_block *nb) nb 2099 drivers/vfio/vfio.c ret = blocking_notifier_chain_unregister(&group->notifier, nb); nb 2107 drivers/vfio/vfio.c unsigned long *events, struct notifier_block *nb) nb 2112 drivers/vfio/vfio.c if (!dev || !nb || !events || (*events == 0)) nb 2121 drivers/vfio/vfio.c ret = vfio_register_iommu_notifier(group, events, nb); nb 2124 drivers/vfio/vfio.c ret = vfio_register_group_notifier(group, events, nb); nb 2136 drivers/vfio/vfio.c struct notifier_block *nb) nb 2141 drivers/vfio/vfio.c if (!dev || !nb) nb 2150 drivers/vfio/vfio.c ret = vfio_unregister_iommu_notifier(group, nb); nb 2153 drivers/vfio/vfio.c ret = vfio_unregister_group_notifier(group, nb); nb 2325 drivers/vfio/vfio_iommu_type1.c struct notifier_block *nb) nb 2336 drivers/vfio/vfio_iommu_type1.c return blocking_notifier_chain_register(&iommu->notifier, nb); nb 2340 drivers/vfio/vfio_iommu_type1.c struct notifier_block *nb) nb 2344 drivers/vfio/vfio_iommu_type1.c return blocking_notifier_chain_unregister(&iommu->notifier, nb); nb 493 drivers/video/backlight/backlight.c int backlight_register_notifier(struct notifier_block *nb) nb 495 drivers/video/backlight/backlight.c return blocking_notifier_chain_register(&backlight_notifier, nb); nb 508 drivers/video/backlight/backlight.c int backlight_unregister_notifier(struct notifier_block *nb) nb 510 drivers/video/backlight/backlight.c return blocking_notifier_chain_unregister(&backlight_notifier, nb); nb 35 drivers/video/console/dummycon.c void dummycon_register_output_notifier(struct notifier_block *nb) nb 39 drivers/video/console/dummycon.c raw_notifier_chain_register(&dummycon_output_nh, nb); nb 42 drivers/video/console/dummycon.c nb->notifier_call(nb, 0, NULL); nb 45 drivers/video/console/dummycon.c void dummycon_unregister_output_notifier(struct notifier_block *nb) nb 49 drivers/video/console/dummycon.c raw_notifier_chain_unregister(&dummycon_output_nh, nb); nb 3875 drivers/video/fbdev/aty/atyfb_base.c static int atyfb_reboot_notify(struct notifier_block *nb, nb 23 drivers/video/fbdev/core/fb_notify.c int fb_register_client(struct notifier_block *nb) nb 25 drivers/video/fbdev/core/fb_notify.c return blocking_notifier_chain_register(&fb_notifier_list, nb); nb 33 drivers/video/fbdev/core/fb_notify.c int fb_unregister_client(struct notifier_block *nb) nb 35 drivers/video/fbdev/core/fb_notify.c return blocking_notifier_chain_unregister(&fb_notifier_list, nb); nb 3585 drivers/video/fbdev/core/fbcon.c static int fbcon_output_notifier(struct notifier_block *nb, nb 1033 drivers/video/fbdev/da8xx-fb.c static int lcd_da8xx_cpufreq_transition(struct notifier_block *nb, nb 1038 drivers/video/fbdev/da8xx-fb.c par = container_of(nb, struct da8xx_fb_par, freq_transition); nb 533 drivers/video/fbdev/hyperv_fb.c static int hvfb_on_panic(struct notifier_block *nb, nb 539 drivers/video/fbdev/hyperv_fb.c par = container_of(nb, struct hvfb_par, hvfb_panic_nb); nb 418 drivers/video/fbdev/mmp/hw/mmp_ctrl.h #define CFG_NOBLENDING(nb) ((nb)<<31) nb 560 drivers/video/fbdev/omap/hwa742.c static void hwa742_bind_client(struct omapfb_notifier_block *nb) nb 132 drivers/video/fbdev/omap/omapfb.h struct notifier_block nb; nb 149 drivers/video/fbdev/omap/omapfb.h void (*bind_client) (struct omapfb_notifier_block *nb); nb 224 drivers/video/fbdev/omap/omapfb.h extern int omapfb_register_client(struct omapfb_notifier_block *nb, nb 227 drivers/video/fbdev/omap/omapfb.h extern int omapfb_unregister_client(struct omapfb_notifier_block *nb); nb 957 drivers/video/fbdev/omap/omapfb_main.c omapfb_nb->nb.notifier_call = (int (*)(struct notifier_block *, nb 962 drivers/video/fbdev/omap/omapfb_main.c &omapfb_nb->nb); nb 977 drivers/video/fbdev/omap/omapfb_main.c &omapfb_client_list[omapfb_nb->plane_idx], &omapfb_nb->nb); nb 209 drivers/video/fbdev/pxa168fb.h #define CFG_NOBLENDING(nb) ((nb) << 31) nb 1657 drivers/video/fbdev/pxafb.c pxafb_freq_transition(struct notifier_block *nb, unsigned long val, void *data) nb 1659 drivers/video/fbdev/pxafb.c struct pxafb_info *fbi = TO_INF(nb, freq_transition); nb 772 drivers/video/fbdev/s3c2410fb.c static int s3c2410fb_cpufreq_transition(struct notifier_block *nb, nb 779 drivers/video/fbdev/s3c2410fb.c info = container_of(nb, struct s3c2410fb_info, freq_transition); nb 989 drivers/video/fbdev/sa1100fb.c sa1100fb_freq_transition(struct notifier_block *nb, unsigned long val, nb 992 drivers/video/fbdev/sa1100fb.c struct sa1100fb_info *fbi = TO_INF(nb, freq_transition); nb 768 drivers/virt/fsl_hypervisor.c int fsl_hv_failover_register(struct notifier_block *nb) nb 770 drivers/virt/fsl_hypervisor.c return blocking_notifier_chain_register(&failover_subscribers, nb); nb 777 drivers/virt/fsl_hypervisor.c int fsl_hv_failover_unregister(struct notifier_block *nb) nb 779 drivers/virt/fsl_hypervisor.c return blocking_notifier_chain_unregister(&failover_subscribers, nb); nb 118 drivers/watchdog/imx_sc_wdt.c static int imx_sc_wdt_notify(struct notifier_block *nb, nb 122 drivers/watchdog/imx_sc_wdt.c container_of(nb, nb 140 drivers/watchdog/rave-sp-wdt.c static int rave_sp_wdt_reboot_notifier(struct notifier_block *nb, nb 152 drivers/watchdog/rave-sp-wdt.c container_of(nb, struct rave_sp_wdt, reboot_notifier); nb 198 drivers/watchdog/s3c2410_wdt.c static inline struct s3c2410_wdt *freq_to_wdt(struct notifier_block *nb) nb 200 drivers/watchdog/s3c2410_wdt.c return container_of(nb, struct s3c2410_wdt, freq_transition); nb 415 drivers/watchdog/s3c2410_wdt.c static int s3c2410wdt_cpufreq_transition(struct notifier_block *nb, nb 419 drivers/watchdog/s3c2410_wdt.c struct s3c2410_wdt *wdt = freq_to_wdt(nb); nb 71 drivers/watchdog/stmp3xxx_rtc_wdt.c static int wdt_notify_sys(struct notifier_block *nb, unsigned long code, nb 150 drivers/watchdog/watchdog_core.c static int watchdog_reboot_notifier(struct notifier_block *nb, nb 155 drivers/watchdog/watchdog_core.c wdd = container_of(nb, struct watchdog_device, reboot_nb); nb 169 drivers/watchdog/watchdog_core.c static int watchdog_restart_notifier(struct notifier_block *nb, nb 172 drivers/watchdog/watchdog_core.c struct watchdog_device *wdd = container_of(nb, struct watchdog_device, nb 104 drivers/xen/arm-device.c static int xen_platform_notifier(struct notifier_block *nb, nb 149 drivers/xen/arm-device.c static int xen_amba_notifier(struct notifier_block *nb, nb 383 drivers/xen/balloon.c static int xen_memory_notifier(struct notifier_block *nb, unsigned long val, void *v) nb 49 drivers/xen/manage.c void xen_resume_notifier_register(struct notifier_block *nb) nb 51 drivers/xen/manage.c raw_notifier_chain_register(&xen_resume_notifier, nb); nb 55 drivers/xen/manage.c void xen_resume_notifier_unregister(struct notifier_block *nb) nb 57 drivers/xen/manage.c raw_notifier_chain_unregister(&xen_resume_notifier, nb); nb 179 drivers/xen/pci.c static int xen_pci_notifier(struct notifier_block *nb, nb 1584 drivers/xen/xen-pciback/pci_stub.c static int pci_stub_notifier(struct notifier_block *nb, nb 666 drivers/xen/xenbus/xenbus_probe.c int register_xenstore_notifier(struct notifier_block *nb) nb 671 drivers/xen/xenbus/xenbus_probe.c ret = nb->notifier_call(nb, 0, NULL); nb 673 drivers/xen/xenbus/xenbus_probe.c blocking_notifier_chain_register(&xenstore_chain, nb); nb 679 drivers/xen/xenbus/xenbus_probe.c void unregister_xenstore_notifier(struct notifier_block *nb) nb 681 drivers/xen/xenbus/xenbus_probe.c blocking_notifier_chain_unregister(&xenstore_chain, nb); nb 744 drivers/xen/xenbus/xenbus_probe.c static int xenbus_resume_cb(struct notifier_block *nb, nb 908 drivers/xen/xenbus/xenbus_xs.c static int xs_reboot_notify(struct notifier_block *nb, nb 96 fs/jfs/jfs_dmap.c static int blkstol2(s64 nb); nb 322 fs/jfs/jfs_dmap.c int nb, rc; nb 351 fs/jfs/jfs_dmap.c for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { nb 369 fs/jfs/jfs_dmap.c nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); nb 372 fs/jfs/jfs_dmap.c if ((rc = dbFreeDmap(bmp, dp, blkno, nb))) { nb 1115 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw; nb 1160 fs/jfs/jfs_dmap.c for (rembits = nblocks; rembits > 0; rembits -= nb, dbitno += nb) { nb 1165 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); nb 1169 fs/jfs/jfs_dmap.c if (nb < DBWORD) { nb 1172 fs/jfs/jfs_dmap.c mask = (ONES << (DBWORD - nb) >> wbitno); nb 1183 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nb 1835 fs/jfs/jfs_dmap.c int rc, nb; nb 1869 fs/jfs/jfs_dmap.c for (n = nblocks, b = blkno; n > 0; n -= nb, b += nb) { nb 1892 fs/jfs/jfs_dmap.c nb = min_t(s64, n, BPERDMAP); nb 1896 fs/jfs/jfs_dmap.c if ((rc = dbAllocDmap(bmp, dp, b, nb))) { nb 2167 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; nb 2197 fs/jfs/jfs_dmap.c for (rembits = nblocks; rembits > 0; rembits -= nb, dbitno += nb) { nb 2202 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); nb 2206 fs/jfs/jfs_dmap.c if (nb < DBWORD) { nb 2210 fs/jfs/jfs_dmap.c dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) nb 2233 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nb 2314 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, nw, agno; nb 2346 fs/jfs/jfs_dmap.c for (rembits = nblocks; rembits > 0; rembits -= nb, dbitno += nb) { nb 2351 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); nb 2355 fs/jfs/jfs_dmap.c if (nb < DBWORD) { nb 2360 fs/jfs/jfs_dmap.c cpu_to_le32(~(ONES << (DBWORD - nb) nb 2381 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nb 3019 fs/jfs/jfs_dmap.c int bitno, nb; nb 3024 fs/jfs/jfs_dmap.c nb = 1 << l2nb; nb 3025 fs/jfs/jfs_dmap.c assert(nb <= DBWORD); nb 3031 fs/jfs/jfs_dmap.c mask = ONES << (DBWORD - nb); nb 3035 fs/jfs/jfs_dmap.c for (bitno = 0; mask != 0; bitno += nb, mask >>= nb) { nb 3147 fs/jfs/jfs_dmap.c static int blkstol2(s64 nb) nb 3159 fs/jfs/jfs_dmap.c if (nb & mask) { nb 3166 fs/jfs/jfs_dmap.c if (~mask & nb) nb 3199 fs/jfs/jfs_dmap.c int nb, rc; nb 3213 fs/jfs/jfs_dmap.c for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { nb 3231 fs/jfs/jfs_dmap.c nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); nb 3234 fs/jfs/jfs_dmap.c if ((rc = dbAllocDmapBU(bmp, dp, blkno, nb))) { nb 3254 fs/jfs/jfs_dmap.c int dbitno, word, rembits, nb, nwords, wbitno, agno; nb 3285 fs/jfs/jfs_dmap.c for (rembits = nblocks; rembits > 0; rembits -= nb, dbitno += nb) { nb 3290 fs/jfs/jfs_dmap.c nb = min(rembits, DBWORD - wbitno); nb 3294 fs/jfs/jfs_dmap.c if (nb < DBWORD) { nb 3298 fs/jfs/jfs_dmap.c dp->wmap[word] |= cpu_to_le32(ONES << (DBWORD - nb) nb 3312 fs/jfs/jfs_dmap.c nb = nwords << L2DBWORD; nb 3736 fs/jfs/jfs_dmap.c int blkno, w, b, r, nw, nb, i; nb 3763 fs/jfs/jfs_dmap.c for (r = nblocks; r > 0; r -= nb, blkno += nb) { nb 3767 fs/jfs/jfs_dmap.c nb = min(r, DBWORD - b); nb 3770 fs/jfs/jfs_dmap.c if (nb < DBWORD) { nb 3772 fs/jfs/jfs_dmap.c dp->wmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) nb 3774 fs/jfs/jfs_dmap.c dp->pmap[w] &= cpu_to_le32(~(ONES << (DBWORD - nb) nb 3786 fs/jfs/jfs_dmap.c nb = nw << L2DBWORD; nb 22 fs/jfs/jfs_extent.c static s64 extRoundDown(s64 nb); nb 500 fs/jfs/jfs_extent.c s64 nb, nblks, daddr, max; nb 513 fs/jfs/jfs_extent.c nb = nblks = (max > nbperpage) ? max : nbperpage; nb 515 fs/jfs/jfs_extent.c nb = nblks = *nblocks; nb 518 fs/jfs/jfs_extent.c while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { nb 526 fs/jfs/jfs_extent.c nb = min(nblks, extRoundDown(nb)); nb 529 fs/jfs/jfs_extent.c if (nb < nbperpage) nb 533 fs/jfs/jfs_extent.c *nblocks = nb; nb 623 fs/jfs/jfs_extent.c static s64 extRoundDown(s64 nb) nb 629 fs/jfs/jfs_extent.c if (m & nb) nb 635 fs/jfs/jfs_extent.c k = ((k - 1) & nb) ? k : k >> 1; nb 2563 fs/jfs/jfs_xtree.c int nb, npages, nblks; nb 2672 fs/jfs/jfs_xtree.c for (nbrd = 0; nbrd < nbytes; nbrd += nb, nb 2673 fs/jfs/jfs_xtree.c offset += nb, pno++, npages--) { nb 2675 fs/jfs/jfs_xtree.c nb = min(nbytes - nbrd, CM_BSIZE); nb 2685 fs/jfs/jfs_xtree.c nblks = nb >> JFS_IP(ip->i_sb)->l2bsize; nb 211 fs/jfs/xattr.c s32 nbytes, nb; nb 251 fs/jfs/xattr.c nb = min(PSIZE, nbytes); nb 253 fs/jfs/xattr.c ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) nb 261 fs/jfs/xattr.c memcpy(mp->data, cp, nb); nb 284 fs/jfs/xattr.c nbytes -= nb; nb 360 fs/jfs/xattr.c int nbytes, nb; nb 391 fs/jfs/xattr.c nb = min(PSIZE, nbytes); nb 393 fs/jfs/xattr.c ((((nb + sb->s_blocksize - 1)) >> sb->s_blocksize_bits)) nb 399 fs/jfs/xattr.c memcpy(cp, mp->data, nb); nb 403 fs/jfs/xattr.c nbytes -= nb; nb 2043 fs/locks.c int lease_register_notifier(struct notifier_block *nb) nb 2045 fs/locks.c return srcu_notifier_chain_register(&lease_notifier_chain, nb); nb 2049 fs/locks.c void lease_unregister_notifier(struct notifier_block *nb) nb 2051 fs/locks.c srcu_notifier_chain_unregister(&lease_notifier_chain, nb); nb 2066 fs/locks.c int lease_register_notifier(struct notifier_block *nb) nb 2072 fs/locks.c void lease_unregister_notifier(struct notifier_block *nb) nb 165 fs/nfs/blocklayout/rpc_pipefs.c static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event, nb 425 fs/nfs/dns_resolve.c static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event, nb 521 fs/nfsd/filecache.c nfsd_file_lease_notifier_call(struct notifier_block *nb, unsigned long arg, nb 2135 fs/nfsd/nfs4recover.c rpc_pipefs_event(struct notifier_block *nb, unsigned long event, void *ptr) nb 35 fs/xfs/xfs_fsops.c xfs_rfsblock_t nb, nb_mod; nb 41 fs/xfs/xfs_fsops.c nb = in->newblocks; nb 42 fs/xfs/xfs_fsops.c if (nb < mp->m_sb.sb_dblocks) nb 44 fs/xfs/xfs_fsops.c if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) nb 47 fs/xfs/xfs_fsops.c XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), nb 53 fs/xfs/xfs_fsops.c new = nb; /* use new as a temporary here */ nb 58 fs/xfs/xfs_fsops.c nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks; nb 59 fs/xfs/xfs_fsops.c if (nb < mp->m_sb.sb_dblocks) nb 62 fs/xfs/xfs_fsops.c new = nb - mp->m_sb.sb_dblocks; nb 95 fs/xfs/xfs_fsops.c id.agsize = nb - nb 126 fs/xfs/xfs_fsops.c if (nb > mp->m_sb.sb_dblocks) nb 128 fs/xfs/xfs_fsops.c nb - mp->m_sb.sb_dblocks); nb 176 fs/xfs/xfs_fsops.c xfs_extlen_t nb; nb 178 fs/xfs/xfs_fsops.c nb = in->newblocks; nb 179 fs/xfs/xfs_fsops.c if (nb < XFS_MIN_LOG_BLOCKS || nb < XFS_B_TO_FSB(mp, XFS_MIN_LOG_BYTES)) nb 181 fs/xfs/xfs_fsops.c if (nb == mp->m_sb.sb_logblocks && nb 155 fs/xfs/xfs_quota.h #define xfs_trans_reserve_quota(tp, mp, ud, gd, pd, nb, ni, f) \ nb 156 fs/xfs/xfs_quota.h xfs_trans_reserve_quota_bydquots(tp, mp, ud, gd, pd, nb, ni, \ nb 8 include/acpi/button.h extern int acpi_lid_notifier_register(struct notifier_block *nb); nb 9 include/acpi/button.h extern int acpi_lid_notifier_unregister(struct notifier_block *nb); nb 12 include/acpi/button.h static inline int acpi_lid_notifier_register(struct notifier_block *nb) nb 16 include/acpi/button.h static inline int acpi_lid_notifier_unregister(struct notifier_block *nb) nb 14 include/acpi/hed.h int register_acpi_hed_notifier(struct notifier_block *nb); nb 15 include/acpi/hed.h void unregister_acpi_hed_notifier(struct notifier_block *nb); nb 416 include/crypto/algapi.h int crypto_register_notifier(struct notifier_block *nb); nb 417 include/crypto/algapi.h int crypto_unregister_notifier(struct notifier_block *nb); nb 641 include/linux/acpi.h int acpi_reconfig_notifier_register(struct notifier_block *nb); nb 642 include/linux/acpi.h int acpi_reconfig_notifier_unregister(struct notifier_block *nb); nb 872 include/linux/acpi.h static inline int acpi_reconfig_notifier_register(struct notifier_block *nb) nb 877 include/linux/acpi.h static inline int acpi_reconfig_notifier_unregister(struct notifier_block *nb) nb 331 include/linux/atmdev.h int register_atmdevice_notifier(struct notifier_block *nb); nb 332 include/linux/atmdev.h void unregister_atmdevice_notifier(struct notifier_block *nb); nb 190 include/linux/backlight.h extern int backlight_register_notifier(struct notifier_block *nb); nb 191 include/linux/backlight.h extern int backlight_unregister_notifier(struct notifier_block *nb); nb 103 include/linux/clk.h int clk_notifier_register(struct clk *clk, struct notifier_block *nb); nb 110 include/linux/clk.h int clk_notifier_unregister(struct clk *clk, struct notifier_block *nb); nb 178 include/linux/clk.h struct notifier_block *nb) nb 184 include/linux/clk.h struct notifier_block *nb) nb 234 include/linux/console.h void dummycon_register_output_notifier(struct notifier_block *nb); nb 235 include/linux/console.h void dummycon_unregister_output_notifier(struct notifier_block *nb); nb 61 include/linux/cpu_pm.h int cpu_pm_register_notifier(struct notifier_block *nb); nb 62 include/linux/cpu_pm.h int cpu_pm_unregister_notifier(struct notifier_block *nb); nb 70 include/linux/cpu_pm.h static inline int cpu_pm_register_notifier(struct notifier_block *nb) nb 75 include/linux/cpu_pm.h static inline int cpu_pm_unregister_notifier(struct notifier_block *nb) nb 479 include/linux/cpufreq.h int cpufreq_register_notifier(struct notifier_block *nb, unsigned int list); nb 480 include/linux/cpufreq.h int cpufreq_unregister_notifier(struct notifier_block *nb, unsigned int list); nb 488 include/linux/cpufreq.h static inline int cpufreq_register_notifier(struct notifier_block *nb, nb 493 include/linux/cpufreq.h static inline int cpufreq_unregister_notifier(struct notifier_block *nb, nb 13 include/linux/dca.h void dca_register_notify(struct notifier_block *nb); nb 14 include/linux/dca.h void dca_unregister_notify(struct notifier_block *nb); nb 156 include/linux/devfreq.h struct notifier_block nb; nb 228 include/linux/devfreq.h struct notifier_block *nb, nb 231 include/linux/devfreq.h struct notifier_block *nb, nb 235 include/linux/devfreq.h struct notifier_block *nb, nb 239 include/linux/devfreq.h struct notifier_block *nb, nb 293 include/linux/devfreq.h struct notifier_block nb; nb 367 include/linux/devfreq.h struct notifier_block *nb, nb 374 include/linux/devfreq.h struct notifier_block *nb, nb 382 include/linux/devfreq.h struct notifier_block *nb, nb 390 include/linux/devfreq.h struct notifier_block *nb, nb 279 include/linux/device.h struct notifier_block *nb); nb 281 include/linux/device.h struct notifier_block *nb); nb 200 include/linux/extcon.h struct notifier_block *nb); nb 202 include/linux/extcon.h struct notifier_block *nb); nb 205 include/linux/extcon.h struct notifier_block *nb); nb 208 include/linux/extcon.h struct notifier_block *nb); nb 211 include/linux/extcon.h struct notifier_block *nb); nb 213 include/linux/extcon.h struct notifier_block *nb); nb 216 include/linux/extcon.h struct notifier_block *nb); nb 219 include/linux/extcon.h struct notifier_block *nb); nb 252 include/linux/extcon.h unsigned int id, struct notifier_block *nb) nb 258 include/linux/extcon.h unsigned int id, struct notifier_block *nb) nb 265 include/linux/extcon.h struct notifier_block *nb) nb 272 include/linux/extcon.h struct notifier_block *nb) { } nb 304 include/linux/extcon.h struct notifier_block *nb) nb 152 include/linux/fb.h extern int fb_register_client(struct notifier_block *nb); nb 153 include/linux/fb.h extern int fb_unregister_client(struct notifier_block *nb); nb 156 include/linux/fb.h static inline int fb_register_client(struct notifier_block *nb) nb 161 include/linux/fb.h static inline int fb_unregister_client(struct notifier_block *nb) nb 20 include/linux/firmware/imx/sci.h int imx_scu_irq_register_notifier(struct notifier_block *nb); nb 21 include/linux/firmware/imx/sci.h int imx_scu_irq_unregister_notifier(struct notifier_block *nb); nb 55 include/linux/fsl_hypervisor.h int fsl_hv_failover_register(struct notifier_block *nb); nb 61 include/linux/fsl_hypervisor.h int fsl_hv_failover_unregister(struct notifier_block *nb); nb 133 include/linux/hsi/hsi.h struct notifier_block nb; nb 96 include/linux/igmp.h #define IGMPV3_MASK(value, nb) ((nb)>=32 ? (value) : ((1<<(nb))-1) & (value)) nb 165 include/linux/inetdevice.h int register_inetaddr_notifier(struct notifier_block *nb); nb 166 include/linux/inetdevice.h int unregister_inetaddr_notifier(struct notifier_block *nb); nb 167 include/linux/inetdevice.h int register_inetaddr_validator_notifier(struct notifier_block *nb); nb 168 include/linux/inetdevice.h int unregister_inetaddr_validator_notifier(struct notifier_block *nb); nb 467 include/linux/iommu.h struct notifier_block *nb); nb 469 include/linux/iommu.h struct notifier_block *nb); nb 815 include/linux/iommu.h struct notifier_block *nb) nb 821 include/linux/iommu.h struct notifier_block *nb) nb 17 include/linux/kdebug.h int register_die_notifier(struct notifier_block *nb); nb 18 include/linux/kdebug.h int unregister_die_notifier(struct notifier_block *nb); nb 50 include/linux/kernelcapi.h int register_capictr_notifier(struct notifier_block *nb); nb 51 include/linux/kernelcapi.h int unregister_capictr_notifier(struct notifier_block *nb); nb 19 include/linux/keyboard.h extern int register_keyboard_notifier(struct notifier_block *nb); nb 20 include/linux/keyboard.h extern int unregister_keyboard_notifier(struct notifier_block *nb); nb 86 include/linux/memory.h static inline int register_memory_notifier(struct notifier_block *nb) nb 90 include/linux/memory.h static inline void unregister_memory_notifier(struct notifier_block *nb) nb 97 include/linux/memory.h static inline int register_memory_isolate_notifier(struct notifier_block *nb) nb 101 include/linux/memory.h static inline void unregister_memory_isolate_notifier(struct notifier_block *nb) nb 109 include/linux/memory.h extern int register_memory_notifier(struct notifier_block *nb); nb 110 include/linux/memory.h extern void unregister_memory_notifier(struct notifier_block *nb); nb 111 include/linux/memory.h extern int register_memory_isolate_notifier(struct notifier_block *nb); nb 112 include/linux/memory.h extern void unregister_memory_isolate_notifier(struct notifier_block *nb); nb 132 include/linux/memory.h #define register_hotmemory_notifier(nb) register_memory_notifier(nb) nb 133 include/linux/memory.h #define unregister_hotmemory_notifier(nb) unregister_memory_notifier(nb) nb 137 include/linux/memory.h #define register_hotmemory_notifier(nb) ({ (void)(nb); 0; }) nb 138 include/linux/memory.h #define unregister_hotmemory_notifier(nb) ({ (void)(nb); }) nb 124 include/linux/mfd/ab3100.h struct notifier_block *nb); nb 126 include/linux/mfd/ab3100.h struct notifier_block *nb); nb 293 include/linux/mfd/adp5520.h struct notifier_block *nb, unsigned int events); nb 296 include/linux/mfd/adp5520.h struct notifier_block *nb, unsigned int events); nb 205 include/linux/mfd/da903x.h struct notifier_block *nb, unsigned int events); nb 207 include/linux/mfd/da903x.h struct notifier_block *nb, unsigned int events); nb 60 include/linux/mfd/rave-sp.h struct notifier_block *nb); nb 274 include/linux/mlx5/driver.h struct mlx5_nb nb; nb 452 include/linux/mlx5/driver.h struct notifier_block nb; nb 1072 include/linux/mlx5/driver.h int mlx5_notifier_register(struct mlx5_core_dev *dev, struct notifier_block *nb); nb 1073 include/linux/mlx5/driver.h int mlx5_notifier_unregister(struct mlx5_core_dev *dev, struct notifier_block *nb); nb 1074 include/linux/mlx5/driver.h int mlx5_eq_notifier_register(struct mlx5_core_dev *dev, struct mlx5_nb *nb); nb 1075 include/linux/mlx5/driver.h int mlx5_eq_notifier_unregister(struct mlx5_core_dev *dev, struct mlx5_nb *nb); nb 26 include/linux/mlx5/eq.h struct notifier_block *nb); nb 28 include/linux/mlx5/eq.h struct notifier_block *nb); nb 51 include/linux/mlx5/eq.h struct notifier_block nb; nb 56 include/linux/mlx5/eq.h (container_of(container_of(ptr, struct mlx5_nb, nb), type, member)) nb 59 include/linux/mlx5/eq.h (name)->nb.notifier_call = handler; \ nb 662 include/linux/module.h int register_module_notifier(struct notifier_block *nb); nb 663 include/linux/module.h int unregister_module_notifier(struct notifier_block *nb); nb 796 include/linux/module.h static inline int register_module_notifier(struct notifier_block *nb) nb 802 include/linux/module.h static inline int unregister_module_notifier(struct notifier_block *nb) nb 49 include/linux/mroute_base.h static inline int mr_call_vif_notifier(struct notifier_block *nb, nb 67 include/linux/mroute_base.h return call_fib_notifier(nb, net, event_type, &info.info); nb 175 include/linux/mroute_base.h static inline int mr_call_mfc_notifier(struct notifier_block *nb, nb 190 include/linux/mroute_base.h return call_fib_notifier(nb, net, event_type, &info.info); nb 302 include/linux/mroute_base.h int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, nb 304 include/linux/mroute_base.h struct notifier_block *nb), nb 355 include/linux/mroute_base.h static inline int mr_dump(struct net *net, struct notifier_block *nb, nb 358 include/linux/mroute_base.h struct notifier_block *nb), nb 232 include/linux/mtd/ubi.h int ubi_register_volume_notifier(struct notifier_block *nb, nb 234 include/linux/mtd/ubi.h int ubi_unregister_volume_notifier(struct notifier_block *nb); nb 2495 include/linux/netdevice.h int register_netdevice_notifier(struct notifier_block *nb); nb 2496 include/linux/netdevice.h int unregister_netdevice_notifier(struct notifier_block *nb); nb 139 include/linux/netlink.h int netlink_register_notifier(struct notifier_block *nb); nb 140 include/linux/netlink.h int netlink_unregister_notifier(struct notifier_block *nb); nb 51 include/linux/notifier.h typedef int (*notifier_fn_t)(struct notifier_block *nb, nb 145 include/linux/notifier.h struct notifier_block *nb); nb 147 include/linux/notifier.h struct notifier_block *nb); nb 149 include/linux/notifier.h struct notifier_block *nb); nb 151 include/linux/notifier.h struct notifier_block *nb); nb 155 include/linux/notifier.h struct notifier_block *nb); nb 158 include/linux/notifier.h struct notifier_block *nb); nb 160 include/linux/notifier.h struct notifier_block *nb); nb 162 include/linux/notifier.h struct notifier_block *nb); nb 164 include/linux/notifier.h struct notifier_block *nb); nb 89 include/linux/nvmem-consumer.h int nvmem_register_notifier(struct notifier_block *nb); nb 90 include/linux/nvmem-consumer.h int nvmem_unregister_notifier(struct notifier_block *nb); nb 197 include/linux/nvmem-consumer.h static inline int nvmem_register_notifier(struct notifier_block *nb) nb 202 include/linux/nvmem-consumer.h static inline int nvmem_unregister_notifier(struct notifier_block *nb) nb 1393 include/linux/of.h static inline int of_reconfig_notifier_register(struct notifier_block *nb) nb 1397 include/linux/of.h static inline int of_reconfig_notifier_unregister(struct notifier_block *nb) nb 1447 include/linux/of.h int of_overlay_notifier_register(struct notifier_block *nb); nb 1448 include/linux/of.h int of_overlay_notifier_unregister(struct notifier_block *nb); nb 1468 include/linux/of.h static inline int of_overlay_notifier_register(struct notifier_block *nb) nb 1473 include/linux/of.h static inline int of_overlay_notifier_unregister(struct notifier_block *nb) nb 117 include/linux/oom.h extern int register_oom_notifier(struct notifier_block *nb); nb 118 include/linux/oom.h extern int unregister_oom_notifier(struct notifier_block *nb); nb 6 include/linux/pl320-ipc.h int pl320_ipc_register_notifier(struct notifier_block *nb); nb 7 include/linux/pl320-ipc.h int pl320_ipc_unregister_notifier(struct notifier_block *nb); nb 15 include/linux/pm_clock.h struct notifier_block nb; nb 180 include/linux/pm_domain.h struct notifier_block nb; nb 120 include/linux/pm_opp.h int dev_pm_opp_register_notifier(struct device *dev, struct notifier_block *nb); nb 121 include/linux/pm_opp.h int dev_pm_opp_unregister_notifier(struct device *dev, struct notifier_block *nb); nb 255 include/linux/pm_opp.h static inline int dev_pm_opp_register_notifier(struct device *dev, struct notifier_block *nb) nb 260 include/linux/pm_opp.h static inline int dev_pm_opp_unregister_notifier(struct device *dev, struct notifier_block *nb) nb 69 include/linux/power/charger-manager.h struct notifier_block nb; nb 355 include/linux/power_supply.h extern int power_supply_reg_notifier(struct notifier_block *nb); nb 356 include/linux/power_supply.h extern void power_supply_unreg_notifier(struct notifier_block *nb); nb 14 include/linux/pvclock_gtod.h extern int pvclock_gtod_register_notifier(struct notifier_block *nb); nb 15 include/linux/pvclock_gtod.h extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb); nb 272 include/linux/regulator/consumer.h struct notifier_block *nb); nb 274 include/linux/regulator/consumer.h struct notifier_block *nb); nb 276 include/linux/regulator/consumer.h struct notifier_block *nb); nb 278 include/linux/regulator/consumer.h struct notifier_block *nb); nb 548 include/linux/regulator/consumer.h struct notifier_block *nb) nb 554 include/linux/regulator/consumer.h struct notifier_block *nb) nb 560 include/linux/regulator/consumer.h struct notifier_block *nb) nb 566 include/linux/regulator/consumer.h struct notifier_block *nb) nb 8 include/linux/remoteproc/qcom_rproc.h int qcom_register_ssr_notifier(struct notifier_block *nb); nb 9 include/linux/remoteproc/qcom_rproc.h void qcom_unregister_ssr_notifier(struct notifier_block *nb); nb 13 include/linux/remoteproc/qcom_rproc.h static inline int qcom_register_ssr_notifier(struct notifier_block *nb) nb 18 include/linux/remoteproc/qcom_rproc.h static inline void qcom_unregister_ssr_notifier(struct notifier_block *nb) {} nb 244 include/linux/security.h int register_blocking_lsm_notifier(struct notifier_block *nb); nb 245 include/linux/security.h int unregister_blocking_lsm_notifier(struct notifier_block *nb); nb 455 include/linux/security.h static inline int register_blocking_lsm_notifier(struct notifier_block *nb) nb 460 include/linux/security.h static inline int unregister_blocking_lsm_notifier(struct notifier_block *nb) nb 482 include/linux/suspend.h extern int register_pm_notifier(struct notifier_block *nb); nb 483 include/linux/suspend.h extern int unregister_pm_notifier(struct notifier_block *nb); nb 512 include/linux/suspend.h static inline int register_pm_notifier(struct notifier_block *nb) nb 517 include/linux/suspend.h static inline int unregister_pm_notifier(struct notifier_block *nb) nb 167 include/linux/syscalls.h #define SYSCALL_METADATA(sname, nb, ...) \ nb 169 include/linux/syscalls.h __MAP(nb,__SC_STR_TDECL,__VA_ARGS__) \ nb 172 include/linux/syscalls.h __MAP(nb,__SC_STR_ADECL,__VA_ARGS__) \ nb 180 include/linux/syscalls.h .nb_args = nb, \ nb 181 include/linux/syscalls.h .types = nb ? types_##sname : NULL, \ nb 182 include/linux/syscalls.h .args = nb ? args_##sname : NULL, \ nb 198 include/linux/syscalls.h #define SYSCALL_METADATA(sname, nb, ...) nb 55 include/linux/tracepoint.h extern int register_tracepoint_module_notifier(struct notifier_block *nb); nb 56 include/linux/tracepoint.h extern int unregister_tracepoint_module_notifier(struct notifier_block *nb); nb 63 include/linux/tracepoint.h int register_tracepoint_module_notifier(struct notifier_block *nb) nb 68 include/linux/tracepoint.h int unregister_tracepoint_module_notifier(struct notifier_block *nb) nb 2000 include/linux/usb.h extern void usb_register_notify(struct notifier_block *nb); nb 2001 include/linux/usb.h extern void usb_unregister_notify(struct notifier_block *nb); nb 30 include/linux/usb/chipidea.h struct notifier_block nb; nb 224 include/linux/usb/phy.h struct device_node *node, struct notifier_block *nb); nb 253 include/linux/usb/phy.h struct device_node *node, struct notifier_block *nb) nb 339 include/linux/usb/phy.h usb_register_notifier(struct usb_phy *x, struct notifier_block *nb) nb 341 include/linux/usb/phy.h return atomic_notifier_chain_register(&x->notifier, nb); nb 345 include/linux/usb/phy.h usb_unregister_notifier(struct usb_phy *x, struct notifier_block *nb) nb 347 include/linux/usb/phy.h atomic_notifier_chain_unregister(&x->notifier, nb); nb 97 include/linux/usb/renesas_usbhs.h int (*notifier)(struct notifier_block *nb, unsigned long event, nb 115 include/linux/usb/typec_altmode.h struct notifier_block *nb); nb 118 include/linux/usb/typec_altmode.h struct notifier_block *nb); nb 82 include/linux/vfio.h struct notifier_block *nb); nb 84 include/linux/vfio.h struct notifier_block *nb); nb 125 include/linux/vfio.h struct notifier_block *nb); nb 128 include/linux/vfio.h struct notifier_block *nb); nb 236 include/linux/vmalloc.h int register_vmap_purge_notifier(struct notifier_block *nb); nb 237 include/linux/vmalloc.h int unregister_vmap_purge_notifier(struct notifier_block *nb); nb 158 include/linux/vt_kern.h extern int register_vt_notifier(struct notifier_block *nb); nb 159 include/linux/vt_kern.h extern int unregister_vt_notifier(struct notifier_block *nb); nb 289 include/net/addrconf.h int register_inet6addr_notifier(struct notifier_block *nb); nb 290 include/net/addrconf.h int unregister_inet6addr_notifier(struct notifier_block *nb); nb 293 include/net/addrconf.h int register_inet6addr_validator_notifier(struct notifier_block *nb); nb 294 include/net/addrconf.h int unregister_inet6addr_validator_notifier(struct notifier_block *nb); nb 346 include/net/bluetooth/bluetooth.h unsigned long len, int nb, int *err) nb 350 include/net/bluetooth/bluetooth.h skb = sock_alloc_send_skb(sk, len + BT_SKB_RESERVE, nb, err); nb 625 include/net/bluetooth/l2cap.h unsigned long len, int nb); nb 876 include/net/bluetooth/l2cap.h unsigned long len, int nb) nb 16 include/net/dcbevent.h int register_dcbevent_notifier(struct notifier_block *nb); nb 17 include/net/dcbevent.h int unregister_dcbevent_notifier(struct notifier_block *nb); nb 21 include/net/dcbevent.h register_dcbevent_notifier(struct notifier_block *nb) nb 26 include/net/dcbevent.h static inline int unregister_dcbevent_notifier(struct notifier_block *nb) nb 171 include/net/dn_dev.h int register_dnaddr_notifier(struct notifier_block *nb); nb 172 include/net/dn_dev.h int unregister_dnaddr_notifier(struct notifier_block *nb); nb 227 include/net/dsa.h struct notifier_block nb; nb 613 include/net/dsa.h int register_dsa_notifier(struct notifier_block *nb); nb 614 include/net/dsa.h int unregister_dsa_notifier(struct notifier_block *nb); nb 618 include/net/dsa.h static inline int register_dsa_notifier(struct notifier_block *nb) nb 623 include/net/dsa.h static inline int unregister_dsa_notifier(struct notifier_block *nb) nb 33 include/net/fib_notifier.h int (*fib_dump)(struct net *net, struct notifier_block *nb); nb 38 include/net/fib_notifier.h int call_fib_notifier(struct notifier_block *nb, struct net *net, nb 43 include/net/fib_notifier.h int register_fib_notifier(struct notifier_block *nb, nb 44 include/net/fib_notifier.h void (*cb)(struct notifier_block *nb)); nb 45 include/net/fib_notifier.h int unregister_fib_notifier(struct notifier_block *nb); nb 198 include/net/fib_rules.h int fib_rules_dump(struct net *net, struct notifier_block *nb, int family); nb 485 include/net/ip6_fib.h int call_fib6_notifier(struct notifier_block *nb, struct net *net, nb 495 include/net/ip6_fib.h int fib6_tables_dump(struct net *net, struct notifier_block *nb); nb 511 include/net/ip6_fib.h int fib6_rules_dump(struct net *net, struct notifier_block *nb); nb 544 include/net/ip6_fib.h static inline int fib6_rules_dump(struct net *net, struct notifier_block *nb) nb 222 include/net/ip_fib.h int call_fib4_notifier(struct notifier_block *nb, struct net *net, nb 232 include/net/ip_fib.h void fib_notify(struct net *net, struct notifier_block *nb); nb 317 include/net/ip_fib.h static inline int fib4_rules_dump(struct net *net, struct notifier_block *nb) nb 379 include/net/ip_fib.h int fib4_rules_dump(struct net *net, struct notifier_block *nb); nb 34 include/net/netevent.h int register_netevent_notifier(struct notifier_block *nb); nb 35 include/net/netevent.h int unregister_netevent_notifier(struct notifier_block *nb); nb 80 include/net/netfilter/nf_conntrack_ecache.h struct nf_ct_event_notifier *nb); nb 82 include/net/netfilter/nf_conntrack_ecache.h struct nf_ct_event_notifier *nb); nb 166 include/net/netfilter/nf_conntrack_ecache.h struct nf_exp_event_notifier *nb); nb 168 include/net/netfilter/nf_conntrack_ecache.h struct nf_exp_event_notifier *nb); nb 167 include/net/switchdev.h int register_switchdev_notifier(struct notifier_block *nb); nb 168 include/net/switchdev.h int unregister_switchdev_notifier(struct notifier_block *nb); nb 173 include/net/switchdev.h int register_switchdev_blocking_notifier(struct notifier_block *nb); nb 174 include/net/switchdev.h int unregister_switchdev_blocking_notifier(struct notifier_block *nb); nb 227 include/net/switchdev.h static inline int register_switchdev_notifier(struct notifier_block *nb) nb 232 include/net/switchdev.h static inline int unregister_switchdev_notifier(struct notifier_block *nb) nb 246 include/net/switchdev.h register_switchdev_blocking_notifier(struct notifier_block *nb) nb 252 include/net/switchdev.h unregister_switchdev_blocking_notifier(struct notifier_block *nb) nb 434 include/net/vxlan.h struct notifier_block *nb, nb 447 include/net/vxlan.h struct notifier_block *nb, nb 245 include/net/x25.h static __inline__ void x25_neigh_hold(struct x25_neigh *nb) nb 247 include/net/x25.h refcount_inc(&nb->refcnt); nb 250 include/net/x25.h static __inline__ void x25_neigh_put(struct x25_neigh *nb) nb 252 include/net/x25.h if (refcount_dec_and_test(&nb->refcnt)) nb 253 include/net/x25.h kfree(nb); nb 322 include/pcmcia/cistpl.h u_char nb; nb 502 include/sound/soc.h struct notifier_block *nb); nb 504 include/sound/soc.h struct notifier_block *nb); nb 31 include/xen/xen-ops.h void xen_resume_notifier_register(struct notifier_block *nb); nb 32 include/xen/xen-ops.h void xen_resume_notifier_unregister(struct notifier_block *nb); nb 170 include/xen/xenbus.h int register_xenstore_notifier(struct notifier_block *nb); nb 171 include/xen/xenbus.h void unregister_xenstore_notifier(struct notifier_block *nb); nb 1333 kernel/cpu.c cpu_hotplug_pm_callback(struct notifier_block *nb, nb 45 kernel/cpu_pm.c int cpu_pm_register_notifier(struct notifier_block *nb) nb 47 kernel/cpu_pm.c return atomic_notifier_chain_register(&cpu_pm_notifier_chain, nb); nb 60 kernel/cpu_pm.c int cpu_pm_unregister_notifier(struct notifier_block *nb) nb 62 kernel/cpu_pm.c return atomic_notifier_chain_unregister(&cpu_pm_notifier_chain, nb); nb 884 kernel/dma/debug.c static int dma_debug_device_change(struct notifier_block *nb, unsigned long action, void *data) nb 916 kernel/dma/debug.c struct notifier_block *nb; nb 921 kernel/dma/debug.c nb = kzalloc(sizeof(struct notifier_block), GFP_KERNEL); nb 922 kernel/dma/debug.c if (nb == NULL) { nb 927 kernel/dma/debug.c nb->notifier_call = dma_debug_device_change; nb 929 kernel/dma/debug.c bus_register_notifier(bus, nb); nb 54 kernel/gcov/base.c static int gcov_module_notifier(struct notifier_block *nb, unsigned long event, nb 2219 kernel/kprobes.c static int kprobes_module_callback(struct notifier_block *nb, nb 297 kernel/module.c int register_module_notifier(struct notifier_block *nb) nb 299 kernel/module.c return blocking_notifier_chain_register(&module_notify_list, nb); nb 303 kernel/module.c int unregister_module_notifier(struct notifier_block *nb) nb 305 kernel/module.c return blocking_notifier_chain_unregister(&module_notify_list, nb); nb 81 kernel/notifier.c struct notifier_block *nb, *next_nb; nb 83 kernel/notifier.c nb = rcu_dereference_raw(*nl); nb 85 kernel/notifier.c while (nb && nr_to_call) { nb 86 kernel/notifier.c next_nb = rcu_dereference_raw(nb->next); nb 89 kernel/notifier.c if (unlikely(!func_ptr_is_kernel_text(nb->notifier_call))) { nb 91 kernel/notifier.c nb = next_nb; nb 95 kernel/notifier.c ret = nb->notifier_call(nb, val, v); nb 102 kernel/notifier.c nb = next_nb; nb 555 kernel/notifier.c int register_die_notifier(struct notifier_block *nb) nb 558 kernel/notifier.c return atomic_notifier_chain_register(&die_chain, nb); nb 562 kernel/notifier.c int unregister_die_notifier(struct notifier_block *nb) nb 564 kernel/notifier.c return atomic_notifier_chain_unregister(&die_chain, nb); nb 71 kernel/power/main.c int register_pm_notifier(struct notifier_block *nb) nb 73 kernel/power/main.c return blocking_notifier_chain_register(&pm_chain_head, nb); nb 77 kernel/power/main.c int unregister_pm_notifier(struct notifier_block *nb) nb 79 kernel/power/main.c return blocking_notifier_chain_unregister(&pm_chain_head, nb); nb 89 kernel/reboot.c int register_reboot_notifier(struct notifier_block *nb) nb 91 kernel/reboot.c return blocking_notifier_chain_register(&reboot_notifier_list, nb); nb 104 kernel/reboot.c int unregister_reboot_notifier(struct notifier_block *nb) nb 106 kernel/reboot.c return blocking_notifier_chain_unregister(&reboot_notifier_list, nb); nb 115 kernel/reboot.c int devm_register_reboot_notifier(struct device *dev, struct notifier_block *nb) nb 125 kernel/reboot.c ret = register_reboot_notifier(nb); nb 127 kernel/reboot.c *rcnb = nb; nb 181 kernel/reboot.c int register_restart_handler(struct notifier_block *nb) nb 183 kernel/reboot.c return atomic_notifier_chain_register(&restart_handler_list, nb); nb 196 kernel/reboot.c int unregister_restart_handler(struct notifier_block *nb) nb 198 kernel/reboot.c return atomic_notifier_chain_unregister(&restart_handler_list, nb); nb 584 kernel/time/timekeeping.c int pvclock_gtod_register_notifier(struct notifier_block *nb) nb 591 kernel/time/timekeeping.c ret = raw_notifier_chain_register(&pvclock_gtod_chain, nb); nb 603 kernel/time/timekeeping.c int pvclock_gtod_unregister_notifier(struct notifier_block *nb) nb 609 kernel/time/timekeeping.c ret = raw_notifier_chain_unregister(&pvclock_gtod_chain, nb); nb 1473 kernel/trace/bpf_trace.c static int bpf_event_notify(struct notifier_block *nb, unsigned long op, nb 671 kernel/trace/trace_kprobe.c static int trace_kprobe_module_callback(struct notifier_block *nb, nb 505 kernel/trace/trace_probe.c #define BYTES_TO_BITS(nb) ((BITS_PER_LONG * (nb)) / sizeof(long)) nb 392 kernel/tracepoint.c int register_tracepoint_module_notifier(struct notifier_block *nb) nb 398 kernel/tracepoint.c ret = blocking_notifier_chain_register(&tracepoint_notify_list, nb); nb 402 kernel/tracepoint.c (void) nb->notifier_call(nb, MODULE_STATE_COMING, tp_mod); nb 416 kernel/tracepoint.c int unregister_tracepoint_module_notifier(struct notifier_block *nb) nb 422 kernel/tracepoint.c ret = blocking_notifier_chain_unregister(&tracepoint_notify_list, nb); nb 426 kernel/tracepoint.c (void) nb->notifier_call(nb, MODULE_STATE_GOING, tp_mod); nb 128 lib/error-inject.c static int ei_module_callback(struct notifier_block *nb, nb 841 lib/inflate.c unsigned nb; /* number of bit length codes */ nb 873 lib/inflate.c nb = 4 + ((unsigned)b & 0xf); /* number of bit length codes */ nb 888 lib/inflate.c for (j = 0; j < nb; j++) nb 31 lib/memory-notifier-error-inject.c err = register_memory_notifier(&memory_notifier_err_inject.nb); nb 40 lib/memory-notifier-error-inject.c unregister_memory_notifier(&memory_notifier_err_inject.nb); nb 38 lib/netdev-notifier-error-inject.c err = register_netdevice_notifier(&netdev_notifier_err_inject.nb); nb 47 lib/netdev-notifier-error-inject.c unregister_netdevice_notifier(&netdev_notifier_err_inject.nb); nb 27 lib/notifier-error-inject.c static int notifier_err_inject_callback(struct notifier_block *nb, nb 32 lib/notifier-error-inject.c container_of(nb, struct notifier_err_inject, nb); nb 58 lib/notifier-error-inject.c err_inject->nb.notifier_call = notifier_err_inject_callback; nb 59 lib/notifier-error-inject.c err_inject->nb.priority = priority; nb 16 lib/notifier-error-inject.h struct notifier_block nb; nb 34 lib/of-reconfig-notifier-error-inject.c err = of_reconfig_notifier_register(&reconfig_err_inject.nb); nb 43 lib/of-reconfig-notifier-error-inject.c of_reconfig_notifier_unregister(&reconfig_err_inject.nb); nb 32 lib/pm-notifier-error-inject.c err = register_pm_notifier(&pm_notifier_err_inject.nb); nb 41 lib/pm-notifier-error-inject.c unregister_pm_notifier(&pm_notifier_err_inject.nb); nb 673 mm/kasan/common.c static int __meminit kasan_mem_notifier(struct notifier_block *nb, nb 3717 mm/mmap.c static int reserve_mem_notifier(struct notifier_block *nb, nb 1022 mm/oom_kill.c int register_oom_notifier(struct notifier_block *nb) nb 1024 mm/oom_kill.c return blocking_notifier_chain_register(&oom_notify_list, nb); nb 1028 mm/oom_kill.c int unregister_oom_notifier(struct notifier_block *nb) nb 1030 mm/oom_kill.c return blocking_notifier_chain_unregister(&oom_notify_list, nb); nb 1153 mm/vmalloc.c int register_vmap_purge_notifier(struct notifier_block *nb) nb 1155 mm/vmalloc.c return blocking_notifier_chain_register(&vmap_notify_list, nb); nb 1159 mm/vmalloc.c int unregister_vmap_purge_notifier(struct notifier_block *nb) nb 1161 mm/vmalloc.c return blocking_notifier_chain_unregister(&vmap_notify_list, nb); nb 838 net/atm/common.c int register_atmdevice_notifier(struct notifier_block *nb) nb 840 net/atm/common.c return atomic_notifier_chain_register(&atm_dev_notify_chain, nb); nb 844 net/atm/common.c void unregister_atmdevice_notifier(struct notifier_block *nb) nb 846 net/atm/common.c atomic_notifier_chain_unregister(&atm_dev_notify_chain, nb); nb 847 net/bluetooth/6lowpan.c unsigned long len, int nb) nb 723 net/bluetooth/a2mp.c unsigned long len, int nb) nb 1380 net/bluetooth/l2cap_sock.c unsigned long len, int nb) nb 1387 net/bluetooth/l2cap_sock.c skb = bt_skb_send_alloc(sk, hdr_len + len, nb, &err); nb 1416 net/bluetooth/smp.c u8 *na, *nb, a[7], b[7]; nb 1420 net/bluetooth/smp.c nb = smp->rrnd; nb 1423 net/bluetooth/smp.c nb = smp->prnd; nb 1431 net/bluetooth/smp.c return smp_f5(smp->tfm_cmac, smp->dhkey, na, nb, a, b, mackey, ltk); nb 2124 net/bluetooth/smp.c u8 *pkax, *pkbx, *na, *nb; nb 2143 net/bluetooth/smp.c nb = smp->rrnd; nb 2148 net/bluetooth/smp.c nb = smp->prnd; nb 2193 net/bluetooth/smp.c err = smp_g2(smp->tfm_cmac, pkax, pkbx, na, nb, &passkey); nb 3135 net/bluetooth/smp.c unsigned long len, int nb) nb 771 net/can/af_can.c static int can_notifier(struct notifier_block *nb, unsigned long msg, nb 1381 net/can/bcm.c static int bcm_notifier(struct notifier_block *nb, unsigned long msg, nb 1385 net/can/bcm.c struct bcm_sock *bo = container_of(nb, struct bcm_sock, notifier); nb 519 net/can/gw.c static int cgw_notifier(struct notifier_block *nb, nb 347 net/can/j1939/main.c static int j1939_netdev_notify(struct notifier_block *nb, nb 266 net/can/raw.c static int raw_notifier(struct notifier_block *nb, nb 270 net/can/raw.c struct raw_sock *ro = container_of(nb, struct raw_sock, notifier); nb 1528 net/core/dev.c static int call_netdevice_notifier(struct notifier_block *nb, unsigned long val, nb 1535 net/core/dev.c return nb->notifier_call(nb, val, &info); nb 1554 net/core/dev.c int register_netdevice_notifier(struct notifier_block *nb) nb 1564 net/core/dev.c err = raw_notifier_chain_register(&netdev_chain, nb); nb 1571 net/core/dev.c err = call_netdevice_notifier(nb, NETDEV_REGISTER, dev); nb 1579 net/core/dev.c call_netdevice_notifier(nb, NETDEV_UP, dev); nb 1596 net/core/dev.c call_netdevice_notifier(nb, NETDEV_GOING_DOWN, nb 1598 net/core/dev.c call_netdevice_notifier(nb, NETDEV_DOWN, dev); nb 1600 net/core/dev.c call_netdevice_notifier(nb, NETDEV_UNREGISTER, dev); nb 1605 net/core/dev.c raw_notifier_chain_unregister(&netdev_chain, nb); nb 1624 net/core/dev.c int unregister_netdevice_notifier(struct notifier_block *nb) nb 1633 net/core/dev.c err = raw_notifier_chain_unregister(&netdev_chain, nb); nb 1640 net/core/dev.c call_netdevice_notifier(nb, NETDEV_GOING_DOWN, nb 1642 net/core/dev.c call_netdevice_notifier(nb, NETDEV_DOWN, dev); nb 1644 net/core/dev.c call_netdevice_notifier(nb, NETDEV_UNREGISTER, dev); nb 19 net/core/fib_notifier.c int call_fib_notifier(struct notifier_block *nb, struct net *net, nb 26 net/core/fib_notifier.c err = nb->notifier_call(nb, event_type, info); nb 68 net/core/fib_notifier.c static int fib_net_dump(struct net *net, struct notifier_block *nb) nb 78 net/core/fib_notifier.c err = ops->fib_dump(net, nb); nb 87 net/core/fib_notifier.c static bool fib_dump_is_consistent(struct notifier_block *nb, nb 88 net/core/fib_notifier.c void (*cb)(struct notifier_block *nb), nb 91 net/core/fib_notifier.c atomic_notifier_chain_register(&fib_chain, nb); nb 94 net/core/fib_notifier.c atomic_notifier_chain_unregister(&fib_chain, nb); nb 96 net/core/fib_notifier.c cb(nb); nb 101 net/core/fib_notifier.c int register_fib_notifier(struct notifier_block *nb, nb 102 net/core/fib_notifier.c void (*cb)(struct notifier_block *nb)) nb 113 net/core/fib_notifier.c err = fib_net_dump(net, nb); nb 119 net/core/fib_notifier.c if (fib_dump_is_consistent(nb, cb, fib_seq)) nb 131 net/core/fib_notifier.c int unregister_fib_notifier(struct notifier_block *nb) nb 133 net/core/fib_notifier.c return atomic_notifier_chain_unregister(&fib_chain, nb); nb 324 net/core/fib_rules.c static int call_fib_rule_notifier(struct notifier_block *nb, struct net *net, nb 333 net/core/fib_rules.c return call_fib_notifier(nb, net, event_type, &info.info); nb 353 net/core/fib_rules.c int fib_rules_dump(struct net *net, struct notifier_block *nb, int family) nb 362 net/core/fib_rules.c call_fib_rule_notifier(nb, net, FIB_EVENT_RULE_ADD, rule, nb 28 net/core/netevent.c int register_netevent_notifier(struct notifier_block *nb) nb 30 net/core/netevent.c return atomic_notifier_chain_register(&netevent_notif_chain, nb); nb 44 net/core/netevent.c int unregister_netevent_notifier(struct notifier_block *nb) nb 46 net/core/netevent.c return atomic_notifier_chain_unregister(&netevent_notif_chain, nb); nb 15 net/dcb/dcbevent.c int register_dcbevent_notifier(struct notifier_block *nb) nb 17 net/dcb/dcbevent.c return atomic_notifier_chain_register(&dcbevent_notif_chain, nb); nb 21 net/dcb/dcbevent.c int unregister_dcbevent_notifier(struct notifier_block *nb) nb 23 net/dcb/dcbevent.c return atomic_notifier_chain_unregister(&dcbevent_notif_chain, nb); nb 1275 net/decnet/dn_dev.c int register_dnaddr_notifier(struct notifier_block *nb) nb 1277 net/decnet/dn_dev.c return blocking_notifier_chain_register(&dnaddr_chain, nb); nb 1280 net/decnet/dn_dev.c int unregister_dnaddr_notifier(struct notifier_block *nb) nb 1282 net/decnet/dn_dev.c return blocking_notifier_chain_unregister(&dnaddr_chain, nb); nb 312 net/dsa/dsa.c int register_dsa_notifier(struct notifier_block *nb) nb 314 net/dsa/dsa.c return atomic_notifier_chain_register(&dsa_notif_chain, nb); nb 318 net/dsa/dsa.c int unregister_dsa_notifier(struct notifier_block *nb) nb 320 net/dsa/dsa.c return atomic_notifier_chain_unregister(&dsa_notif_chain, nb); nb 1545 net/dsa/slave.c static int dsa_slave_netdevice_event(struct notifier_block *nb, nb 1716 net/dsa/slave.c struct notifier_block *nb; nb 1727 net/dsa/slave.c nb = &dsa_slave_switchdev_blocking_notifier; nb 1728 net/dsa/slave.c err = register_switchdev_blocking_notifier(nb); nb 1743 net/dsa/slave.c struct notifier_block *nb; nb 1746 net/dsa/slave.c nb = &dsa_slave_switchdev_blocking_notifier; nb 1747 net/dsa/slave.c err = unregister_switchdev_blocking_notifier(nb); nb 297 net/dsa/switch.c static int dsa_switch_event(struct notifier_block *nb, nb 300 net/dsa/switch.c struct dsa_switch *ds = container_of(nb, struct dsa_switch, nb); nb 349 net/dsa/switch.c ds->nb.notifier_call = dsa_switch_event; nb 351 net/dsa/switch.c return raw_notifier_chain_register(&ds->dst->nh, &ds->nb); nb 358 net/dsa/switch.c err = raw_notifier_chain_unregister(&ds->dst->nh, &ds->nb); nb 18 net/hsr/hsr_main.c static int hsr_netdev_notify(struct notifier_block *nb, unsigned long event, nb 255 net/ieee802154/core.c static int cfg802154_netdev_notifier_call(struct notifier_block *nb, nb 1451 net/ipv4/devinet.c int register_inetaddr_notifier(struct notifier_block *nb) nb 1453 net/ipv4/devinet.c return blocking_notifier_chain_register(&inetaddr_chain, nb); nb 1457 net/ipv4/devinet.c int unregister_inetaddr_notifier(struct notifier_block *nb) nb 1459 net/ipv4/devinet.c return blocking_notifier_chain_unregister(&inetaddr_chain, nb); nb 1463 net/ipv4/devinet.c int register_inetaddr_validator_notifier(struct notifier_block *nb) nb 1465 net/ipv4/devinet.c return blocking_notifier_chain_register(&inetaddr_validator_chain, nb); nb 1469 net/ipv4/devinet.c int unregister_inetaddr_validator_notifier(struct notifier_block *nb) nb 1472 net/ipv4/devinet.c nb); nb 12 net/ipv4/fib_notifier.c int call_fib4_notifier(struct notifier_block *nb, struct net *net, nb 17 net/ipv4/fib_notifier.c return call_fib_notifier(nb, net, event_type, info); nb 37 net/ipv4/fib_notifier.c static int fib4_dump(struct net *net, struct notifier_block *nb) nb 41 net/ipv4/fib_notifier.c err = fib4_rules_dump(net, nb); nb 45 net/ipv4/fib_notifier.c fib_notify(net, nb); nb 68 net/ipv4/fib_rules.c int fib4_rules_dump(struct net *net, struct notifier_block *nb) nb 70 net/ipv4/fib_rules.c return fib_rules_dump(net, nb, AF_INET); nb 77 net/ipv4/fib_trie.c static int call_fib_entry_notifier(struct notifier_block *nb, struct net *net, nb 89 net/ipv4/fib_trie.c return call_fib4_notifier(nb, net, event_type, &info.info); nb 2019 net/ipv4/fib_trie.c struct fib_table *tb, struct notifier_block *nb) nb 2035 net/ipv4/fib_trie.c call_fib_entry_notifier(nb, net, FIB_EVENT_ENTRY_ADD, l->key, nb 2041 net/ipv4/fib_trie.c struct notifier_block *nb) nb 2048 net/ipv4/fib_trie.c fib_leaf_notify(net, l, tb, nb); nb 2057 net/ipv4/fib_trie.c void fib_notify(struct net *net, struct notifier_block *nb) nb 2066 net/ipv4/fib_trie.c fib_table_notify(net, tb, nb); nb 281 net/ipv4/ipmr.c static int ipmr_rules_dump(struct net *net, struct notifier_block *nb) nb 283 net/ipv4/ipmr.c return fib_rules_dump(net, nb, RTNL_FAMILY_IPMR); nb 339 net/ipv4/ipmr.c static int ipmr_rules_dump(struct net *net, struct notifier_block *nb) nb 3044 net/ipv4/ipmr.c static int ipmr_dump(struct net *net, struct notifier_block *nb) nb 3046 net/ipv4/ipmr.c return mr_dump(net, nb, RTNL_FAMILY_IPMR, ipmr_rules_dump, nb 387 net/ipv4/ipmr_base.c int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family, nb 389 net/ipv4/ipmr_base.c struct notifier_block *nb), nb 397 net/ipv4/ipmr_base.c err = rules_dump(net, nb); nb 412 net/ipv4/ipmr_base.c mr_call_vif_notifier(nb, net, family, nb 420 net/ipv4/ipmr_base.c mr_call_mfc_notifier(nb, net, family, nb 95 net/ipv6/addrconf_core.c int register_inet6addr_notifier(struct notifier_block *nb) nb 97 net/ipv6/addrconf_core.c return atomic_notifier_chain_register(&inet6addr_chain, nb); nb 101 net/ipv6/addrconf_core.c int unregister_inet6addr_notifier(struct notifier_block *nb) nb 103 net/ipv6/addrconf_core.c return atomic_notifier_chain_unregister(&inet6addr_chain, nb); nb 113 net/ipv6/addrconf_core.c int register_inet6addr_validator_notifier(struct notifier_block *nb) nb 115 net/ipv6/addrconf_core.c return blocking_notifier_chain_register(&inet6addr_validator_chain, nb); nb 119 net/ipv6/addrconf_core.c int unregister_inet6addr_validator_notifier(struct notifier_block *nb) nb 122 net/ipv6/addrconf_core.c nb); nb 10 net/ipv6/fib6_notifier.c int call_fib6_notifier(struct notifier_block *nb, struct net *net, nb 15 net/ipv6/fib6_notifier.c return call_fib_notifier(nb, net, event_type, info); nb 30 net/ipv6/fib6_notifier.c static int fib6_dump(struct net *net, struct notifier_block *nb) nb 34 net/ipv6/fib6_notifier.c err = fib6_rules_dump(net, nb); nb 38 net/ipv6/fib6_notifier.c return fib6_tables_dump(net, nb); nb 50 net/ipv6/fib6_rules.c int fib6_rules_dump(struct net *net, struct notifier_block *nb) nb 52 net/ipv6/fib6_rules.c return fib_rules_dump(net, nb, AF_INET6); nb 360 net/ipv6/ip6_fib.c static int call_fib6_entry_notifier(struct notifier_block *nb, struct net *net, nb 368 net/ipv6/ip6_fib.c return call_fib6_notifier(nb, net, event_type, &info.info); nb 403 net/ipv6/ip6_fib.c struct notifier_block *nb; nb 410 net/ipv6/ip6_fib.c call_fib6_entry_notifier(arg->nb, arg->net, FIB_EVENT_ENTRY_ADD, rt); nb 433 net/ipv6/ip6_fib.c int fib6_tables_dump(struct net *net, struct notifier_block *nb) nb 445 net/ipv6/ip6_fib.c arg.nb = nb; nb 268 net/ipv6/ip6mr.c static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb) nb 270 net/ipv6/ip6mr.c return fib_rules_dump(net, nb, RTNL_FAMILY_IP6MR); nb 327 net/ipv6/ip6mr.c static int ip6mr_rules_dump(struct net *net, struct notifier_block *nb) nb 1259 net/ipv6/ip6mr.c static int ip6mr_dump(struct net *net, struct notifier_block *nb) nb 1261 net/ipv6/ip6mr.c return mr_dump(net, nb, RTNL_FAMILY_IP6MR, ip6mr_rules_dump, nb 1972 net/mac80211/iface.c static int netdev_notify(struct notifier_block *nb, nb 318 net/mac80211/main.c static int ieee80211_ifa_changed(struct notifier_block *nb, nb 323 net/mac80211/main.c container_of(nb, struct ieee80211_local, nb 377 net/mac80211/main.c static int ieee80211_ifa6_changed(struct notifier_block *nb, nb 384 net/mac80211/main.c container_of(nb, struct ieee80211_local, ifa6_notifier); nb 710 net/mac802154/iface.c static int netdev_notify(struct notifier_block *nb, nb 2653 net/netlink/af_netlink.c int netlink_register_notifier(struct notifier_block *nb) nb 2655 net/netlink/af_netlink.c return blocking_notifier_chain_register(&netlink_chain, nb); nb 2659 net/netlink/af_netlink.c int netlink_unregister_notifier(struct notifier_block *nb) nb 2661 net/netlink/af_netlink.c return blocking_notifier_chain_unregister(&netlink_chain, nb); nb 440 net/rose/rose_subr.c int len, nb; nb 458 net/rose/rose_subr.c for (nb = 0 ; nb < rose->source_ndigis ; nb++) { nb 461 net/rose/rose_subr.c memcpy(p, &rose->source_digis[nb], AX25_ADDR_LEN); nb 465 net/rose/rose_subr.c for (nb = 0 ; nb < rose->dest_ndigis ; nb++) { nb 468 net/rose/rose_subr.c memcpy(p, &rose->dest_digis[nb], AX25_ADDR_LEN); nb 331 net/sched/sch_cbs.c static int cbs_dev_notifier(struct notifier_block *nb, unsigned long event, nb 597 net/sched/sch_netem.c int nb; nb 600 net/sched/sch_netem.c nb = skb ? 1 : 0; nb 612 net/sched/sch_netem.c nb++; nb 618 net/sched/sch_netem.c qdisc_tree_reduce_backlog(sch, -(nb - 1), -(len - prev_len)); nb 1068 net/sched/sch_taprio.c static int taprio_dev_notifier(struct notifier_block *nb, unsigned long event, nb 150 net/sched/sch_tbf.c int ret, nb; nb 157 net/sched/sch_tbf.c nb = 0; nb 168 net/sched/sch_tbf.c nb++; nb 172 net/sched/sch_tbf.c sch->q.qlen += nb; nb 173 net/sched/sch_tbf.c if (nb > 1) nb 174 net/sched/sch_tbf.c qdisc_tree_reduce_backlog(sch, 1 - nb, prev_len - len); nb 176 net/sched/sch_tbf.c return nb > 0 ? NET_XMIT_SUCCESS : NET_XMIT_DROP; nb 237 net/sunrpc/clnt.c static int rpc_pipefs_event(struct notifier_block *nb, unsigned long event, nb 52 net/sunrpc/rpc_pipe.c int rpc_pipefs_notifier_register(struct notifier_block *nb) nb 54 net/sunrpc/rpc_pipe.c return blocking_notifier_chain_cond_register(&rpc_pipefs_notifier_list, nb); nb 58 net/sunrpc/rpc_pipe.c void rpc_pipefs_notifier_unregister(struct notifier_block *nb) nb 60 net/sunrpc/rpc_pipe.c blocking_notifier_chain_unregister(&rpc_pipefs_notifier_list, nb); nb 385 net/switchdev/switchdev.c int register_switchdev_notifier(struct notifier_block *nb) nb 387 net/switchdev/switchdev.c return atomic_notifier_chain_register(&switchdev_notif_chain, nb); nb 397 net/switchdev/switchdev.c int unregister_switchdev_notifier(struct notifier_block *nb) nb 399 net/switchdev/switchdev.c return atomic_notifier_chain_unregister(&switchdev_notif_chain, nb); nb 421 net/switchdev/switchdev.c int register_switchdev_blocking_notifier(struct notifier_block *nb) nb 425 net/switchdev/switchdev.c return blocking_notifier_chain_register(chain, nb); nb 429 net/switchdev/switchdev.c int unregister_switchdev_blocking_notifier(struct notifier_block *nb) nb 433 net/switchdev/switchdev.c return blocking_notifier_chain_unregister(chain, nb); nb 605 net/tipc/bearer.c static int tipc_l2_device_event(struct notifier_block *nb, unsigned long evt, nb 1254 net/wireless/core.c static int cfg80211_netdev_notifier_call(struct notifier_block *nb, nb 16730 net/wireless/nl80211.c static int nl80211_netlink_notify(struct notifier_block * nb, nb 360 net/wireless/wext-core.c static int wext_netdev_notifier_call(struct notifier_block *nb, nb 225 net/x25/af_x25.c struct x25_neigh *nb; nb 240 net/x25/af_x25.c nb = x25_get_neigh(dev); nb 241 net/x25/af_x25.c if (nb) { nb 242 net/x25/af_x25.c x25_terminate_link(nb); nb 243 net/x25/af_x25.c x25_neigh_put(nb); nb 318 net/x25/af_x25.c static struct sock *__x25_find_socket(unsigned int lci, struct x25_neigh *nb) nb 323 net/x25/af_x25.c if (x25_sk(s)->lci == lci && x25_sk(s)->neighbour == nb) { nb 332 net/x25/af_x25.c struct sock *x25_find_socket(unsigned int lci, struct x25_neigh *nb) nb 337 net/x25/af_x25.c s = __x25_find_socket(lci, nb); nb 345 net/x25/af_x25.c static unsigned int x25_new_lci(struct x25_neigh *nb) nb 350 net/x25/af_x25.c while ((sk = x25_find_socket(lci, nb)) != NULL) { nb 931 net/x25/af_x25.c int x25_rx_call_request(struct sk_buff *skb, struct x25_neigh *nb, nb 1002 net/x25/af_x25.c x25_forward_call(&dest_addr, nb, skb, lci) > 0) nb 1026 net/x25/af_x25.c x25_limit_facilities(&facilities, nb); nb 1047 net/x25/af_x25.c makex25->neighbour = nb; nb 1087 net/x25/af_x25.c x25_transmit_clear_request(nb, lci, 0x01); nb 1623 net/x25/af_x25.c struct x25_neigh *nb; nb 1636 net/x25/af_x25.c nb = x25_get_neigh(dev); nb 1637 net/x25/af_x25.c if (nb == NULL) nb 1644 net/x25/af_x25.c x25_subscr.extended = nb->extended; nb 1645 net/x25/af_x25.c x25_subscr.global_facil_mask = nb->global_facil_mask; nb 1654 net/x25/af_x25.c nb->extended = x25_subscr.extended; nb 1655 net/x25/af_x25.c nb->global_facil_mask = x25_subscr.global_facil_mask; nb 1659 net/x25/af_x25.c x25_neigh_put(nb); nb 1761 net/x25/af_x25.c void x25_kill_by_neigh(struct x25_neigh *nb) nb 1768 net/x25/af_x25.c if (x25_sk(s)->neighbour == nb) nb 1774 net/x25/af_x25.c x25_clear_forward_by_dev(nb->dev); nb 26 net/x25/x25_dev.c static int x25_receive_data(struct sk_buff *skb, struct x25_neigh *nb) nb 43 net/x25/x25_dev.c x25_link_control(skb, nb, frametype); nb 50 net/x25/x25_dev.c if ((sk = x25_find_socket(lci, nb)) != NULL) { nb 69 net/x25/x25_dev.c return x25_rx_call_request(skb, nb, lci); nb 76 net/x25/x25_dev.c if (x25_forward_data(lci, nb, skb)) { nb 98 net/x25/x25_dev.c struct x25_neigh *nb; nb 112 net/x25/x25_dev.c nb = x25_get_neigh(dev); nb 113 net/x25/x25_dev.c if (!nb) { nb 119 net/x25/x25_dev.c x25_neigh_put(nb); nb 127 net/x25/x25_dev.c if (x25_receive_data(skb, nb)) { nb 128 net/x25/x25_dev.c x25_neigh_put(nb); nb 134 net/x25/x25_dev.c x25_link_established(nb); nb 138 net/x25/x25_dev.c x25_link_terminated(nb); nb 141 net/x25/x25_dev.c x25_neigh_put(nb); nb 148 net/x25/x25_dev.c void x25_establish_link(struct x25_neigh *nb) nb 153 net/x25/x25_dev.c switch (nb->dev->type) { nb 172 net/x25/x25_dev.c skb->dev = nb->dev; nb 177 net/x25/x25_dev.c void x25_terminate_link(struct x25_neigh *nb) nb 183 net/x25/x25_dev.c if (nb->dev->type == ARPHRD_ETHER) nb 186 net/x25/x25_dev.c if (nb->dev->type != ARPHRD_X25) nb 199 net/x25/x25_dev.c skb->dev = nb->dev; nb 203 net/x25/x25_dev.c void x25_send_frame(struct sk_buff *skb, struct x25_neigh *nb) nb 209 net/x25/x25_dev.c switch (nb->dev->type) { nb 226 net/x25/x25_dev.c skb->dev = nb->dev; nb 337 net/x25/x25_facilities.c struct x25_neigh *nb) nb 340 net/x25/x25_facilities.c if (!nb->extended) { nb 97 net/x25/x25_forward.c struct x25_neigh *nb; nb 116 net/x25/x25_forward.c if ( (nb = x25_get_neigh(peer)) == NULL) nb 123 net/x25/x25_forward.c x25_transmit_link(skbn, nb); nb 127 net/x25/x25_forward.c x25_neigh_put(nb); nb 36 net/x25/x25_link.c static void x25_transmit_restart_confirmation(struct x25_neigh *nb); nb 37 net/x25/x25_link.c static void x25_transmit_restart_request(struct x25_neigh *nb); nb 42 net/x25/x25_link.c static inline void x25_start_t20timer(struct x25_neigh *nb) nb 44 net/x25/x25_link.c mod_timer(&nb->t20timer, jiffies + nb->t20); nb 49 net/x25/x25_link.c struct x25_neigh *nb = from_timer(nb, t, t20timer); nb 51 net/x25/x25_link.c x25_transmit_restart_request(nb); nb 53 net/x25/x25_link.c x25_start_t20timer(nb); nb 56 net/x25/x25_link.c static inline void x25_stop_t20timer(struct x25_neigh *nb) nb 58 net/x25/x25_link.c del_timer(&nb->t20timer); nb 61 net/x25/x25_link.c static inline int x25_t20timer_pending(struct x25_neigh *nb) nb 63 net/x25/x25_link.c return timer_pending(&nb->t20timer); nb 69 net/x25/x25_link.c void x25_link_control(struct sk_buff *skb, struct x25_neigh *nb, nb 77 net/x25/x25_link.c confirm = !x25_t20timer_pending(nb); nb 78 net/x25/x25_link.c x25_stop_t20timer(nb); nb 79 net/x25/x25_link.c nb->state = X25_LINK_STATE_3; nb 81 net/x25/x25_link.c x25_transmit_restart_confirmation(nb); nb 85 net/x25/x25_link.c x25_stop_t20timer(nb); nb 86 net/x25/x25_link.c nb->state = X25_LINK_STATE_3; nb 104 net/x25/x25_link.c if (nb->state == X25_LINK_STATE_3) nb 105 net/x25/x25_link.c while ((skbn = skb_dequeue(&nb->queue)) != NULL) nb 106 net/x25/x25_link.c x25_send_frame(skbn, nb); nb 112 net/x25/x25_link.c static void x25_transmit_restart_request(struct x25_neigh *nb) nb 125 net/x25/x25_link.c *dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ; nb 133 net/x25/x25_link.c x25_send_frame(skb, nb); nb 139 net/x25/x25_link.c static void x25_transmit_restart_confirmation(struct x25_neigh *nb) nb 152 net/x25/x25_link.c *dptr++ = nb->extended ? X25_GFI_EXTSEQ : X25_GFI_STDSEQ; nb 158 net/x25/x25_link.c x25_send_frame(skb, nb); nb 165 net/x25/x25_link.c void x25_transmit_clear_request(struct x25_neigh *nb, unsigned int lci, nb 179 net/x25/x25_link.c *dptr++ = ((lci >> 8) & 0x0F) | (nb->extended ? nb 189 net/x25/x25_link.c x25_send_frame(skb, nb); nb 192 net/x25/x25_link.c void x25_transmit_link(struct sk_buff *skb, struct x25_neigh *nb) nb 194 net/x25/x25_link.c switch (nb->state) { nb 196 net/x25/x25_link.c skb_queue_tail(&nb->queue, skb); nb 197 net/x25/x25_link.c nb->state = X25_LINK_STATE_1; nb 198 net/x25/x25_link.c x25_establish_link(nb); nb 202 net/x25/x25_link.c skb_queue_tail(&nb->queue, skb); nb 205 net/x25/x25_link.c x25_send_frame(skb, nb); nb 213 net/x25/x25_link.c void x25_link_established(struct x25_neigh *nb) nb 215 net/x25/x25_link.c switch (nb->state) { nb 217 net/x25/x25_link.c nb->state = X25_LINK_STATE_2; nb 220 net/x25/x25_link.c x25_transmit_restart_request(nb); nb 221 net/x25/x25_link.c nb->state = X25_LINK_STATE_2; nb 222 net/x25/x25_link.c x25_start_t20timer(nb); nb 232 net/x25/x25_link.c void x25_link_terminated(struct x25_neigh *nb) nb 234 net/x25/x25_link.c nb->state = X25_LINK_STATE_0; nb 236 net/x25/x25_link.c x25_kill_by_neigh(nb); nb 244 net/x25/x25_link.c struct x25_neigh *nb = kmalloc(sizeof(*nb), GFP_ATOMIC); nb 246 net/x25/x25_link.c if (!nb) nb 249 net/x25/x25_link.c skb_queue_head_init(&nb->queue); nb 250 net/x25/x25_link.c timer_setup(&nb->t20timer, x25_t20timer_expiry, 0); nb 253 net/x25/x25_link.c nb->dev = dev; nb 254 net/x25/x25_link.c nb->state = X25_LINK_STATE_0; nb 255 net/x25/x25_link.c nb->extended = 0; nb 259 net/x25/x25_link.c nb->global_facil_mask = X25_MASK_REVERSE | nb 263 net/x25/x25_link.c nb->t20 = sysctl_x25_restart_request_timeout; nb 264 net/x25/x25_link.c refcount_set(&nb->refcnt, 1); nb 267 net/x25/x25_link.c list_add(&nb->node, &x25_neigh_list); nb 278 net/x25/x25_link.c static void __x25_remove_neigh(struct x25_neigh *nb) nb 280 net/x25/x25_link.c skb_queue_purge(&nb->queue); nb 281 net/x25/x25_link.c x25_stop_t20timer(nb); nb 283 net/x25/x25_link.c if (nb->node.next) { nb 284 net/x25/x25_link.c list_del(&nb->node); nb 285 net/x25/x25_link.c x25_neigh_put(nb); nb 294 net/x25/x25_link.c struct x25_neigh *nb; nb 300 net/x25/x25_link.c nb = list_entry(entry, struct x25_neigh, node); nb 302 net/x25/x25_link.c if (nb->dev == dev) { nb 303 net/x25/x25_link.c __x25_remove_neigh(nb); nb 316 net/x25/x25_link.c struct x25_neigh *nb, *use = NULL; nb 321 net/x25/x25_link.c nb = list_entry(entry, struct x25_neigh, node); nb 323 net/x25/x25_link.c if (nb->dev == dev) { nb 324 net/x25/x25_link.c use = nb; nb 341 net/x25/x25_link.c struct x25_neigh *nb; nb 356 net/x25/x25_link.c if ((nb = x25_get_neigh(dev)) == NULL) nb 363 net/x25/x25_link.c x25_subscr.extended = nb->extended; nb 364 net/x25/x25_link.c x25_subscr.global_facil_mask = nb->global_facil_mask; nb 373 net/x25/x25_link.c nb->extended = x25_subscr.extended; nb 374 net/x25/x25_link.c nb->global_facil_mask = x25_subscr.global_facil_mask; nb 378 net/x25/x25_link.c x25_neigh_put(nb); nb 392 net/x25/x25_link.c struct x25_neigh *nb; nb 400 net/x25/x25_link.c nb = list_entry(entry, struct x25_neigh, node); nb 401 net/x25/x25_link.c dev = nb->dev; nb 402 net/x25/x25_link.c __x25_remove_neigh(nb); nb 163 security/integrity/ima/ima.h int ima_lsm_policy_change(struct notifier_block *nb, unsigned long event, nb 348 security/integrity/ima/ima_policy.c int ima_lsm_policy_change(struct notifier_block *nb, unsigned long event, nb 470 security/security.c int register_blocking_lsm_notifier(struct notifier_block *nb) nb 473 security/security.c nb); nb 477 security/security.c int unregister_blocking_lsm_notifier(struct notifier_block *nb) nb 480 security/security.c nb); nb 330 sound/soc/codecs/arizona.h struct notifier_block *nb, nb 332 sound/soc/codecs/arizona.h (struct notifier_block *nb, nb 338 sound/soc/codecs/arizona.h nb->notifier_call = notify; nb 340 sound/soc/codecs/arizona.h return blocking_notifier_chain_register(&arizona->notifier, nb); nb 344 sound/soc/codecs/arizona.h struct notifier_block *nb) nb 349 sound/soc/codecs/arizona.h return blocking_notifier_chain_unregister(&arizona->notifier, nb); nb 434 sound/soc/codecs/madera.h struct notifier_block *nb) nb 439 sound/soc/codecs/madera.h return blocking_notifier_chain_register(&madera->notifier, nb); nb 444 sound/soc/codecs/madera.h struct notifier_block *nb) nb 449 sound/soc/codecs/madera.h return blocking_notifier_chain_unregister(&madera->notifier, nb); nb 37 sound/soc/codecs/max9860.c static int max9860_dvddio_event(struct notifier_block *nb, nb 40 sound/soc/codecs/max9860.c struct max9860_priv *max9860 = container_of(nb, struct max9860_priv, nb 59 sound/soc/codecs/pcm512x.c static int pcm512x_regulator_event_##n(struct notifier_block *nb, \ nb 62 sound/soc/codecs/pcm512x.c struct pcm512x_priv *pcm512x = container_of(nb, struct pcm512x_priv, \ nb 153 sound/soc/codecs/tlv320aic31xx.c struct notifier_block nb; nb 1122 sound/soc/codecs/tlv320aic31xx.c static int aic31xx_regulator_event(struct notifier_block *nb, nb 1126 sound/soc/codecs/tlv320aic31xx.c container_of(nb, struct aic31xx_disable_nb, nb); nb 1290 sound/soc/codecs/tlv320aic31xx.c aic31xx->disable_nb[i].nb.notifier_call = nb 1295 sound/soc/codecs/tlv320aic31xx.c &aic31xx->disable_nb[i].nb); nb 66 sound/soc/codecs/tlv320aic3x.c struct notifier_block nb; nb 1364 sound/soc/codecs/tlv320aic3x.c static int aic3x_regulator_event(struct notifier_block *nb, nb 1368 sound/soc/codecs/tlv320aic3x.c container_of(nb, struct aic3x_disable_nb, nb); nb 1624 sound/soc/codecs/tlv320aic3x.c aic3x->disable_nb[i].nb.notifier_call = aic3x_regulator_event; nb 1628 sound/soc/codecs/tlv320aic3x.c &aic3x->disable_nb[i].nb); nb 99 sound/soc/codecs/wm8770.c static int wm8770_regulator_event_##n(struct notifier_block *nb, \ nb 102 sound/soc/codecs/wm8770.c struct wm8770_priv *wm8770 = container_of(nb, struct wm8770_priv, \ nb 83 sound/soc/codecs/wm8804.c static int wm8804_regulator_event_##n(struct notifier_block *nb, \ nb 86 sound/soc/codecs/wm8804.c struct wm8804_priv *wm8804 = container_of(nb, struct wm8804_priv, \ nb 92 sound/soc/codecs/wm8962.c static int wm8962_regulator_event_##n(struct notifier_block *nb, \ nb 95 sound/soc/codecs/wm8962.c struct wm8962_priv *wm8962 = container_of(nb, struct wm8962_priv, \ nb 394 sound/soc/codecs/wm8995.c static int wm8995_regulator_event_##n(struct notifier_block *nb, \ nb 397 sound/soc/codecs/wm8995.c struct wm8995_priv *wm8995 = container_of(nb, struct wm8995_priv, \ nb 102 sound/soc/codecs/wm8996.c static int wm8996_regulator_event_##n(struct notifier_block *nb, \ nb 105 sound/soc/codecs/wm8996.c struct wm8996_priv *wm8996 = container_of(nb, struct wm8996_priv, \ nb 129 sound/soc/intel/boards/cht_bsw_max98090_ti.c static int cht_ti_jack_event(struct notifier_block *nb, nb 63 sound/soc/rockchip/rockchip_max98090.c static int rk_jack_event(struct notifier_block *nb, unsigned long event, nb 227 sound/soc/soc-jack.c struct notifier_block *nb) nb 229 sound/soc/soc-jack.c blocking_notifier_chain_register(&jack->notifier, nb); nb 242 sound/soc/soc-jack.c struct notifier_block *nb) nb 244 sound/soc/soc-jack.c blocking_notifier_chain_unregister(&jack->notifier, nb); nb 297 sound/soc/soc-jack.c static int snd_soc_jack_pm_notifier(struct notifier_block *nb, nb 301 sound/soc/soc-jack.c container_of(nb, struct snd_soc_jack_gpio, pm_notifier); nb 74 tools/arch/x86/lib/insn.c int i, nb; nb 79 tools/arch/x86/lib/insn.c nb = 0; nb 85 tools/arch/x86/lib/insn.c for (i = 0; i < nb; i++) nb 88 tools/arch/x86/lib/insn.c if (nb == 4) nb 91 tools/arch/x86/lib/insn.c prefixes->bytes[nb++] = b; nb 114 tools/arch/x86/lib/insn.c for (i = 0; i < nb; i++) nb 85 tools/lib/bpf/xsk.h static inline __u32 xsk_prod_nb_free(struct xsk_ring_prod *r, __u32 nb) nb 89 tools/lib/bpf/xsk.h if (free_entries >= nb) nb 104 tools/lib/bpf/xsk.h static inline __u32 xsk_cons_nb_avail(struct xsk_ring_cons *r, __u32 nb) nb 113 tools/lib/bpf/xsk.h return (entries > nb) ? nb : entries; nb 117 tools/lib/bpf/xsk.h size_t nb, __u32 *idx) nb 119 tools/lib/bpf/xsk.h if (xsk_prod_nb_free(prod, nb) < nb) nb 123 tools/lib/bpf/xsk.h prod->cached_prod += nb; nb 125 tools/lib/bpf/xsk.h return nb; nb 128 tools/lib/bpf/xsk.h static inline void xsk_ring_prod__submit(struct xsk_ring_prod *prod, size_t nb) nb 135 tools/lib/bpf/xsk.h *prod->producer += nb; nb 139 tools/lib/bpf/xsk.h size_t nb, __u32 *idx) nb 141 tools/lib/bpf/xsk.h size_t entries = xsk_cons_nb_avail(cons, nb); nb 156 tools/lib/bpf/xsk.h static inline void xsk_ring_cons__release(struct xsk_ring_cons *cons, size_t nb) nb 163 tools/lib/bpf/xsk.h *cons->consumer += nb; nb 23 tools/perf/arch/powerpc/util/header.c int nb; nb 27 tools/perf/arch/powerpc/util/header.c nb = scnprintf(buffer, sz, "%lu,%lu$", PVR_VER(pvr), PVR_REV(pvr)); nb 31 tools/perf/arch/powerpc/util/header.c buffer[nb-1] = '\0'; nb 31 tools/perf/arch/x86/util/header.c int nb; nb 55 tools/perf/arch/x86/util/header.c nb = scnprintf(buffer, sz, fmt, vendor, family, model, step); nb 59 tools/perf/arch/x86/util/header.c buffer[nb-1] = '\0'; nb 1254 tools/perf/util/header.c const struct memory_node *nb = b; nb 1256 tools/perf/util/header.c return na->node - nb->node; nb 280 tools/perf/util/probe-finder.c #define BYTES_TO_BITS(nb) ((nb) * BITS_PER_LONG / sizeof(long)) nb 140 tools/perf/util/symbol.c size_t na, nb; nb 176 tools/perf/util/symbol.c nb = strlen(symb->name); nb 177 tools/perf/util/symbol.c if (na > nb) nb 179 tools/perf/util/symbol.c else if (na < nb)