Searched refs:inode (Results 51 - 75 of 1048) sorted by relevance

1234567891011>>

/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/
H A Dpipe.c26 /* Drop the inode semaphore and wait for a pipe event, atomically */
27 void pipe_wait(struct inode * inode) argument
31 add_wait_queue(PIPE_WAIT(*inode), &wait);
32 up(PIPE_SEM(*inode));
34 remove_wait_queue(PIPE_WAIT(*inode), &wait);
36 down(PIPE_SEM(*inode));
42 struct inode *inode = filp->f_dentry->d_inode; local
58 if (down_interruptible(PIPE_SEM(*inode)))
140 struct inode *inode = filp->f_dentry->d_inode; local
280 struct inode *inode = filp->f_dentry->d_inode; local
299 pipe_release(struct inode *inode, int decr, int decw) argument
318 pipe_read_release(struct inode *inode, struct file *filp) argument
324 pipe_write_release(struct inode *inode, struct file *filp) argument
330 pipe_rdwr_release(struct inode *inode, struct file *filp) argument
340 pipe_read_open(struct inode *inode, struct file *filp) argument
352 pipe_write_open(struct inode *inode, struct file *filp) argument
362 pipe_rdwr_open(struct inode *inode, struct file *filp) argument
438 pipe_new(struct inode* inode) argument
474 struct inode *inode = new_inode(pipe_mnt->mnt_sb); local
509 struct inode * inode; local
[all...]
H A Dattr.c18 /* POSIX UID/GID verification for setting inode attributes. */
19 int inode_change_ok(struct inode *inode, struct iattr *attr) argument
30 (current->fsuid != inode->i_uid ||
31 attr->ia_uid != inode->i_uid) && !capable(CAP_CHOWN))
36 (!in_group_p(attr->ia_gid) && attr->ia_gid != inode->i_gid) &&
42 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER))
46 inode->i_gid) && !capable(CAP_FSETID))
50 /* Check for setting the inode time. */
52 if (current->fsuid != inode
61 inode_setattr(struct inode * inode, struct iattr * attr) argument
116 struct inode *inode = dentry->d_inode; local
[all...]
H A Dstat.c17 * Revalidate the inode. This is required for proper NFS attribute caching.
22 struct inode * inode = dentry->d_inode; local
23 if (inode->i_op && inode->i_op->revalidate)
24 return inode->i_op->revalidate(dentry);
35 static int cp_old_stat(struct inode * inode, struct __old_kernel_stat * statbuf) argument
49 tmp.st_dev = kdev_t_to_nr(inode->i_dev);
50 tmp.st_ino = inode
69 cp_new_stat(struct inode * inode, struct stat * statbuf) argument
256 struct inode * inode = nd.dentry->d_inode; local
273 cp_new_stat64(struct inode * inode, struct stat64 * statbuf) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/udf/
H A Dfile.c48 struct inode *inode = page->mapping->host; local
60 block = udf_get_lb_pblock(inode->i_sb, UDF_I_LOCATION(inode), 0);
61 bh = sb_bread(inode->i_sb, block);
68 memcpy(kaddr, bh->b_data + udf_ext0_offset(inode), inode->i_size);
80 struct inode *inode = page->mapping->host; local
91 block = udf_get_lb_pblock(inode
117 struct inode *inode = page->mapping->host; local
157 struct inode *inode = file->f_dentry->d_inode; local
230 udf_ioctl(struct inode *inode, struct file *filp, unsigned int cmd, unsigned long arg) argument
328 udf_release_file(struct inode * inode, struct file * filp) argument
352 udf_open_file(struct inode * inode, struct file * filp) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/nfs/
H A Dinode.c2 * linux/fs/nfs/inode.c
6 * nfs inode and superblock handling functions
44 static struct inode * __nfs_fhget(struct super_block *, struct nfs_fh *, struct nfs_fattr *);
45 void nfs_zap_caches(struct inode *);
46 static void nfs_invalidate_inode(struct inode *);
48 static void nfs_read_inode(struct inode *);
49 static void nfs_write_inode(struct inode *,int);
50 static void nfs_delete_inode(struct inode *);
52 static void nfs_clear_inode(struct inode *);
103 nfs_read_inode(struct inode * inod argument
120 nfs_write_inode(struct inode *inode, int sync) argument
128 nfs_delete_inode(struct inode * inode) argument
147 nfs_clear_inode(struct inode *inode) argument
241 struct inode *inode; local
602 nfs_zap_caches(struct inode *inode) argument
617 nfs_invalidate_inode(struct inode *inode) argument
630 nfs_fill_inode(struct inode *inode, struct nfs_fh *fh, struct nfs_fattr *fattr) argument
670 nfs_find_actor(struct inode *inode, unsigned long ino, void *opaque) argument
714 struct inode *inode = NULL; local
746 struct inode *inode = dentry->d_inode; local
806 nfs_wait_on_inode(struct inode *inode, int flag) argument
824 struct inode *inode = dentry->d_inode; local
833 nfs_set_mmcred(struct inode *inode, struct rpc_cred *cred) argument
849 nfs_open(struct inode *inode, struct file *filp) argument
864 nfs_release(struct inode *inode, struct file *filp) argument
881 __nfs_revalidate_inode(struct nfs_server *server, struct inode *inode) argument
948 nfs_fattr_obsolete(struct inode *inode, struct nfs_fattr *fattr) argument
977 __nfs_refresh_inode(struct inode *inode, struct nfs_fattr *fattr) argument
[all...]
H A Dfile.c63 # define IS_SWAPFILE(inode) (0)
73 struct inode *inode = file->f_dentry->d_inode; local
76 dfprintk(VFS, "nfs: flush(%x/%ld)\n", inode->i_dev, inode->i_ino);
81 nfs_pagein_inode(inode, 0, 0);
83 status = nfs_wb_file(inode, file);
95 struct inode * inode = dentry->d_inode; local
102 result = nfs_revalidate_inode(NFS_SERVER(inode), inod
112 struct inode *inode = dentry->d_inode; local
132 struct inode *inode = dentry->d_inode; local
178 struct inode *inode; local
212 struct inode * inode = dentry->d_inode; local
245 struct inode * inode = filp->f_dentry->d_inode; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/reiserfs/
H A Dinode.c20 static int reiserfs_get_block (struct inode * inode, long block,
23 void reiserfs_delete_inode (struct inode * inode) argument
32 /* The = 0 happens when we abort creating a new inode for some reason like lack of space.. */
33 if (INODE_PKEY(inode)->k_objectid != 0) { /* also handles bad_inode case */
34 down (&inode->i_sem);
36 journal_begin(&th, inode->i_sb, jbegin_count) ;
37 reiserfs_update_inode_transaction(inode) ;
40 reiserfs_delete_object (&th, inode);
73 make_cpu_key(struct cpu_key * key, const struct inode * inode, loff_t offset, int type, int length ) argument
104 add_to_flushlist(struct inode *inode, struct buffer_head *bh) argument
178 set_block_dev_mapped(struct buffer_head * bh, b_blocknr_t block, struct inode * inode) argument
191 file_capable(struct inode * inode, long block) argument
200 restart_transaction(struct reiserfs_transaction_handle *th, struct inode *inode, struct path *path) argument
220 _get_block_create_0(struct inode * inode, long block, struct buffer_head * bh_result, int args) argument
379 reiserfs_bmap(struct inode * inode, long block, struct buffer_head * bh_result, int create) argument
409 reiserfs_get_block_create_0(struct inode * inode, long block, struct buffer_head * bh_result, int create) argument
414 reiserfs_get_block_direct_io(struct inode * inode, long block, struct buffer_head * bh_result, int create) argument
442 convert_tail_for_hole(struct inode *inode, struct buffer_head *bh_result, loff_t tail_offset) argument
499 _allocate_block(struct reiserfs_transaction_handle *th, long block, struct inode *inode, b_blocknr_t *allocated_block_nr, struct path * path, int flags) argument
514 reiserfs_get_block(struct inode * inode, long block, struct buffer_head * bh_result, int create) argument
860 init_inode(struct inode * inode, struct path * path) argument
938 sd_attrs_to_i_attrs( sd_v2_attrs( sd ), inode ); local
961 inode2sd(void * sd, struct inode * inode) argument
986 inode2sd_v1(void * sd, struct inode * inode) argument
1012 update_stat_data(struct path * path, struct inode * inode) argument
1026 inode2sd_v1 (B_I_PITEM (bh, ih), inode); local
1028 inode2sd (B_I_PITEM (bh, ih), inode); local
1035 reiserfs_update_sd(struct reiserfs_transaction_handle *th, struct inode * inode) argument
1094 reiserfs_make_bad_inode(struct inode *inode) argument
1099 reiserfs_read_inode(struct inode *inode) argument
1106 reiserfs_read_inode2(struct inode * inode, void *p) argument
1188 reiserfs_find_actor( struct inode *inode, unsigned long inode_no, void *opaque ) argument
1200 struct inode * inode; local
1220 struct inode *inode = NULL ; local
1299 struct inode *inode = dentry->d_inode ; local
1332 reiserfs_write_inode(struct inode * inode, int do_sync) argument
1355 reiserfs_sync_inode(struct reiserfs_transaction_handle *th, struct inode * inode) argument
1455 reiserfs_new_inode(struct reiserfs_transaction_handle *th, struct inode * dir, int mode, const char * symname, int i_size, struct dentry *dentry, struct inode *inode, int * err) argument
1783 map_block_for_writepage(struct inode *inode, struct buffer_head *bh_result, unsigned long block) argument
1917 struct inode *inode = page->mapping->host ; local
2011 struct inode *inode = page->mapping->host ; local
2019 struct inode *inode = page->mapping->host ; local
2032 struct inode *inode = page->mapping->host ; local
2088 i_attrs_to_sd_attrs( struct inode *inode, __u16 *sd_attrs ) argument
2110 reiserfs_direct_io(int rw, struct inode *inode, struct kiobuf *iobuf, unsigned long blocknr, int blocksize) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/drm-4.0/
H A Di810_drv.h80 extern int i810_version(struct inode *inode, struct file *filp,
82 extern int i810_open(struct inode *inode, struct file *filp);
83 extern int i810_release(struct inode *inode, struct file *filp);
84 extern int i810_ioctl(struct inode *inode, struct file *filp,
86 extern int i810_unlock(struct inode *inode, struc
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/sysv/
H A Dinode.c2 * linux/fs/sysv/inode.c
4 * minix/inode.c
7 * xenix/inode.c
10 * coh/inode.c
13 * sysv/inode.c
16 * sysv/inode.c
121 void sysv_set_inode(struct inode *inode, dev_t rdev) argument
123 if (S_ISREG(inode->i_mode)) {
124 inode
141 sysv_read_inode(struct inode *inode) argument
187 sysv_update_inode(struct inode * inode) argument
224 sysv_write_inode(struct inode * inode, int wait) argument
233 sysv_sync_inode(struct inode * inode) argument
254 sysv_delete_inode(struct inode *inode) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ext3/
H A Dfsync.c38 * Another task could have dirtied this inode. Its data can be in any
42 * inode to disk.
45 * inode is not part of j_running_transaction or j_committing_transaction
52 struct inode *inode = dentry->d_inode; local
64 ret = fsync_inode_buffers(inode);
69 if (test_opt(inode->i_sb, DATA_FLAGS) == EXT3_MOUNT_WRITEBACK_DATA)
70 ret |= fsync_inode_data_buffers(inode);
72 ext3_force_commit(inode->i_sb);
H A Dnamei.c52 if (!de->inode)
61 struct inode *dir,
102 * itself (as a parameter - res_dir). It does NOT read the inode of the
121 struct inode *dir = dentry->d_parent->d_inode;
199 static struct dentry *ext3_lookup(struct inode * dir, struct dentry *dentry)
201 struct inode * inode; local
209 inode = NULL;
211 unsigned long ino = le32_to_cpu(de->inode);
213 inode
254 ext3_add_entry(handle_t *handle, struct dentry *dentry, struct inode *inode) argument
406 ext3_inc_count(handle_t *handle, struct inode *inode) argument
411 ext3_dec_count(handle_t *handle, struct inode *inode) argument
416 ext3_add_nondir(handle_t *handle, struct dentry *dentry, struct inode *inode) argument
440 struct inode * inode; local
467 struct inode *inode; local
491 struct inode * inode; local
566 empty_dir(struct inode * inode) argument
635 ext3_orphan_add(handle_t *handle, struct inode *inode) argument
692 ext3_orphan_del(handle_t *handle, struct inode *inode) argument
768 struct inode * inode; local
825 struct inode * inode; local
878 struct inode * inode; local
931 struct inode *inode = old_dentry->d_inode; local
[all...]
H A Dioctl.c18 int ext3_ioctl (struct inode * inode, struct file * filp, unsigned int cmd, argument
27 flags = inode->u.ext3_i.i_flags & EXT3_FL_USER_VISIBLE;
36 if (IS_RDONLY(inode))
39 if ((current->fsuid != inode->i_uid) && !capable(CAP_FOWNER))
45 oldflags = inode->u.ext3_i.i_flags;
71 handle = ext3_journal_start(inode, 1);
74 if (IS_SYNC(inode))
76 err = ext3_reserve_inode_write(handle, inode, &iloc);
82 inode
[all...]
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/
H A Dminix_fs.h35 #define INODE_VERSION(inode) inode->i_sb->u.minix_sb.s_version
38 * This is the original minix inode layout on disk.
52 * The new minix inode has all the time entries, as well as
55 * now 16-bit. The inode is now 64 bytes instead of 32.
86 __u16 inode; member in struct:minix_dir_entry
100 extern struct inode * minix_new_inode(const struct inode * dir, int * error);
101 extern void minix_free_inode(struct inode * inode);
[all...]
H A Dshmem_fs.h4 /* inode in-kernel data */
31 struct inode *inode; member in struct:shmem_inode_info
42 #define SHMEM_I(inode) (&inode->u.shmem_i)
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/
H A Dminix_fs.h35 #define INODE_VERSION(inode) inode->i_sb->u.minix_sb.s_version
38 * This is the original minix inode layout on disk.
52 * The new minix inode has all the time entries, as well as
55 * now 16-bit. The inode is now 64 bytes instead of 32.
86 __u16 inode; member in struct:minix_dir_entry
100 extern struct inode * minix_new_inode(const struct inode * dir, int * error);
101 extern void minix_free_inode(struct inode * inode);
[all...]
H A Dshmem_fs.h4 /* inode in-kernel data */
31 struct inode *inode; member in struct:shmem_inode_info
42 #define SHMEM_I(inode) (&inode->u.shmem_i)
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/hpfs/
H A Dfile.c17 int hpfs_open(struct inode *i, struct file *f)
27 int hpfs_file_release(struct inode *inode, struct file *file) argument
30 hpfs_write_if_changed(inode);
46 secno hpfs_bmap(struct inode *inode, unsigned file_secno) argument
51 if (BLOCKS(inode->u.hpfs_i.mmu_private) <= file_secno) return 0;
52 n = file_secno - inode->i_hpfs_file_sec;
53 if (n < inode->i_hpfs_n_secs) return inode
71 hpfs_get_block(struct inode *inode, long iblock, struct buffer_head *bh_result, int create) argument
130 struct inode *inode = file->f_dentry->d_inode; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/char/
H A Dbusmouse.h15 int (*open)(struct inode * inode, struct file * file);
16 int (*release)(struct inode * inode, struct file * file);
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/s390/char/
H A Dtapechar.h26 int tape_ioctl(struct inode *,struct file *,unsigned int,unsigned long);
27 int tape_open (struct inode *,struct file *);
28 int tape_release (struct inode *,struct file *);
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/minix/
H A Ditree_v1.c20 static inline block_t *i_data(struct inode *inode) argument
22 return (block_t *)inode->u.minix_i.u.i1_data;
25 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) argument
31 } else if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) {
49 int V1_minix_get_block(struct inode * inode, long block, argument
52 return get_block(inode, block, bh_result, create);
55 void V1_minix_truncate(struct inode * inod argument
[all...]
H A Ditree_v2.c20 static inline block_t *i_data(struct inode *inode) argument
22 return (block_t *)inode->u.minix_i.u.i2_data;
25 static int block_to_path(struct inode * inode, long block, int offsets[DEPTH]) argument
31 } else if (block >= (inode->i_sb->u.minix_sb.s_max_size/BLOCK_SIZE)) {
54 int V2_minix_get_block(struct inode * inode, long block, argument
57 return get_block(inode, block, bh_result, create);
60 void V2_minix_truncate(struct inode * inod argument
[all...]
H A Dinode.c2 * linux/fs/minix/inode.c
23 static void minix_read_inode(struct inode * inode);
24 static void minix_write_inode(struct inode * inode, int wait);
28 static void minix_delete_inode(struct inode *inode) argument
32 inode->i_size = 0;
33 minix_truncate(inode);
34 minix_free_inode(inode);
295 minix_get_block(struct inode *inode, long block, struct buffer_head *bh_result, int create) argument
329 minix_set_inode(struct inode *inode, dev_t rdev) argument
349 V1_minix_read_inode(struct inode * inode) argument
376 V2_minix_read_inode(struct inode * inode) argument
405 minix_read_inode(struct inode * inode) argument
416 V1_minix_update_inode(struct inode * inode) argument
442 V2_minix_update_inode(struct inode * inode) argument
467 minix_update_inode(struct inode *inode) argument
475 minix_write_inode(struct inode * inode, int wait) argument
485 minix_sync_inode(struct inode * inode) argument
512 minix_truncate(struct inode * inode) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/ncpfs/
H A Dfile.c33 int ncp_make_open(struct inode *inode, int right) argument
39 if (!inode) {
40 printk(KERN_ERR "ncp_make_open: got NULL inode\n");
45 atomic_read(&NCP_FINFO(inode)->opened),
46 NCP_FINFO(inode)->volNumber,
47 NCP_FINFO(inode)->dirEntNum);
49 down(&NCP_FINFO(inode)->open_sem);
50 if (!atomic_read(&NCP_FINFO(inode)->opened)) {
54 finfo.i.dirEntNum = NCP_FINFO(inode)
107 struct inode *inode = dentry->d_inode; local
195 struct inode *inode = dentry->d_inode; local
275 ncp_release(struct inode *inode, struct file *file) argument
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/devpts/
H A Dinode.c3 * linux/fs/devpts/inode.c
35 struct inode *inode; local
39 if ( (inode = sbi->inodes[i]) ) {
40 if ( atomic_read(&inode->i_count) != 1 )
42 i, atomic_read(&inode->i_count));
43 inode->i_nlink--;
44 iput(inode);
124 struct inode * inode; local
187 struct inode *inode; local
214 struct inode *inode = sbi->inodes[number]; local
[all...]
/asus-wl-520gu-7.0.1.45/src/linux/linux/fs/intermezzo/
H A Dinode.c55 void presto_set_ops(struct inode *inode, struct filter_fs *filter) argument
59 if (!inode || is_bad_inode(inode))
62 if (S_ISREG(inode->i_mode)) {
65 inode, &presto_file_iops,
68 inode->i_op = filter_c2ufiops(filter);
69 inode->i_fop = filter_c2uffops(filter);
71 inode->i_ino, inode
92 presto_read_inode(struct inode *inode) argument
[all...]

Completed in 276 milliseconds

1234567891011>>