/fs/jffs2/ |
D | gc.c | 24 struct jffs2_raw_node_ref *raw); 38 struct jffs2_raw_node_ref *raw, struct jffs2_inode_info *f); 124 struct jffs2_raw_node_ref *raw; in jffs2_garbage_collect_pass() local 245 raw = jeb->gc_node; in jffs2_garbage_collect_pass() 248 while(ref_obsolete(raw)) { in jffs2_garbage_collect_pass() 249 D1(printk(KERN_DEBUG "Node at 0x%08x is obsolete... skipping\n", ref_offset(raw))); in jffs2_garbage_collect_pass() 250 raw = ref_next(raw); in jffs2_garbage_collect_pass() 251 if (unlikely(!raw)) { in jffs2_garbage_collect_pass() 255 jeb->gc_node = raw; in jffs2_garbage_collect_pass() 261 jeb->gc_node = raw; in jffs2_garbage_collect_pass() [all …]
|
D | wbuf.c | 178 struct jffs2_raw_node_ref *raw, in jffs2_incore_replace_raw() argument 192 if (f->metadata && f->metadata->raw == raw) { in jffs2_incore_replace_raw() 194 return &f->metadata->raw; in jffs2_incore_replace_raw() 199 while (!frag->node || frag->node->raw != raw) { in jffs2_incore_replace_raw() 204 return &frag->node->raw; in jffs2_incore_replace_raw() 208 if (fd->raw == raw) { in jffs2_incore_replace_raw() 210 return &fd->raw; in jffs2_incore_replace_raw() 270 struct jffs2_raw_node_ref *raw, *next, *first_raw = NULL; in jffs2_wbuf_recover() local 290 for (next = raw = jeb->first_node; next; raw = next) { in jffs2_wbuf_recover() 291 next = ref_next(raw); in jffs2_wbuf_recover() [all …]
|
D | xattr.c | 68 struct jffs2_raw_node_ref *raw; in is_xattr_datum_unchecked() local 72 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in is_xattr_datum_unchecked() 73 if (ref_flags(raw) == REF_UNCHECKED) { in is_xattr_datum_unchecked() 131 struct jffs2_raw_node_ref *raw; in do_verify_xattr_datum() local 179 for (raw=xd->node; raw != (void *)xd; raw=raw->next_in_ino) { in do_verify_xattr_datum() 180 jeb = &c->blocks[ref_offset(raw) / c->sector_size]; in do_verify_xattr_datum() 181 totlen = PAD(ref_totlen(c, jeb, raw)); in do_verify_xattr_datum() 182 if (ref_flags(raw) == REF_UNCHECKED) { in do_verify_xattr_datum() 186 raw->flash_offset = ref_offset(raw) | ((xd->node==raw) ? REF_PRISTINE : REF_NORMAL); in do_verify_xattr_datum() 440 struct jffs2_raw_node_ref *raw; in verify_xattr_ref() local [all …]
|
D | nodelist.c | 37 jffs2_mark_node_obsolete(c, new->raw); in jffs2_add_fd_to_list() 45 if ((*prev)->raw) in jffs2_add_fd_to_list() 46 jffs2_mark_node_obsolete(c, ((*prev)->raw)); in jffs2_add_fd_to_list() 95 frag->node->raw->flash_offset = ref_offset(frag->node->raw) | REF_PRISTINE; in jffs2_truncate_fragtree() 108 ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size); in jffs2_obsolete_node_frag() 109 jffs2_mark_node_obsolete(c, this->node->raw); in jffs2_obsolete_node_frag() 113 …ref_offset(this->node->raw), this->node->ofs, this->node->ofs+this->node->size, this->node->frags); in jffs2_obsolete_node_frag() 114 mark_ref_normal(this->node->raw); in jffs2_obsolete_node_frag() 224 this->ofs, this->ofs+this->size, this->node?(ref_offset(this->node->raw)):0xffffffff, this); in jffs2_add_frag_to_fragtree() 241 mark_ref_normal(this->node->raw); in jffs2_add_frag_to_fragtree() [all …]
|
D | read.c | 36 ret = jffs2_flash_read(c, ref_offset(fd->raw), sizeof(*ri), &readlen, (char *)ri); in jffs2_read_dnode() 39 printk(KERN_WARNING "Error reading node from 0x%08x: %d\n", ref_offset(fd->raw), ret); in jffs2_read_dnode() 45 ref_offset(fd->raw), sizeof(*ri), readlen); in jffs2_read_dnode() 51 ref_offset(fd->raw), je32_to_cpu(ri->node_crc), in jffs2_read_dnode() 56 je32_to_cpu(ri->node_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode() 112 ret = jffs2_flash_read(c, (ref_offset(fd->raw)) + sizeof(*ri), in jffs2_read_dnode() 123 je32_to_cpu(ri->data_crc), crc, ref_offset(fd->raw)); in jffs2_read_dnode() 197 ref_offset(frag->node->raw), ref_flags(frag->node->raw))); in jffs2_read_inode_range()
|
D | build.c | 67 jffs2_mark_node_obsolete(c, fd->raw); in jffs2_build_inode_pass1() 196 struct jffs2_raw_node_ref *raw; in jffs2_build_remove_unlinked_inode() local 201 raw = ic->nodes; in jffs2_build_remove_unlinked_inode() 202 while (raw != (void *)ic) { in jffs2_build_remove_unlinked_inode() 203 struct jffs2_raw_node_ref *next = raw->next_in_ino; in jffs2_build_remove_unlinked_inode() 204 dbg_fsbuild("obsoleting node at 0x%08x\n", ref_offset(raw)); in jffs2_build_remove_unlinked_inode() 205 jffs2_mark_node_obsolete(c, raw); in jffs2_build_remove_unlinked_inode() 206 raw = next; in jffs2_build_remove_unlinked_inode()
|
D | write.c | 176 fn->raw = jffs2_add_physical_node_ref(c, flash_ofs, PAD(sizeof(*ri)+datalen), f->inocache); in jffs2_write_dnode() 177 if (IS_ERR(fn->raw)) { in jffs2_write_dnode() 178 void *hold_err = fn->raw; in jffs2_write_dnode() 311 fd->raw = jffs2_add_physical_node_ref(c, flash_ofs | dirent_node_state(rd), in jffs2_write_dirent() 313 if (IS_ERR(fd->raw)) { in jffs2_write_dirent() 314 void *hold_err = fd->raw; in jffs2_write_dirent() 397 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_inode_range() 404 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_write_inode_range() 600 fd->ino, ref_offset(fd->raw))); in jffs2_do_unlink() 601 jffs2_mark_node_obsolete(c, fd->raw); in jffs2_do_unlink() [all …]
|
D | nodelist.h | 120 static inline struct jffs2_inode_cache *jffs2_raw_ref_to_ic(struct jffs2_raw_node_ref *raw) in jffs2_raw_ref_to_ic() argument 122 while(raw->next_in_ino) in jffs2_raw_ref_to_ic() 123 raw = raw->next_in_ino; in jffs2_raw_ref_to_ic() 127 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 | 31 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() 459 rii->latest_ref = rii->mdata_tn->fn->raw; in jffs2_build_inode_fragtree() 509 rii->latest_ref = this->fn->raw; in jffs2_build_inode_fragtree() 523 jffs2_mark_node_obsolete(c, this->fn->raw); in jffs2_build_inode_fragtree() [all …]
|
D | xattr.h | 84 struct jffs2_raw_node_ref *raw); 86 struct jffs2_raw_node_ref *raw);
|
D | debug.c | 79 if (!fn || !fn->raw) in __jffs2_dbg_fragtree_paranoia_check_nolock() 82 if (ref_flags(fn->raw) == REF_PRISTINE) { in __jffs2_dbg_fragtree_paranoia_check_nolock() 85 ref_offset(fn->raw), fn->frags); in __jffs2_dbg_fragtree_paranoia_check_nolock() 97 ref_offset(fn->raw)); in __jffs2_dbg_fragtree_paranoia_check_nolock() 104 ref_offset(fn->raw), frag->ofs, frag->ofs+frag->size); in __jffs2_dbg_fragtree_paranoia_check_nolock() 705 this->ofs, this->ofs+this->size, ref_offset(this->node->raw), in __jffs2_dbg_dump_fragtree_nolock() 706 ref_flags(this->node->raw), this, frag_left(this), frag_right(this), in __jffs2_dbg_dump_fragtree_nolock() 719 printk(JFFS2_DBG "metadata at 0x%08x\n", ref_offset(f->metadata->raw)); in __jffs2_dbg_dump_fragtree_nolock()
|
D | file.c | 189 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_begin() 195 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_write_begin()
|
D | summary.c | 468 fd->raw = sum_link_node_ref(c, jeb, je32_to_cpu(spd->offset) | REF_UNCHECKED, in jffs2_sum_process_sum_data() 502 struct jffs2_raw_node_ref *raw in jffs2_sum_process_sum_data() local 505 raw->next_in_ino = xd->node->next_in_ino; in jffs2_sum_process_sum_data() 506 xd->node->next_in_ino = raw; in jffs2_sum_process_sum_data()
|
D | scan.c | 352 struct jffs2_raw_node_ref *raw in jffs2_scan_xattr_node() local 354 raw->next_in_ino = xd->node->next_in_ino; in jffs2_scan_xattr_node() 355 xd->node->next_in_ino = raw; in jffs2_scan_xattr_node() 1060 fd->raw = jffs2_link_node_ref(c, jeb, ofs | dirent_node_state(rd), in jffs2_scan_dirent_node()
|
D | fs.c | 163 jffs2_mark_node_obsolete(c, old_metadata->raw); in jffs2_do_setattr()
|
/fs/ocfs2/ |
D | export.c | 187 handle.ih_blkno = (u64)le32_to_cpu(fid->raw[0]) << 32; in ocfs2_fh_to_dentry() 188 handle.ih_blkno |= (u64)le32_to_cpu(fid->raw[1]); in ocfs2_fh_to_dentry() 189 handle.ih_generation = le32_to_cpu(fid->raw[2]); in ocfs2_fh_to_dentry() 201 parent.ih_blkno = (u64)le32_to_cpu(fid->raw[3]) << 32; in ocfs2_fh_to_parent() 202 parent.ih_blkno |= (u64)le32_to_cpu(fid->raw[4]); in ocfs2_fh_to_parent() 203 parent.ih_generation = le32_to_cpu(fid->raw[5]); in ocfs2_fh_to_parent()
|
/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 | 31 unsigned char raw[8]; member
|
/fs/ |
D | compat.c | 722 struct compat_nfs4_mount_data_v1 *raw = raw_data; in do_nfs4_super_data_conv() local 726 real->auth_flavours = compat_ptr(raw->auth_flavours); in do_nfs4_super_data_conv() 727 real->auth_flavourlen = raw->auth_flavourlen; in do_nfs4_super_data_conv() 728 real->proto = raw->proto; in do_nfs4_super_data_conv() 729 real->host_addr = compat_ptr(raw->host_addr); in do_nfs4_super_data_conv() 730 real->host_addrlen = raw->host_addrlen; in do_nfs4_super_data_conv() 731 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv() 732 compat_nfs_string(&real->mnt_path, &raw->mnt_path); in do_nfs4_super_data_conv() 733 compat_nfs_string(&real->client_addr, &raw->client_addr); in do_nfs4_super_data_conv() 734 real->acdirmax = raw->acdirmax; in do_nfs4_super_data_conv() [all …]
|
/fs/fuse/ |
D | inode.c | 658 handle.nodeid = (u64) fid->raw[0] << 32; in fuse_fh_to_dentry() 659 handle.nodeid |= (u64) fid->raw[1]; in fuse_fh_to_dentry() 660 handle.generation = fid->raw[2]; in fuse_fh_to_dentry() 672 parent.nodeid = (u64) fid->raw[3] << 32; in fuse_fh_to_parent() 673 parent.nodeid |= (u64) fid->raw[4]; in fuse_fh_to_parent() 674 parent.generation = fid->raw[5]; in fuse_fh_to_parent()
|
/fs/gfs2/ |
D | ops_export.c | 244 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry() 264 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent()
|
/fs/reiserfs/ |
D | inode.c | 1564 return reiserfs_get_dentry(sb, fid->raw[0], fid->raw[1], in reiserfs_fh_to_dentry() 1565 (fh_type == 3 || fh_type >= 5) ? fid->raw[2] : 0); in reiserfs_fh_to_dentry() 1575 (fh_type >= 5) ? fid->raw[3] : fid->raw[2], in reiserfs_fh_to_parent() 1576 (fh_type >= 5) ? fid->raw[4] : fid->raw[3], in reiserfs_fh_to_parent() 1577 (fh_type == 6) ? fid->raw[5] : 0); in reiserfs_fh_to_parent()
|
/fs/ocfs2/cluster/ |
D | heartbeat.c | 1129 char *raw; in o2hb_map_slot_data() local 1174 raw = page_address(page); in o2hb_map_slot_data() 1182 (struct o2hb_disk_heartbeat_block *) raw; in o2hb_map_slot_data() 1184 raw += reg->hr_block_bytes; in o2hb_map_slot_data()
|
/fs/nfs/ |
D | super.c | 933 static int nfs_parse_mount_options(char *raw, in nfs_parse_mount_options() argument 939 if (!raw) { in nfs_parse_mount_options() 943 dfprintk(MOUNT, "NFS: nfs mount opts='%s'\n", raw); in nfs_parse_mount_options() 949 rc = security_sb_copy_data(raw, secdata); in nfs_parse_mount_options() 959 while ((p = strsep(&raw, ",")) != NULL) { in nfs_parse_mount_options()
|
/fs/exportfs/ |
D | expfs.c | 351 error = nop->encode_fh(dentry, fid->raw, max_len, connectable); in exportfs_encode_fh()
|