Searched refs:vnode (Results 1 - 21 of 21) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/afs/
H A Dinode.c33 static int afs_inode_map_status(struct afs_vnode *vnode, struct key *key) argument
35 struct inode *inode = AFS_VNODE_TO_I(vnode);
38 vnode->status.type,
39 vnode->status.nlink,
40 (unsigned long long) vnode->status.size,
41 vnode->status.data_version,
42 vnode->status.mode);
44 switch (vnode->status.type) {
46 inode->i_mode = S_IFREG | vnode->status.mode;
51 inode->i_mode = S_IFDIR | vnode
106 struct afs_vnode *vnode = AFS_FS_I(inode); local
125 struct afs_vnode *vnode; local
211 afs_zap_data(struct afs_vnode *vnode) argument
233 afs_validate(struct afs_vnode *vnode, struct key *key) argument
316 struct afs_vnode *vnode; local
365 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
[all...]
H A Dcallback.c38 struct afs_vnode *vnode; local
46 vnode = rb_entry(server->cb_promises.rb_node,
49 vnode->fid.vid, vnode->fid.vnode, vnode->fid.unique);
50 rb_erase(&vnode->cb_promise, &server->cb_promises);
51 vnode->cb_promised = false;
63 struct afs_vnode *vnode = local
68 if (test_bit(AFS_VNODE_DELETED, &vnode
108 afs_break_callback(struct afs_server *server, struct afs_vnode *vnode) argument
141 struct afs_vnode *vnode; local
217 afs_do_give_up_callback(struct afs_server *server, struct afs_vnode *vnode) argument
257 afs_discard_callback_on_delete(struct afs_vnode *vnode) argument
284 afs_give_up_callback(struct afs_vnode *vnode) argument
[all...]
H A Dvnode.c1 /* AFS vnode management
22 * insert a vnode into the backing server's vnode tree
24 static void afs_install_vnode(struct afs_vnode *vnode, argument
27 struct afs_server *old_server = vnode->server;
31 _enter("%p,%p", vnode, server);
35 rb_erase(&vnode->server_rb, &old_server->fs_vnodes);
40 vnode->server = server;
43 /* insert into the server's vnode tree in FID order */
51 if (vnode
78 afs_vnode_note_promise(struct afs_vnode *vnode, struct afs_server *server) argument
139 afs_vnode_deleted_remotely(struct afs_vnode *vnode) argument
178 afs_vnode_finalise_status_update(struct afs_vnode *vnode, struct afs_server *server) argument
200 afs_vnode_status_update_failed(struct afs_vnode *vnode, int ret) argument
229 afs_vnode_fetch_status(struct afs_vnode *vnode, struct afs_vnode *auth_vnode, struct key *key) argument
360 afs_vnode_fetch_data(struct afs_vnode *vnode, struct key *key, off_t offset, size_t length, struct page *page) argument
415 afs_vnode_create(struct afs_vnode *vnode, struct key *key, const char *name, umode_t mode, struct afs_fid *newfid, struct afs_file_status *newstatus, struct afs_callback *newcb, struct afs_server **_server) argument
473 afs_vnode_remove(struct afs_vnode *vnode, struct key *key, const char *name, bool isdir) argument
528 afs_vnode_link(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct key *key, const char *name) argument
596 afs_vnode_symlink(struct afs_vnode *vnode, struct key *key, const char *name, const char *content, struct afs_fid *newfid, struct afs_file_status *newstatus, struct afs_server **_server) argument
738 struct afs_vnode *vnode = wb->vnode; local
789 afs_vnode_setattr(struct afs_vnode *vnode, struct key *key, struct iattr *attr) argument
841 afs_vnode_get_volume_status(struct afs_vnode *vnode, struct key *key, struct afs_volume_status *vs) argument
[all...]
H A Dsecurity.c78 * get the authorising vnode - this is the specified inode itself if it's a
83 static struct afs_vnode *afs_get_auth_inode(struct afs_vnode *vnode, argument
91 if (S_ISDIR(vnode->vfs_inode.i_mode)) {
92 auth_inode = igrab(&vnode->vfs_inode);
95 auth_inode = afs_iget(vnode->vfs_inode.i_sb, key,
96 &vnode->status.parent, NULL, NULL);
102 _leave(" = {%x}", auth_vnode->fid.vnode);
107 * clear the permit cache on a directory vnode
109 void afs_clear_permits(struct afs_vnode *vnode) argument
113 _enter("{%x:%u}", vnode
129 afs_cache_permit(struct afs_vnode *vnode, struct key *key, long acl_order) argument
216 afs_check_permit(struct afs_vnode *vnode, struct key *key, afs_access_t *_access) argument
289 struct afs_vnode *vnode = AFS_FS_I(inode); local
[all...]
H A Dfsclient.c26 fid->vnode = ntohl(*bp++);
36 struct afs_vnode *vnode,
62 EXTRACT(status->parent.vnode);
81 _debug("vnode time %lx, %lx",
84 if (vnode) {
85 status->parent.vid = vnode->fid.vid;
86 if (changed && !test_bit(AFS_VNODE_UNSET, &vnode->flags)) {
87 _debug("vnode changed");
88 i_size_write(&vnode->vfs_inode, size);
89 vnode
34 xdr_decode_AFSFetchStatus(const __be32 **_bp, struct afs_file_status *status, struct afs_vnode *vnode, afs_dataversion_t *store_version) argument
127 xdr_decode_AFSCallBack(const __be32 **_bp, struct afs_vnode *vnode) argument
233 struct afs_vnode *vnode = call->reply; local
269 afs_fs_fetch_file_status(struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct afs_volsync *volsync, const struct afs_wait_mode *wait_mode) argument
307 struct afs_vnode *vnode = call->reply; local
441 afs_fs_fetch_data64(struct afs_server *server, struct key *key, struct afs_vnode *vnode, off_t offset, size_t length, struct page *buffer, const struct afs_wait_mode *wait_mode) argument
484 afs_fs_fetch_data(struct afs_server *server, struct key *key, struct afs_vnode *vnode, off_t offset, size_t length, struct page *buffer, const struct afs_wait_mode *wait_mode) argument
615 struct afs_vnode *vnode = call->reply; local
652 afs_fs_create(struct afs_server *server, struct key *key, struct afs_vnode *vnode, const char *name, umode_t mode, struct afs_fid *newfid, struct afs_file_status *newstatus, struct afs_callback *newcb, const struct afs_wait_mode *wait_mode) argument
714 struct afs_vnode *vnode = call->reply; local
748 afs_fs_remove(struct afs_server *server, struct key *key, struct afs_vnode *vnode, const char *name, bool isdir, const struct afs_wait_mode *wait_mode) argument
797 struct afs_vnode *dvnode = call->reply, *vnode = call->reply2; local
832 afs_fs_link(struct afs_server *server, struct key *key, struct afs_vnode *dvnode, struct afs_vnode *vnode, const char *name, const struct afs_wait_mode *wait_mode) argument
885 struct afs_vnode *vnode = call->reply; local
921 afs_fs_symlink(struct afs_server *server, struct key *key, struct afs_vnode *vnode, const char *name, const char *contents, struct afs_fid *newfid, struct afs_file_status *newstatus, const struct afs_wait_mode *wait_mode) argument
1098 struct afs_vnode *vnode = call->reply; local
1154 struct afs_vnode *vnode = wb->vnode; local
1212 struct afs_vnode *vnode = wb->vnode; local
1285 struct afs_vnode *vnode = call->reply; local
1343 afs_fs_setattr_size64(struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct iattr *attr, const struct afs_wait_mode *wait_mode) argument
1391 afs_fs_setattr_size(struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct iattr *attr, const struct afs_wait_mode *wait_mode) argument
1439 afs_fs_setattr(struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct iattr *attr, const struct afs_wait_mode *wait_mode) argument
1715 afs_fs_get_volume_status(struct afs_server *server, struct key *key, struct afs_vnode *vnode, struct afs_volume_status *vs, const struct afs_wait_mode *wait_mode) argument
[all...]
H A Dfile.c62 struct afs_vnode *vnode = AFS_FS_I(inode); local
66 _enter("{%x:%u},", vnode->fid.vid, vnode->fid.vnode);
68 key = afs_request_key(vnode->volume->cell);
74 ret = afs_validate(vnode, key);
90 struct afs_vnode *vnode = AFS_FS_I(inode); local
92 _enter("{%x:%u},", vnode->fid.vid, vnode->fid.vnode);
139 struct afs_vnode *vnode; local
278 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); local
[all...]
H A Dcache.c199 .name = "vnode",
208 * match a vnode record stored in the cache
215 struct afs_vnode *vnode = target; local
218 vnode->fid.vnode,
219 vnode->fid.unique,
220 vnode->status.version,
225 if (vnode->fid.vnode != cvnode->vnode_id) {
230 if (vnode
248 struct afs_vnode *vnode = source; local
[all...]
H A Ddir.c78 __be32 vnode; member in struct:afs_dirent::__anon7319
297 ntohl(dire->u.vnode),
420 cookie->fid.vnode = ino;
465 _leave(" = 0 { vn=%u u=%u }", fid->vnode, fid->unique);
475 struct afs_vnode *vnode; local
481 vnode = AFS_FS_I(dir);
484 vnode->fid.vid, vnode->fid.vnode, dentry, dentry->d_name.name);
493 if (test_bit(AFS_VNODE_DELETED, &vnode
551 struct afs_vnode *vnode, *dir; local
715 struct afs_vnode *dvnode, *vnode; local
782 struct afs_vnode *dvnode, *vnode; local
828 struct afs_vnode *dvnode, *vnode; local
900 struct afs_vnode *dvnode, *vnode; local
968 struct afs_vnode *dvnode, *vnode; local
1016 struct afs_vnode *dvnode, *vnode; local
1088 struct afs_vnode *orig_dvnode, *new_dvnode, *vnode; local
[all...]
H A Dwrite.c33 * - must be called with the wb->vnode->writeback_lock held
38 struct afs_vnode *vnode = wb->vnode; local
41 if (!list_empty(&vnode->writebacks)) {
44 front = list_entry(vnode->writebacks.next,
69 struct afs_vnode *vnode = wb->vnode; local
73 spin_lock(&vnode->writeback_lock);
78 spin_unlock(&vnode->writeback_lock);
86 static int afs_fill_page(struct afs_vnode *vnode, struc argument
112 afs_prepare_page(struct afs_vnode *vnode, struct page *page, struct key *key, unsigned offset, unsigned to) argument
182 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); local
295 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); local
324 afs_kill_pages(struct afs_vnode *vnode, bool error, pgoff_t first, pgoff_t last) argument
637 struct afs_vnode *vnode = AFS_FS_I(inode); local
656 afs_pages_written_back(struct afs_vnode *vnode, struct afs_call *call) argument
716 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
753 afs_writeback_all(struct afs_vnode *vnode) argument
782 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
[all...]
H A Dsuper.c319 fid.vnode = 1;
453 struct afs_vnode *vnode = _vnode; local
455 memset(vnode, 0, sizeof(*vnode));
456 inode_init_once(&vnode->vfs_inode);
457 init_waitqueue_head(&vnode->update_waitq);
458 mutex_init(&vnode->permits_lock);
459 mutex_init(&vnode->validate_lock);
460 spin_lock_init(&vnode->writeback_lock);
461 spin_lock_init(&vnode
471 struct afs_vnode *vnode; local
496 struct afs_vnode *vnode = AFS_FS_I(inode); local
514 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
[all...]
H A Dmntpt.c49 * - sets the AFS_VNODE_MOUNTPOINT flag on the vnode appropriately
51 int afs_mntpt_check_symlink(struct afs_vnode *vnode, struct key *key) argument
62 vnode->fid.vid, vnode->fid.vnode, vnode->fid.unique);
65 page = read_mapping_page(AFS_VNODE_TO_I(vnode)->i_mapping, 0, &file);
78 size = vnode->status.size;
86 spin_lock(&vnode->lock);
87 set_bit(AFS_VNODE_MOUNTPOINT, &vnode
[all...]
H A DMakefile24 vnode.o \
H A Dvolume.c214 struct afs_server *afs_volume_pick_fileserver(struct afs_vnode *vnode) argument
216 struct afs_volume *volume = vnode->volume;
223 if (vnode->server && vnode->server->fs_state == 0) {
224 afs_get_server(vnode->server);
225 _leave(" = %p [current]", vnode->server);
226 return vnode->server;
301 int afs_volume_release_fileserver(struct afs_vnode *vnode, argument
305 struct afs_volume *volume = vnode->volume;
H A Dafs.h45 afs_vnodeid_t vnode; /* file index within volume */ member in struct:afs_fid
H A Dinternal.h138 * record of an outstanding writeback on a vnode
141 struct list_head link; /* link in vnode->writebacks */
143 struct afs_vnode *vnode; /* vnode to which this write applies */ member in struct:afs_writeback
235 * volume -> vnode hash table entry
287 struct rb_root cb_promises; /* vnode expiration list (ordered earliest first) */
318 * vnode catalogue entry
321 afs_vnodeid_t vnode_id; /* vnode ID */
322 unsigned vnode_unique; /* vnode ID uniquifier */
332 struct afs_volume *volume; /* volume on which vnode reside
656 AFS_VNODE_TO_I(struct afs_vnode *vnode) argument
[all...]
H A Dcmservice.c207 cb->fid.vnode = ntohl(*bp++);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-powerpc/
H A Dvio.h80 extern struct vio_dev *vio_find_node(struct device_node *vnode);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/quota/
H A Dxfs_qm_bhv.c191 struct bhv_vnode *vnode)
200 error = bhv_next_vfs_statvfs(BHV_NEXT(bhv), statp, vnode);
201 if (error || !vnode)
205 ip = xfs_vtoi(vnode);
188 xfs_qm_statvfs( struct bhv_desc *bhv, bhv_statvfs_t *statp, struct bhv_vnode *vnode) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/powerpc/kernel/
H A Dvio.c431 * @vnode: device_node of the virtual device we're looking for
433 struct vio_dev *vio_find_node(struct device_node *vnode) argument
439 unit_address = of_get_property(vnode, "reg", NULL);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/xfs/linux-2.6/
H A Dxfs_super.c359 void *vnode,
363 inode_init_once(vn_to_inode((bhv_vnode_t *)vnode));
358 xfs_fs_inode_init_once( void *vnode, kmem_zone_t *zonep, unsigned long flags) argument
H A Dxfs_vnode.h42 bhv_vflags_t v_flag; /* vnode flags (see above) */
44 bhv_vnumber_t v_number; /* in-core vnode number */
80 * Macros for dealing with the behavior descriptor inside of the vnode.
96 static inline struct inode *vn_to_inode(struct bhv_vnode *vnode) argument
98 return &vnode->v_inode;
116 * has disassociated its state and bhv_desc_t from the vnode.
575 * Tracking vnode activity.

Completed in 348 milliseconds