Home
last modified time | relevance | path

Searched refs:raw (Results 1 – 25 of 38) sorted by relevance

12

/fs/
Dcompat.c60 struct compat_nfs4_mount_data_v1 *raw = raw_data; in do_nfs4_super_data_conv() local
64 real->auth_flavours = compat_ptr(raw->auth_flavours); in do_nfs4_super_data_conv()
65 real->auth_flavourlen = raw->auth_flavourlen; in do_nfs4_super_data_conv()
66 real->proto = raw->proto; in do_nfs4_super_data_conv()
67 real->host_addr = compat_ptr(raw->host_addr); in do_nfs4_super_data_conv()
68 real->host_addrlen = raw->host_addrlen; in do_nfs4_super_data_conv()
69 compat_nfs_string(&real->hostname, &raw->hostname); in do_nfs4_super_data_conv()
70 compat_nfs_string(&real->mnt_path, &raw->mnt_path); in do_nfs4_super_data_conv()
71 compat_nfs_string(&real->client_addr, &raw->client_addr); in do_nfs4_super_data_conv()
72 real->acdirmax = raw->acdirmax; in do_nfs4_super_data_conv()
[all …]
/fs/jffs2/
Dgc.c27 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 …]
Dwbuf.c184 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 …]
Dxattr.c73 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 …]
Dnodelist.c38 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 …]
Dread.c38 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()
Dbuild.c72 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()
Dwrite.c182 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 …]
Dnodelist.h119 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);
Dreadinode.c33 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 …]
Ddebug.c83 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()
Dxattr.h85 struct jffs2_raw_node_ref *raw);
87 struct jffs2_raw_node_ref *raw);
Dfile.c196 jffs2_mark_node_obsolete(c, f->metadata->raw); in jffs2_write_begin()
203 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_write_begin()
/fs/cachefiles/
Dkey.c33 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/
Drecovery.c199 struct f2fs_inode *raw = F2FS_INODE(page); in recover_quota_data() local
201 uid_t i_uid = le32_to_cpu(raw->i_uid); in recover_quota_data()
202 gid_t i_gid = le32_to_cpu(raw->i_gid); in recover_quota_data()
238 struct f2fs_inode *raw = F2FS_INODE(page); in recover_inode() local
242 inode->i_mode = le16_to_cpu(raw->i_mode); in recover_inode()
248 i_uid_write(inode, le32_to_cpu(raw->i_uid)); in recover_inode()
249 i_gid_write(inode, le32_to_cpu(raw->i_gid)); in recover_inode()
251 if (raw->i_inline & F2FS_EXTRA_ATTR) { in recover_inode()
253 F2FS_FITS_IN_INODE(raw, le16_to_cpu(raw->i_extra_isize), in recover_inode()
258 i_projid = (projid_t)le32_to_cpu(raw->i_projid); in recover_inode()
[all …]
/fs/efs/
Dinode.c37 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()
/fs/ocfs2/
Dexport.c260 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/
Dqnx4.h19 struct qnx4_inode_entry raw; member
45 return &qnx4_i(inode)->raw; in qnx4_raw_inode()
/fs/nfs/
Dexport.c69 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/gfs2/
Dexport.c148 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_dentry()
170 __be32 *fh = (__force __be32 *)fid->raw; in gfs2_fh_to_parent()
/fs/ceph/
Dexport.c270 struct ceph_nfs_fh *fh = (void *)fid->raw; in ceph_fh_to_dentry()
273 struct ceph_nfs_snapfh *sfh = (void *)fid->raw; in ceph_fh_to_dentry()
382 struct ceph_nfs_confh *cfh = (void *)fid->raw; in ceph_fh_to_parent()
386 struct ceph_nfs_snapfh *sfh = (void *)fid->raw; in ceph_fh_to_parent()
/fs/crypto/
Dkeyring.c527 if (copy_from_user(secret.raw, uarg->raw, secret.size)) in fscrypt_ioctl_add_key()
552 err = fscrypt_derive_raw_secret(sb, secret.raw, in fscrypt_ioctl_add_key()
559 kdf_key = secret.raw; in fscrypt_ioctl_add_key()
Dfscrypt_private.h280 u8 raw[FSCRYPT_MAX_IV_SIZE]; member
433 u8 raw[FSCRYPT_MAX_HW_WRAPPED_KEY_SIZE]; member
/fs/squashfs/
Dsquashfs_fs.h119 static inline int squashfs_block_size(__le32 raw) in squashfs_block_size() argument
121 u32 size = le32_to_cpu(raw); in squashfs_block_size()
/fs/fuse/
Dinode.c757 handle.nodeid = (u64) fid->raw[0] << 32; in fuse_fh_to_dentry()
758 handle.nodeid |= (u64) fid->raw[1]; in fuse_fh_to_dentry()
759 handle.generation = fid->raw[2]; in fuse_fh_to_dentry()
771 parent.nodeid = (u64) fid->raw[3] << 32; in fuse_fh_to_parent()
772 parent.nodeid |= (u64) fid->raw[4]; in fuse_fh_to_parent()
773 parent.generation = fid->raw[5]; in fuse_fh_to_parent()

12