/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 270 raw = jeb->gc_node; in jffs2_garbage_collect_pass() 273 while(ref_obsolete(raw)) { in jffs2_garbage_collect_pass() 275 ref_offset(raw)); in jffs2_garbage_collect_pass() 276 raw = ref_next(raw); in jffs2_garbage_collect_pass() 277 if (unlikely(!raw)) { in jffs2_garbage_collect_pass() 282 jeb->gc_node = raw; in jffs2_garbage_collect_pass() 288 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 | 72 struct jffs2_raw_node_ref *raw; in is_xattr_datum_unchecked() local 76 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in is_xattr_datum_unchecked() 77 if (ref_flags(raw) == REF_UNCHECKED) { in is_xattr_datum_unchecked() 135 struct jffs2_raw_node_ref *raw; in do_verify_xattr_datum() local 183 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in do_verify_xattr_datum() 184 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in do_verify_xattr_datum() 185 totlen = PAD(ref_totlen(c, jeb, raw)); in do_verify_xattr_datum() 186 if (ref_flags(raw) == REF_UNCHECKED) { in do_verify_xattr_datum() 190 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); in do_verify_xattr_datum() 446 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 | 70 jffs2_mark_node_obsolete(c, fd->raw); in jffs2_build_inode_pass1() 199 struct jffs2_raw_node_ref *raw; in jffs2_build_remove_unlinked_inode() local 204 raw = ic->nodes; in jffs2_build_remove_unlinked_inode() 205 while (raw != (void *)ic) { in jffs2_build_remove_unlinked_inode() 206 struct jffs2_raw_node_ref *next = raw->next_in_ino; in jffs2_build_remove_unlinked_inode() 207 dbg_fsbuild("obsoleting node at 0x%08x\n", ref_offset(raw)); in jffs2_build_remove_unlinked_inode() 208 jffs2_mark_node_obsolete(c, raw); in jffs2_build_remove_unlinked_inode() 209 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() 408 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_inode_range() 416 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_write_inode_range() 614 fd->ino, ref_offset(fd->raw)); in jffs2_do_unlink() 615 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() 214 struct jffs2_raw_node_ref *raw; member 252 struct jffs2_raw_node_ref *raw; member 389 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 | xattr.h | 85 struct jffs2_raw_node_ref *raw); 87 struct jffs2_raw_node_ref *raw);
|
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 | file.c | 204 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_begin() 211 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()
|
D | scan.c | 362 struct jffs2_raw_node_ref *raw in jffs2_scan_xattr_node() local 364 raw->next_in_ino = xd->node->next_in_ino; in jffs2_scan_xattr_node() 365 xd->node->next_in_ino = raw; in jffs2_scan_xattr_node() 1092 fd->raw = jffs2_link_node_ref(c, jeb, ofs | dirent_node_state(rd), in jffs2_scan_dirent_node()
|
/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 | 31 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/ |
D | compat.c | 743 struct compat_nfs4_mount_data_v1 *raw = raw_data; in do_nfs4_super_data_conv() local 747 real->auth_flavours = compat_ptr(raw->auth_flavours); in do_nfs4_super_data_conv() 748 real->auth_flavourlen = raw->auth_flavourlen; in do_nfs4_super_data_conv() 749 real->proto = raw->proto; in do_nfs4_super_data_conv() 750 real->host_addr = compat_ptr(raw->host_addr); in do_nfs4_super_data_conv() 751 real->host_addrlen = raw->host_addrlen; in do_nfs4_super_data_conv() 752 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv() 753 compat_nfs_string(&real->mnt_path, &raw->mnt_path); in do_nfs4_super_data_conv() 754 compat_nfs_string(&real->client_addr, &raw->client_addr); in do_nfs4_super_data_conv() 755 real->acdirmax = raw->acdirmax; in do_nfs4_super_data_conv() [all …]
|
/fs/qnx4/ |
D | qnx4.h | 20 struct qnx4_inode_entry raw; member 46 return &qnx4_i(inode)->raw; in qnx4_raw_inode()
|
/fs/ceph/ |
D | export.c | 220 return __fh_to_dentry(sb, (struct ceph_nfs_fh *)fid->raw, in ceph_fh_to_dentry() 223 return __cfh_to_dentry(sb, (struct ceph_nfs_confh *)fid->raw, in ceph_fh_to_dentry() 237 struct ceph_nfs_confh *cfh = (void *)fid->raw; in ceph_fh_to_parent()
|
/fs/gfs2/ |
D | export.c | 160 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry() 182 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent()
|
/fs/ext4/ |
D | inode.c | 52 static __u32 ext4_inode_csum(struct inode *inode, struct ext4_inode *raw, in ext4_inode_csum() argument 60 csum_lo = le16_to_cpu(raw->i_checksum_lo); in ext4_inode_csum() 61 raw->i_checksum_lo = 0; in ext4_inode_csum() 63 EXT4_FITS_IN_INODE(raw, ei, i_checksum_hi)) { in ext4_inode_csum() 64 csum_hi = le16_to_cpu(raw->i_checksum_hi); in ext4_inode_csum() 65 raw->i_checksum_hi = 0; in ext4_inode_csum() 68 csum = ext4_chksum(sbi, ei->i_csum_seed, (__u8 *)raw, in ext4_inode_csum() 71 raw->i_checksum_lo = cpu_to_le16(csum_lo); in ext4_inode_csum() 73 EXT4_FITS_IN_INODE(raw, ei, i_checksum_hi)) in ext4_inode_csum() 74 raw->i_checksum_hi = cpu_to_le16(csum_hi); in ext4_inode_csum() [all …]
|
D | ext4_crypto.h | 72 char raw[EXT4_MAX_KEY_SIZE]; member
|
/fs/fuse/ |
D | inode.c | 717 handle.nodeid = (u64) fid->raw[0] << 32; in fuse_fh_to_dentry() 718 handle.nodeid |= (u64) fid->raw[1]; in fuse_fh_to_dentry() 719 handle.generation = fid->raw[2]; in fuse_fh_to_dentry() 731 parent.nodeid = (u64) fid->raw[3] << 32; in fuse_fh_to_parent() 732 parent.nodeid |= (u64) fid->raw[4]; in fuse_fh_to_parent() 733 parent.generation = fid->raw[5]; in fuse_fh_to_parent()
|