Home
last modified time | relevance | path

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

123

/linux/fs/xfs/scrub/
H A Drtrmap_repair.c105 struct xrep_rtrmap *rr; in xrep_setup_rtrmapbt() local
117 rr = kzalloc(sizeof(struct xrep_rtrmap), XCHK_GFP_FLAGS); in xrep_setup_rtrmapbt()
118 if (!rr) in xrep_setup_rtrmapbt()
121 rr->sc = sc; in xrep_setup_rtrmapbt()
122 sc->buf = rr; in xrep_setup_rtrmapbt()
143 struct xrep_rtrmap *rr, in xrep_rtrmap_stash() argument
157 struct xfs_scrub *sc = rr->sc; in xrep_rtrmap_stash()
164 if (xchk_iscan_aborted(&rr->iscan)) in xrep_rtrmap_stash()
170 mutex_lock(&rr->lock); in xrep_rtrmap_stash()
171 mcur = xfs_rtrmapbt_mem_cursor(sc->sr.rtg, sc->tp, &rr->rtrmap_btree); in xrep_rtrmap_stash()
[all …]
H A Drmap_repair.c166 struct xrep_rmap *rr; in xrep_setup_ag_rmapbt() local
178 rr = kzalloc(sizeof(struct xrep_rmap), XCHK_GFP_FLAGS); in xrep_setup_ag_rmapbt()
179 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()
213 struct xrep_rmap *rr, in xrep_rmap_stash() argument
227 struct xfs_scrub *sc = rr->sc; in xrep_rmap_stash()
234 if (xchk_iscan_aborted(&rr->iscan)) in xrep_rmap_stash()
239 mutex_lock(&rr->lock); in xrep_rmap_stash()
240 mcur = xfs_rmapbt_mem_cursor(sc->sa.pag, sc->tp, &rr->rmap_btree); in xrep_rmap_stash()
[all …]
H A Drtrefcount_repair.c166 struct xrep_rtrefc *rr, in xrep_rtrefc_stash() argument
180 if (xchk_should_terminate(rr->sc, &error)) in xrep_rtrefc_stash()
185 error = xrep_rtrefc_check_ext(rr->sc, &irec); in xrep_rtrefc_stash()
189 trace_xrep_refc_found(rtg_group(rr->sc->sr.rtg), &irec); in xrep_rtrefc_stash()
191 return xfarray_append(rr->refcount_records, &irec); in xrep_rtrefc_stash()
197 struct xrep_rtrefc *rr, in xrep_rtrefc_stash_cow() argument
201 return xrep_rtrefc_stash(rr, XFS_REFC_DOMAIN_COW, bno, len, 1); in xrep_rtrefc_stash_cow()
223 struct xrep_rtrefc *rr, in xrep_rtrefc_walk_rmaps() argument
227 struct xfs_btree_cur *cur = rr->sc->sr.rmap_cur; in xrep_rtrefc_walk_rmaps()
241 if (xchk_should_terminate(rr->sc, &error)) in xrep_rtrefc_walk_rmaps()
[all …]
H A Drefcount_repair.c169 struct xrep_refc *rr, in xrep_refc_stash() argument
180 struct xfs_scrub *sc = rr->sc; in xrep_refc_stash()
188 error = xrep_refc_check_ext(rr->sc, &irec); in xrep_refc_stash()
194 return xfarray_append(rr->refcount_records, &irec); in xrep_refc_stash()
200 struct xrep_refc *rr, in xrep_refc_stash_cow() argument
204 return xrep_refc_stash(rr, XFS_REFC_DOMAIN_COW, agbno, len, 1); in xrep_refc_stash_cow()
235 struct xrep_refc *rr, in xrep_refc_walk_rmaps() argument
239 struct xfs_btree_cur *cur = rr->sc->sa.rmap_cur; in xrep_refc_walk_rmaps()
253 if (xchk_should_terminate(rr->sc, &error)) in xrep_refc_walk_rmaps()
271 error = xrep_refc_stash_cow(rr, rmap->rm_startblock, in xrep_refc_walk_rmaps()
[all …]
/linux/fs/isofs/
H A 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/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/fs/resctrl/
H A Dmonitor.c416 static int __mon_event_count(struct rdtgroup *rdtgrp, struct rmid_read *rr) in __mon_event_count() argument
427 if (rr->is_mbm_cntr) { in __mon_event_count()
428 cntr_id = mbm_cntr_get(rr->r, rr->d, rdtgrp, rr->evtid); in __mon_event_count()
430 rr->err = -ENOENT; in __mon_event_count()
435 if (rr->first) { in __mon_event_count()
436 if (rr->is_mbm_cntr) in __mon_event_count()
437 resctrl_arch_reset_cntr(rr->r, rr->d, closid, rmid, cntr_id, rr->evtid); in __mon_event_count()
439 resctrl_arch_reset_rmid(rr->r, rr->d, closid, rmid, rr->evtid); in __mon_event_count()
440 m = get_mbm_state(rr->d, closid, rmid, rr->evtid); in __mon_event_count()
446 if (rr->d) { in __mon_event_count()
[all …]
/linux/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()
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 Dscan.c389 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/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/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/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/drivers/isdn/mISDN/
H A 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/arch/x86/mm/
H A Dnuma.c156 int rr, i; in numa_init_array() local
158 rr = first_node(node_online_map); in numa_init_array()
162 numa_set_node(i, rr); in numa_init_array()
163 rr = next_node_in(rr, node_online_map); in numa_init_array()
/linux/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/io_uring/
H A Drsrc.c400 struct io_uring_rsrc_register rr; in io_register_rsrc() local
403 if (size != sizeof(rr)) in io_register_rsrc()
406 memset(&rr, 0, sizeof(rr)); in io_register_rsrc()
407 if (copy_from_user(&rr, arg, size)) in io_register_rsrc()
409 if (!rr.nr || rr.resv2) in io_register_rsrc()
411 if (rr.flags & ~IORING_RSRC_REGISTER_SPARSE) in io_register_rsrc()
416 if (rr.flags & IORING_RSRC_REGISTER_SPARSE && rr in io_register_rsrc()
[all...]
/linux/fs/xfs/libxfs/
H A Dxfs_refcount.c2028 struct xfs_refcount_recovery *rr; in xfs_refcount_recover_extent() local
2036 rr = kmalloc(sizeof(struct xfs_refcount_recovery), in xfs_refcount_recover_extent()
2038 INIT_LIST_HEAD(&rr->rr_list); in xfs_refcount_recover_extent()
2039 xfs_refcount_btrec_to_irec(rec, &rr->rr_rrec); in xfs_refcount_recover_extent()
2041 if (xfs_refcount_check_btrec(cur, &rr->rr_rrec) != NULL || in xfs_refcount_recover_extent()
2043 rr->rr_rrec.rc_domain != XFS_REFC_DOMAIN_COW)) { in xfs_refcount_recover_extent()
2045 kfree(rr); in xfs_refcount_recover_extent()
2049 list_add_tail(&rr->rr_list, debris); in xfs_refcount_recover_extent()
2063 struct xfs_refcount_recovery *rr, *n; in xfs_refcount_recover_cow_leftovers() local
2126 list_for_each_entry_safe(rr, n, &debris, rr_list) { in xfs_refcount_recover_cow_leftovers()
[all …]
/linux/tools/testing/selftests/drivers/net/bonding/
H A Dnetcons_over_bonding.sh64 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 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/drivers/i3c/master/
H A Di3c-master-cdns.c891 u32 rr; in cdns_i3c_master_upd_i3c_addr() local
893 rr = prepare_rr0_dev_address(dev->info.dyn_addr ? in cdns_i3c_master_upd_i3c_addr()
896 writel(DEV_ID_RR0_IS_I3C | rr, master->regs + DEV_ID_RR0(data->id)); in cdns_i3c_master_upd_i3c_addr()
903 u32 rr; in cdns_i3c_master_get_rr_slot() local
917 rr = readl(master->regs + DEV_ID_RR0(i)); in cdns_i3c_master_get_rr_slot()
918 if (!(rr & DEV_ID_RR0_IS_I3C) || in cdns_i3c_master_get_rr_slot()
919 DEV_ID_RR0_GET_DEV_ADDR(rr) != dyn_addr) in cdns_i3c_master_get_rr_slot()
1038 u32 rr; in cdns_i3c_master_dev_rr_to_info() local
1041 rr = readl(master->regs + DEV_ID_RR0(slot)); in cdns_i3c_master_dev_rr_to_info()
1042 info->dyn_addr = DEV_ID_RR0_GET_DEV_ADDR(rr); in cdns_i3c_master_dev_rr_to_info()
[all …]
/linux/Documentation/driver-api/media/drivers/ccs/
H A Dccs.rst28 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 Dipvs.sh125 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/md/
H A 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()
/linux/samples/bpf/
H A Ddo_hbm_test.sh86 rr=0
175 rr=1
279 if [ $rr -ne 0 ] ; then
/linux/arch/mips/kernel/
H A Dbranch.c374 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()

123