Home
last modified time | relevance | path

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

12345

/linux-6.6.21/fs/isofs/
Drock.c43 static int check_sp(struct rock_ridge *rr, struct inode *inode) in check_sp() argument
45 if (rr->u.SP.magic[0] != 0xbe) in check_sp()
47 if (rr->u.SP.magic[1] != 0xef) in check_sp()
49 ISOFS_SB(inode->i_sb)->s_rock_offset = rr->u.SP.skip; in check_sp()
202 struct rock_ridge *rr; in get_rock_ridge_filename() local
219 rr = (struct rock_ridge *)rs.chr; in get_rock_ridge_filename()
225 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()
241 if ((rr->u.RR.flags[0] & RR_NM) == 0) in get_rock_ridge_filename()
[all …]
/linux-6.6.21/drivers/acpi/
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.6.21/arch/x86/kernel/cpu/resctrl/
Dmonitor.c399 static int __mon_event_count(u32 rmid, struct rmid_read *rr) in __mon_event_count() argument
404 if (rr->first) { in __mon_event_count()
405 resctrl_arch_reset_rmid(rr->r, rr->d, rmid, rr->evtid); in __mon_event_count()
406 m = get_mbm_state(rr->d, rmid, rr->evtid); in __mon_event_count()
412 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, rmid, rr->evtid, &tval); in __mon_event_count()
413 if (rr->err) in __mon_event_count()
414 return rr->err; in __mon_event_count()
416 rr->val += tval; in __mon_event_count()
432 static void mbm_bw_count(u32 rmid, struct rmid_read *rr) in mbm_bw_count() argument
434 struct mbm_state *m = &rr->d->mbm_local[rmid]; in mbm_bw_count()
[all …]
Dctrlmondata.c523 void mon_event_read(struct rmid_read *rr, struct rdt_resource *r, in mon_event_read() argument
530 rr->rgrp = rdtgrp; in mon_event_read()
531 rr->evtid = evtid; in mon_event_read()
532 rr->r = r; in mon_event_read()
533 rr->d = d; in mon_event_read()
534 rr->val = 0; in mon_event_read()
535 rr->first = first; in mon_event_read()
537 smp_call_function_any(&d->cpu_mask, mon_event_count, rr, 1); in mon_event_read()
548 struct rmid_read rr; in rdtgroup_mondata_show() local
569 mon_event_read(&rr, r, d, rdtgrp, evtid, false); in rdtgroup_mondata_show()
[all …]
/linux-6.6.21/fs/gfs2/
Drecovery.c58 struct gfs2_revoke_replay *rr = NULL, *iter; in gfs2_revoke_add() local
62 rr = iter; in gfs2_revoke_add()
67 if (rr) { in gfs2_revoke_add()
68 rr->rr_where = where; in gfs2_revoke_add()
72 rr = kmalloc(sizeof(struct gfs2_revoke_replay), GFP_NOFS); 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()
78 list_add(&rr->rr_list, head); in gfs2_revoke_add()
85 struct gfs2_revoke_replay *rr = NULL, *iter; in gfs2_revoke_check() local
[all …]
/linux-6.6.21/fs/jffs2/
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()
460 if (rc || sizeof(rr) != readlen) { in verify_xattr_ref()
462 rc, sizeof(rr), readlen, offset); in verify_xattr_ref()
466 crc = crc32(0, &rr, sizeof(rr) - 4); in verify_xattr_ref()
467 if (crc != je32_to_cpu(rr.node_crc)) { in verify_xattr_ref()
469 offset, je32_to_cpu(rr.node_crc), crc); in verify_xattr_ref()
472 if (je16_to_cpu(rr.magic) != JFFS2_MAGIC_BITMASK in verify_xattr_ref()
473 || je16_to_cpu(rr.nodetype) != JFFS2_NODETYPE_XREF in verify_xattr_ref()
474 || je32_to_cpu(rr.totlen) != PAD(sizeof(rr))) { in verify_xattr_ref()
[all …]
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()
398 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) 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()
[all …]
/linux-6.6.21/arch/powerpc/kvm/
Dbook3s_32_mmu_host.c140 register int rr = 0; in kvmppc_mmu_map_page() local
170 if (rr == 16) { in kvmppc_mmu_map_page()
173 rr = 0; in kvmppc_mmu_map_page()
179 if (!evict && (pteg[rr] & PTE_V)) { in kvmppc_mmu_map_page()
180 rr += 2; in kvmppc_mmu_map_page()
184 dprintk_mmu("KVM: old PTEG: %p (%d)\n", pteg, rr); in kvmppc_mmu_map_page()
210 if (pteg[rr]) { in kvmppc_mmu_map_page()
211 pteg[rr] = 0; in kvmppc_mmu_map_page()
214 pteg[rr + 1] = pteg1; in kvmppc_mmu_map_page()
215 pteg[rr] = pteg0; in kvmppc_mmu_map_page()
[all …]
/linux-6.6.21/block/partitions/
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.6.21/arch/arm/mach-rpc/include/mach/
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.6.21/net/ipv4/
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.6.21/drivers/media/i2c/
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.6.21/drivers/s390/cio/
Dchsc.c1271 } *rr; in chsc_sstpc() local
1275 rr = page; in chsc_sstpc()
1276 rr->request.length = 0x0020; in chsc_sstpc()
1277 rr->request.code = 0x0033; in chsc_sstpc()
1278 rr->op = op; in chsc_sstpc()
1279 rr->ctrl = ctrl; in chsc_sstpc()
1280 rc = chsc(rr); in chsc_sstpc()
1283 rc = (rr->response.code == 0x0001) ? 0 : -EIO; in chsc_sstpc()
1285 *clock_delta = rr->clock_delta; in chsc_sstpc()
1296 } *rr; in chsc_sstpi() local
[all …]
/linux-6.6.21/drivers/mtd/nand/raw/
Dnand_hynix.c291 struct hynix_read_retry *rr = NULL; in hynix_mlc_1xnm_rr_init() local
315 rr = kzalloc(sizeof(*rr) + (nregs * nmodes), GFP_KERNEL); in hynix_mlc_1xnm_rr_init()
316 if (!rr) { in hynix_mlc_1xnm_rr_init()
323 u8 *val = rr->values + (i * nregs); in hynix_mlc_1xnm_rr_init()
337 rr->nregs = nregs; in hynix_mlc_1xnm_rr_init()
338 rr->regs = hynix_1xnm_mlc_read_retry_regs; in hynix_mlc_1xnm_rr_init()
339 hynix->read_retry = rr; in hynix_mlc_1xnm_rr_init()
347 kfree(rr); in hynix_mlc_1xnm_rr_init()
/linux-6.6.21/drivers/isdn/mISDN/
Ddsp_cmx.c1305 int r, rr, t, tt, o_r, o_rr; local
1363 rr = (r + len) & CMX_BUFF_MASK;
1385 while (r != rr && t != tt) {
1395 if (r == rr) {
1412 while (r != rr && t != tt) {
1417 if (r != rr) {
1421 memset(d, dsp_silence, (rr - r) & CMX_BUFF_MASK);
1429 while (r != rr && t != tt) {
1434 while (r != rr) {
1457 o_r = (o_rr - rr + r) & CMX_BUFF_MASK;
[all …]
/linux-6.6.21/drivers/soc/fsl/qbman/
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.6.21/io_uring/
Drsrc.c536 struct io_uring_rsrc_register rr; in io_register_rsrc() local
539 if (size != sizeof(rr)) in io_register_rsrc()
542 memset(&rr, 0, sizeof(rr)); in io_register_rsrc()
543 if (copy_from_user(&rr, arg, size)) in io_register_rsrc()
545 if (!rr.nr || rr.resv2) in io_register_rsrc()
547 if (rr.flags & ~IORING_RSRC_REGISTER_SPARSE) in io_register_rsrc()
552 if (rr.flags & IORING_RSRC_REGISTER_SPARSE && rr.data) in io_register_rsrc()
554 return io_sqe_files_register(ctx, u64_to_user_ptr(rr.data), in io_register_rsrc()
555 rr.nr, u64_to_user_ptr(rr.tags)); in io_register_rsrc()
557 if (rr.flags & IORING_RSRC_REGISTER_SPARSE && rr.data) in io_register_rsrc()
[all …]
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt7996/
Dmmio.c85 dev->reg_l1_backup = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7996_reg_map_l1()
90 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in mt7996_reg_map_l1()
100 dev->reg_l2_backup = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2); in mt7996_reg_map_l2()
105 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2); in mt7996_reg_map_l2()
177 return dev->bus_ops->rr(mdev, __mt7996_reg_addr(dev, offset)); in mt7996_rr()
220 bus_ops->rr = mt7996_rr; in mt7996_mmio_init()
/linux-6.6.21/fs/xfs/libxfs/
Dxfs_refcount.c1891 struct xfs_refcount_recovery *rr; in xfs_refcount_recover_extent() local
1897 rr = kmalloc(sizeof(struct xfs_refcount_recovery), in xfs_refcount_recover_extent()
1899 INIT_LIST_HEAD(&rr->rr_list); in xfs_refcount_recover_extent()
1900 xfs_refcount_btrec_to_irec(rec, &rr->rr_rrec); in xfs_refcount_recover_extent()
1902 if (xfs_refcount_check_irec(cur, &rr->rr_rrec) != NULL || in xfs_refcount_recover_extent()
1904 rr->rr_rrec.rc_domain != XFS_REFC_DOMAIN_COW)) { in xfs_refcount_recover_extent()
1905 kfree(rr); in xfs_refcount_recover_extent()
1909 list_add_tail(&rr->rr_list, debris); in xfs_refcount_recover_extent()
1922 struct xfs_refcount_recovery *rr, *n; in xfs_refcount_recover_cow_leftovers() local
1970 list_for_each_entry_safe(rr, n, &debris, rr_list) { in xfs_refcount_recover_cow_leftovers()
[all …]
/linux-6.6.21/crypto/
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.6.21/drivers/video/fbdev/
Dhpfb.c126 static void topcat_blit(int x0, int y0, int x1, int y1, int w, int h, int rr) in topcat_blit() argument
128 if (rr >= 0) { in topcat_blit()
133 if (rr >= 0) { in topcat_blit()
135 out_8(fb_regs + WMRR, rr); in topcat_blit()
/linux-6.6.21/drivers/i3c/master/
Di3c-master-cdns.c903 u32 rr; in cdns_i3c_master_upd_i3c_addr() local
905 rr = prepare_rr0_dev_address(dev->info.dyn_addr ? in cdns_i3c_master_upd_i3c_addr()
908 writel(DEV_ID_RR0_IS_I3C | rr, master->regs + DEV_ID_RR0(data->id)); in cdns_i3c_master_upd_i3c_addr()
915 u32 rr; in cdns_i3c_master_get_rr_slot() local
929 rr = readl(master->regs + DEV_ID_RR0(i)); in cdns_i3c_master_get_rr_slot()
930 if (!(rr & DEV_ID_RR0_IS_I3C) || in cdns_i3c_master_get_rr_slot()
931 DEV_ID_RR0_GET_DEV_ADDR(rr) != dyn_addr) in cdns_i3c_master_get_rr_slot()
1050 u32 rr; in cdns_i3c_master_dev_rr_to_info() local
1053 rr = readl(master->regs + DEV_ID_RR0(slot)); in cdns_i3c_master_dev_rr_to_info()
1054 info->dyn_addr = DEV_ID_RR0_GET_DEV_ADDR(rr); in cdns_i3c_master_dev_rr_to_info()
[all …]
/linux-6.6.21/samples/bpf/
Ddo_hbm_test.sh86 rr=0
175 rr=1
279 if [ $rr -ne 0 ] ; then
/linux-6.6.21/tools/testing/selftests/netfilter/
Dipvs.sh142 ip netns exec ns1 ipvsadm -A -t ${vip_v4}:${port} -s rr
161 ip netns exec ns1 ipvsadm -A -t ${vip_v4}:${port} -s rr
179 ip netns exec ns1 ipvsadm -A -t ${vip_v4}:${port} -s rr
/linux-6.6.21/drivers/md/
Ddm-ebs-target.c124 int r = 0, rr; in __ebs_rw_bio() local
129 rr = __ebs_rw_bvec(ec, op, &bv, &iter); in __ebs_rw_bio()
130 if (rr) in __ebs_rw_bio()
131 r = rr; in __ebs_rw_bio()

12345