Home
last modified time | relevance | path

Searched refs:nb (Results 1 – 25 of 182) sorted by relevance

12345678

/linux-4.19.296/include/linux/
Dmemory.h87 static inline int register_memory_notifier(struct notifier_block *nb) in register_memory_notifier() argument
91 static inline void unregister_memory_notifier(struct notifier_block *nb) in unregister_memory_notifier() argument
98 static inline int register_memory_isolate_notifier(struct notifier_block *nb) in register_memory_isolate_notifier() argument
102 static inline void unregister_memory_isolate_notifier(struct notifier_block *nb) in unregister_memory_isolate_notifier() argument
110 extern int register_memory_notifier(struct notifier_block *nb);
111 extern void unregister_memory_notifier(struct notifier_block *nb);
112 extern int register_memory_isolate_notifier(struct notifier_block *nb);
113 extern void unregister_memory_isolate_notifier(struct notifier_block *nb);
133 #define register_hotmemory_notifier(nb) register_memory_notifier(nb) argument
134 #define unregister_hotmemory_notifier(nb) unregister_memory_notifier(nb) argument
[all …]
Dextcon.h208 struct notifier_block *nb);
210 struct notifier_block *nb);
213 struct notifier_block *nb);
216 struct notifier_block *nb);
219 struct notifier_block *nb);
221 struct notifier_block *nb);
224 struct notifier_block *nb);
227 struct notifier_block *nb);
260 unsigned int id, struct notifier_block *nb) in extcon_register_notifier() argument
266 unsigned int id, struct notifier_block *nb) in extcon_unregister_notifier() argument
[all …]
Dnotifier.h51 typedef int (*notifier_fn_t)(struct notifier_block *nb,
145 struct notifier_block *nb);
147 struct notifier_block *nb);
149 struct notifier_block *nb);
151 struct notifier_block *nb);
155 struct notifier_block *nb);
158 struct notifier_block *nb);
160 struct notifier_block *nb);
162 struct notifier_block *nb);
164 struct notifier_block *nb);
Ddevfreq.h156 struct notifier_block nb; member
213 struct notifier_block *nb,
216 struct notifier_block *nb,
220 struct notifier_block *nb,
224 struct notifier_block *nb,
278 struct notifier_block nb; member
349 struct notifier_block *nb, in devfreq_register_notifier() argument
356 struct notifier_block *nb, in devfreq_unregister_notifier() argument
364 struct notifier_block *nb, in devm_devfreq_register_notifier() argument
372 struct notifier_block *nb, in devm_devfreq_unregister_notifier() argument
Dcpu_pm.h70 int cpu_pm_register_notifier(struct notifier_block *nb);
71 int cpu_pm_unregister_notifier(struct notifier_block *nb);
79 static inline int cpu_pm_register_notifier(struct notifier_block *nb) in cpu_pm_register_notifier() argument
84 static inline int cpu_pm_unregister_notifier(struct notifier_block *nb) in cpu_pm_unregister_notifier() argument
Dfsl_hypervisor.h55 int fsl_hv_failover_register(struct notifier_block *nb);
61 int fsl_hv_failover_unregister(struct notifier_block *nb);
Dpvclock_gtod.h14 extern int pvclock_gtod_register_notifier(struct notifier_block *nb);
15 extern int pvclock_gtod_unregister_notifier(struct notifier_block *nb);
Dpl320-ipc.h16 int pl320_ipc_register_notifier(struct notifier_block *nb);
17 int pl320_ipc_unregister_notifier(struct notifier_block *nb);
Dmroute_base.h48 static inline int mr_call_vif_notifier(struct notifier_block *nb, in mr_call_vif_notifier() argument
66 return call_fib_notifier(nb, net, event_type, &info.info); in mr_call_vif_notifier()
174 static inline int mr_call_mfc_notifier(struct notifier_block *nb, in mr_call_mfc_notifier() argument
189 return call_fib_notifier(nb, net, event_type, &info.info); in mr_call_mfc_notifier()
295 int mr_dump(struct net *net, struct notifier_block *nb, unsigned short family,
297 struct notifier_block *nb),
348 static inline int mr_dump(struct net *net, struct notifier_block *nb, in mr_dump() argument
351 struct notifier_block *nb), in mr_dump() argument
Dkeyboard.h19 extern int register_keyboard_notifier(struct notifier_block *nb);
20 extern int unregister_keyboard_notifier(struct notifier_block *nb);
/linux-4.19.296/drivers/extcon/
Ddevres.c43 struct notifier_block *nb; member
50 extcon_unregister_notifier(this->edev, this->id, this->nb); in devm_extcon_dev_notifier_unreg()
57 extcon_unregister_notifier_all(this->edev, this->nb); in devm_extcon_dev_notifier_all_unreg()
181 unsigned int id, struct notifier_block *nb) in devm_extcon_register_notifier() argument
191 ret = extcon_register_notifier(edev, id, nb); in devm_extcon_register_notifier()
199 ptr->nb = nb; in devm_extcon_register_notifier()
216 struct notifier_block *nb) in devm_extcon_unregister_notifier() argument
237 struct notifier_block *nb) in devm_extcon_register_notifier_all() argument
247 ret = extcon_register_notifier_all(edev, nb); in devm_extcon_register_notifier_all()
254 ptr->nb = nb; in devm_extcon_register_notifier_all()
[all …]
/linux-4.19.296/include/linux/remoteproc/
Dqcom_rproc.h8 int qcom_register_ssr_notifier(struct notifier_block *nb);
9 void qcom_unregister_ssr_notifier(struct notifier_block *nb);
13 static inline int qcom_register_ssr_notifier(struct notifier_block *nb) in qcom_register_ssr_notifier() argument
18 static inline void qcom_unregister_ssr_notifier(struct notifier_block *nb) {} in qcom_unregister_ssr_notifier() argument
/linux-4.19.296/include/acpi/
Dbutton.h8 extern int acpi_lid_notifier_register(struct notifier_block *nb);
9 extern int acpi_lid_notifier_unregister(struct notifier_block *nb);
12 static inline int acpi_lid_notifier_register(struct notifier_block *nb) in acpi_lid_notifier_register() argument
16 static inline int acpi_lid_notifier_unregister(struct notifier_block *nb) in acpi_lid_notifier_unregister() argument
Dhed.h15 int register_acpi_hed_notifier(struct notifier_block *nb);
16 void unregister_acpi_hed_notifier(struct notifier_block *nb);
/linux-4.19.296/include/net/
Dfib_notifier.h32 int (*fib_dump)(struct net *net, struct notifier_block *nb);
37 int call_fib_notifier(struct notifier_block *nb, struct net *net,
42 int register_fib_notifier(struct notifier_block *nb,
43 void (*cb)(struct notifier_block *nb));
44 int unregister_fib_notifier(struct notifier_block *nb);
Ddcbevent.h27 int register_dcbevent_notifier(struct notifier_block *nb);
28 int unregister_dcbevent_notifier(struct notifier_block *nb);
32 register_dcbevent_notifier(struct notifier_block *nb) in register_dcbevent_notifier() argument
37 static inline int unregister_dcbevent_notifier(struct notifier_block *nb) in unregister_dcbevent_notifier() argument
/linux-4.19.296/fs/xfs/
Dxfs_fsops.c39 xfs_rfsblock_t nb, nb_mod; in xfs_growfs_data_private() local
46 nb = in->newblocks; in xfs_growfs_data_private()
47 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private()
49 if ((error = xfs_sb_validate_fsb_count(&mp->m_sb, nb))) in xfs_growfs_data_private()
52 XFS_FSB_TO_BB(mp, nb) - XFS_FSS_TO_BB(mp, 1), in xfs_growfs_data_private()
58 new = nb; /* use new as a temporary here */ in xfs_growfs_data_private()
63 nb = (xfs_rfsblock_t)nagcount * mp->m_sb.sb_agblocks; in xfs_growfs_data_private()
64 if (nb < mp->m_sb.sb_dblocks) in xfs_growfs_data_private()
67 new = nb - mp->m_sb.sb_dblocks; in xfs_growfs_data_private()
100 id.agsize = nb - in xfs_growfs_data_private()
[all …]
/linux-4.19.296/drivers/iio/imu/inv_mpu6050/
Dinv_mpu_ring.c38 s64 timestamp, size_t nb) in inv_mpu6050_update_period() argument
52 } else if (nb == 1) { in inv_mpu6050_update_period()
74 interval = (nb - 1) * st->chip_period * divider; in inv_mpu6050_update_period()
180 size_t i, nb; in inv_mpu6050_read_fifo() local
225 nb = 3 * bytes_per_datum; in inv_mpu6050_read_fifo()
226 if (fifo_count >= st->hw->fifo_size - nb) { in inv_mpu6050_read_fifo()
232 nb = fifo_count / bytes_per_datum; in inv_mpu6050_read_fifo()
233 inv_mpu6050_update_period(st, pf->timestamp, nb); in inv_mpu6050_read_fifo()
234 for (i = 0; i < nb; ++i) { in inv_mpu6050_read_fifo()
/linux-4.19.296/drivers/regulator/
Ddevres.c405 struct notifier_block *nb; member
414 return match->regulator == target->regulator && match->nb == target->nb; in devm_regulator_match_notifier()
421 regulator_unregister_notifier(match->regulator, match->nb); in devm_regulator_destroy_notifier()
435 struct notifier_block *nb) in devm_regulator_register_notifier() argument
447 match->nb = nb; in devm_regulator_register_notifier()
449 ret = regulator_register_notifier(regulator, nb); in devm_regulator_register_notifier()
473 struct notifier_block *nb) in devm_regulator_unregister_notifier() argument
479 match.nb = nb; in devm_regulator_unregister_notifier()
/linux-4.19.296/lib/
Dnotifier-error-inject.c26 static int notifier_err_inject_callback(struct notifier_block *nb, in notifier_err_inject_callback() argument
31 container_of(nb, struct notifier_err_inject, nb); in notifier_err_inject_callback()
57 err_inject->nb.notifier_call = notifier_err_inject_callback; in notifier_err_inject_init()
58 err_inject->nb.priority = priority; in notifier_err_inject_init()
/linux-4.19.296/fs/jfs/
Djfs_extent.c35 static s64 extRoundDown(s64 nb);
513 s64 nb, nblks, daddr, max; in extBalloc() local
531 nb = nblks = (max > nbperpage) ? max : nbperpage; in extBalloc()
533 nb = nblks = *nblocks; in extBalloc()
536 while ((rc = dbAlloc(ip, hint, nb, &daddr)) != 0) { in extBalloc()
544 nb = min(nblks, extRoundDown(nb)); in extBalloc()
547 if (nb < nbperpage) in extBalloc()
551 *nblocks = nb; in extBalloc()
641 static s64 extRoundDown(s64 nb) in extRoundDown() argument
647 if (m & nb) in extRoundDown()
[all …]
Djfs_dmap.c109 static int blkstol2(s64 nb);
365 int nb, rc; in dbFree() local
394 for (rem = nblocks; rem > 0; rem -= nb, blkno += nb) { in dbFree()
412 nb = min(rem, BPERDMAP - (blkno & (BPERDMAP - 1))); in dbFree()
415 if ((rc = dbFreeDmap(bmp, dp, blkno, nb))) { in dbFree()
1159 int dbitno, word, rembits, nb, nwords, wbitno, nw; in dbAllocNext() local
1204 for (rembits = nblocks; rembits > 0; rembits -= nb, dbitno += nb) { in dbAllocNext()
1209 nb = min(rembits, DBWORD - wbitno); in dbAllocNext()
1213 if (nb < DBWORD) { in dbAllocNext()
1216 mask = (ONES << (DBWORD - nb) >> wbitno); in dbAllocNext()
[all …]
/linux-4.19.296/include/linux/regulator/
Dconsumer.h276 struct notifier_block *nb);
278 struct notifier_block *nb);
280 struct notifier_block *nb);
282 struct notifier_block *nb);
539 struct notifier_block *nb) in regulator_register_notifier() argument
545 struct notifier_block *nb) in devm_regulator_register_notifier() argument
551 struct notifier_block *nb) in regulator_unregister_notifier() argument
557 struct notifier_block *nb) in devm_regulator_unregister_notifier() argument
/linux-4.19.296/include/linux/usb/
Dphy.h224 struct device_node *node, struct notifier_block *nb);
253 struct device_node *node, struct notifier_block *nb) in devm_usb_get_phy_by_node() argument
339 usb_register_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_register_notifier() argument
341 return atomic_notifier_chain_register(&x->notifier, nb); in usb_register_notifier()
345 usb_unregister_notifier(struct usb_phy *x, struct notifier_block *nb) in usb_unregister_notifier() argument
347 atomic_notifier_chain_unregister(&x->notifier, nb); in usb_unregister_notifier()
/linux-4.19.296/crypto/
Decc.c854 int i, nb; in ecc_point_mult() local
870 nb = !vli_test_bit(scalar, i); in ecc_point_mult()
871 xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb], curve_prime, in ecc_point_mult()
873 xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb], curve_prime, in ecc_point_mult()
877 nb = !vli_test_bit(scalar, 0); in ecc_point_mult()
878 xycz_add_c(rx[1 - nb], ry[1 - nb], rx[nb], ry[nb], curve_prime, in ecc_point_mult()
885 vli_mod_mult_fast(z, z, ry[1 - nb], curve_prime, ndigits); in ecc_point_mult()
895 vli_mod_mult_fast(z, z, rx[1 - nb], curve_prime, ndigits); in ecc_point_mult()
898 xycz_add(rx[nb], ry[nb], rx[1 - nb], ry[1 - nb], curve_prime, ndigits); in ecc_point_mult()

12345678