/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/befs/ |
H A D | inode.c | 2 * inode.c 13 Validates the correctness of the befs inode 14 Returns BEFS_OK if the inode should be used, otherwise 19 befs_blocknr_t inode) 28 "Inode has a bad magic header - inode = %lu", inode); 35 if (inode != iaddr2blockno(sb, &ino_num)) { 36 befs_error(sb, "inode blocknr field disagrees with vfs " 38 inode, iaddr2blockno(sb, &ino_num)); 47 befs_error(sb, "inode i 18 befs_check_inode(struct super_block *sb, befs_inode * raw_inode, befs_blocknr_t inode) argument [all...] |
H A D | attribute.c | 26 list_small_data(struct super_block *sb, befs_inode * inode, filldir_t filldir); 28 befs_small_data *find_small_data(struct super_block *sb, befs_inode * inode, 32 read_small_data(struct super_block *sb, befs_inode * inode, 43 find_small_data(struct super_block *sb, befs_inode * inode, const char *name) argument 45 befs_small_data *sdata = inode->small_data; 64 read_small_data(struct super_block *sb, befs_inode * inode, argument 69 sdata = find_small_data(sb, inode, name); 88 list_small_data(struct super_block *sb, befs_inode * inode) argument 101 list_attr(struct super_block *sb, befs_inode * inode) argument 114 read_attr(struct super_block *sb, befs_inode * inode) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/ |
H A D | file.c | 28 extern int jfs_commit_inode(struct inode *, int); 32 struct inode *inode = dentry->d_inode; local 35 rc = fsync_inode_data_buffers(inode); 37 if (!(inode->i_state & I_DIRTY)) 39 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC)) 42 rc |= jfs_commit_inode(inode, 1); 51 void jfs_truncate_nolock(struct inode *ip, loff_t length) 68 * txBegin may block and there is a chance the inode 91 static void jfs_truncate(struct inode *i 100 jfs_open(struct inode *inode, struct file *file) argument 128 jfs_release(struct inode *inode, struct file *file) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | coda_linux.h | 39 int coda_open(struct inode *i, struct file *f); 41 int coda_release(struct inode *i, struct file *f); 42 int coda_permission(struct inode *inode, int mask); 53 static __inline__ struct ViceFid *coda_i2f(struct inode *); 54 static __inline__ char *coda_i2s(struct inode *); 55 static __inline__ void coda_flag_inode(struct inode *, int flag); 57 int coda_isroot(struct inode *i); 61 void coda_vattr_to_iattr(struct inode *, struct coda_vattr *); 108 /* inode t 112 coda_i2f(struct inode *inode) argument 117 coda_i2s(struct inode *inode) argument 123 coda_flag_inode(struct inode *inode, int flag) argument [all...] |
H A D | dnotify.h | 16 extern void __inode_dir_notify(struct inode *, unsigned long); 20 static inline void inode_dir_notify(struct inode *inode, unsigned long event) argument 22 if ((inode)->i_dnotify_mask & (event)) 23 __inode_dir_notify(inode, event);
|
H A D | qnx4_fs.h | 43 * This is the original qnx4 inode layout on disk. 100 extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry); 102 extern unsigned long qnx4_block_map(struct inode *inode, long iblock); 104 extern struct buffer_head *qnx4_getblk(struct inode *, int, int); 105 extern struct buffer_head *qnx4_bread(struct inode *, int, int); 107 extern int qnx4_create(struct inode *dir, struct dentry *dentry, int mode); 114 extern int qnx4_create(struct inode *inode, struct dentry *dentry, int mode); 115 extern void qnx4_truncate(struct inode *inod [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | coda_linux.h | 39 int coda_open(struct inode *i, struct file *f); 41 int coda_release(struct inode *i, struct file *f); 42 int coda_permission(struct inode *inode, int mask); 53 static __inline__ struct ViceFid *coda_i2f(struct inode *); 54 static __inline__ char *coda_i2s(struct inode *); 55 static __inline__ void coda_flag_inode(struct inode *, int flag); 57 int coda_isroot(struct inode *i); 61 void coda_vattr_to_iattr(struct inode *, struct coda_vattr *); 108 /* inode t 112 coda_i2f(struct inode *inode) argument 117 coda_i2s(struct inode *inode) argument 123 coda_flag_inode(struct inode *inode, int flag) argument [all...] |
H A D | dnotify.h | 16 extern void __inode_dir_notify(struct inode *, unsigned long); 20 static inline void inode_dir_notify(struct inode *inode, unsigned long event) argument 22 if ((inode)->i_dnotify_mask & (event)) 23 __inode_dir_notify(inode, event);
|
H A D | qnx4_fs.h | 43 * This is the original qnx4 inode layout on disk. 100 extern struct dentry *qnx4_lookup(struct inode *dir, struct dentry *dentry); 102 extern unsigned long qnx4_block_map(struct inode *inode, long iblock); 104 extern struct buffer_head *qnx4_getblk(struct inode *, int, int); 105 extern struct buffer_head *qnx4_bread(struct inode *, int, int); 107 extern int qnx4_create(struct inode *dir, struct dentry *dentry, int mode); 114 extern int qnx4_create(struct inode *inode, struct dentry *dentry, int mode); 115 extern void qnx4_truncate(struct inode *inod [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ |
H A D | bad_inode.c | 15 * so that a bad root inode can at least be unmounted. To do this 67 * When a filesystem is unable to read an inode due to an I/O error in 76 * make_bad_inode - mark an inode bad due to an I/O error 77 * @inode: Inode to mark bad 79 * When an inode cannot be read due to a media or remote network 80 * failure this function makes the inode "bad" and causes I/O operations 84 void make_bad_inode(struct inode * inode) argument 86 inode->i_mode = S_IFREG; 87 inode 105 is_bad_inode(struct inode * inode) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext3/ |
H A D | file.c | 30 * Called when an inode is released. Note that this is different 34 static int ext3_release_file (struct inode * inode, struct file * filp) argument 37 ext3_discard_prealloc (inode); 42 * Called when an inode is about to be opened. 47 static int ext3_open_file (struct inode * inode, struct file * filp) argument 50 inode->i_size > 0x7FFFFFFFLL) 65 struct inode *inode local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/qnx4/ |
H A D | inode.c | 37 int qnx4_sync_inode(struct inode *inode) argument 44 static void qnx4_delete_inode(struct inode *inode) argument 46 QNX4DEBUG(("qnx4: deleting inode [%lu]\n", (unsigned long) inode->i_ino)); 48 inode->i_size = 0; 49 qnx4_truncate(inode); 50 qnx4_free_inode(inode); 60 static void qnx4_write_inode(struct inode *inod argument 138 qnx4_getblk(struct inode *inode, int nr, int create) argument 157 qnx4_bread(struct inode *inode, int block, int create) argument 175 qnx4_get_block( struct inode *inode, long iblock, struct buffer_head *bh, int create ) argument 193 qnx4_block_map( struct inode *inode, long iblock ) argument 408 qnx4_read_inode(struct inode *inode) argument [all...] |
H A D | fsync.c | 33 static int sync_block(struct inode *inode, unsigned short *block, int wait) argument 41 bh = sb_get_hash_table(inode->i_sb, *block); 62 static int sync_iblock(struct inode *inode, unsigned short *iblock, argument 72 rc = sync_block(inode, iblock, wait); 75 *bh = sb_bread(inode->i_sb, tmp); 87 static int sync_direct(struct inode *inode, int wait) argument 93 rc = sync_block(inode, 104 sync_indirect(struct inode *inode, unsigned short *iblock, int wait) argument 127 sync_dindirect(struct inode *inode, unsigned short *diblock, int wait) argument 154 struct inode *inode = dentry->d_inode; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/bfs/ |
H A D | inode.c | 2 * fs/bfs/inode.c 3 * BFS superblock and inode operations. 35 static void bfs_read_inode(struct inode * inode) argument 37 unsigned long ino = inode->i_ino; 38 kdev_t dev = inode->i_dev; 43 if (ino < BFS_ROOT_INO || ino > inode->i_sb->su_lasti) { 44 printf("Bad inode number %s:%08lx\n", bdevname(dev), ino); 45 make_bad_inode(inode); 50 bh = sb_bread(inode 88 bfs_write_inode(struct inode * inode, int unused) argument 135 bfs_delete_inode(struct inode * inode) argument 231 struct inode * inode; local [all...] |
H A D | file.c | 57 static int bfs_get_block(struct inode * inode, long block, argument 62 struct super_block *sb = inode->i_sb; 68 phys = inode->iu_sblock + block; 70 if (phys <= inode->iu_eblock) { 72 bh_result->b_dev = inode->i_dev; 81 if (inode->i_size && phys <= inode->iu_eblock) { 84 bh_result->b_dev = inode->i_dev; 95 if (inode [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hpfs/ |
H A D | dir.c | 13 int hpfs_dir_release(struct inode *inode, struct file *filp) argument 16 hpfs_del_pos(inode, &filp->f_pos); 17 /*hpfs_write_if_changed(inode);*/ 29 struct inode *i = filp->f_dentry->d_inode; 51 struct inode *inode = filp->f_dentry->d_inode; local 59 if (inode->i_sb->s_hpfs_chk) { 60 if (hpfs_chk_sectors(inode->i_sb, inode [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hfs/ |
H A D | sysdep.c | 12 static void hfs_dentry_iput(struct dentry *, struct inode *); 70 static void hfs_dentry_iput(struct dentry *dentry, struct inode *inode) argument 72 struct hfs_cat_entry *entry = HFS_I(inode)->entry; 75 entry->sys_entry[HFS_ITYPE_TO_INT(HFS_ITYPE(inode->i_ino))] = NULL; 77 iput(inode); 82 struct inode *inode = dentry->d_inode; local 85 /* fix up inode on a timezone change */ 87 if (inode [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/minix/ |
H A D | itree_common.c | 27 static inline Indirect *get_branch(struct inode *inode, argument 33 struct super_block *sb = inode->i_sb; 39 add_chain (chain, NULL, i_data(inode) + *offsets); 65 static int alloc_branch(struct inode *inode, argument 72 int parent = minix_new_block(inode); 78 int nr = minix_new_block(inode); 82 bh = sb_getblk(inode->i_sb, parent); 90 mark_buffer_dirty_inode(bh, inode); 104 splice_branch(struct inode *inode, Indirect chain[DEPTH], Indirect *where, int num) argument 143 get_block(struct inode * inode, long block, struct buffer_head *bh_result, int create) argument 218 find_shared(struct inode *inode, int depth, int offsets[DEPTH], Indirect chain[DEPTH], block_t *top) argument 256 free_data(struct inode *inode, block_t *p, block_t *q) argument 269 free_branches(struct inode *inode, block_t *p, block_t *q, int depth) argument 293 truncate(struct inode * inode) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfs/ |
H A D | symlink.c | 30 static int nfs_symlink_filler(struct inode *inode, struct page *page) argument 39 error = NFS_PROTO(inode)->readlink(inode, page); 54 static char *nfs_getlink(struct inode *inode, struct page **ppage) argument 59 /* Caller revalidated the directory inode already. */ 60 page = read_cache_page(&inode->i_data, 0, 61 (filler_t *)nfs_symlink_filler, inode); 79 struct inode *inod local 91 struct inode *inode = dentry->d_inode; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/ |
H A D | udfdecl.h | 36 #define udf_file_entry_alloc_offset(inode)\ 37 ((UDF_I_EXTENDED_FE(inode) ?\ 39 sizeof(struct fileEntry)) + UDF_I_LENEATTR(inode)) 41 #define udf_ext0_offset(inode)\ 42 (UDF_I_ALLOCTYPE(inode) == ICBTAG_FLAG_AD_IN_ICB ?\ 43 udf_file_entry_alloc_offset(inode) : 0) 48 struct inode; 100 extern int udf_write_fi(struct inode *inode, struct fileIdentDesc *, struct fileIdentDesc *, struct udf_fileident_bh *, uint8_t *, uint8_t *); 103 extern int udf_ioctl(struct inode *, struc [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/ |
H A D | inode.c | 2 * inode.c 35 static void ncp_delete_inode(struct inode *); 50 extern int ncp_symlink(struct inode*, struct dentry*, const char*); 54 * Fill in the ncpfs-specific information in the inode. 56 void ncp_update_inode(struct inode *inode, struct ncp_entry_info *nwinfo) argument 58 NCP_FINFO(inode)->DosDirNum = nwinfo->i.DosDirNum; 59 NCP_FINFO(inode)->dirEntNum = nwinfo->i.dirEntNum; 60 NCP_FINFO(inode)->volNumber = nwinfo->i.volNumber; 63 NCP_FINFO(inode) 74 ncp_update_inode2(struct inode* inode, struct ncp_entry_info *nwinfo) argument 135 ncp_set_attr(struct inode *inode, struct ncp_entry_info *nwinfo) argument 210 struct inode *inode; local 243 ncp_delete_inode(struct inode *inode) argument 547 struct inode *inode = dentry->d_inode; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/ |
H A D | itree.c | 15 static inline void dirty_indirect(struct buffer_head *bh, struct inode *inode) argument 17 mark_buffer_dirty_inode(bh, inode); 18 if (IS_SYNC(inode)) { 24 static int block_to_path(struct inode *inode, long block, int offsets[DEPTH]) argument 26 struct super_block *sb = inode->i_sb; 83 static Indirect *get_branch(struct inode *inode, argument 89 struct super_block *sb = inode 119 alloc_branch(struct inode *inode, int num, int *offsets, Indirect *branch) argument 162 splice_branch(struct inode *inode, Indirect chain[], Indirect *where, int num) argument 194 get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create) argument 269 find_shared(struct inode *inode, int depth, int offsets[], Indirect chain[], u32 *top) argument 313 free_data(struct inode *inode, u32 *p, u32 *q) argument 325 free_branches(struct inode *inode, u32 *p, u32 *q, int depth) argument 351 sysv_truncate(struct inode * inode) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ufs/ |
H A D | truncate.c | 62 #define DIRECT_BLOCK ((inode->i_size + uspi->s_bsize - 1) >> uspi->s_bshift) 63 #define DIRECT_FRAGMENT ((inode->i_size + uspi->s_fsize - 1) >> uspi->s_fshift) 68 static int ufs_trunc_direct (struct inode * inode) argument 81 sb = inode->i_sb; 89 frag4 = min_t(u32, UFS_NDIR_FRAGMENT, inode->u.ufs_i.i_lastfrag); 110 p = inode->u.ufs_i.i_u1.i_data + ufs_fragstoblks (frag1); 125 inode->i_blocks -= (frag2-frag1) << uspi->s_nspfshift; 126 mark_inode_dirty(inode); 127 ufs_free_fragments (inode, tm 198 ufs_trunc_indirect(struct inode * inode, unsigned offset, u32 * p) argument 294 ufs_trunc_dindirect(struct inode * inode, unsigned offset, u32 * p) argument 361 ufs_trunc_tindirect(struct inode * inode) argument 423 ufs_truncate(struct inode * inode) argument [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/efs/ |
H A D | namei.c | 12 static efs_ino_t efs_find_entry(struct inode *inode, const char *name, int len) { argument 22 if (inode->i_size & (EFS_DIRBSIZE-1)) 25 for(block = 0; block < inode->i_blocks; block++) { 27 bh = sb_bread(inode->i_sb, efs_bmap(inode, block)); 48 inodenum = be32_to_cpu(dirslot->inode); 58 struct dentry *efs_lookup(struct inode *dir, struct dentry *dentry) { 60 struct inode * inode; local [all...] |
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/proc/ |
H A D | base.c | 45 static int proc_fd_link(struct inode *inode, struct dentry **dentry, struct vfsmount **mnt) argument 47 if (inode->u.proc_i.file) { 48 *mnt = mntget(inode->u.proc_i.file->f_vfsmnt); 49 *dentry = dget(inode->u.proc_i.file->f_dentry); 55 static int proc_exe_link(struct inode *inode, struct dentry **dentry, struct vfsmount **mnt) argument 60 struct task_struct *task = inode->u.proc_i.task; 87 static int proc_cwd_link(struct inode *inode, struc argument 107 proc_root_link(struct inode *inode, struct dentry **dentry, struct vfsmount **mnt) argument 189 proc_check_root(struct inode *inode) argument 229 proc_permission(struct inode *inode, int mask) argument 239 struct inode * inode = file->f_dentry->d_inode; local 252 mounts_open(struct inode *inode, struct file *file) argument 276 mounts_release(struct inode *inode, struct file *file) argument 296 struct inode * inode = file->f_dentry->d_inode; local 335 mem_open(struct inode* inode, struct file* file) argument 453 struct inode *inode = dentry->d_inode; local 474 struct inode * inode; local 495 struct inode *inode = dentry->d_inode; local 571 struct inode *inode = filp->f_dentry->d_inode; local 637 struct inode *inode = filp->f_dentry->d_inode; local 691 struct inode * inode; local 778 struct inode *inode; local 850 struct inode *inode; local 980 struct inode *inode; local 1041 proc_pid_delete_inode(struct inode *inode) argument [all...] |