| /linux/fs/xfs/scrub/ |
| H A D | rmap_repair.c | 166 struct xrep_rmap *rr; in xrep_setup_ag_rmapbt() local 175 rr = kzalloc_obj(struct xrep_rmap, XCHK_GFP_FLAGS); in xrep_setup_ag_rmapbt() 176 if (!rr) in xrep_setup_ag_rmapbt() 179 rr->sc = sc; in xrep_setup_ag_rmapbt() 180 sc->buf = rr; in xrep_setup_ag_rmapbt() 210 struct xrep_rmap *rr, in xrep_rmap_stash() argument 224 struct xfs_scrub *sc = rr->sc; in xrep_rmap_stash() 231 if (xchk_iscan_aborted(&rr->iscan)) in xrep_rmap_stash() 236 mutex_lock(&rr->lock); in xrep_rmap_stash() 237 mcur = xfs_rmapbt_mem_cursor(sc->sa.pag, sc->tp, &rr in xrep_rmap_stash() 259 struct xrep_rmap *rr; global() member 271 struct xrep_rmap *rr = rsr->rr; xrep_rmap_stash_run() local 282 xrep_rmap_stash_bitmap(struct xrep_rmap * rr,struct xagb_bitmap * bitmap,const struct xfs_owner_info * oinfo) xrep_rmap_stash_bitmap() argument 313 struct xrep_rmap *rr; global() member 411 struct xrep_rmap *rr = rf->rr; xrep_rmap_scan_iroot_btree() local 446 struct xrep_rmap *rr = rf->rr; xrep_rmap_scan_bmbt() local 568 xrep_rmap_scan_ifork(struct xrep_rmap * rr,struct xfs_inode * ip,int whichfork) xrep_rmap_scan_ifork() argument 636 xrep_rmap_scan_inode(struct xrep_rmap * rr,struct xfs_inode * ip) xrep_rmap_scan_inode() argument 663 struct xrep_rmap *rr; global() member 729 xrep_rmap_find_inode_rmaps(struct xrep_rmap * rr) xrep_rmap_find_inode_rmaps() argument 805 xrep_rmap_find_refcount_rmaps(struct xrep_rmap * rr) xrep_rmap_find_refcount_rmaps() argument 853 xrep_rmap_find_agheader_rmaps(struct xrep_rmap * rr) xrep_rmap_find_agheader_rmaps() argument 866 xrep_rmap_find_log_rmaps(struct xrep_rmap * rr) xrep_rmap_find_log_rmaps() argument 885 struct xrep_rmap *rr = priv; xrep_rmap_check_record() local 904 xrep_rmap_find_rmaps(struct xrep_rmap * rr) xrep_rmap_find_rmaps() argument 1035 xrep_rmap_try_reserve(struct xrep_rmap * rr,struct xfs_btree_cur * rmap_cur,struct xagb_bitmap * freesp_blocks,uint64_t * blocks_reserved,bool * done) xrep_rmap_try_reserve() argument 1136 xrep_rmap_reserve_space(struct xrep_rmap * rr,struct xfs_btree_cur * rmap_cur) xrep_rmap_reserve_space() argument 1184 xrep_rmap_reset_counters(struct xrep_rmap * rr) xrep_rmap_reset_counters() argument 1225 struct xrep_rmap *rr = priv; xrep_rmap_get_records() local 1259 struct xrep_rmap *rr = priv; xrep_rmap_claim_block() local 1334 xrep_rmap_build_new_tree(struct xrep_rmap * rr) xrep_rmap_build_new_tree() argument 1502 xrep_rmap_remove_old_tree(struct xrep_rmap * rr) xrep_rmap_remove_old_tree() argument 1607 struct xrep_rmap *rr; xrep_rmapbt_live_update() local 1651 xrep_rmap_setup_scan(struct xrep_rmap * rr) xrep_rmap_setup_scan() argument 1691 xrep_rmap_teardown(struct xrep_rmap * rr) xrep_rmap_teardown() argument 1707 struct xrep_rmap *rr = sc->buf; xrep_rmapbt() local [all...] |
| H A D | refcount_repair.c | 164 struct xrep_refc *rr, in xrep_refc_stash() 175 struct xfs_scrub *sc = rr->sc; in xrep_refc_stash() 183 error = xrep_refc_check_ext(rr->sc, &irec); in xrep_refc_stash() 189 return xfarray_append(rr->refcount_records, &irec); in xrep_refc_stash() 195 struct xrep_refc *rr, in xrep_refc_stash_cow() 199 return xrep_refc_stash(rr, XFS_REFC_DOMAIN_COW, agbno, len, 1); in xrep_refc_stash_cow() 230 struct xrep_refc *rr, in xrep_refc_walk_rmaps() 234 struct xfs_btree_cur *cur = rr->sc->sa.rmap_cur; in xrep_refc_walk_rmaps() 248 if (xchk_should_terminate(rr->sc, &error)) in xrep_refc_walk_rmaps() 266 error = xrep_refc_stash_cow(rr, rma in xrep_refc_walk_rmaps() 163 xrep_refc_stash(struct xrep_refc * rr,enum xfs_refc_domain domain,xfs_agblock_t agbno,xfs_extlen_t len,uint64_t refcount) xrep_refc_stash() argument 194 xrep_refc_stash_cow(struct xrep_refc * rr,xfs_agblock_t agbno,xfs_extlen_t len) xrep_refc_stash_cow() argument 229 xrep_refc_walk_rmaps(struct xrep_refc * rr,struct xfs_rmap_irec * rmap,bool * have_rec) xrep_refc_walk_rmaps() argument 323 xrep_refc_sort_records(struct xrep_refc * rr) xrep_refc_sort_records() argument 369 xrep_refc_push_rmaps_at(struct xrep_refc * rr,struct rcbag * rcstack,xfs_agblock_t bno,struct xfs_rmap_irec * rmap,bool * have) xrep_refc_push_rmaps_at() argument 403 xrep_refc_find_refcounts(struct xrep_refc * rr) xrep_refc_find_refcounts() argument 520 struct xrep_refc *rr = priv; xrep_refc_get_records() local 545 struct xrep_refc *rr = priv; xrep_refc_claim_block() local 553 xrep_refc_reset_counters(struct xrep_refc * rr) xrep_refc_reset_counters() argument 582 xrep_refc_build_new_tree(struct xrep_refc * rr) xrep_refc_build_new_tree() argument 672 xrep_refc_remove_old_tree(struct xrep_refc * rr) xrep_refc_remove_old_tree() argument 699 struct xrep_refc *rr; xrep_refcountbt() local [all...] |
| /linux/fs/resctrl/ |
| H A D | monitor.c | 425 static int __l3_mon_event_count(struct rdtgroup *rdtgrp, struct rmid_read *rr) in __l3_mon_event_count() argument 435 if (!domain_header_is_valid(rr->hdr, RESCTRL_MON_DOMAIN, RDT_RESOURCE_L3)) { in __l3_mon_event_count() 436 rr->err = -EIO; in __l3_mon_event_count() 439 d = container_of(rr->hdr, struct rdt_l3_mon_domain, hdr); in __l3_mon_event_count() 441 if (rr->is_mbm_cntr) { in __l3_mon_event_count() 442 cntr_id = mbm_cntr_get(rr->r, d, rdtgrp, rr->evt->evtid); in __l3_mon_event_count() 444 rr->err = -ENOENT; in __l3_mon_event_count() 449 if (rr->first) { in __l3_mon_event_count() 450 if (rr in __l3_mon_event_count() 480 __l3_mon_event_count_sum(struct rdtgroup * rdtgrp,struct rmid_read * rr) __l3_mon_event_count_sum() argument 537 __mon_event_count(struct rdtgroup * rdtgrp,struct rmid_read * rr) __mon_event_count() argument 578 mbm_bw_count(struct rdtgroup * rdtgrp,struct rmid_read * rr) mbm_bw_count() argument 609 struct rmid_read *rr = info; mon_event_count() local 768 struct rmid_read rr = {0}; mbm_update_one_event() local [all...] |
| H A D | ctrlmondata.c | 563 void mon_event_read(struct rmid_read *rr, struct rdt_resource *r, in mon_event_read() argument 575 rr->rgrp = rdtgrp; in mon_event_read() 576 rr->evt = evt; in mon_event_read() 577 rr->r = r; in mon_event_read() 578 rr->hdr = hdr; in mon_event_read() 579 rr->first = first; in mon_event_read() 582 rr->is_mbm_cntr = true; in mon_event_read() 584 rr->arch_mon_ctx = resctrl_arch_mon_ctx_alloc(r, evt->evtid); in mon_event_read() 585 if (IS_ERR(rr->arch_mon_ctx)) { in mon_event_read() 586 rr->err = -EINVAL; in mon_event_read() [all …]
|
| /linux/drivers/acpi/ |
| H 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/fs/gfs2/ |
| H A D | recovery.c | 59 struct gfs2_revoke_replay *rr = NULL, *iter; in gfs2_revoke_add() 63 rr = iter; in gfs2_revoke_add() 68 if (rr) { in gfs2_revoke_add() 69 rr->rr_where = where; in gfs2_revoke_add() 73 rr = kmalloc_obj(struct gfs2_revoke_replay, GFP_NOFS); 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() 86 struct gfs2_revoke_replay *rr in gfs2_revoke_check() 58 struct gfs2_revoke_replay *rr = NULL, *iter; gfs2_revoke_add() local 85 struct gfs2_revoke_replay *rr = NULL, *iter; gfs2_revoke_check() local 109 struct gfs2_revoke_replay *rr; gfs2_revoke_clean() local [all...] |
| /linux/fs/jffs2/ |
| H 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() 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 …]
|
| H A D | scan.c | 389 struct jffs2_raw_xref *rr, uint32_t ofs, in jffs2_scan_xref_node() argument 396 crc = crc32(0, rr, sizeof(*rr) - 4); in jffs2_scan_xref_node() 397 if (crc != je32_to_cpu(rr->node_crc)) { in jffs2_scan_xref_node() 399 ofs, je32_to_cpu(rr->node_crc), crc); in jffs2_scan_xref_node() 400 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node() 405 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node() 407 ofs, je32_to_cpu(rr->totlen), in jffs2_scan_xref_node() 409 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) in jffs2_scan_xref_node() 427 ref->ino = je32_to_cpu(rr->ino); in jffs2_scan_xref_node() 428 ref->xid = je32_to_cpu(rr->xid); in jffs2_scan_xref_node() [all …]
|
| /linux/arch/arm/mach-rpc/include/mach/ |
| H 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/net/ipv4/ |
| H A 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/drivers/s390/cio/ |
| H A D | chsc.c | 1322 } *rr; in chsc_sstpc() local 1326 rr = page; in chsc_sstpc() 1327 rr->request.length = 0x0020; in chsc_sstpc() 1328 rr->request.code = 0x0033; in chsc_sstpc() 1329 rr->op = op; in chsc_sstpc() 1330 rr->ctrl = ctrl; in chsc_sstpc() 1331 rc = chsc(rr); in chsc_sstpc() 1334 rc = (rr->response.code == 0x0001) ? 0 : -EIO; in chsc_sstpc() 1336 *clock_delta = rr->clock_delta; in chsc_sstpc() 1347 } *rr; in chsc_sstpi() local [all …]
|
| /linux/drivers/mtd/nand/raw/ |
| H A D | nand_hynix.c | 290 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/drivers/soc/fsl/qbman/ |
| H 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()
|
| H A D | qman.c | 328 union qm_mc_result *rr; member 860 mc->rr = portal->addr.ce + QM_CL_RR0; in qm_mc_init() 868 rr0 = mc->rr->verb; in qm_mc_init() 869 rr1 = (mc->rr+1)->verb; in qm_mc_init() 907 union qm_mc_result *rr = mc->rr + mc->rridx; in qm_mc_commit() local 913 dpaa_invalidate_touch_ro(rr); in qm_mc_commit() 922 union qm_mc_result *rr = mc->rr + mc->rridx; in qm_mc_result() local 930 if (!rr->verb) { in qm_mc_result() 931 dpaa_invalidate_touch_ro(rr); in qm_mc_result() 939 return rr; in qm_mc_result() [all …]
|
| /linux/fs/xfs/libxfs/ |
| H A D | xfs_refcount.c | 2026 struct xfs_refcount_recovery *rr; in xfs_refcount_recover_extent() 2034 rr = kmalloc_obj(struct xfs_refcount_recovery, in xfs_refcount_recover_extent() 2036 INIT_LIST_HEAD(&rr->rr_list); in xfs_refcount_recover_extent() 2037 xfs_refcount_btrec_to_irec(rec, &rr->rr_rrec); in xfs_refcount_recover_extent() 2039 if (xfs_refcount_check_btrec(cur, &rr->rr_rrec) != NULL || in xfs_refcount_recover_extent() 2041 rr->rr_rrec.rc_domain != XFS_REFC_DOMAIN_COW)) { in xfs_refcount_recover_extent() 2043 kfree(rr); in xfs_refcount_recover_extent() 2047 list_add_tail(&rr->rr_list, debris); in xfs_refcount_recover_extent() 2061 struct xfs_refcount_recovery *rr, *n; in xfs_refcount_recover_cow_leftovers() 2124 list_for_each_entry_safe(rr, in xfs_refcount_recover_cow_leftovers() 2027 struct xfs_refcount_recovery *rr; xfs_refcount_recover_extent() local 2062 struct xfs_refcount_recovery *rr, *n; xfs_refcount_recover_cow_leftovers() local [all...] |
| /linux/tools/sched_ext/ |
| H A D | scx_qmap.c | 183 const char *rr = "-"; in print_hier() 198 rr = "self"; in print_hier() 200 rr = "?"; in print_hier() 204 rr = who; in print_hier() 212 printf("hier : nsub=%llu excl=%u shared=%s rr=%s reenq cap/immed +%llu/+%llu blocked=+%llu inj=+%llu rescue=+%llu child_ecaps=+%llu\n", in print_hier() 213 (unsigned long long)qa->nr_sub_scheds, qa->part.nr_excl, ranges, rr, in print_hier() 164 const char *rr = "-"; print_hier() local
|
| /linux/tools/testing/selftests/drivers/net/bonding/ |
| H A D | netcons_over_bonding.sh | 64 if ! ip -n "${TXNS}" link add "${BOND_TX_MAIN_IF}" type bond mode balance-rr 89 link add "${BOND_RX_MAIN_IF}" type bond mode balance-rr 237 link add "${BOND_TX_MAIN_IF}" type bond mode balance-rr
|
| /linux/drivers/video/fbdev/ |
| H 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/Documentation/driver-api/media/drivers/ccs/ |
| H A D | ccs.rst | 28 ccs/smiapp-sensor-vv-mmmm-rr.fw (sensor) and 33 ccs/smia-sensor-vv-mmmm-rr.fw (sensor). 36 and rrrr or rr revision number.
|
| /linux/tools/testing/selftests/net/netfilter/ |
| H A D | ipvs.sh | 125 ip netns exec "${ns1}" ipvsadm -A -t "${vip_v4}:${port}" -s rr 141 ip netns exec "${ns1}" ipvsadm -A -t "${vip_v4}:${port}" -s rr 159 ip netns exec "${ns1}" ipvsadm -A -t "${vip_v4}:${port}" -s rr
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7925/ |
| H A D | pci.c | 147 dev->backup_l1 = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in __mt7925_reg_addr() 154 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in __mt7925_reg_addr() 163 dev->backup_l2 = dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in __mt7925_reg_addr() 171 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L1); in __mt7925_reg_addr() 360 return dev->bus_ops->rr(mdev, addr); 704 bus_ops->rr = mt7925_rr; in mt7925_pci_probe()
|
| /linux/drivers/md/ |
| H A D | dm-ebs-target.c | 124 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()
|
| /linux/samples/bpf/ |
| H A D | do_hbm_test.sh | 86 rr=0 175 rr=1 279 if [ $rr -ne 0 ] ; then
|
| /linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
| H A D | mmio.c | 432 dev->bus_ops->rr(&dev->mt76, l1_remap); in mt7915_reg_map_l1() 450 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2); in mt7915_reg_map_l2() 462 dev->bus_ops->rr(&dev->mt76, MT_HIF_REMAP_L2_MT7916 + ofs); in mt7915_reg_map_l2() 541 return dev->bus_ops->rr(mdev, addr); in mt7915_rr() 544 val = dev->bus_ops->rr(mdev, __mt7915_reg_remap_addr(dev, offset)); in mt7915_rr() 781 bus_ops->rr = mt7915_rr; in mt7915_mmio_init()
|
| /linux/arch/mips/kernel/ |
| H A D | branch.c | 374 if (inst.rr.func == MIPS16e_jr_func) { in __MIPS16e_compute_return_epc() 376 if (inst.rr.ra) in __MIPS16e_compute_return_epc() 380 regs->regs[reg16to32[inst.rr.rx]]; in __MIPS16e_compute_return_epc() 382 if (inst.rr.l) { in __MIPS16e_compute_return_epc() 383 if (inst.rr.nd) in __MIPS16e_compute_return_epc()
|