/fs/jffs2/ |
D | gc.c | 27 struct jffs2_raw_node_ref *raw); 41 struct jffs2_raw_node_ref *raw, struct jffs2_inode_info *f); 129 struct jffs2_raw_node_ref *raw; in jffs2_garbage_collect_pass() local 290 raw = jeb->gc_node; in jffs2_garbage_collect_pass() 293 while(ref_obsolete(raw)) { in jffs2_garbage_collect_pass() 295 ref_offset(raw)); in jffs2_garbage_collect_pass() 296 raw = ref_next(raw); in jffs2_garbage_collect_pass() 297 if (unlikely(!raw)) { in jffs2_garbage_collect_pass() 302 jeb->gc_node = raw; in jffs2_garbage_collect_pass() 308 jeb->gc_node = raw; in jffs2_garbage_collect_pass() [all …]
|
D | wbuf.c | 184 struct jffs2_raw_node_ref *raw, in jffs2_incore_replace_raw() argument 198 if (f->metadata && f->metadata->raw == raw) { in jffs2_incore_replace_raw() 200 return &f->metadata->raw; in jffs2_incore_replace_raw() 205 while (!frag->node || frag->node->raw != raw) { in jffs2_incore_replace_raw() 210 return &frag->node->raw; in jffs2_incore_replace_raw() 214 if (fd->raw == raw) { in jffs2_incore_replace_raw() 216 return &fd->raw; in jffs2_incore_replace_raw() 278 struct jffs2_raw_node_ref *raw, *next, *first_raw = NULL; in jffs2_wbuf_recover() local 298 for (next = raw = jeb->first_node; next; raw = next) { in jffs2_wbuf_recover() 299 next = ref_next(raw); in jffs2_wbuf_recover() [all …]
|
D | xattr.c | 73 struct jffs2_raw_node_ref *raw; in is_xattr_datum_unchecked() local 77 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in is_xattr_datum_unchecked() 78 if (ref_flags(raw) == REF_UNCHECKED) { in is_xattr_datum_unchecked() 136 struct jffs2_raw_node_ref *raw; in do_verify_xattr_datum() local 184 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in do_verify_xattr_datum() 185 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in do_verify_xattr_datum() 186 totlen = PAD(ref_totlen(c, jeb, raw)); in do_verify_xattr_datum() 187 if (ref_flags(raw) == REF_UNCHECKED) { in do_verify_xattr_datum() 191 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); in do_verify_xattr_datum() 447 struct jffs2_raw_node_ref *raw; in verify_xattr_ref() local [all …]
|
D | nodelist.c | 38 jffs2_mark_node_obsolete(c, new->raw); in jffs2_add_fd_to_list() 46 if ((*prev)->raw) in jffs2_add_fd_to_list() 47 jffs2_mark_node_obsolete(c, ((*prev)->raw)); in jffs2_add_fd_to_list() 96 frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE; in jffs2_truncate_fragtree() 109 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); in jffs2_obsolete_node_frag() 110 jffs2_mark_node_obsolete(c, this->node->raw); in jffs2_obsolete_node_frag() 114 …ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); in jffs2_obsolete_node_frag() 115 mark_ref_normal(this->node->raw); in jffs2_obsolete_node_frag() 225 this->ofs, this->ofs+this->size, this->node?(ref_offset(this->node->raw)):0xffffffff, this); in jffs2_add_frag_to_fragtree() 242 mark_ref_normal(this->node->raw); in jffs2_add_frag_to_fragtree() [all …]
|
D | read.c | 38 ret = jffs2_flash_read(c, ref_offset(fd->raw), sizeof(*ri), &readlen, (char *)ri); in jffs2_read_dnode() 42 ref_offset(fd->raw), ret); in jffs2_read_dnode() 48 ref_offset(fd->raw), sizeof(*ri), readlen); in jffs2_read_dnode() 54 ref_offset(fd->raw), je32_to_cpu(ri->node_crc), in jffs2_read_dnode() 59 je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode() 115 ret = jffs2_flash_read(c, (ref_offset(fd->raw)) + sizeof(*ri), in jffs2_read_dnode() 126 je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode() 210 ref_offset(frag->node->raw), in jffs2_read_inode_range() 211 ref_flags(frag->node->raw)); in jffs2_read_inode_range()
|
D | build.c | 72 jffs2_mark_node_obsolete(c, fd->raw); in jffs2_build_inode_pass1() 243 struct jffs2_raw_node_ref *raw; in jffs2_build_remove_unlinked_inode() local 248 raw = ic->nodes; in jffs2_build_remove_unlinked_inode() 249 while (raw != (void *)ic) { in jffs2_build_remove_unlinked_inode() 250 struct jffs2_raw_node_ref *next = raw->next_in_ino; in jffs2_build_remove_unlinked_inode() 251 dbg_fsbuild("obsoleting node at 0x%08x\n", ref_offset(raw)); in jffs2_build_remove_unlinked_inode() 252 jffs2_mark_node_obsolete(c, raw); in jffs2_build_remove_unlinked_inode() 253 raw = next; in jffs2_build_remove_unlinked_inode()
|
D | write.c | 182 fn->raw = jffs2_add_physical_node_ref(c, flash_ofs, PAD(sizeof(*ri)+datalen), f->inocache); in jffs2_write_dnode() 183 if (IS_ERR(fn->raw)) { in jffs2_write_dnode() 184 void *hold_err = fn->raw; in jffs2_write_dnode() 321 fd->raw = jffs2_add_physical_node_ref(c, flash_ofs | dirent_node_state(rd), in jffs2_write_dirent() 323 if (IS_ERR(fd->raw)) { in jffs2_write_dirent() 324 void *hold_err = fd->raw; in jffs2_write_dirent() 409 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_inode_range() 417 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_write_inode_range() 615 fd->ino, ref_offset(fd->raw)); in jffs2_do_unlink() 616 jffs2_mark_node_obsolete(c, fd->raw); in jffs2_do_unlink() [all …]
|
D | nodelist.h | 119 static inline struct jffs2_inode_cache *jffs2_raw_ref_to_ic(struct jffs2_raw_node_ref *raw) in jffs2_raw_ref_to_ic() argument 121 while(raw->next_in_ino) in jffs2_raw_ref_to_ic() 122 raw = raw->next_in_ino; in jffs2_raw_ref_to_ic() 126 return ((struct jffs2_inode_cache *)raw); in jffs2_raw_ref_to_ic() 215 struct jffs2_raw_node_ref *raw; member 254 struct jffs2_raw_node_ref *raw; member 393 void jffs2_mark_node_obsolete(struct jffs2_sb_info *c, struct jffs2_raw_node_ref *raw);
|
D | readinode.c | 33 struct jffs2_raw_node_ref *ref = tn->fn->raw; in check_node_data() 154 BUG_ON(ref_obsolete(tn->fn->raw)); in check_tn_node() 157 if (ref_flags(tn->fn->raw) != REF_UNCHECKED) in check_tn_node() 161 tn->fn->ofs, tn->fn->ofs + tn->fn->size, ref_offset(tn->fn->raw)); in check_tn_node() 169 jffs2_mark_node_obsolete(c, tn->fn->raw); in check_tn_node() 201 jffs2_mark_node_obsolete(c, tn->fn->raw); in jffs2_kill_tn() 225 …ragment %#04x-%#04x, ver %u at %08x\n", tn->fn->ofs, fn_end, tn->version, ref_offset(tn->fn->raw)); in jffs2_add_tn_to_tree() 462 rii->latest_ref = rii->mdata_tn->fn->raw; in jffs2_build_inode_fragtree() 512 rii->latest_ref = this->fn->raw; in jffs2_build_inode_fragtree() 526 jffs2_mark_node_obsolete(c, this->fn->raw); in jffs2_build_inode_fragtree() [all …]
|
D | debug.c | 83 if (!fn || !fn->raw) in __jffs2_dbg_fragtree_paranoia_check_nolock() 86 if (ref_flags(fn->raw) == REF_PRISTINE) { in __jffs2_dbg_fragtree_paranoia_check_nolock() 89 ref_offset(fn->raw), fn->frags); in __jffs2_dbg_fragtree_paranoia_check_nolock() 101 ref_offset(fn->raw)); in __jffs2_dbg_fragtree_paranoia_check_nolock() 108 ref_offset(fn->raw), frag->ofs, frag->ofs+frag->size); in __jffs2_dbg_fragtree_paranoia_check_nolock() 713 this->ofs, this->ofs+this->size, ref_offset(this->node->raw), in __jffs2_dbg_dump_fragtree_nolock() 714 ref_flags(this->node->raw), this, frag_left(this), frag_right(this), in __jffs2_dbg_dump_fragtree_nolock() 727 printk(JFFS2_DBG "metadata at 0x%08x\n", ref_offset(f->metadata->raw)); in __jffs2_dbg_dump_fragtree_nolock()
|
D | xattr.h | 85 struct jffs2_raw_node_ref *raw); 87 struct jffs2_raw_node_ref *raw);
|
D | file.c | 196 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_begin() 203 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_write_begin()
|
D | summary.c | 473 fd->raw = sum_link_node_ref(c, jeb, je32_to_cpu(spd->offset) | REF_UNCHECKED, in jffs2_sum_process_sum_data() 507 struct jffs2_raw_node_ref *raw in jffs2_sum_process_sum_data() local 510 raw->next_in_ino = xd->node->next_in_ino; in jffs2_sum_process_sum_data() 511 xd->node->next_in_ino = raw; in jffs2_sum_process_sum_data()
|
/fs/cachefiles/ |
D | key.c | 37 char *cachefiles_cook_key(const u8 *raw, int keylen, uint8_t type) in cachefiles_cook_key() argument 48 csum = raw[0] + raw[1]; in cachefiles_cook_key() 51 ch = raw[loop]; in cachefiles_cook_key() 93 acc = *(uint16_t *) raw; in cachefiles_cook_key() 94 raw += 2; in cachefiles_cook_key() 110 key[len++] = *raw++; in cachefiles_cook_key() 129 acc = *raw++; in cachefiles_cook_key() 130 acc |= *raw++ << 8; in cachefiles_cook_key() 131 acc |= *raw++ << 16; in cachefiles_cook_key()
|
/fs/efs/ |
D | inode.c | 36 dst->cooked.ex_magic = (unsigned int) src->raw[0]; in extent_copy() 37 dst->cooked.ex_bn = ((unsigned int) src->raw[1] << 16) | in extent_copy() 38 ((unsigned int) src->raw[2] << 8) | in extent_copy() 39 ((unsigned int) src->raw[3] << 0); in extent_copy() 40 dst->cooked.ex_length = (unsigned int) src->raw[4]; in extent_copy() 41 dst->cooked.ex_offset = ((unsigned int) src->raw[5] << 16) | in extent_copy() 42 ((unsigned int) src->raw[6] << 8) | in extent_copy() 43 ((unsigned int) src->raw[7] << 0); in extent_copy()
|
D | efs.h | 37 unsigned char raw[8]; member
|
/fs/ocfs2/ |
D | export.c | 246 handle.ih_blkno = (u64)le32_to_cpu(fid->raw[0]) << 32; in ocfs2_fh_to_dentry() 247 handle.ih_blkno |= (u64)le32_to_cpu(fid->raw[1]); in ocfs2_fh_to_dentry() 248 handle.ih_generation = le32_to_cpu(fid->raw[2]); in ocfs2_fh_to_dentry() 260 parent.ih_blkno = (u64)le32_to_cpu(fid->raw[3]) << 32; in ocfs2_fh_to_parent() 261 parent.ih_blkno |= (u64)le32_to_cpu(fid->raw[4]); in ocfs2_fh_to_parent() 262 parent.ih_generation = le32_to_cpu(fid->raw[5]); in ocfs2_fh_to_parent()
|
/fs/f2fs/ |
D | recovery.c | 213 struct f2fs_inode *raw = F2FS_INODE(page); in recover_inode() local 216 inode->i_mode = le16_to_cpu(raw->i_mode); in recover_inode() 217 f2fs_i_size_write(inode, le64_to_cpu(raw->i_size)); in recover_inode() 218 inode->i_atime.tv_sec = le64_to_cpu(raw->i_atime); in recover_inode() 219 inode->i_ctime.tv_sec = le64_to_cpu(raw->i_ctime); in recover_inode() 220 inode->i_mtime.tv_sec = le64_to_cpu(raw->i_mtime); in recover_inode() 221 inode->i_atime.tv_nsec = le32_to_cpu(raw->i_atime_nsec); in recover_inode() 222 inode->i_ctime.tv_nsec = le32_to_cpu(raw->i_ctime_nsec); in recover_inode() 223 inode->i_mtime.tv_nsec = le32_to_cpu(raw->i_mtime_nsec); in recover_inode() 225 F2FS_I(inode)->i_advise = raw->i_advise; in recover_inode() [all …]
|
/fs/ |
D | compat.c | 745 struct compat_nfs4_mount_data_v1 *raw = raw_data; in do_nfs4_super_data_conv() local 749 real->auth_flavours = compat_ptr(raw->auth_flavours); in do_nfs4_super_data_conv() 750 real->auth_flavourlen = raw->auth_flavourlen; in do_nfs4_super_data_conv() 751 real->proto = raw->proto; in do_nfs4_super_data_conv() 752 real->host_addr = compat_ptr(raw->host_addr); in do_nfs4_super_data_conv() 753 real->host_addrlen = raw->host_addrlen; in do_nfs4_super_data_conv() 754 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv() 755 compat_nfs_string(&real->mnt_path, &raw->mnt_path); in do_nfs4_super_data_conv() 756 compat_nfs_string(&real->client_addr, &raw->client_addr); in do_nfs4_super_data_conv() 757 real->acdirmax = raw->acdirmax; in do_nfs4_super_data_conv() [all …]
|
/fs/qnx4/ |
D | qnx4.h | 18 struct qnx4_inode_entry raw; member 44 return &qnx4_i(inode)->raw; in qnx4_raw_inode()
|
/fs/gfs2/ |
D | export.c | 151 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry() 173 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent()
|
/fs/ceph/ |
D | export.c | 116 struct ceph_nfs_fh *fh = (void *)fid->raw; in ceph_fh_to_dentry() 199 struct ceph_nfs_confh *cfh = (void *)fid->raw; in ceph_fh_to_parent()
|
/fs/fuse/ |
D | inode.c | 752 handle.nodeid = (u64) fid->raw[0] << 32; in fuse_fh_to_dentry() 753 handle.nodeid |= (u64) fid->raw[1]; in fuse_fh_to_dentry() 754 handle.generation = fid->raw[2]; in fuse_fh_to_dentry() 766 parent.nodeid = (u64) fid->raw[3] << 32; in fuse_fh_to_parent() 767 parent.nodeid |= (u64) fid->raw[4]; in fuse_fh_to_parent() 768 parent.generation = fid->raw[5]; in fuse_fh_to_parent()
|
/fs/ext4/ |
D | inode.c | 51 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum() argument 60 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)raw, offset); in ext4_inode_csum() 63 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum() 68 csum = ext4_chksum(sbi, csum, (__u8 *)raw + in ext4_inode_csum() 71 if (EXT4_FITS_IN_INODE(raw, ei, i_checksum_hi)) { in ext4_inode_csum() 76 csum = ext4_chksum(sbi, csum, (__u8 *)raw + offset, in ext4_inode_csum() 83 static int ext4_inode_csum_verify(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum_verify() argument 93 provided = le16_to_cpu(raw->i_checksum_lo); in ext4_inode_csum_verify() 94 calculated = ext4_inode_csum(inode, raw, ei); in ext4_inode_csum_verify() 96 EXT4_FITS_IN_INODE(raw, ei, i_checksum_hi)) in ext4_inode_csum_verify() [all …]
|
/fs/orangefs/ |
D | super.c | 321 ORANGEFS_khandle_from(&(refn.khandle), fid->raw, 16); in orangefs_fh_to_dentry() 322 refn.fs_id = (u32) fid->raw[4]; in orangefs_fh_to_dentry()
|