Searched refs:rr (Results 1 – 8 of 8) sorted by relevance
/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 …]
|
/fs/gfs2/ |
D | recovery.c | 58 struct gfs2_revoke_replay *rr; in gfs2_revoke_add() local 61 list_for_each_entry(rr, head, rr_list) { in gfs2_revoke_add() 62 if (rr->rr_blkno == blkno) { in gfs2_revoke_add() 69 rr->rr_where = where; in gfs2_revoke_add() 73 rr = kmalloc(sizeof(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() local [all …]
|
/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 | 384 struct jffs2_raw_xref *rr, uint32_t ofs, in jffs2_scan_xref_node() argument 391 crc = crc32(0, rr, sizeof(*rr) - 4); in jffs2_scan_xref_node() 392 if (crc != je32_to_cpu(rr->node_crc)) { in jffs2_scan_xref_node() 394 ofs, je32_to_cpu(rr->node_crc), crc); in jffs2_scan_xref_node() 395 if ((err = jffs2_scan_dirty_space(c, jeb, PAD(je32_to_cpu(rr->totlen))))) in jffs2_scan_xref_node() 400 if (PAD(sizeof(struct jffs2_raw_xref)) != je32_to_cpu(rr->totlen)) { in jffs2_scan_xref_node() 402 ofs, je32_to_cpu(rr->totlen), in jffs2_scan_xref_node() 404 if ((err = jffs2_scan_dirty_space(c, jeb, je32_to_cpu(rr->totlen)))) in jffs2_scan_xref_node() 422 ref->ino = je32_to_cpu(rr->ino); in jffs2_scan_xref_node() 423 ref->xid = je32_to_cpu(rr->xid); in jffs2_scan_xref_node() [all …]
|
D | summary.h | 188 int jffs2_sum_add_xref_mem(struct jffs2_summary *s, struct jffs2_raw_xref *rr, uint32_t ofs);
|
D | summary.c | 176 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/ |
D | xfs_refcount.c | 1592 struct xfs_refcount_recovery *rr; in xfs_refcount_recover_extent() local 1597 rr = kmem_alloc(sizeof(struct xfs_refcount_recovery), 0); in xfs_refcount_recover_extent() 1598 xfs_refcount_btrec_to_irec(rec, &rr->rr_rrec); in xfs_refcount_recover_extent() 1599 list_add_tail(&rr->rr_list, debris); in xfs_refcount_recover_extent() 1613 struct xfs_refcount_recovery *rr, *n; in xfs_refcount_recover_cow_leftovers() local 1663 list_for_each_entry_safe(rr, n, &debris, rr_list) { in xfs_refcount_recover_cow_leftovers() 1669 trace_xfs_refcount_recover_extent(mp, agno, &rr->rr_rrec); in xfs_refcount_recover_cow_leftovers() 1672 agbno = rr->rr_rrec.rc_startblock - XFS_REFC_COW_START; in xfs_refcount_recover_cow_leftovers() 1675 rr->rr_rrec.rc_blockcount); in xfs_refcount_recover_cow_leftovers() 1678 xfs_bmap_add_free(tp, fsb, rr->rr_rrec.rc_blockcount, NULL); in xfs_refcount_recover_cow_leftovers() [all …]
|
/fs/ocfs2/dlm/ |
D | dlmmaster.c | 1907 int rr, err = 0; in dlm_assert_master_handler() local 1955 rr = kref_read(&mle->mle_refs); in dlm_assert_master_handler() 1957 if (extra_ref && rr < 3) in dlm_assert_master_handler() 1959 else if (!extra_ref && rr < 2) in dlm_assert_master_handler() 1962 if (extra_ref && rr < 2) in dlm_assert_master_handler() 1964 else if (!extra_ref && rr < 1) in dlm_assert_master_handler() 1971 assert->node_idx, rr, extra_ref, mle->inuse); in dlm_assert_master_handler()
|