/linux/fs/isofs/ |
A D | rock.c | 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() 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() 609 slen = rr->len - 5; in get_symlink_chunk() [all …]
|
/linux/drivers/acpi/ |
A 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/arch/x86/kernel/cpu/resctrl/ |
A D | monitor.c | 298 switch (rr->evtid) { in __mon_event_count() 300 rr->val += tval; in __mon_event_count() 316 if (rr->first) { in __mon_event_count() 362 struct rmid_read *rr = info; in mon_event_count() local 366 rdtgrp = rr->rgrp; in mon_event_count() 386 rr->val = ret_val; in mon_event_count() 514 struct rmid_read rr; in mbm_update() local 516 rr.first = false; in mbm_update() 517 rr.r = r; in mbm_update() 518 rr.d = d; in mbm_update() [all …]
|
A D | ctrlmondata.c | 508 rr->rgrp = rdtgrp; in mon_event_read() 509 rr->evtid = evtid; in mon_event_read() 510 rr->r = r; in mon_event_read() 511 rr->d = d; in mon_event_read() 512 rr->val = 0; in mon_event_read() 513 rr->first = first; in mon_event_read() 527 struct rmid_read rr; in rdtgroup_mondata_show() local 549 mon_event_read(&rr, r, d, rdtgrp, evtid, false); in rdtgroup_mondata_show() 551 if (rr.val & RMID_VAL_ERROR) in rdtgroup_mondata_show() 553 else if (rr.val & RMID_VAL_UNAVAIL) in rdtgroup_mondata_show() [all …]
|
/linux/fs/gfs2/ |
A D | recovery.c | 58 struct gfs2_revoke_replay *rr; in gfs2_revoke_add() local 62 if (rr->rr_blkno == blkno) { in gfs2_revoke_add() 69 rr->rr_where = where; in gfs2_revoke_add() 74 if (!rr) in gfs2_revoke_add() 77 rr->rr_blkno = blkno; in gfs2_revoke_add() 78 rr->rr_where = where; in gfs2_revoke_add() 79 list_add(&rr->rr_list, head); in gfs2_revoke_add() 91 if (rr->rr_blkno == blkno) { in gfs2_revoke_check() 102 b = (where < rr->rr_where); in gfs2_revoke_check() 115 list_del(&rr->rr_list); in gfs2_revoke_clean() [all …]
|
/linux/fs/jffs2/ |
A 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() 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 …]
|
A D | scan.c | 385 struct jffs2_raw_xref *rr, uint32_t ofs, in jffs2_scan_xref_node() argument 392 crc = crc32(0, rr, sizeof(*rr) - 4); in jffs2_scan_xref_node() 393 if (crc != je32_to_cpu(rr->node_crc)) { in jffs2_scan_xref_node() 395 ofs, je32_to_cpu(rr->node_crc), crc); in jffs2_scan_xref_node() 401 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node() 403 ofs, je32_to_cpu(rr->totlen), in jffs2_scan_xref_node() 405 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) in jffs2_scan_xref_node() 423 ref->ino = je32_to_cpu(rr->ino); in jffs2_scan_xref_node() 424 ref->xid = je32_to_cpu(rr->xid); in jffs2_scan_xref_node() 425 ref->xseqno = je32_to_cpu(rr->xseqno); in jffs2_scan_xref_node() [all …]
|
/linux/samples/bpf/ |
A D | xdpsock_kern.c | 17 static unsigned int rr; variable 21 rr = (rr + 1) & (MAX_SOCKS - 1); in xdp_sock_prog() 23 return bpf_redirect_map(&xsks_map, rr, XDP_DROP); in xdp_sock_prog()
|
A D | do_hbm_test.sh | 86 rr=0 175 rr=1 279 if [ $rr -ne 0 ] ; then
|
/linux/net/ipv4/ |
A D | ip_options.c | 58 ip_rt_get_source(iph + opt->rr + iph[opt->rr + 2] - 5, skb, rt); in ip_options_build() 69 if (opt->rr) { in ip_options_build() 70 memset(iph + opt->rr, IPOPT_NOP, iph[opt->rr + 1]); in ip_options_build() 71 opt->rr = 0; in ip_options_build() 105 if (sopt->rr) { in __ip_options_echo() 106 optlen = sptr[sopt->rr+1]; in __ip_options_echo() 107 soffset = sptr[sopt->rr+2]; in __ip_options_echo() 109 memcpy(dptr, sptr+sopt->rr, optlen); in __ip_options_echo() 233 opt->rr = 0; in ip_options_fragment() 325 if (opt->rr) { in __ip_options_compile() [all …]
|
/linux/arch/powerpc/kvm/ |
A 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/block/partitions/ |
A 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/arch/arm/mach-rpc/include/mach/ |
A 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/drivers/s390/cio/ |
A D | chsc.c | 1271 } *rr; in chsc_sstpc() local 1275 rr = page; in chsc_sstpc() 1278 rr->op = op; in chsc_sstpc() 1279 rr->ctrl = ctrl; in chsc_sstpc() 1280 rc = chsc(rr); in chsc_sstpc() 1296 } *rr; in chsc_sstpi() local 1300 rr = page; in chsc_sstpi() 1303 rc = chsc(rr); in chsc_sstpi() 1317 } *rr; in chsc_stzi() local 1321 rr = page; in chsc_stzi() [all …]
|
/linux/drivers/media/i2c/ |
A 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/drivers/mtd/nand/raw/ |
A 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/drivers/isdn/mISDN/ |
A D | dsp_cmx.c | 1406 if (r == rr) { 1428 if (r != rr) { 1445 while (r != rr) { 1505 while (r != rr) { 1533 while (r != rr) { 1560 while (r != rr) { 1637 int r, rr; local 1719 while (r != rr) { 1745 while (r != rr) { 1792 while (r != rr) { [all …]
|
/linux/drivers/soc/fsl/qbman/ |
A 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/fs/xfs/libxfs/ |
A D | xfs_refcount.c | 1660 struct xfs_refcount_recovery *rr; in xfs_refcount_recover_extent() local 1667 xfs_refcount_btrec_to_irec(rec, &rr->rr_rrec); in xfs_refcount_recover_extent() 1668 list_add_tail(&rr->rr_list, debris); in xfs_refcount_recover_extent() 1682 struct xfs_refcount_recovery *rr, *n; in xfs_refcount_recover_cow_leftovers() local 1728 list_for_each_entry_safe(rr, n, &debris, rr_list) { in xfs_refcount_recover_cow_leftovers() 1735 &rr->rr_rrec); in xfs_refcount_recover_cow_leftovers() 1741 rr->rr_rrec.rc_blockcount); in xfs_refcount_recover_cow_leftovers() 1750 list_del(&rr->rr_list); in xfs_refcount_recover_cow_leftovers() 1751 kmem_free(rr); in xfs_refcount_recover_cow_leftovers() 1760 list_del(&rr->rr_list); in xfs_refcount_recover_cow_leftovers() [all …]
|
/linux/crypto/ |
A 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/drivers/video/fbdev/ |
A 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/drivers/i3c/master/ |
A D | i3c-master-cdns.c | 903 u32 rr; in cdns_i3c_master_upd_i3c_addr() local 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() 1055 rr = readl(master->regs + DEV_ID_RR2(slot)); in cdns_i3c_master_dev_rr_to_info() 1056 info->dcr = rr; in cdns_i3c_master_dev_rr_to_info() 1057 info->bcr = rr >> 8; in cdns_i3c_master_dev_rr_to_info() [all …]
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
A D | mmio.c | 109 return dev->bus_ops->rr(mdev, addr); in mt7915_rr() 142 bus_ops->rr = mt7915_rr; in mt7915_mmio_init()
|
/linux/arch/x86/mm/ |
A D | numa.c | 628 int rr, i; in numa_init_array() local 630 rr = first_node(node_online_map); in numa_init_array() 634 numa_set_node(i, rr); in numa_init_array() 635 rr = next_node_in(rr, node_online_map); in numa_init_array()
|
/linux/drivers/md/ |
A D | dm-ebs-target.c | 122 int r = 0, rr; in __ebs_rw_bio() local 127 rr = __ebs_rw_bvec(ec, rw, &bv, &iter); in __ebs_rw_bio() 128 if (rr) in __ebs_rw_bio() 129 r = rr; in __ebs_rw_bio()
|