Home
last modified time | relevance | path

Searched refs:rr (Results 1 – 25 of 116) sorted by relevance

12345

/linux-6.15/fs/xfs/scrub/
H A Drtrmap_repair.c118 if (!rr) in xrep_setup_rtrmapbt()
121 rr->sc = sc; in xrep_setup_rtrmapbt()
122 sc->buf = rr; in xrep_setup_rtrmapbt()
272 struct xrep_rtrmap *rr = rf->rr; in xrep_rtrmap_scan_bmbt() local
331 .rr = rr, in xrep_rtrmap_scan_dfork()
440 struct xrep_rtrmap *rr = rsr->rr; in xrep_rtrmap_stash_run() local
457 .rr = rr, in xrep_rtrmap_stash_bitmap()
738 &rr->new_btree.bload, rr->nr_records); in xrep_rtrmap_build_new_tree()
775 error = xfs_btree_bload(rmap_cur, &rr->new_btree.bload, rr); in xrep_rtrmap_build_new_tree()
785 xrep_inode_set_nblocks(rr->sc, rr->new_btree.ifake.if_blocks); in xrep_rtrmap_build_new_tree()
[all …]
H A Drmap_repair.c179 if (!rr) in xrep_setup_ag_rmapbt()
182 rr->sc = sc; in xrep_setup_ag_rmapbt()
183 sc->buf = rr; in xrep_setup_ag_rmapbt()
274 struct xrep_rmap *rr = rsr->rr; in xrep_rmap_stash_run() local
290 .rr = rr, in xrep_rmap_stash_bitmap()
414 struct xrep_rmap *rr = rf->rr; in xrep_rmap_scan_iroot_btree() local
449 struct xrep_rmap *rr = rf->rr; in xrep_rmap_scan_bmbt() local
577 .rr = rr, in xrep_rmap_scan_ifork()
735 .rr = rr, in xrep_rmap_find_inode_rmaps()
1150 &rr->new_btree.bload, rr->nr_records); in xrep_rmap_reserve_space()
[all …]
H A Drtrefcount_repair.c166 struct xrep_rtrefc *rr, in xrep_rtrefc_stash() argument
197 struct xrep_rtrefc *rr, in xrep_rtrefc_stash_cow() argument
223 struct xrep_rtrefc *rr, in xrep_rtrefc_walk_rmaps() argument
389 struct xrep_rtrefc *rr, in xrep_rtrefc_push_rmaps_at() argument
423 struct xrep_rtrefc *rr, in xrep_rtrefc_scan_ag() argument
573 error = xfarray_load(rr->refcount_records, rr->array_cur++, in xrep_rtrefc_get_records()
675 error = xfs_btree_bload(refc_cur, &rr->new_btree.bload, rr); in xrep_rtrefc_build_new_tree()
685 xrep_inode_set_nblocks(rr->sc, rr->new_btree.ifake.if_blocks); in xrep_rtrefc_build_new_tree()
720 if (!rr) in xrep_rtrefcountbt()
722 rr->sc = sc; in xrep_rtrefcountbt()
[all …]
H A Drefcount_repair.c169 struct xrep_refc *rr, in xrep_refc_stash() argument
200 struct xrep_refc *rr, in xrep_refc_stash_cow() argument
235 struct xrep_refc *rr, in xrep_refc_walk_rmaps() argument
375 struct xrep_refc *rr, in xrep_refc_push_rmaps_at() argument
409 struct xrep_refc *rr) in xrep_refc_find_refcounts() argument
532 error = xfarray_load(rr->refcount_records, rr->array_cur++, in xrep_refc_get_records()
559 struct xrep_refc *rr) in xrep_refc_reset_counters() argument
640 error = xfs_btree_bload(refc_cur, &rr->new_btree.bload, rr); in xrep_refc_build_new_tree()
715 if (!rr) in xrep_refcountbt()
717 rr->sc = sc; in xrep_refcountbt()
[all …]
/linux-6.15/fs/isofs/
H A Drock.c225 if (rr->len < 3) in get_rock_ridge_filename()
230 rs.chr += rr->len; in get_rock_ridge_filename()
231 rs.len -= rr->len; in get_rock_ridge_filename()
256 if (rr->len < 5) in get_rock_ridge_filename()
270 rr->u.NM.flags); in get_rock_ridge_filename()
273 len = rr->len - 5; in get_rock_ridge_filename()
341 if (rr->len < 3) in parse_rock_ridge_inode_internal()
346 rs.chr += rr->len; in parse_rock_ridge_inode_internal()
347 rs.len -= rr->len; in parse_rock_ridge_inode_internal()
605 slen = rr->len - 5; in get_symlink_chunk()
[all …]
/linux-6.15/drivers/acpi/
H A Dreboot.c11 static void acpi_pci_reboot(struct acpi_generic_address *rr, u8 reset_value) in acpi_pci_reboot() argument
21 devfn = PCI_DEVFN((rr->address >> 32) & 0xffff, in acpi_pci_reboot()
22 (rr->address >> 16) & 0xffff); in acpi_pci_reboot()
26 (rr->address & 0xffff), reset_value); in acpi_pci_reboot()
29 static inline void acpi_pci_reboot(struct acpi_generic_address *rr, in acpi_pci_reboot() argument
38 struct acpi_generic_address *rr; in acpi_reboot() local
44 rr = &acpi_gbl_FADT.reset_register; in acpi_reboot()
61 switch (rr->space_id) { in acpi_reboot()
63 acpi_pci_reboot(rr, reset_value); in acpi_reboot()
/linux-6.15/arch/x86/kernel/cpu/resctrl/
H A Dmonitor.c602 resctrl_arch_reset_rmid(rr->r, rr->d, closid, rmid, rr->evtid); in __mon_event_count()
603 m = get_mbm_state(rr->d, closid, rmid, rr->evtid); in __mon_event_count()
609 if (rr->d) { in __mon_event_count()
613 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, closid, rmid, in __mon_event_count()
614 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count()
639 rr->evtid, &tval, rr->arch_mon_ctx); in __mon_event_count()
669 m = get_mbm_state(rr->d, closid, rmid, rr->evtid); in mbm_bw_count()
842 rr.r = r; in mbm_update_one_event()
843 rr.d = d; in mbm_update_one_event()
845 rr.arch_mon_ctx = resctrl_arch_mon_ctx_alloc(rr.r, rr.evtid); in mbm_update_one_event()
[all …]
H A Dctrlmondata.c634 rr->rgrp = rdtgrp; in mon_event_read()
635 rr->evtid = evtid; in mon_event_read()
636 rr->r = r; in mon_event_read()
637 rr->d = d; in mon_event_read()
638 rr->first = first; in mon_event_read()
640 if (IS_ERR(rr->arch_mon_ctx)) { in mon_event_read()
641 rr->err = -EINVAL; in mon_event_read()
665 struct rmid_read rr = {0}; in rdtgroup_mondata_show() local
694 rr.ci = d->ci; in rdtgroup_mondata_show()
718 if (rr.err == -EIO) in rdtgroup_mondata_show()
[all …]
/linux-6.15/fs/gfs2/
H A Drecovery.c62 rr = iter; in gfs2_revoke_add()
67 if (rr) { in gfs2_revoke_add()
68 rr->rr_where = where; in gfs2_revoke_add()
73 if (!rr) in gfs2_revoke_add()
76 rr->rr_blkno = blkno; in gfs2_revoke_add()
77 rr->rr_where = where; in gfs2_revoke_add()
90 rr = iter; in gfs2_revoke_check()
95 if (!rr) in gfs2_revoke_check()
100 b = (where < rr->rr_where); in gfs2_revoke_check()
113 list_del(&rr->rr_list); in gfs2_revoke_clean()
[all …]
/linux-6.15/fs/jffs2/
H A Dxattr.c448 struct jffs2_raw_xref rr; in verify_xattr_ref() local
459 rc = jffs2_flash_read(c, offset, sizeof(rr), &readlen, (char *)&rr); in verify_xattr_ref()
466 crc = crc32(0, &rr, sizeof(rr) - 4); in verify_xattr_ref()
474 || je32_to_cpu(rr.totlen) != PAD(sizeof(rr))) { in verify_xattr_ref()
479 je32_to_cpu(rr.totlen), PAD(sizeof(rr))); in verify_xattr_ref()
482 ref->ino = je32_to_cpu(rr.ino); in verify_xattr_ref()
509 struct jffs2_raw_xref rr; in save_xattr_ref() local
516 rr.totlen = cpu_to_je32(PAD(sizeof(rr))); in save_xattr_ref()
517 rr.hdr_crc = cpu_to_je32(crc32(0, &rr, sizeof(struct jffs2_unknown_node) - 4)); in save_xattr_ref()
529 rr.node_crc = cpu_to_je32(crc32(0, &rr, sizeof(rr) - 4)); in save_xattr_ref()
[all …]
H A Dscan.c387 struct jffs2_raw_xref *rr, uint32_t ofs, in jffs2_scan_xref_node() argument
394 crc = crc32(0, rr, sizeof(*rr) - 4); in jffs2_scan_xref_node()
395 if (crc != je32_to_cpu(rr->node_crc)) { in jffs2_scan_xref_node()
397 ofs, je32_to_cpu(rr->node_crc), crc); in jffs2_scan_xref_node()
403 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node()
405 ofs, je32_to_cpu(rr->totlen), in jffs2_scan_xref_node()
407 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) in jffs2_scan_xref_node()
425 ref->ino = je32_to_cpu(rr->ino); in jffs2_scan_xref_node()
426 ref->xid = je32_to_cpu(rr->xid); in jffs2_scan_xref_node()
427 ref->xseqno = je32_to_cpu(rr->xseqno); in jffs2_scan_xref_node()
[all …]
/linux-6.15/arch/powerpc/kvm/
H A Dbook3s_32_mmu_host.c139 register int rr = 0; in kvmppc_mmu_map_page() local
169 if (rr == 16) { in kvmppc_mmu_map_page()
172 rr = 0; in kvmppc_mmu_map_page()
178 if (!evict && (pteg[rr] & PTE_V)) { in kvmppc_mmu_map_page()
179 rr += 2; in kvmppc_mmu_map_page()
183 dprintk_mmu("KVM: old PTEG: %p (%d)\n", pteg, rr); in kvmppc_mmu_map_page()
209 if (pteg[rr]) { in kvmppc_mmu_map_page()
210 pteg[rr] = 0; in kvmppc_mmu_map_page()
213 pteg[rr + 1] = pteg1; in kvmppc_mmu_map_page()
214 pteg[rr] = pteg0; in kvmppc_mmu_map_page()
[all …]
/linux-6.15/block/partitions/
H A Dacorn.c75 struct riscix_record *rr; in riscix_partition() local
77 rr = read_part_sector(state, first_sect, &sect); in riscix_partition()
78 if (!rr) in riscix_partition()
84 if (rr->magic == RISCIX_MAGIC) { in riscix_partition()
92 if (rr->part[part].one && in riscix_partition()
93 memcmp(rr->part[part].name, "All\0", 4)) { in riscix_partition()
95 le32_to_cpu(rr->part[part].start), in riscix_partition()
96 le32_to_cpu(rr->part[part].length)); in riscix_partition()
98 strlcat(state->pp_buf, rr->part[part].name, PAGE_SIZE); in riscix_partition()
/linux-6.15/arch/arm/mach-rpc/include/mach/
H A Dacornfb.h48 u_int rr, v, p; in acornfb_vidc20_find_pll() local
51 rr = 41667 * r; in acornfb_vidc20_find_pll()
53 v = (rr + pixclk / 2) / pixclk; in acornfb_vidc20_find_pll()
58 p = (rr + v / 2) / v; in acornfb_vidc20_find_pll()
/linux-6.15/net/ipv4/
H A Dip_options.c57 ip_rt_get_source(iph + opt->rr + iph[opt->rr + 2] - 5, skb, rt); in ip_options_build()
92 if (sopt->rr) { in __ip_options_echo()
93 optlen = sptr[sopt->rr+1]; in __ip_options_echo()
94 soffset = sptr[sopt->rr+2]; in __ip_options_echo()
95 dopt->rr = dopt->optlen + sizeof(struct iphdr); in __ip_options_echo()
96 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo()
220 opt->rr = 0; in ip_options_fragment()
312 if (opt->rr) { in __ip_options_compile()
337 opt->rr = optptr - iph; in __ip_options_compile()
491 unsigned char *optptr = opt->__data + opt->rr - sizeof(struct iphdr); in ip_options_undo()
[all …]
/linux-6.15/drivers/media/i2c/
H A Dtda7432.c276 u8 lf, lr, rf, rr; in tda7432_s_ctrl() local
282 rr = rf = -t->balance->val; in tda7432_s_ctrl()
286 rr = rf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl()
290 rr = rf = TDA7432_ATTEN_0DB; in tda7432_s_ctrl()
297 rr |= TDA7432_MUTE; in tda7432_s_ctrl()
303 tda7432_write(sd, TDA7432_RR, rr); in tda7432_s_ctrl()
/linux-6.15/drivers/s390/cio/
H A Dchsc.c1322 } *rr; in chsc_sstpc() local
1326 rr = page; in chsc_sstpc()
1329 rr->op = op; in chsc_sstpc()
1330 rr->ctrl = ctrl; in chsc_sstpc()
1331 rc = chsc(rr); in chsc_sstpc()
1347 } *rr; in chsc_sstpi() local
1351 rr = page; in chsc_sstpi()
1354 rc = chsc(rr); in chsc_sstpi()
1368 } *rr; in chsc_stzi() local
1372 rr = page; in chsc_stzi()
[all …]
/linux-6.15/drivers/mtd/nand/raw/
H A Dnand_hynix.c290 struct hynix_read_retry *rr = NULL; in hynix_mlc_1xnm_rr_init() local
314 rr = kzalloc(sizeof(*rr) + (nregs * nmodes), GFP_KERNEL); in hynix_mlc_1xnm_rr_init()
315 if (!rr) { in hynix_mlc_1xnm_rr_init()
322 u8 *val = rr->values + (i * nregs); in hynix_mlc_1xnm_rr_init()
336 rr->nregs = nregs; in hynix_mlc_1xnm_rr_init()
337 rr->regs = hynix_1xnm_mlc_read_retry_regs; in hynix_mlc_1xnm_rr_init()
338 hynix->read_retry = rr; in hynix_mlc_1xnm_rr_init()
346 kfree(rr); in hynix_mlc_1xnm_rr_init()
/linux-6.15/arch/x86/mm/
H A Dnuma.c155 int rr, i; in numa_init_array() local
157 rr = first_node(node_online_map); in numa_init_array()
161 numa_set_node(i, rr); in numa_init_array()
162 rr = next_node_in(rr, node_online_map); in numa_init_array()
/linux-6.15/drivers/isdn/mISDN/
H A Ddsp_cmx.c1395 if (r == rr) {
1417 if (r != rr) {
1434 while (r != rr) {
1494 while (r != rr) {
1522 while (r != rr) {
1549 while (r != rr) {
1626 int r, rr; local
1708 while (r != rr) {
1734 while (r != rr) {
1781 while (r != rr) {
[all …]
/linux-6.15/drivers/soc/fsl/qbman/
H A Dbman.c164 union bm_mc_result *rr; member
433 mc->rr = portal->addr.ce + BM_CL_RR0; in bm_mc_init()
469 union bm_mc_result *rr = mc->rr + mc->rridx; in bm_mc_commit() local
475 dpaa_invalidate_touch_ro(rr); in bm_mc_commit()
484 union bm_mc_result *rr = mc->rr + mc->rridx; in bm_mc_result() local
492 if (!rr->verb) { in bm_mc_result()
493 dpaa_invalidate_touch_ro(rr); in bm_mc_result()
501 return rr; in bm_mc_result()
/linux-6.15/io_uring/
H A Drsrc.c389 struct io_uring_rsrc_register rr; in io_register_rsrc() local
392 if (size != sizeof(rr)) in io_register_rsrc()
395 memset(&rr, 0, sizeof(rr)); in io_register_rsrc()
396 if (copy_from_user(&rr, arg, size)) in io_register_rsrc()
398 if (!rr.nr || rr.resv2) in io_register_rsrc()
400 if (rr.flags & ~IORING_RSRC_REGISTER_SPARSE) in io_register_rsrc()
405 if (rr.flags & IORING_RSRC_REGISTER_SPARSE && rr.data) in io_register_rsrc()
407 return io_sqe_files_register(ctx, u64_to_user_ptr(rr.data), in io_register_rsrc()
408 rr.nr, u64_to_user_ptr(rr.tags)); in io_register_rsrc()
410 if (rr.flags & IORING_RSRC_REGISTER_SPARSE && rr.data) in io_register_rsrc()
[all …]
/linux-6.15/fs/xfs/libxfs/
H A Dxfs_refcount.c2029 struct xfs_refcount_recovery *rr; in xfs_refcount_recover_extent() local
2039 INIT_LIST_HEAD(&rr->rr_list); in xfs_refcount_recover_extent()
2046 kfree(rr); in xfs_refcount_recover_extent()
2050 list_add_tail(&rr->rr_list, debris); in xfs_refcount_recover_extent()
2064 struct xfs_refcount_recovery *rr, *n; in xfs_refcount_recover_cow_leftovers() local
2138 rr->rr_rrec.rc_blockcount); in xfs_refcount_recover_cow_leftovers()
2142 rr->rr_rrec.rc_blockcount, NULL, in xfs_refcount_recover_cow_leftovers()
2152 list_del(&rr->rr_list); in xfs_refcount_recover_cow_leftovers()
2153 kfree(rr); in xfs_refcount_recover_cow_leftovers()
2162 list_del(&rr->rr_list); in xfs_refcount_recover_cow_leftovers()
[all …]
/linux-6.15/crypto/
H A Dcamellia_generic.c319 #define ROLDQ(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
323 rl = (rl << bits) + (rr >> (32 - bits)); \
324 rr = (rr << bits) + (w0 >> (32 - bits)); \
327 #define ROLDQo32(ll, lr, rl, rr, w0, w1, bits) ({ \ argument
331 lr = (rl << (bits - 32)) + (rr >> (64 - bits)); \
332 rl = (rr << (bits - 32)) + (w0 >> (64 - bits)); \
333 rr = (w0 << (bits - 32)) + (w1 >> (64 - bits)); \
811 #define CAMELLIA_FLS(ll, lr, rl, rr, kll, klr, krl, krr, t0, t1, t2, t3) ({ \ argument
815 t2 |= rr; \
823 rr ^= rol32(t3, 1); \
/linux-6.15/drivers/net/wireless/mediatek/mt76/mt7925/
H A Dpci.c71 dev->backup_l1 = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l1()
78 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l1()
87 dev->backup_l2 = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l2()
95 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7925_reg_map_l2()
189 return dev->bus_ops->rr(mdev, addr); in mt7925_rr()
371 bus_ops->rr = mt7925_rr; in mt7925_pci_probe()

12345