Searched refs:inode (Results 1 - 25 of 1048) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dpipe_fs_i.h22 #define PIPE_SEM(inode) (&(inode).i_sem)
23 #define PIPE_WAIT(inode) (&(inode).i_pipe->wait)
24 #define PIPE_BASE(inode) ((inode).i_pipe->base)
25 #define PIPE_START(inode) ((inode).i_pipe->start)
26 #define PIPE_LEN(inode) ((inode)
[all...]
H A Dcoda_cache.h14 void coda_cache_enter(struct inode *inode, int mask);
15 void coda_cache_clear_inode(struct inode *);
17 int coda_cache_check(struct inode *inode, int mask);
20 void coda_flag_inode_children(struct inode *inode, int flag);
H A Dquotaops.h23 extern void dquot_initialize(struct inode *inode, short type);
24 extern void dquot_drop(struct inode *inode);
28 extern int dquot_alloc_block(struct inode *inode, unsigned long number, char prealloc);
29 extern int dquot_alloc_inode(const struct inode *inode, unsigned long number);
31 extern void dquot_free_block(struct inode *inode, unsigne
41 DQUOT_INIT(struct inode *inode) argument
51 DQUOT_DROP(struct inode *inode) argument
62 DQUOT_PREALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
78 DQUOT_PREALLOC_BLOCK(struct inode *inode, int nr) argument
86 DQUOT_ALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
102 DQUOT_ALLOC_BLOCK(struct inode *inode, int nr) argument
110 DQUOT_ALLOC_INODE(struct inode *inode) argument
124 DQUOT_FREE_BLOCK_NODIRTY(struct inode *inode, int nr) argument
134 DQUOT_FREE_BLOCK(struct inode *inode, int nr) argument
140 DQUOT_FREE_INODE(struct inode *inode) argument
148 DQUOT_TRANSFER(struct inode *inode, struct iattr *iattr) argument
177 DQUOT_PREALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
185 DQUOT_PREALLOC_BLOCK(struct inode *inode, int nr) argument
192 DQUOT_ALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
200 DQUOT_ALLOC_BLOCK(struct inode *inode, int nr) argument
207 DQUOT_FREE_BLOCK_NODIRTY(struct inode *inode, int nr) argument
214 DQUOT_FREE_BLOCK(struct inode *inode, int nr) argument
[all...]
H A Daffs_fs.h17 extern int affs_insert_hash(struct inode *inode, struct buffer_head *bh);
18 extern int affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh);
24 extern void mode_to_prot(struct inode *inode);
35 extern u32 affs_alloc_block(struct inode *inode, u32 goal);
41 extern struct dentry *affs_lookup(struct inode *dir, struct dentry *dentry);
42 extern int affs_unlink(struct inode *dir, struct dentry *dentry);
43 extern int affs_create(struct inode *di
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dpipe_fs_i.h22 #define PIPE_SEM(inode) (&(inode).i_sem)
23 #define PIPE_WAIT(inode) (&(inode).i_pipe->wait)
24 #define PIPE_BASE(inode) ((inode).i_pipe->base)
25 #define PIPE_START(inode) ((inode).i_pipe->start)
26 #define PIPE_LEN(inode) ((inode)
[all...]
H A Dcoda_cache.h14 void coda_cache_enter(struct inode *inode, int mask);
15 void coda_cache_clear_inode(struct inode *);
17 int coda_cache_check(struct inode *inode, int mask);
20 void coda_flag_inode_children(struct inode *inode, int flag);
H A Dquotaops.h23 extern void dquot_initialize(struct inode *inode, short type);
24 extern void dquot_drop(struct inode *inode);
28 extern int dquot_alloc_block(struct inode *inode, unsigned long number, char prealloc);
29 extern int dquot_alloc_inode(const struct inode *inode, unsigned long number);
31 extern void dquot_free_block(struct inode *inode, unsigne
41 DQUOT_INIT(struct inode *inode) argument
51 DQUOT_DROP(struct inode *inode) argument
62 DQUOT_PREALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
78 DQUOT_PREALLOC_BLOCK(struct inode *inode, int nr) argument
86 DQUOT_ALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
102 DQUOT_ALLOC_BLOCK(struct inode *inode, int nr) argument
110 DQUOT_ALLOC_INODE(struct inode *inode) argument
124 DQUOT_FREE_BLOCK_NODIRTY(struct inode *inode, int nr) argument
134 DQUOT_FREE_BLOCK(struct inode *inode, int nr) argument
140 DQUOT_FREE_INODE(struct inode *inode) argument
148 DQUOT_TRANSFER(struct inode *inode, struct iattr *iattr) argument
177 DQUOT_PREALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
185 DQUOT_PREALLOC_BLOCK(struct inode *inode, int nr) argument
192 DQUOT_ALLOC_BLOCK_NODIRTY(struct inode *inode, int nr) argument
200 DQUOT_ALLOC_BLOCK(struct inode *inode, int nr) argument
207 DQUOT_FREE_BLOCK_NODIRTY(struct inode *inode, int nr) argument
214 DQUOT_FREE_BLOCK(struct inode *inode, int nr) argument
[all...]
H A Daffs_fs.h17 extern int affs_insert_hash(struct inode *inode, struct buffer_head *bh);
18 extern int affs_remove_hash(struct inode *dir, struct buffer_head *rem_bh);
24 extern void mode_to_prot(struct inode *inode);
35 extern u32 affs_alloc_block(struct inode *inode, u32 goal);
41 extern struct dentry *affs_lookup(struct inode *dir, struct dentry *dentry);
42 extern int affs_unlink(struct inode *dir, struct dentry *dentry);
43 extern int affs_create(struct inode *di
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/jfs/
H A Djfs_inode.h21 extern struct inode *ialloc(struct inode *, umode_t);
H A Djfs_inode.c31 * FUNCTION: Allocate a new inode
34 struct inode *ialloc(struct inode *parent, umode_t mode)
37 struct inode *inode; local
41 inode = new_inode(sb);
42 if (!inode) {
44 return inode;
47 rc = alloc_jfs_inode(inode);
49 make_bad_inode(inode);
110 alloc_jfs_inode(struct inode *inode) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/router/e2fsprogs-1.40.8/lib/ext2fs/
H A Dvalid_blk.c2 * valid_blk.c --- does the inode have valid blocks?
24 * This function returns 1 if the inode's block entries actually
27 int ext2fs_inode_has_valid_blocks(struct ext2_inode *inode) argument
33 if (!LINUX_S_ISDIR(inode->i_mode) && !LINUX_S_ISREG(inode->i_mode) &&
34 !LINUX_S_ISLNK(inode->i_mode))
41 if (LINUX_S_ISLNK (inode->i_mode)) {
42 if (inode->i_file_acl == 0) {
44 if (inode->i_blocks == 0)
48 if (inode
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm-4.0/
H A Dtdfx_drv.h37 extern int tdfx_version(struct inode *inode, struct file *filp,
39 extern int tdfx_open(struct inode *inode, struct file *filp);
40 extern int tdfx_release(struct inode *inode, struct file *filp);
41 extern int tdfx_ioctl(struct inode *inode, struct file *filp,
43 extern int tdfx_lock(struct inode *inode, struc
[all...]
H A Dgamma_drv.h36 extern int gamma_version(struct inode *inode, struct file *filp,
38 extern int gamma_open(struct inode *inode, struct file *filp);
39 extern int gamma_release(struct inode *inode, struct file *filp);
40 extern int gamma_ioctl(struct inode *inode, struct file *filp,
42 extern int gamma_lock(struct inode *inode, struc
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm/
H A Dsis_drv.h37 int sis_flip(struct inode *inode, struct file *filp, unsigned int cmd,
39 int sis_flip_init(struct inode *inode, struct file *filp, unsigned int cmd,
41 int sis_flip_final(struct inode *inode, struct file *filp, unsigned int cmd,
H A Dsis_drm.h22 int sis_fb_alloc(struct inode *inode, struct file *filp, unsigned int cmd,
24 int sis_fb_free(struct inode *inode, struct file *filp, unsigned int cmd,
27 int sisp_agp_init(struct inode *inode, struct file *filp, unsigned int cmd,
29 int sisp_agp_alloc(struct inode *inode, struct file *filp, unsigned int cmd,
31 int sisp_agp_free(struct inode *inode, struc
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/
H A Dfifo.c16 static void wait_for_partner(struct inode* inode, unsigned int* cnt) argument
20 pipe_wait(inode);
26 static void wake_up_partner(struct inode* inode) argument
28 wake_up_interruptible(PIPE_WAIT(*inode));
31 static int fifo_open(struct inode *inode, struct file *filp) argument
37 if (down_interruptible(PIPE_SEM(*inode)))
40 if (!inode
[all...]
H A Dinode.c2 * linux/fs/inode.c
22 * New inode.c implementation.
31 /* inode dynamic allocation 1999, Andrea Arcangeli <andrea@suse.de> */
47 * Each inode can be on two separate lists. One is
48 * the hash list of the inode, used for lookups. The
50 * "in_use" - valid inode, i_count > 0, i_nlink > 0
52 * "unused" - valid inode, i_count = 0
55 * allowing for low-overhead inode sync() operations.
67 * the i_state of an inode while it is in use..
79 ((struct inode *) kmem_cache_allo
80 destroy_inode(struct inode *inode) argument
95 struct inode * inode = (struct inode *) foo; local
137 __mark_inode_dirty(struct inode *inode, int flags) argument
166 __wait_on_inode(struct inode * inode) argument
181 wait_on_inode(struct inode *inode) argument
188 write_inode(struct inode *inode, int sync) argument
194 __iget(struct inode * inode) argument
208 __sync_one(struct inode *inode, int sync) argument
248 sync_one(struct inode *inode, int sync) argument
273 struct inode *inode = list_entry(tmp, struct inode, i_list); local
285 struct inode *inode; local
428 write_inode_now(struct inode *inode, int sync) argument
453 generic_osync_inode(struct inode *inode, int what) argument
508 clear_inode(struct inode *inode) argument
538 struct inode * inode; local
564 struct inode * inode; local
669 struct inode * inode; local
740 struct inode * inode; local
767 clean_inode(struct inode *inode) argument
807 struct inode * inode; local
838 struct inode * inode; local
928 struct inode *inode; local
947 igrab(struct inode *inode) argument
967 struct inode * inode; local
994 insert_inode_hash(struct inode *inode) argument
1011 remove_inode_hash(struct inode *inode) argument
1027 iput(struct inode *inode) argument
1093 force_delete(struct inode *inode) argument
1115 bmap(struct inode * inode, int block) argument
1187 update_atime(struct inode *inode) argument
1210 struct inode *inode; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext2/
H A Dfsync.c38 struct inode *inode = dentry->d_inode; local
39 return ext2_fsync_inode(inode, datasync);
42 int ext2_fsync_inode(struct inode *inode, int datasync) argument
46 err = fsync_inode_buffers(inode);
47 err |= fsync_inode_data_buffers(inode);
48 if (!(inode->i_state & I_DIRTY))
50 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC))
53 err |= ext2_sync_inode(inode);
[all...]
H A Dinode.c2 * linux/fs/ext2/inode.c
11 * linux/fs/minix/inode.c
39 static int ext2_update_inode(struct inode * inode, int do_sync);
44 void ext2_put_inode (struct inode * inode) argument
46 ext2_discard_prealloc (inode);
52 void ext2_delete_inode (struct inode * inode) argument
56 if (is_bad_inode(inode) ||
75 ext2_discard_prealloc(struct inode * inode) argument
92 ext2_alloc_block(struct inode * inode, unsigned long goal, int *err) argument
176 ext2_block_to_path(struct inode *inode, long i_block, int offsets[4]) argument
236 ext2_get_branch(struct inode *inode, int depth, int *offsets, Indirect chain[4], int *err) argument
288 ext2_find_near(struct inode *inode, Indirect *ind) argument
324 ext2_find_goal(struct inode *inode, long block, Indirect chain[4], Indirect *partial, unsigned long *goal) argument
377 ext2_alloc_branch(struct inode *inode, int num, unsigned long goal, int *offsets, Indirect *branch) argument
448 ext2_splice_branch(struct inode *inode, long block, Indirect chain[4], Indirect *where, int num) argument
508 ext2_get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create) argument
595 ext2_direct_IO(int rw, struct inode * inode, struct kiobuf * iobuf, unsigned long blocknr, int blocksize) argument
656 ext2_find_shared(struct inode *inode, int depth, int offsets[4], Indirect chain[4], u32 *top) argument
714 ext2_free_data(struct inode *inode, u32 *p, u32 *q) argument
754 ext2_free_branches(struct inode *inode, u32 *p, u32 *q, int depth) argument
789 ext2_truncate(struct inode * inode) argument
880 ext2_read_inode(struct inode * inode) argument
1023 ext2_update_inode(struct inode * inode, int do_sync) argument
1149 ext2_write_inode(struct inode * inode, int wait) argument
1156 ext2_sync_inode(struct inode *inode) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/
H A Dfsync.c39 struct inode *inode = dentry->d_inode; local
40 return udf_fsync_inode(inode, datasync);
43 int udf_fsync_inode(struct inode *inode, int datasync) argument
47 err = fsync_inode_buffers(inode);
48 err |= fsync_inode_data_buffers(inode);
49 if (!(inode->i_state & I_DIRTY))
51 if (datasync && !(inode->i_state & I_DIRTY_DATASYNC))
54 err |= udf_sync_inode (inode);
[all...]
H A Dialloc.c35 void udf_free_inode(struct inode * inode) argument
37 struct super_block * sb = inode->i_sb;
41 ino = inode->i_ino;
47 DQUOT_FREE_INODE(inode);
48 DQUOT_DROP(inode);
52 is_directory = S_ISDIR(inode->i_mode);
54 clear_inode(inode);
69 udf_free_blocks(sb, NULL, UDF_I_LOCATION(inode), 0, 1);
72 struct inode * udf_new_inod
75 struct inode * inode; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hfs/
H A Dinode.c18 * Given an HFS catalog entry initialize an inode for a file.
20 static void init_file_inode(struct inode *inode, hfs_u8 fork) argument
23 struct hfs_cat_entry *entry = HFS_I(inode)->entry;
26 inode->i_mode = S_IRWXUGO | S_IFREG;
28 inode->i_mode = S_IRUGO | S_IWUGO | S_IFREG;
32 HFS_I(inode)->convert = 0;
36 HFS_I(inode)->convert = 0;
38 HFS_I(inode)->fork = fk;
39 inode
53 hfs_put_inode(struct inode * inode) argument
90 struct inode *inode = dentry->d_inode; local
230 struct inode *inode; local
300 hfs_cap_ifill(struct inode * inode, ino_t type, const int version) argument
355 hfs_dbl_ifill(struct inode * inode, ino_t type, const int version) argument
401 hfs_nat_ifill(struct inode * inode, ino_t type, const int version) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/efs/
H A Dfile.c11 int efs_get_block(struct inode *inode, long iblock, argument
19 if (iblock >= inode->i_blocks) {
26 inode->i_blocks,
27 inode->i_size);
31 phys = efs_map_block(inode, iblock);
33 bh_result->b_dev = inode->i_dev;
40 int efs_bmap(struct inode *inode, efs_block_t block) { argument
48 if (!(block < inode
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/qnx4/
H A Dtruncate.c24 void qnx4_truncate(struct inode *inode) argument
26 if (!(S_ISREG(inode->i_mode) || S_ISDIR(inode->i_mode) ||
27 S_ISLNK(inode->i_mode))) {
30 if (!(S_ISDIR(inode->i_mode))) {
34 inode->i_mtime = inode->i_ctime = CURRENT_TIME;
35 mark_inode_dirty(inode);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/
H A Dnamei.c19 static inline void inc_count(struct inode *inode) argument
21 inode->i_nlink++;
22 mark_inode_dirty(inode);
25 static inline void dec_count(struct inode *inode) argument
27 inode->i_nlink--;
28 mark_inode_dirty(inode);
31 static int add_nondir(struct dentry *dentry, struct inode *inode) argument
69 struct inode * inode = NULL; local
88 struct inode * inode = sysv_new_inode(dir, mode); local
109 struct inode * inode; local
138 struct inode *inode = old_dentry->d_inode; local
155 struct inode * inode; local
194 struct inode * inode = dentry->d_inode; local
215 struct inode *inode = dentry->d_inode; local
[all...]

Completed in 255 milliseconds

1234567891011>>