Home
last modified time | relevance | path

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

/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 …]
/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 …]
/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 …]
Dsummary.h188 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs);
Dsummary.c176 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs) in jffs2_sum_add_xref_mem() argument
184 temp->nodetype = rr->nodetype; in jffs2_sum_add_xref_mem()
/fs/xfs/libxfs/
Dxfs_refcount.c1764 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 …]
/fs/ocfs2/dlm/
Ddlmmaster.c1905 int rr, err = 0; in dlm_assert_master_handler() local
1953 rr = kref_read(&mle->mle_refs); in dlm_assert_master_handler()
1955 if (extra_ref && rr < 3) in dlm_assert_master_handler()
1957 else if (!extra_ref && rr < 2) in dlm_assert_master_handler()
1960 if (extra_ref && rr < 2) in dlm_assert_master_handler()
1962 else if (!extra_ref && rr < 1) in dlm_assert_master_handler()
1969 assert->node_idx, rr, extra_ref, mle->inuse); in dlm_assert_master_handler()