/linux-6.1.9/fs/isofs/ |
D | rock.c | 43 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.1.9/drivers/acpi/ |
D | reboot.c | 11 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.1.9/arch/x86/kernel/cpu/resctrl/ |
D | monitor.c | 369 static int __mon_event_count(u32 rmid, struct rmid_read *rr) in __mon_event_count() argument 374 if (rr->first) in __mon_event_count() 375 resctrl_arch_reset_rmid(rr->r, rr->d, rmid, rr->evtid); in __mon_event_count() 377 rr->err = resctrl_arch_rmid_read(rr->r, rr->d, rmid, rr->evtid, &tval); in __mon_event_count() 378 if (rr->err) in __mon_event_count() 379 return rr->err; in __mon_event_count() 381 switch (rr->evtid) { in __mon_event_count() 383 rr->val += tval; in __mon_event_count() 386 m = &rr->d->mbm_total[rmid]; in __mon_event_count() 389 m = &rr->d->mbm_local[rmid]; in __mon_event_count() [all …]
|
D | ctrlmondata.c | 532 void mon_event_read(struct rmid_read *rr, struct rdt_resource *r, in mon_event_read() argument 539 rr->rgrp = rdtgrp; in mon_event_read() 540 rr->evtid = evtid; in mon_event_read() 541 rr->r = r; in mon_event_read() 542 rr->d = d; in mon_event_read() 543 rr->val = 0; in mon_event_read() 544 rr->first = first; in mon_event_read() 546 smp_call_function_any(&d->cpu_mask, mon_event_count, rr, 1); in mon_event_read() 557 struct rmid_read rr; in rdtgroup_mondata_show() local 578 mon_event_read(&rr, r, d, rdtgrp, evtid, false); in rdtgroup_mondata_show() [all …]
|
/linux-6.1.9/fs/gfs2/ |
D | recovery.c | 58 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.1.9/fs/jffs2/ |
D | xattr.c | 448 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 …]
|
D | scan.c | 387 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.1.9/arch/powerpc/kvm/ |
D | book3s_32_mmu_host.c | 140 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.1.9/block/partitions/ |
D | acorn.c | 75 struct riscix_record *rr; in riscix_partition() local 77 rr = read_part_sector(state, first_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.1.9/arch/arm/mach-rpc/include/mach/ |
D | acornfb.h | 48 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.1.9/net/ipv4/ |
D | ip_options.c | 57 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.1.9/drivers/media/i2c/ |
D | tda7432.c | 276 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.1.9/drivers/s390/cio/ |
D | chsc.c | 1271 } *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.1.9/drivers/mtd/nand/raw/ |
D | nand_hynix.c | 291 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.1.9/drivers/isdn/mISDN/ |
D | dsp_cmx.c | 1316 int r, rr, t, tt, o_r, o_rr; local 1374 rr = (r + len) & CMX_BUFF_MASK; 1396 while (r != rr && t != tt) { 1406 if (r == rr) { 1423 while (r != rr && t != tt) { 1428 if (r != rr) { 1432 memset(d, dsp_silence, (rr - r) & CMX_BUFF_MASK); 1440 while (r != rr && t != tt) { 1445 while (r != rr) { 1468 o_r = (o_rr - rr + r) & CMX_BUFF_MASK; [all …]
|
/linux-6.1.9/drivers/soc/fsl/qbman/ |
D | bman.c | 164 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.1.9/io_uring/ |
D | rsrc.c | 627 struct io_uring_rsrc_register rr; in io_register_rsrc() local 630 if (size != sizeof(rr)) in io_register_rsrc() 633 memset(&rr, 0, sizeof(rr)); in io_register_rsrc() 634 if (copy_from_user(&rr, arg, size)) in io_register_rsrc() 636 if (!rr.nr || rr.resv2) in io_register_rsrc() 638 if (rr.flags & ~IORING_RSRC_REGISTER_SPARSE) in io_register_rsrc() 643 if (rr.flags & IORING_RSRC_REGISTER_SPARSE && rr.data) in io_register_rsrc() 645 return io_sqe_files_register(ctx, u64_to_user_ptr(rr.data), in io_register_rsrc() 646 rr.nr, u64_to_user_ptr(rr.tags)); in io_register_rsrc() 648 if (rr.flags & IORING_RSRC_REGISTER_SPARSE && rr.data) in io_register_rsrc() [all …]
|
/linux-6.1.9/fs/xfs/libxfs/ |
D | xfs_refcount.c | 1764 struct xfs_refcount_recovery *rr; in xfs_refcount_recover_extent() local 1770 rr = kmalloc(sizeof(struct xfs_refcount_recovery), in xfs_refcount_recover_extent() 1772 INIT_LIST_HEAD(&rr->rr_list); in xfs_refcount_recover_extent() 1773 xfs_refcount_btrec_to_irec(rec, &rr->rr_rrec); in xfs_refcount_recover_extent() 1776 rr->rr_rrec.rc_domain != XFS_REFC_DOMAIN_COW)) { in xfs_refcount_recover_extent() 1777 kfree(rr); in xfs_refcount_recover_extent() 1781 list_add_tail(&rr->rr_list, debris); in xfs_refcount_recover_extent() 1794 struct xfs_refcount_recovery *rr, *n; in xfs_refcount_recover_cow_leftovers() local 1841 list_for_each_entry_safe(rr, n, &debris, rr_list) { in xfs_refcount_recover_cow_leftovers() 1848 &rr->rr_rrec); in xfs_refcount_recover_cow_leftovers() [all …]
|
/linux-6.1.9/crypto/ |
D | camellia_generic.c | 319 #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.1.9/drivers/video/fbdev/ |
D | hpfb.c | 126 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.1.9/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mmio.c | 369 dev->bus_ops->rr(&dev->mt76, l1_remap); in mt7915_reg_map_l1() 387 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2); in mt7915_reg_map_l2() 399 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2_MT7916 + ofs); in mt7915_reg_map_l2() 456 return dev->bus_ops->rr(mdev, addr); in mt7915_rr() 514 bus_ops->rr = mt7915_rr; in mt7915_mmio_init()
|
/linux-6.1.9/drivers/i3c/master/ |
D | i3c-master-cdns.c | 903 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.1.9/samples/bpf/ |
D | do_hbm_test.sh | 86 rr=0 175 rr=1 279 if [ $rr -ne 0 ] ; then
|
/linux-6.1.9/tools/testing/selftests/netfilter/ |
D | ipvs.sh | 142 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.1.9/drivers/md/ |
D | dm-ebs-target.c | 123 int r = 0, rr; in __ebs_rw_bio() local 128 rr = __ebs_rw_bvec(ec, op, &bv, &iter); in __ebs_rw_bio() 129 if (rr) in __ebs_rw_bio() 130 r = rr; in __ebs_rw_bio()
|