Searched refs:nb (Results 126 - 150 of 874) sorted by last modified time

1234567891011>>

/linux-master/include/linux/
H A Dacpi.h741 int acpi_reconfig_notifier_register(struct notifier_block *nb);
742 int acpi_reconfig_notifier_unregister(struct notifier_block *nb);
1029 static inline int acpi_reconfig_notifier_register(struct notifier_block *nb) argument
1034 static inline int acpi_reconfig_notifier_unregister(struct notifier_block *nb) argument
/linux-master/include/crypto/
H A Dalgapi.h253 int crypto_register_notifier(struct notifier_block *nb);
254 int crypto_unregister_notifier(struct notifier_block *nb);
/linux-master/fs/ntfs3/
H A Dntfs_fs.h329 struct ntfs_buffers nb; member in struct:mft_inode
404 struct ntfs_buffers nb; member in struct:indx_node
625 u64 vbo, void *buf, u32 bytes, struct ntfs_buffers *nb);
628 struct ntfs_buffers *nb);
630 u32 bytes, struct ntfs_buffers *nb);
632 struct ntfs_buffers *nb, int sync);
1092 static inline void nb_put(struct ntfs_buffers *nb) argument
1094 u32 i, nbufs = nb->nbufs;
1100 put_bh(nb->bh[i]);
1101 nb
[all...]
H A Dindex.c955 err = ntfs_get_bh(ni->mi.sbi, &indx->alloc_run, vbo, bytes, &r->nb);
1027 return ntfs_write_bh(ni->mi.sbi, &ib->rhdr, &node->nb, sync);
1054 nb_put(&in->nb);
1067 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb);
1087 err = ntfs_read_bh(ni->mi.sbi, run, vbo, &ib->rhdr, bytes, &in->nb);
1104 ntfs_write_bh(ni->mi.sbi, &ib->rhdr, &in->nb, 0);
1129 nb_put(&in->nb);
H A Dfsntfs.c788 struct ntfs_buffers nb; local
790 err = ntfs_get_bh(sbi, run, vbo, rs, &nb);
794 err = ntfs_write_bh(sbi, &sbi->new_rec->rhdr, &nb, 0);
795 nb_put(&nb);
1192 u64 vbo, void *buf, u32 bytes, struct ntfs_buffers *nb)
1230 if (nb) {
1231 nb->off = off;
1232 nb->bytes = bytes;
1256 if (!nb) {
1258 } else if (nbh >= ARRAY_SIZE(nb
1191 ntfs_read_run_nb(struct ntfs_sb_info *sbi, const struct runs_tree *run, u64 vbo, void *buf, u32 bytes, struct ntfs_buffers *nb) argument
1309 ntfs_read_bh(struct ntfs_sb_info *sbi, const struct runs_tree *run, u64 vbo, struct NTFS_RECORD_HEADER *rhdr, u32 bytes, struct ntfs_buffers *nb) argument
1320 ntfs_get_bh(struct ntfs_sb_info *sbi, const struct runs_tree *run, u64 vbo, u32 bytes, struct ntfs_buffers *nb) argument
1415 ntfs_write_bh(struct ntfs_sb_info *sbi, struct NTFS_RECORD_HEADER *rhdr, struct ntfs_buffers *nb, int sync) argument
[all...]
/linux-master/fs/efivarfs/
H A Dinternal.h21 struct notifier_block nb; member in struct:efivarfs_fs_info
/linux-master/drivers/thermal/
H A Dthermal_netlink.c711 int thermal_genl_register_notifier(struct notifier_block *nb) argument
713 return blocking_notifier_chain_register(&thermal_genl_chain, nb);
716 int thermal_genl_unregister_notifier(struct notifier_block *nb) argument
718 return blocking_notifier_chain_unregister(&thermal_genl_chain, nb);
H A Dthermal_netlink.h34 int thermal_genl_register_notifier(struct notifier_block *nb);
35 int thermal_genl_unregister_notifier(struct notifier_block *nb);
67 static inline int thermal_genl_register_notifier(struct notifier_block *nb) argument
72 static inline int thermal_genl_unregister_notifier(struct notifier_block *nb) argument
H A Dthermal_core.c1626 static int thermal_pm_notify(struct notifier_block *nb, argument
/linux-master/drivers/thermal/intel/
H A Dintel_hfi.c619 static int hfi_thermal_notify(struct notifier_block *nb, unsigned long state, argument
/linux-master/drivers/spi/
H A Dspi.c3149 int nb, i; local
3155 nb = gpiod_count(dev, "cs");
3156 if (nb < 0) {
3158 if (nb == -ENOENT)
3160 return nb;
3163 ctlr->num_chipselect = max_t(int, nb, ctlr->num_chipselect);
3171 for (i = 0; i < nb; i++) {
4737 static int of_spi_notify(struct notifier_block *nb, unsigned long action, argument
4829 static int acpi_spi_notify(struct notifier_block *nb, unsigned long value, argument
/linux-master/drivers/scsi/pm8001/
H A Dpm8001_sas.h656 u32 q_index, u32 opCode, void *payload, size_t nb,
/linux-master/drivers/scsi/
H A Dipr.c9990 * @nb: Notifier block
9997 static int ipr_halt(struct notifier_block *nb, ulong event, void *buf) argument
/linux-master/drivers/regulator/
H A Ddevres.c618 struct notifier_block *nb; member in struct:regulator_notifier_match
627 return match->regulator == target->regulator && match->nb == target->nb;
634 regulator_unregister_notifier(match->regulator, match->nb);
642 * @nb: notifier block
648 struct notifier_block *nb)
660 match->nb = nb;
662 ret = regulator_register_notifier(regulator, nb);
679 * @nb
647 devm_regulator_register_notifier(struct regulator *regulator, struct notifier_block *nb) argument
685 devm_regulator_unregister_notifier(struct regulator *regulator, struct notifier_block *nb) argument
[all...]
H A Dcore.c4839 * @nb: notifier block
4844 struct notifier_block *nb)
4847 nb);
4854 * @nb: notifier block
4859 struct notifier_block *nb)
4862 nb);
4843 regulator_register_notifier(struct regulator *regulator, struct notifier_block *nb) argument
4858 regulator_unregister_notifier(struct regulator *regulator, struct notifier_block *nb) argument
/linux-master/drivers/pwm/
H A Dpwm-stm32.c566 int nb, ret, array_size; local
569 nb = of_property_count_elems_of_size(np, "st,breakinput",
576 if (nb <= 0)
579 if (nb > MAX_BREAKINPUT)
582 priv->num_breakinputs = nb;
583 array_size = nb * sizeof(struct stm32_breakinput) / sizeof(u32);
/linux-master/drivers/ptp/
H A Dptp_ocp.c4779 ptp_ocp_i2c_notifier_call(struct notifier_block *nb, argument
/linux-master/drivers/powercap/
H A Dintel_rapl_common.c2256 static int rapl_pm_callback(struct notifier_block *nb, argument
/linux-master/drivers/platform/x86/dell/
H A Ddell-rbtn.c338 int dell_rbtn_notifier_register(struct notifier_block *nb) argument
352 ret = atomic_notifier_chain_register(&rbtn_chain_head, nb);
364 int dell_rbtn_notifier_unregister(struct notifier_block *nb) argument
368 ret = atomic_notifier_chain_unregister(&rbtn_chain_head, nb);
/linux-master/drivers/platform/chrome/
H A Dcros_usbpd_notify.c24 struct notifier_block nb; member in struct:cros_usbpd_notify_data
29 * @nb: Notifier block pointer to register
37 int cros_usbpd_register_notify(struct notifier_block *nb) argument
40 nb);
46 * @nb: Notifier block pointer to unregister
51 void cros_usbpd_unregister_notify(struct notifier_block *nb) argument
53 blocking_notifier_chain_unregister(&cros_usbpd_notifier_list, nb);
164 static int cros_usbpd_notify_plat(struct notifier_block *nb, argument
168 struct cros_usbpd_notify_data *pdnotify = container_of(nb,
169 struct cros_usbpd_notify_data, nb);
[all...]
H A Dcros_ec_chardev.c93 static int cros_ec_chardev_mkbp_event(struct notifier_block *nb, argument
97 struct chardev_priv *priv = container_of(nb, struct chardev_priv,
H A Dcros_ec_debugfs.c468 static int cros_ec_debugfs_panic_event(struct notifier_block *nb, argument
472 container_of(nb, struct cros_ec_debugfs, notifier_panic);
H A Dcros_ec.c153 static int cros_ec_ready_event(struct notifier_block *nb, argument
157 struct cros_ec_device *ec_dev = container_of(nb, struct cros_ec_device,
/linux-master/drivers/perf/
H A Ddwc_pcie_pmu.c580 static int dwc_pcie_pmu_notifier(struct notifier_block *nb, argument
/linux-master/drivers/net/wireless/virtual/
H A Dmac80211_hwsim.c6378 static int mac80211_hwsim_netlink_notify(struct notifier_block *nb, argument

Completed in 421 milliseconds

1234567891011>>