/fs/jffs2/ |
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() 187 if (tn->fn->ofs < offset) in jffs2_lookup_tn() 189 else if (tn->fn->ofs >= offset) in jffs2_lookup_tn() 201 jffs2_mark_node_obsolete(c, tn->fn->raw); in jffs2_kill_tn() 202 jffs2_free_full_dnode(tn->fn); in jffs2_kill_tn() 222 uint32_t fn_end = tn->fn->ofs + tn->fn->size; in jffs2_add_tn_to_tree() [all …]
|
D | write.c | 64 struct jffs2_full_dnode *fn; in jffs2_write_dnode() local 88 fn = jffs2_alloc_full_dnode(); in jffs2_write_dnode() 89 if (!fn) in jffs2_write_dnode() 167 jffs2_free_full_dnode(fn); in jffs2_write_dnode() 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() 186 jffs2_free_full_dnode(fn); in jffs2_write_dnode() 189 fn->ofs = je32_to_cpu(ri->offset); in jffs2_write_dnode() 190 fn->size = je32_to_cpu(ri->dsize); in jffs2_write_dnode() [all …]
|
D | gc.c | 35 struct jffs2_inode_info *f, struct jffs2_full_dnode *fn, 38 struct jffs2_inode_info *f, struct jffs2_full_dnode *fn, 481 struct jffs2_full_dnode *fn = NULL; in jffs2_garbage_collect_live() local 508 fn = f->metadata; in jffs2_garbage_collect_live() 509 ret = jffs2_garbage_collect_metadata(c, jeb, f, fn); in jffs2_garbage_collect_live() 516 fn = frag->node; in jffs2_garbage_collect_live() 524 if (fn) { in jffs2_garbage_collect_live() 537 ret = jffs2_garbage_collect_hole(c, jeb, f, fn, start, end); in jffs2_garbage_collect_live() 540 ret = jffs2_garbage_collect_dnode(c, jeb, f, fn, start, end); in jffs2_garbage_collect_live() 739 struct jffs2_inode_info *f, struct jffs2_full_dnode *fn) in jffs2_garbage_collect_metadata() argument [all …]
|
D | dir.c | 304 struct jffs2_full_dnode *fn; in jffs2_symlink() local 355 fn = jffs2_write_dnode(c, f, ri, target, targetlen, ALLOC_NORMAL); in jffs2_symlink() 359 if (IS_ERR(fn)) { in jffs2_symlink() 363 ret = PTR_ERR(fn); in jffs2_symlink() 383 f->metadata = fn; in jffs2_symlink() 466 struct jffs2_full_dnode *fn; in jffs2_mkdir() local 513 fn = jffs2_write_dnode(c, f, ri, NULL, 0, ALLOC_NORMAL); in jffs2_mkdir() 517 if (IS_ERR(fn)) { in jffs2_mkdir() 521 ret = PTR_ERR(fn); in jffs2_mkdir() 527 f->metadata = fn; in jffs2_mkdir() [all …]
|
D | file.c | 169 struct jffs2_full_dnode *fn; in jffs2_write_begin() local 195 fn = jffs2_write_dnode(c, f, &ri, NULL, 0, ALLOC_NORMAL); in jffs2_write_begin() 197 if (IS_ERR(fn)) { in jffs2_write_begin() 198 ret = PTR_ERR(fn); in jffs2_write_begin() 202 ret = jffs2_add_full_dnode_to_inode(c, f, fn); in jffs2_write_begin() 211 jffs2_mark_node_obsolete(c, fn->raw); in jffs2_write_begin() 212 jffs2_free_full_dnode(fn); in jffs2_write_begin()
|
D | nodelist.c | 149 static struct jffs2_node_frag * new_fragment(struct jffs2_full_dnode *fn, uint32_t ofs, uint32_t si… in new_fragment() argument 157 newfrag->node = fn; in new_fragment() 363 …ll_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn) in jffs2_add_full_dnode_to_inode() argument 368 if (unlikely(!fn->size)) in jffs2_add_full_dnode_to_inode() 371 newfrag = new_fragment(fn, fn->ofs, fn->size); in jffs2_add_full_dnode_to_inode() 377 fn->ofs, fn->ofs+fn->size, ref_offset(fn->raw), newfrag); in jffs2_add_full_dnode_to_inode() 388 mark_ref_normal(fn->raw); in jffs2_add_full_dnode_to_inode() 398 mark_ref_normal(fn->raw); in jffs2_add_full_dnode_to_inode()
|
D | debug.c | 81 struct jffs2_full_dnode *fn = frag->node; in __jffs2_dbg_fragtree_paranoia_check_nolock() local 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() 87 if (fn->frags > 1) { 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()
|
D | nodelist.h | 230 struct jffs2_full_dnode *fn; member 369 …l_dnode_to_inode(struct jffs2_sb_info *c, struct jffs2_inode_info *f, struct jffs2_full_dnode *fn);
|
/fs/ntfs/ |
D | namei.c | 192 FILE_NAME_ATTR *fn; in ntfs_lookup() local 233 fn = (FILE_NAME_ATTR*)((u8*)ctx->attr + le16_to_cpu( in ntfs_lookup() 235 if ((u32)(fn->file_name_length * sizeof(ntfschar) + in ntfs_lookup() 238 } while (fn->file_name_type != FILE_NAME_WIN32); in ntfs_lookup() 242 (ntfschar*)&fn->file_name, fn->file_name_length, in ntfs_lookup() 307 FILE_NAME_ATTR *fn; in ntfs_get_parent() local 337 fn = (FILE_NAME_ATTR *)((u8 *)attr + in ntfs_get_parent() 339 if (unlikely((u8 *)fn + le32_to_cpu(attr->data.resident.value_length) > in ntfs_get_parent() 343 parent_ino = MREF_LE(fn->parent_directory); in ntfs_get_parent()
|
/fs/proc/ |
D | generic.c | 374 const char *fn = name; in __proc_create() local 381 if (xlate_proc_name(name, parent, &fn) != 0) in __proc_create() 385 if (strchr(fn, '/')) in __proc_create() 388 len = strlen(fn); in __proc_create() 394 memcpy(ent->name, fn, len + 1); in __proc_create() 531 const char *fn = name; in remove_proc_entry() local 535 if (__xlate_proc_name(name, &parent, &fn) != 0) { in remove_proc_entry() 539 len = strlen(fn); in remove_proc_entry() 542 if (proc_match(len, fn, *p)) { in remove_proc_entry() 571 const char *fn = name; in remove_proc_subtree() local [all …]
|
D | vmcore.c | 47 int register_oldmem_pfn_is_ram(int (*fn)(unsigned long pfn)) in register_oldmem_pfn_is_ram() 51 oldmem_pfn_is_ram = fn; in register_oldmem_pfn_is_ram() 65 int (*fn)(unsigned long pfn); in pfn_is_ram() local 74 fn = oldmem_pfn_is_ram; in pfn_is_ram() 75 if (fn) in pfn_is_ram() 76 ret = fn(pfn); in pfn_is_ram()
|
/fs/ |
D | read_write.c | 227 loff_t (*fn)(struct file *, loff_t, int); in vfs_llseek() local 229 fn = no_llseek; in vfs_llseek() 232 fn = file->f_op->llseek; in vfs_llseek() 234 return fn(file, offset, whence); in vfs_llseek() 564 unsigned long nr_segs, size_t len, loff_t *ppos, iov_fn_t fn) in do_sync_readv_writev() argument 574 ret = fn(&kiocb, iov, nr_segs, kiocb.ki_pos); in do_sync_readv_writev() 583 unsigned long nr_segs, loff_t *ppos, io_fn_t fn) in do_loop_readv_writev() argument 598 nr = fn(filp, base, len, ppos); in do_loop_readv_writev() 699 io_fn_t fn; in do_readv_writev() local 719 fn = file->f_op->read; in do_readv_writev() [all …]
|
D | exec.c | 1048 static void filename_to_taskname(char *tcomm, const char *fn, unsigned int len) in filename_to_taskname() argument 1053 for (i = 0; (ch = *(fn++)) != '\0';) { in filename_to_taskname() 1398 int (*fn)(struct linux_binprm *) = fmt->load_binary; in search_binary_handler() local 1399 if (!fn) in search_binary_handler() 1405 retval = fn(bprm); in search_binary_handler()
|
D | select.c | 900 restart_block->fn = do_restart_poll; in do_restart_poll() 924 restart_block->fn = do_restart_poll; in SYSCALL_DEFINE3()
|
/fs/autofs4/ |
D | dev-ioctl.c | 566 ioctl_fn fn; in lookup_dev_ioctl() member 598 return (idx >= ARRAY_SIZE(_ioctls)) ? NULL : _ioctls[idx].fn; in lookup_dev_ioctl() 608 ioctl_fn fn = NULL; in _autofs_dev_ioctl() local 636 fn = lookup_dev_ioctl(cmd); in _autofs_dev_ioctl() 637 if (!fn) { in _autofs_dev_ioctl() 685 err = fn(fp, sbi, param); in _autofs_dev_ioctl()
|
/fs/ocfs2/dlm/ |
D | dlmast.c | 226 dlm_astlockfunc_t *fn; in dlm_do_local_ast() local 235 fn = lock->ast; in dlm_do_local_ast() 239 (*fn)(lock->astdata); in dlm_do_local_ast() 270 dlm_bastlockfunc_t *fn = lock->bast; in dlm_do_local_bast() local 280 (*fn)(lock->astdata, blocked_type); in dlm_do_local_bast()
|
/fs/xfs/ |
D | xfs_linux.h | 165 #define xfs_sort(a,n,s,fn) sort(a,n,s,fn,NULL) argument
|
/fs/ocfs2/ |
D | aops.h | 43 int (*fn)( handle_t *handle,
|
D | aops.c | 423 int (*fn)( handle_t *handle, in walk_page_buffers() 443 err = (*fn)(handle, bh); in walk_page_buffers()
|
/fs/ext2/ |
D | balloc.c | 200 const char *fn) in __rsv_window_dump() argument 211 printk("Block Allocation Reservation Windows Map (%s):\n", fn); in __rsv_window_dump()
|
/fs/ext3/ |
D | balloc.c | 208 const char *fn) in __rsv_window_dump() argument 219 printk("Block Allocation Reservation Windows Map (%s):\n", fn); in __rsv_window_dump()
|
D | inode.c | 1154 int (*fn)( handle_t *handle, in walk_page_buffers() 1174 err = (*fn)(handle, bh); in walk_page_buffers()
|
/fs/quota/ |
D | dquot.c | 565 int (*fn)(struct dquot *dquot, unsigned long priv), in dquot_scan_active() 584 ret = fn(dquot, priv); in dquot_scan_active()
|
/fs/nfsd/ |
D | nfs4state.c | 727 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument 730 dprintk("%s: %u:%u:%u:%u\n", fn, ptr[0], ptr[1], ptr[2], ptr[3]); in dump_sessionid() 734 dump_sessionid(const char *fn, struct nfs4_sessionid *sessionid) in dump_sessionid() argument
|
/fs/reiserfs/ |
D | journal.c | 694 spinlock_t * lock, void (fn) (struct buffer_chunk *)) in add_to_chunk() 703 fn(chunk); in add_to_chunk()
|