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

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/afs/
H A Dcallback.c37 struct afs_vnode *vnode; local
45 vnode = rb_entry(server->cb_promises.rb_node,
48 vnode->fid.vid, vnode->fid.vnode, vnode->fid.unique);
49 rb_erase(&vnode->cb_promise, &server->cb_promises);
50 vnode->cb_promised = false;
62 struct afs_vnode *vnode = local
67 if (test_bit(AFS_VNODE_DELETED, &vnode
107 afs_break_callback(struct afs_server *server, struct afs_vnode *vnode) argument
143 struct afs_vnode *vnode; local
219 afs_do_give_up_callback(struct afs_server *server, struct afs_vnode *vnode) argument
259 afs_discard_callback_on_delete(struct afs_vnode *vnode) argument
286 afs_give_up_callback(struct afs_vnode *vnode) argument
[all...]
H A Dinode.c34 static int afs_inode_map_status(struct afs_vnode *vnode, struct key *key) argument
36 struct inode *inode = AFS_VNODE_TO_I(vnode);
39 vnode->status.type,
40 vnode->status.nlink,
41 (unsigned long long) vnode->status.size,
42 vnode->status.data_version,
43 vnode->status.mode);
45 switch (vnode->status.type) {
47 inode->i_mode = S_IFREG | vnode->status.mode;
52 inode->i_mode = S_IFDIR | vnode
122 struct afs_vnode *vnode = AFS_FS_I(inode); local
140 struct afs_vnode *vnode; local
202 struct afs_vnode *vnode; local
289 afs_zap_data(struct afs_vnode *vnode) argument
311 afs_validate(struct afs_vnode *vnode, struct key *key) argument
408 struct afs_vnode *vnode; local
460 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
[all...]
H A Dvnode.c1 /* AFS vnode management
21 * insert a vnode into the backing server's vnode tree
23 static void afs_install_vnode(struct afs_vnode *vnode, argument
26 struct afs_server *old_server = vnode->server;
30 _enter("%p,%p", vnode, server);
34 rb_erase(&vnode->server_rb, &old_server->fs_vnodes);
39 vnode->server = server;
42 /* insert into the server's vnode tree in FID order */
50 if (vnode
77 afs_vnode_note_promise(struct afs_vnode *vnode, struct afs_server *server) argument
138 afs_vnode_deleted_remotely(struct afs_vnode *vnode) argument
177 afs_vnode_finalise_status_update(struct afs_vnode *vnode, struct afs_server *server) argument
199 afs_vnode_status_update_failed(struct afs_vnode *vnode, int ret) argument
228 afs_vnode_fetch_status(struct afs_vnode *vnode, struct afs_vnode *auth_vnode, struct key *key) argument
359 afs_vnode_fetch_data(struct afs_vnode *vnode, struct key *key, off_t offset, size_t length, struct page *page) argument
414 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
472 afs_vnode_remove(struct afs_vnode *vnode, struct key *key, const char *name, bool isdir) argument
527 afs_vnode_link(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct key *key, const char *name) argument
595 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
737 struct afs_vnode *vnode = wb->vnode; local
788 afs_vnode_setattr(struct afs_vnode *vnode, struct key *key, struct iattr *attr) argument
840 afs_vnode_get_volume_status(struct afs_vnode *vnode, struct key *key, struct afs_volume_status *vs) argument
879 afs_vnode_set_lock(struct afs_vnode *vnode, struct key *key, afs_lock_type_t type) argument
918 afs_vnode_extend_lock(struct afs_vnode *vnode, struct key *key) argument
956 afs_vnode_release_lock(struct afs_vnode *vnode, struct key *key) argument
[all...]
H A Dflock.c60 * if the callback is broken on this vnode, then the lock may now be available
62 void afs_lock_may_be_available(struct afs_vnode *vnode) argument
64 _enter("{%x:%u}", vnode->fid.vid, vnode->fid.vnode);
66 queue_delayed_work(afs_lock_manager, &vnode->lock_work, 0);
73 static void afs_schedule_lock_extension(struct afs_vnode *vnode) argument
75 queue_delayed_work(afs_lock_manager, &vnode->lock_work,
82 * - the caller must hold the vnode lock
84 static void afs_grant_locks(struct afs_vnode *vnode, struc argument
109 struct afs_vnode *vnode = local
239 afs_defer_unlock(struct afs_vnode *vnode, struct key *key) argument
256 struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host); local
443 struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host); local
478 struct afs_vnode *vnode = AFS_FS_I(file->f_mapping->host); local
518 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); local
541 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); local
[all...]
H A Dcache.c72 .name = "AFS.vnode",
253 const struct afs_vnode *vnode = cookie_netfs_data; local
257 vnode->fid.vnode, vnode->fid.unique, vnode->status.data_version,
260 klen = sizeof(vnode->fid.vnode);
264 memcpy(buffer, &vnode->fid.vnode, sizeo
276 const struct afs_vnode *vnode = cookie_netfs_data; local
291 const struct afs_vnode *vnode = cookie_netfs_data; local
318 struct afs_vnode *vnode = cookie_netfs_data; local
372 struct afs_vnode *vnode = cookie_netfs_data; local
[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
217 afs_check_permit(struct afs_vnode *vnode, struct key *key, afs_access_t *_access) argument
290 struct afs_vnode *vnode = AFS_FS_I(inode); 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
125 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); local
250 struct afs_vnode *vnode = AFS_FS_I(file->f_dentry->d_inode); local
279 afs_kill_pages(struct afs_vnode *vnode, bool error, pgoff_t first, pgoff_t last) argument
590 afs_pages_written_back(struct afs_vnode *vnode, struct afs_call *call) argument
650 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
679 afs_writeback_all(struct afs_vnode *vnode) argument
707 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
760 struct afs_vnode *vnode = AFS_FS_I(vma->vm_file->f_mapping->host); local
[all...]
H A Dfile.c68 struct afs_vnode *vnode = AFS_FS_I(inode); local
72 _enter("{%x:%u},", vnode->fid.vid, vnode->fid.vnode);
74 key = afs_request_key(vnode->volume->cell);
80 ret = afs_validate(vnode, key);
96 struct afs_vnode *vnode = AFS_FS_I(inode); local
98 _enter("{%x:%u},", vnode->fid.vid, vnode->fid.vnode);
129 struct afs_vnode *vnode = AFS_FS_I(inode); local
245 struct afs_vnode *vnode; local
325 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); local
352 struct afs_vnode *vnode = AFS_FS_I(page->mapping->host); local
[all...]
H A Dfsclient.c27 fid->vnode = ntohl(*bp++);
37 struct afs_vnode *vnode,
63 EXTRACT(status->parent.vnode);
82 _debug("vnode time %lx, %lx",
85 if (vnode) {
86 status->parent.vid = vnode->fid.vid;
87 if (changed && !test_bit(AFS_VNODE_UNSET, &vnode->flags)) {
88 _debug("vnode changed");
89 i_size_write(&vnode->vfs_inode, size);
90 vnode
35 xdr_decode_AFSFetchStatus(const __be32 **_bp, struct afs_file_status *status, struct afs_vnode *vnode, afs_dataversion_t *store_version) argument
128 xdr_decode_AFSCallBack(const __be32 **_bp, struct afs_vnode *vnode) argument
234 struct afs_vnode *vnode = call->reply; local
270 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
308 struct afs_vnode *vnode = call->reply; local
442 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
485 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
616 struct afs_vnode *vnode = call->reply; local
653 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
715 struct afs_vnode *vnode = call->reply; local
749 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
798 struct afs_vnode *dvnode = call->reply, *vnode = call->reply2; local
833 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
886 struct afs_vnode *vnode = call->reply; local
922 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
1099 struct afs_vnode *vnode = call->reply; local
1155 struct afs_vnode *vnode = wb->vnode; local
1213 struct afs_vnode *vnode = wb->vnode; local
1286 struct afs_vnode *vnode = call->reply; local
1344 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
1392 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
1440 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
1716 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
1811 afs_fs_set_lock(struct afs_server *server, struct key *key, struct afs_vnode *vnode, afs_lock_type_t type, const struct afs_wait_mode *wait_mode) argument
1845 afs_fs_extend_lock(struct afs_server *server, struct key *key, struct afs_vnode *vnode, const struct afs_wait_mode *wait_mode) argument
1877 afs_fs_release_lock(struct afs_server *server, struct key *key, struct afs_vnode *vnode, const struct afs_wait_mode *wait_mode) argument
[all...]
H A Ddir.c79 __be32 vnode; member in struct:afs_dirent::__anon16477
294 ntohl(dire->u.vnode),
417 cookie->fid.vnode = ino;
462 _leave(" = 0 { vn=%u u=%u }", fid->vnode, fid->unique);
475 struct afs_vnode *vnode = AFS_FS_I(dir); local
479 ret, dentry, devname, vnode->fid.vid, vnode->fid.vnode, key);
482 !test_bit(AFS_VNODE_AUTOCELL, &vnode->flags))
506 struct afs_vnode *vnode; local
590 struct afs_vnode *vnode, *dir; local
756 struct afs_vnode *dvnode, *vnode; local
823 struct afs_vnode *dvnode, *vnode; local
869 struct afs_vnode *dvnode, *vnode; local
941 struct afs_vnode *dvnode, *vnode; local
1009 struct afs_vnode *dvnode, *vnode; local
1057 struct afs_vnode *dvnode, *vnode; local
1129 struct afs_vnode *orig_dvnode, *new_dvnode, *vnode; local
[all...]
H A Dsuper.c327 fid.vnode = 1;
470 struct afs_vnode *vnode = _vnode; local
472 memset(vnode, 0, sizeof(*vnode));
473 inode_init_once(&vnode->vfs_inode);
474 init_waitqueue_head(&vnode->update_waitq);
475 mutex_init(&vnode->permits_lock);
476 mutex_init(&vnode->validate_lock);
477 spin_lock_init(&vnode->writeback_lock);
478 spin_lock_init(&vnode
491 struct afs_vnode *vnode; local
516 struct afs_vnode *vnode = AFS_FS_I(inode); local
534 struct afs_vnode *vnode = AFS_FS_I(dentry->d_inode); local
[all...]
H A Dmntpt.c53 * - sets the AFS_VNODE_MOUNTPOINT flag on the vnode appropriately
55 int afs_mntpt_check_symlink(struct afs_vnode *vnode, struct key *key) argument
63 vnode->fid.vid, vnode->fid.vnode, vnode->fid.unique);
66 page = read_cache_page(AFS_VNODE_TO_I(vnode)->i_mapping, 0,
80 size = vnode->status.size;
88 spin_lock(&vnode->lock);
89 set_bit(AFS_VNODE_MOUNTPOINT, &vnode
144 struct afs_vnode *vnode; local
[all...]
H A Dvolume.c219 struct afs_server *afs_volume_pick_fileserver(struct afs_vnode *vnode) argument
221 struct afs_volume *volume = vnode->volume;
228 if (vnode->server && vnode->server->fs_state == 0) {
229 afs_get_server(vnode->server);
230 _leave(" = %p [current]", vnode->server);
231 return vnode->server;
306 int afs_volume_release_fileserver(struct afs_vnode *vnode, argument
310 struct afs_volume *volume = vnode->volume;
H A DMakefile28 vnode.o \
H A Dafs.h52 afs_vnodeid_t vnode; /* file index within volume */ member in struct:afs_fid
H A Dinternal.h141 * record of an outstanding writeback on a vnode
144 struct list_head link; /* link in vnode->writebacks */
146 struct afs_vnode *vnode; /* vnode to which this write applies */ member in struct:afs_writeback
238 * volume -> vnode hash table entry
290 struct rb_root cb_promises; /* vnode expiration list (ordered earliest first) */
322 * vnode catalogue entry
325 afs_vnodeid_t vnode_id; /* vnode ID */
326 unsigned vnode_unique; /* vnode ID uniquifier */
336 struct afs_volume *volume; /* volume on which vnode reside
689 AFS_VNODE_TO_I(struct afs_vnode *vnode) argument
[all...]
H A Dcmservice.c218 cb->fid.vnode = ntohl(*bp++);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/src/linux/
H A Dvnode.c219 if (sb.st_nlink != kn->data.vnode.nlink && kn->kev.fflags & NOTE_LINK)
225 if (sb.st_size > kn->data.vnode.size && kn->kev.fflags & NOTE_WRITE)
227 kn->data.vnode.nlink = sb.st_nlink;
228 kn->data.vnode.size = sb.st_size;
269 kn->data.vnode.nlink = sb.st_nlink;
270 kn->data.vnode.size = sb.st_size;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/include/asm/
H A Dvio.h97 extern struct vio_dev *vio_find_node(struct device_node *vnode);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/
H A Dconfig.mk13 SOURCES=src/common/filter.c src/common/knote.c src/common/kevent.c src/common/kqueue.c src/posix/kevent.c src/linux/eventfd.c src/posix/signal.c src/linux/proc.c src/linux/socket.c src/linux/timer.c src/posix/user.c src/linux/vnode.c
14 OBJS=src/common/filter.o src/common/knote.o src/common/kevent.o src/common/kqueue.o src/posix/kevent.o src/linux/eventfd.o src/posix/signal.o src/linux/proc.o src/linux/socket.o src/linux/timer.o src/posix/user.o src/linux/vnode.o
H A Dconfig.inc60 evfilt_vnode="src/$target/vnode.c"
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/test/stress/
H A DMakefile4 SOURCES=main.c ../timer.c ../user.c ../kevent.c ../read.c ../vnode.c ../test.c
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libkqueue-1.0.6/src/common/
H A Dprivate.h103 nlink_t nlink; /* Used by vnode */
104 off_t size; /* Used by vnode */
105 } vnode; member in union:knote::__anon2464
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/lsync/source/
H A Dfsevents.c67 struct vnode *vp;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/arch/powerpc/kernel/
H A Dvio.c1425 * @vnode: device_node of the virtual device we're looking for
1427 struct vio_dev *vio_find_node(struct device_node *vnode) argument
1433 unit_address = of_get_property(vnode, "reg", NULL);

Completed in 114 milliseconds