Home
last modified time | relevance | path

Searched full:rsb (Results 1 – 25 of 75) sorted by relevance

123

/Linux-v6.1/drivers/bus/
Dsunxi-rsb.c3 * RSB (Reduced Serial Bus) driver.
7 * The RSB controller looks like an SMBus controller which only supports
24 * RSB section of Allwinner's A80 user manual, which can be found at
49 #include <linux/sunxi-rsb.h>
52 /* RSB registers */
61 #define RSB_CMD 0x2c /* RSB Command */
112 #define RSB_CTRL_NAME "sunxi-rsb"
191 * sunxi_rsb_device_create() - allocate and add an RSB device
192 * @rsb: RSB controller
193 * @node: RSB slave device node
[all …]
DKconfig183 (RSB) support. This controller is responsible for communicating
184 with various RSB based devices, such as AXP223, AXP8XX PMICs,
/Linux-v6.1/Documentation/devicetree/bindings/bus/
Dallwinner,sun8i-a23-rsb.yaml4 $id: http://devicetree.org/schemas/bus/allwinner,sun8i-a23-rsb.yaml#
7 title: Allwinner A23 RSB
22 - const: allwinner,sun8i-a23-rsb
25 - allwinner,sun8i-a83t-rsb
26 - allwinner,sun50i-h616-rsb
27 - const: allwinner,sun8i-a23-rsb
64 rsb@1f03400 {
65 compatible = "allwinner,sun8i-a23-rsb";
/Linux-v6.1/include/linux/
Dsunxi-rsb.h22 * struct sunxi_rsb_device - Basic representation of an RSB device
24 * @ctrl: RSB controller managing the bus hosting this device.
30 struct sunxi_rsb *rsb; member
53 * struct sunxi_rsb_driver - RSB slave device driver
54 * @driver: RSB device drivers should initialize name and owner field of
56 * @probe: binds this driver to a RSB device.
57 * @remove: unbinds this driver from the RSB device.
73 * sunxi_rsb_driver_unregister() - unregister an RSB client driver
/Linux-v6.1/fs/dlm/
Drecover.c228 * The recover_list contains all the rsb's for which we've requested the new
230 * rsb's are removed from the list. When the list is empty we're done.
232 * The recover_list is later similarly used for all rsb's for which we've sent
235 * We use the address of the rsb struct as a simple local identifier for the
236 * rsb so we can match an rcom reply with the rsb it was sent for.
380 /* Master recovery: find new master node for rsb's that were
396 * If we are the new master of the rsb, we may have received new
422 * The NEW_MASTER flag tells dlm_recover_locks() which rsb's to consider.
424 * rsb's to consider.
435 * We do async lookups on rsb's that need new masters. The rsb's
[all …]
Dlock.c39 Stage 2, xxxx_lock(), just finds and locks the relevant rsb which is
46 given rsb and lkb and queues callbacks.
174 printk(KERN_ERR "rsb: nodeid %d master %d dir %d flags %lx first %x " in dlm_print_rsb()
187 printk(KERN_ERR "rsb: root_list empty %d recover_list empty %d\n", in dlm_dump_rsb()
189 printk(KERN_ERR "rsb lookup list\n"); in dlm_dump_rsb()
192 printk(KERN_ERR "rsb grant queue:\n"); in dlm_dump_rsb()
195 printk(KERN_ERR "rsb convert queue:\n"); in dlm_dump_rsb()
198 printk(KERN_ERR "rsb wait queue:\n"); in dlm_dump_rsb()
332 * Basic operations on rsb's and lkb's
336 a valid reference to the rsb, so there's no need for locking. */
[all …]
Ddebug_fs.c265 seq_printf(s, "rsb %p %d %x %lx %d %d %u %d ", in print_format3()
341 seq_printf(s, "rsb %p %d %d %d %d %lu %lx %d ", in print_format4()
369 struct dlm_rsb *rsb; member
388 print_format1(ri->rsb, seq); in table_seq_show()
395 print_format2(ri->rsb, seq); in table_seq_show()
399 seq_puts(seq, "version rsb 1.1 lvb 1.1 lkb 1.1\n"); in table_seq_show()
402 print_format3(ri->rsb, seq); in table_seq_show()
406 seq_puts(seq, "version 4 rsb 2\n"); in table_seq_show()
409 print_format4(ri->rsb, seq); in table_seq_show()
460 ri->rsb = r; in table_seq_start()
[all …]
Ddir.c26 * Low bits are used for distribution of rsb's among hash buckets on each node.
231 /* Find the rsb where we left off (or start again), then send rsb names
232 for rsb's we're master of and whose directory node matches the requesting
233 node. inbuf is the rsb name last sent, inlen is the name's length */
Drecoverd.c65 * This list of root rsb's will be the basis of most of the recovery in ls_recover()
103 * nodes their master rsb names that hash to us. in ls_recover()
144 * Get new master nodeid's for rsb's that were mastered on in ls_recover()
155 * Send our locks on remastered rsb's to the new masters. in ls_recover()
176 * Finalize state in master rsb's now that all locks can be in ls_recover()
Ddlm_internal.h182 * lkb_status: the lock status indicates which rsb queue the lock is
240 struct dlm_rsb *lkb_resource; /* the rsb */
242 int lkb_nodeid; /* copied from rsb */
260 struct list_head lkb_statequeue; /* rsb g/c/w list */
261 struct list_head lkb_rsb_lookup; /* waiting for rsb lookup */
307 int res_length; /* length of rsb name */
592 struct list_head ls_new_rsb; /* new rsb structs */
Dlockspace.c800 struct dlm_rsb *rsb; in release_lockspace() local
857 * Free all rsb's on rsbtbl[] lists in release_lockspace()
862 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace()
864 dlm_free_rsb(rsb); in release_lockspace()
868 rsb = rb_entry(n, struct dlm_rsb, res_hashnode); in release_lockspace()
870 dlm_free_rsb(rsb); in release_lockspace()
880 rsb = list_first_entry(&ls->ls_new_rsb, struct dlm_rsb, in release_lockspace()
882 list_del(&rsb->res_hashchain); in release_lockspace()
883 dlm_free_rsb(rsb); in release_lockspace()
Dmemory.c47 goto rsb; in dlm_memory_init()
51 rsb: in dlm_memory_init()
/Linux-v6.1/drivers/mfd/
Daxp20x-rsb.c3 * RSB driver for the X-Powers' Power Management ICs
9 * This driver supports the RSB variants.
23 #include <linux/sunxi-rsb.h>
71 .name = "axp20x-rsb",
79 MODULE_DESCRIPTION("PMIC MFD sunXi RSB driver for AXP20X");
/Linux-v6.1/drivers/md/
Ddm-verity-fec.c61 static u8 *fec_read_parity(struct dm_verity *v, u64 rsb, int index, in fec_read_parity() argument
67 position = (index + rsb) * v->fec->roots; in fec_read_parity()
74 v->data_dev->name, (unsigned long long)rsb, in fec_read_parity()
124 u64 rsb, int byte_index, unsigned block_offset, in fec_decode_bufs() argument
132 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
160 par = fec_read_parity(v, rsb, block_offset, &offset, &buf); in fec_decode_bufs()
172 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
175 v->data_dev->name, (unsigned long long)rsb, r); in fec_decode_bufs()
200 u64 rsb, u64 target, unsigned block_offset, in fec_read_bufs() argument
224 ileaved = fec_interleave(v, rsb * v->fec->rsn + i); in fec_read_bufs()
[all …]
/Linux-v6.1/fs/romfs/
Dsuper.c462 struct romfs_super_block *rsb; in romfs_fill_super() local
491 rsb = kmalloc(512, GFP_KERNEL); in romfs_fill_super()
492 if (!rsb) in romfs_fill_super()
496 ret = romfs_dev_read(sb, 0, rsb, 512); in romfs_fill_super()
500 img_size = be32_to_cpu(rsb->size); in romfs_fill_super()
507 if (rsb->word0 != ROMSB_WORD0 || rsb->word1 != ROMSB_WORD1 || in romfs_fill_super()
515 if (romfs_checksum(rsb, min_t(size_t, img_size, 512))) { in romfs_fill_super()
522 len = strnlen(rsb->name, ROMFS_MAXFN); in romfs_fill_super()
525 (unsigned) len, (unsigned) len, rsb->name, storage); in romfs_fill_super()
527 kfree(rsb); in romfs_fill_super()
[all …]
/Linux-v6.1/fs/xfs/
Dxfs_rtalloc.c36 xfs_fsblock_t *rsb, /* in/out: summary block number */ in xfs_rtget_summary() argument
39 return xfs_rtmodify_summary_int(mp, tp, log, bbno, 0, rbpp, rsb, sum); in xfs_rtget_summary()
54 xfs_fsblock_t *rsb, /* in/out: summary block number */ in xfs_rtany_summary() argument
72 error = xfs_rtget_summary(mp, tp, log, bbno, rbpp, rsb, &sum); in xfs_rtany_summary()
148 xfs_fsblock_t *rsb) /* in/out: summary block number */ in xfs_rtallocate_range() argument
179 XFS_BITTOBLOCK(mp, preblock), -1, rbpp, rsb); in xfs_rtallocate_range()
190 XFS_BITTOBLOCK(mp, preblock), 1, rbpp, rsb); in xfs_rtallocate_range()
202 XFS_BITTOBLOCK(mp, end + 1), 1, rbpp, rsb); in xfs_rtallocate_range()
230 xfs_fsblock_t *rsb, /* in/out: summary block number */ in xfs_rtallocate_extent_block() argument
266 rsb); in xfs_rtallocate_extent_block()
[all …]
Dxfs_rtalloc.h119 struct xfs_buf **rbpp, xfs_fsblock_t *rsb,
123 xfs_fsblock_t *rsb);
126 struct xfs_buf **rbpp, xfs_fsblock_t *rsb);
/Linux-v6.1/arch/x86/kvm/vmx/
Dvmenter.S84 * IMPORTANT: To avoid RSB underflow attacks and any other nastiness,
223 * IMPORTANT: RSB filling and SPEC_CTRL handling must be done before
226 * For retpoline or IBRS, RSB filling is needed to prevent poisoned RSB
227 * entries and (in some cases) RSB underflow.
229 * eIBRS has its own protection against poisoned RSB, so it doesn't
230 * need the RSB filling sequence. But it does need to be enabled, and a
/Linux-v6.1/arch/x86/kernel/cpu/
Dbugs.c1326 /* Disable in-kernel use of non-RSB RET predictors */
1345 * Similar to context switches, there are two types of RSB attacks in spectre_v2_determine_rsb_fill_type_at_vmexit()
1348 * 1) RSB underflow in spectre_v2_determine_rsb_fill_type_at_vmexit()
1350 * 2) Poisoned RSB entry in spectre_v2_determine_rsb_fill_type_at_vmexit()
1353 * the RSB. in spectre_v2_determine_rsb_fill_type_at_vmexit()
1356 * prediction isolation protections, RSB still needs to be cleared in spectre_v2_determine_rsb_fill_type_at_vmexit()
1358 * user-space-poisoned RSB entries. in spectre_v2_determine_rsb_fill_type_at_vmexit()
1360 * eIBRS should protect against RSB poisoning, but if the EIBRS_PBRSB in spectre_v2_determine_rsb_fill_type_at_vmexit()
1361 * bug is present then a LITE version of RSB protection is required, in spectre_v2_determine_rsb_fill_type_at_vmexit()
1381 pr_info("Spectre v2 / SpectreRSB : Filling RSB on VMEXIT\n"); in spectre_v2_determine_rsb_fill_type_at_vmexit()
[all …]
/Linux-v6.1/arch/x86/include/asm/
Dnospec-branch.h21 * Each entry in the RSB, if used for a speculative 'ret', contains an
26 * eliminate potentially bogus entries from the RSB, and sometimes
47 * Stuff the entire RSB.
77 * Stuff a single RSB slot.
79 * To mitigate Post-Barrier RSB speculation, one CALL instruction must be
/Linux-v6.1/arch/arm/lib/
Dcopy_template.S90 CALGN( rsb r3, ip, #32 )
113 rsb ip, ip, #32
163 9: rsb ip, ip, #4
189 CALGN( rsb ip, ip, #32 )
Ddiv64.S153 rsb ip, ip, #31
179 rsb ip, ip, #32
Dfindbit.S174 rsb r0, r3, #0
177 rsb r3, r3, #31
/Linux-v6.1/fs/xfs/libxfs/
Dxfs_rtbitmap.c451 xfs_fsblock_t *rsb, /* in/out: summary block number */ in xfs_rtmodify_summary_int() argument
471 if (*rbpp && *rsb == sb) in xfs_rtmodify_summary_int()
490 *rsb = sb; in xfs_rtmodify_summary_int()
521 xfs_fsblock_t *rsb) /* in/out: summary block number */ in xfs_rtmodify_summary() argument
524 delta, rbpp, rsb, NULL); in xfs_rtmodify_summary()
694 xfs_fsblock_t *rsb) /* in/out: summary block number */ in xfs_rtfree_range() argument
732 XFS_BITTOBLOCK(mp, preblock), -1, rbpp, rsb); in xfs_rtfree_range()
744 XFS_BITTOBLOCK(mp, end + 1), -1, rbpp, rsb); in xfs_rtfree_range()
755 XFS_BITTOBLOCK(mp, preblock), 1, rbpp, rsb); in xfs_rtfree_range()
/Linux-v6.1/arch/x86/kvm/svm/
Dvmenter.S49 * IMPORTANT: To avoid RSB underflow attacks and any other nastiness,
210 /* IMPORTANT: Stuff the RSB immediately after VM-Exit, before RET! */
347 /* IMPORTANT: Stuff the RSB immediately after VM-Exit, before RET! */

123