/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() 246 struct jffs2_raw_node_ref *raw; in jffs2_build_remove_unlinked_inode() local 251 raw = ic->nodes; in jffs2_build_remove_unlinked_inode() 252 while (raw != (void *)ic) { in jffs2_build_remove_unlinked_inode() 253 struct jffs2_raw_node_ref *next = raw->next_in_ino; in jffs2_build_remove_unlinked_inode() 254 dbg_fsbuild("obsoleting node at 0x%08x\n", ref_offset(raw)); in jffs2_build_remove_unlinked_inode() 255 jffs2_mark_node_obsolete(c, raw); in jffs2_build_remove_unlinked_inode() 256 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 | 191 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_begin() 198 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 | 33 char *cachefiles_cook_key(const u8 *raw, int keylen, uint8_t type) in cachefiles_cook_key() argument 44 csum = raw[0] + raw[1]; in cachefiles_cook_key() 47 ch = raw[loop]; in cachefiles_cook_key() 89 acc = *(uint16_t *) raw; in cachefiles_cook_key() 90 raw += 2; in cachefiles_cook_key() 106 key[len++] = *raw++; in cachefiles_cook_key() 125 acc = *raw++; in cachefiles_cook_key() 126 acc |= *raw++ << 8; in cachefiles_cook_key() 127 acc |= *raw++ << 16; in cachefiles_cook_key()
|
/fs/f2fs/ |
D | recovery.c | 249 struct f2fs_inode *raw = F2FS_INODE(page); in recover_quota_data() local 251 uid_t i_uid = le32_to_cpu(raw->i_uid); in recover_quota_data() 252 gid_t i_gid = le32_to_cpu(raw->i_gid); in recover_quota_data() 288 struct f2fs_inode *raw = F2FS_INODE(page); in recover_inode() local 292 inode->i_mode = le16_to_cpu(raw->i_mode); in recover_inode() 298 i_uid_write(inode, le32_to_cpu(raw->i_uid)); in recover_inode() 299 i_gid_write(inode, le32_to_cpu(raw->i_gid)); in recover_inode() 301 if (raw->i_inline & F2FS_EXTRA_ATTR) { in recover_inode() 303 F2FS_FITS_IN_INODE(raw, le16_to_cpu(raw->i_extra_isize), in recover_inode() 308 i_projid = (projid_t)le32_to_cpu(raw->i_projid); in recover_inode() [all …]
|
/fs/efs/ |
D | inode.c | 37 dst->cooked.ex_magic = (unsigned int) src->raw[0]; in extent_copy() 38 dst->cooked.ex_bn = ((unsigned int) src->raw[1] << 16) | in extent_copy() 39 ((unsigned int) src->raw[2] << 8) | in extent_copy() 40 ((unsigned int) src->raw[3] << 0); in extent_copy() 41 dst->cooked.ex_length = (unsigned int) src->raw[4]; in extent_copy() 42 dst->cooked.ex_offset = ((unsigned int) src->raw[5] << 16) | in extent_copy() 43 ((unsigned int) src->raw[6] << 8) | in extent_copy() 44 ((unsigned int) src->raw[7] << 0); in extent_copy()
|
D | efs.h | 38 unsigned char raw[8]; member
|
/fs/ocfs2/ |
D | export.c | 260 handle.ih_blkno = (u64)le32_to_cpu(fid->raw[0]) << 32; in ocfs2_fh_to_dentry() 261 handle.ih_blkno |= (u64)le32_to_cpu(fid->raw[1]); in ocfs2_fh_to_dentry() 262 handle.ih_generation = le32_to_cpu(fid->raw[2]); in ocfs2_fh_to_dentry() 274 parent.ih_blkno = (u64)le32_to_cpu(fid->raw[3]) << 32; in ocfs2_fh_to_parent() 275 parent.ih_blkno |= (u64)le32_to_cpu(fid->raw[4]); in ocfs2_fh_to_parent() 276 parent.ih_generation = le32_to_cpu(fid->raw[5]); in ocfs2_fh_to_parent()
|
/fs/qnx4/ |
D | qnx4.h | 19 struct qnx4_inode_entry raw; member 45 return &qnx4_i(inode)->raw; in qnx4_raw_inode()
|
/fs/crypto/ |
D | keyring.c | 541 u8 *kdf_key = secret->raw; in add_master_key() 547 err = fscrypt_derive_raw_secret(sb, secret->raw, in add_master_key() 667 memcpy(secret->raw, payload->raw, secret->size); in get_keyring_key() 755 if (copy_from_user(secret.raw, uarg->raw, secret.size)) in fscrypt_ioctl_add_key() 792 memcpy(secret.raw, test_key, FSCRYPT_MAX_KEY_SIZE); in fscrypt_add_test_dummy_key()
|
D | fscrypt_private.h | 294 u8 raw[FSCRYPT_MAX_IV_SIZE]; member 460 u8 raw[FSCRYPT_MAX_HW_WRAPPED_KEY_SIZE]; member
|
/fs/gfs2/ |
D | export.c | 150 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry() 172 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent()
|
/fs/nfs/ |
D | export.c | 69 struct nfs_fh *server_fh = nfs_exp_embedfh(fid->raw); in nfs_fh_to_dentry() 75 u32 *p = fid->raw; in nfs_fh_to_dentry()
|
/fs/ceph/ |
D | export.c | 287 struct ceph_nfs_fh *fh = (void *)fid->raw; in ceph_fh_to_dentry() 290 struct ceph_nfs_snapfh *sfh = (void *)fid->raw; in ceph_fh_to_dentry() 404 struct ceph_nfs_confh *cfh = (void *)fid->raw; in ceph_fh_to_parent() 408 struct ceph_nfs_snapfh *sfh = (void *)fid->raw; in ceph_fh_to_parent()
|
/fs/squashfs/ |
D | squashfs_fs.h | 120 static inline int squashfs_block_size(__le32 raw) in squashfs_block_size() argument 122 u32 size = le32_to_cpu(raw); in squashfs_block_size()
|