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

12

/linux-master/fs/afs/
H A Dflock.c16 static void afs_next_locker(struct afs_vnode *vnode, int error);
25 static inline void afs_set_lock_state(struct afs_vnode *vnode, enum afs_lock_state state) argument
27 _debug("STATE %u -> %u", vnode->lock_state, state);
28 vnode->lock_state = state;
34 * if the callback is broken on this vnode, then the lock may now be available
36 void afs_lock_may_be_available(struct afs_vnode *vnode) argument
38 _enter("{%llx:%llu}", vnode->fid.vid, vnode->fid.vnode);
40 spin_lock(&vnode
51 afs_schedule_lock_extension(struct afs_vnode *vnode) argument
74 struct afs_vnode *vnode = op->file[0].vnode; local
90 afs_grant_locks(struct afs_vnode *vnode) argument
111 afs_next_locker(struct afs_vnode *vnode, int error) argument
157 afs_kill_lockers_enoent(struct afs_vnode *vnode) argument
191 afs_set_lock(struct afs_vnode *vnode, struct key *key, afs_lock_type_t type) argument
223 afs_extend_lock(struct afs_vnode *vnode, struct key *key) argument
254 afs_release_lock(struct afs_vnode *vnode, struct key *key) argument
283 struct afs_vnode *vnode = local
392 afs_defer_unlock(struct afs_vnode *vnode) argument
411 afs_do_setlk_check(struct afs_vnode *vnode, struct key *key, enum afs_flock_mode mode, afs_lock_type_t type) argument
454 struct afs_vnode *vnode = AFS_FS_I(inode); local
703 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); local
724 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); local
766 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); local
801 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); local
846 struct afs_vnode *vnode = AFS_FS_I(file_inode(fl->c.flc_file)); local
864 struct afs_vnode *vnode = AFS_FS_I(file_inode(fl->c.flc_file)); local
[all...]
H A Dinode.c32 static noinline void dump_vnode(struct afs_vnode *vnode, struct afs_vnode *parent_vnode) argument
36 pr_warn("kAFS: AFS vnode with undefined type %u\n", vnode->status.type);
38 vnode->status.abort_code,
39 vnode->status.mode,
40 vnode->status.size,
41 vnode->status.data_version);
42 pr_warn("kAFS: vnode %llx:%llx:%x\n",
43 vnode->fid.vid,
44 vnode
59 afs_set_netfs_context(struct afs_vnode *vnode) argument
67 afs_inode_init_from_status(struct afs_operation *op, struct afs_vnode_param *vp, struct afs_vnode *vnode) argument
165 struct afs_vnode *vnode = vp->vnode; local
271 struct afs_vnode *vnode = vp->vnode; local
286 struct afs_vnode *vnode = vp->vnode; local
332 struct afs_vnode *vnode = vp->vnode; local
355 afs_fetch_status(struct afs_vnode *vnode, struct key *key, bool is_new, afs_access_t *_caller_access) argument
386 struct afs_vnode *vnode = AFS_FS_I(inode); local
412 struct afs_vnode *vnode = AFS_FS_I(inode); local
428 afs_get_inode_cache(struct afs_vnode *vnode) argument
467 struct afs_vnode *vnode; local
512 struct afs_vnode *vnode = AFS_FS_I(inode); local
531 struct afs_vnode *vnode; local
585 struct afs_vnode *vnode = AFS_FS_I(inode); local
640 struct afs_vnode *vnode = AFS_FS_I(inode); local
696 struct afs_vnode *vnode = vp->vnode; local
727 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); local
[all...]
H A Dwrite.c21 static void afs_pages_written_back(struct afs_vnode *vnode, loff_t start, unsigned int len) argument
24 vnode->fid.vid, vnode->fid.vnode, len, start);
26 afs_prune_wb_keys(vnode);
32 * writes on the vnode. *_wbk will contain the last writeback key used or NULL
35 static int afs_get_writeback_key(struct afs_vnode *vnode, argument
42 spin_lock(&vnode->wb_lock);
46 p = vnode->wb_keys.next;
48 while (p != &vnode
73 struct afs_vnode *vnode = op->file[0].vnode; local
94 afs_store_data(struct afs_vnode *vnode, struct iov_iter *iter, loff_t pos, bool laundering) argument
164 struct afs_vnode *vnode = AFS_FS_I(subreq->rreq->inode); local
206 struct afs_vnode *vnode = AFS_FS_I(mapping->host); local
230 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); local
261 afs_prune_wb_keys(struct afs_vnode *vnode) argument
[all...]
H A Dfs_operation.c53 * Lock the vnode(s) being operated upon.
57 struct afs_vnode *vnode = op->file[0].vnode; local
58 struct afs_vnode *vnode2 = op->file[1].vnode;
63 mutex_lock(&vnode->io_lock);
69 if (!vnode2 || !op->file[1].need_io_lock || vnode == vnode2)
72 if (vnode2 > vnode)
73 swap(vnode, vnode2);
75 if (mutex_lock_interruptible(&vnode->io_lock) < 0) {
87 mutex_unlock(&vnode
101 struct afs_vnode *vnode = op->file[0].vnode; local
115 struct afs_vnode *vnode = vp->vnode; local
140 struct afs_vnode *vnode = op->file[0].vnode; local
[all...]
H A Dcallback.c31 struct afs_vnode *vnode = container_of(work, struct afs_vnode, cb_work); local
33 unmap_mapping_pages(vnode->netfs.inode.i_mapping, 0, 0, false);
38 struct afs_vnode *vnode; local
42 list_for_each_entry(vnode, &volume->open_mmaps, cb_mmap_link) {
43 if (vnode->cb_v_check != atomic_read(&volume->cb_v_break)) {
44 atomic64_set(&vnode->cb_expires_at, AFS_NO_CB_PROMISE);
45 queue_work(system_unbound_wq, &vnode->cb_work);
77 void __afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) argument
81 clear_bit(AFS_VNODE_NEW_CONTENT, &vnode->flags);
82 if (atomic64_xchg(&vnode
101 afs_break_callback(struct afs_vnode *vnode, enum afs_cb_break_reason reason) argument
193 struct afs_vnode *vnode; local
[all...]
H A Dvalidation.c2 /* vnode and volume validity verification.
19 * (2) On a RW volume, in response to certain vnode (inode)-accessing RPC
20 * calls, the server maintains a time-limited per-vnode promise that it
24 * Note that a vnode-level callbacks may also be sent for other reasons,
27 * (3) On a RO (or Backup) volume, in response to certain vnode-accessing RPC
50 * a volume have been altered since we last checked a vnode.
63 * vnode have been altered.
78 * (3) When a vnode-level CB.CallBack occurs, we increment ->cb_break on the
79 * vnode and reset its ->cb_expires_at. If the vnode i
120 afs_check_validity(const struct afs_vnode *vnode) argument
358 afs_zap_data(struct afs_vnode *vnode) argument
382 afs_validate(struct afs_vnode *vnode, struct key *key) argument
[all...]
H A Dfile.c93 int afs_cache_wb_key(struct afs_vnode *vnode, struct afs_file *af) argument
103 spin_lock(&vnode->wb_lock);
104 list_for_each_entry(p, &vnode->wb_keys, vnode_link) {
110 list_add_tail(&wbk->vnode_link, &vnode->wb_keys);
111 spin_unlock(&vnode->wb_lock);
117 spin_unlock(&vnode->wb_lock);
128 struct afs_vnode *vnode = AFS_FS_I(inode); local
133 _enter("{%llx:%llu},", vnode->fid.vid, vnode->fid.vnode);
182 struct afs_vnode *vnode = AFS_FS_I(inode); local
256 struct afs_vnode *vnode = op->file[0].vnode; local
283 afs_fetch_data(struct afs_vnode *vnode, struct afs_read *req) argument
310 struct afs_vnode *vnode = AFS_FS_I(subreq->rreq->inode); local
330 struct afs_vnode *vnode = AFS_FS_I(folio->mapping->host); local
364 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); local
376 struct afs_vnode *vnode = AFS_FS_I(inode); local
391 struct afs_vnode *vnode = AFS_FS_I(wreq->inode); local
406 afs_add_open_mmap(struct afs_vnode *vnode) argument
418 afs_drop_open_mmap(struct afs_vnode *vnode) argument
441 struct afs_vnode *vnode = AFS_FS_I(file_inode(file)); local
466 struct afs_vnode *vnode = AFS_FS_I(file_inode(vmf->vma->vm_file)); local
476 struct afs_vnode *vnode = AFS_FS_I(inode); local
498 struct afs_vnode *vnode = AFS_FS_I(inode); local
[all...]
H A Dsecurity.c107 void afs_clear_permits(struct afs_vnode *vnode) argument
111 spin_lock(&vnode->lock);
112 permits = rcu_dereference_protected(vnode->permit_cache,
113 lockdep_is_held(&vnode->lock));
114 RCU_INIT_POINTER(vnode->permit_cache, NULL);
115 spin_unlock(&vnode->lock);
139 * that returned a vnode status for a particular key. If a callback break
143 void afs_cache_permit(struct afs_vnode *vnode, struct key *key, argument
153 vnode->fid.vid, vnode
303 afs_check_permit_rcu(struct afs_vnode *vnode, struct key *key, afs_access_t *_access) argument
342 afs_check_permit(struct afs_vnode *vnode, struct key *key, afs_access_t *_access) argument
401 struct afs_vnode *vnode = AFS_FS_I(inode); local
[all...]
H A Ddir_edit.c110 static struct folio *afs_dir_get_folio(struct afs_vnode *vnode, pgoff_t index) argument
112 struct address_space *mapping = vnode->netfs.inode.i_mapping;
119 clear_bit(AFS_VNODE_DIR_VALID, &vnode->flags);
206 void afs_edit_dir_add(struct afs_vnode *vnode, argument
220 i_size = i_size_read(&vnode->netfs.inode);
223 clear_bit(AFS_VNODE_DIR_VALID, &vnode->flags);
227 folio0 = afs_dir_get_folio(vnode, 0);
252 folio = afs_dir_get_folio(vnode, index);
262 if (!test_bit(AFS_VNODE_DIR_VALID, &vnode->flags))
275 afs_set_i_size(vnode, (
374 afs_edit_dir_remove(struct afs_vnode *vnode, struct qstr *name, enum afs_edit_dir_reason why) argument
[all...]
H A Ddir_silly.c26 struct afs_vnode *dvnode = dvp->vnode;
27 struct afs_vnode *vnode = AFS_FS_I(d_inode(op->dentry)); local
45 &vnode->fid, afs_edit_dir_for_silly_1);
60 static int afs_do_silly_rename(struct afs_vnode *dvnode, struct afs_vnode *vnode, argument
85 trace_afs_silly_rename(vnode, false);
100 int afs_sillyrename(struct afs_vnode *dvnode, struct afs_vnode *vnode, argument
134 ihold(&vnode->netfs.inode);
136 ret = afs_do_silly_rename(dvnode, vnode, dentry, sdentry, key);
140 set_bit(AFS_VNODE_SILLY_DELETED, &vnode->flags);
151 iput(&vnode
192 afs_do_silly_unlink(struct afs_vnode *dvnode, struct afs_vnode *vnode, struct dentry *dentry, struct key *key) argument
238 struct afs_vnode *vnode = AFS_FS_I(inode); local
[all...]
H A Dxattr.c42 struct afs_vnode *vnode = AFS_FS_I(inode); local
46 op = afs_alloc_operation(NULL, vnode->volume);
50 afs_op_set_vnode(op, 0, vnode);
106 struct afs_vnode *vnode = AFS_FS_I(inode); local
111 op = afs_alloc_operation(NULL, vnode->volume);
115 afs_op_set_vnode(op, 0, vnode);
144 struct afs_vnode *vnode = AFS_FS_I(inode); local
169 op = afs_alloc_operation(NULL, vnode->volume);
173 afs_op_set_vnode(op, 0, vnode);
237 struct afs_vnode *vnode local
273 struct afs_vnode *vnode = AFS_FS_I(inode); local
300 struct afs_vnode *vnode = AFS_FS_I(inode); local
338 struct afs_vnode *vnode = AFS_FS_I(inode); local
[all...]
H A Dsuper.c662 struct afs_vnode *vnode = _vnode; local
664 memset(vnode, 0, sizeof(*vnode));
665 inode_init_once(&vnode->netfs.inode);
666 mutex_init(&vnode->io_lock);
667 init_rwsem(&vnode->validate_lock);
668 spin_lock_init(&vnode->wb_lock);
669 spin_lock_init(&vnode->lock);
670 INIT_LIST_HEAD(&vnode->wb_keys);
671 INIT_LIST_HEAD(&vnode
683 struct afs_vnode *vnode; local
720 struct afs_vnode *vnode = AFS_FS_I(inode); local
757 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); local
[all...]
H A Ddynroot.c31 struct afs_vnode *vnode = AFS_FS_I(inode); local
34 vnode->volume = as->volume;
35 vnode->fid = *fid;
36 inode->i_ino = fid->vnode;
48 struct afs_vnode *vnode; local
57 fid.vnode = 1;
60 fid.vnode = atomic_inc_return(&afs_autocell_ino);
64 inode = iget5_locked(sb, fid.vnode,
72 inode, inode->i_ino, fid.vid, fid.vnode, fid.unique);
74 vnode
160 struct afs_vnode *vnode = AFS_FS_I(dir); local
[all...]
H A Ddir.c113 struct address_space *mapping = req->vnode->netfs.inode.i_mapping;
195 dvnode->fid.vid, dvnode->fid.vnode,
287 req->vnode = dvnode;
479 ntohl(dire->u.vnode),
596 cookie->fid.vnode = ino;
635 _leave(" = 0 { vn=%llu u=%u }", fid->vnode, fid->unique);
660 cookie->fids[cookie->nr_fids].vnode = ino;
666 cookie->fids[1].vnode = ino;
683 struct afs_vnode *vnode; local
717 if (vp->vnode) {
796 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode; local
1097 struct afs_vnode *vnode, *dir; local
1269 struct afs_vnode *vnode = op->file[0].vnode; local
1285 struct afs_vnode *vnode; local
1386 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); local
1441 struct afs_vnode *dvnode = AFS_FS_I(dir), *vnode = NULL; local
1493 struct afs_vnode *vnode = op->file[1].vnode; local
1575 struct afs_vnode *vnode = AFS_FS_I(d_inode(dentry)); local
1729 struct afs_vnode *vnode = AFS_FS_I(d_inode(from)); local
1843 struct afs_vnode *vnode = AFS_FS_I(d_inode(op->dentry)); local
1926 struct afs_vnode *orig_dvnode, *new_dvnode, *vnode; local
[all...]
H A Dinternal.h156 struct afs_fid fid; /* Primary vnode ID (or all zeroes) */
216 struct list_head vnode_link; /* Link in vnode->wb_keys */
235 * Record of an outstanding read operation on a vnode.
243 struct afs_vnode *vnode; /* The file being read into. */ member in struct:afs_read
681 AFS_VNODE_LOCK_NONE, /* The vnode has no lock on the server */
688 AFS_VNODE_LOCK_DELETED, /* The vnode has been deleted whilst we have a lock */
699 struct afs_volume *volume; /* volume on which vnode resides */
705 struct rw_semaphore validate_lock; /* lock for validating this vnode */
711 #define AFS_VNODE_UNSET 1 /* set if vnode attributes not yet set */
713 #define AFS_VNODE_ZAP_DATA 3 /* set if vnode'
746 afs_vnode_cache(struct afs_vnode *vnode) argument
755 afs_vnode_set_cache(struct afs_vnode *vnode, struct fscache_cookie *cookie) argument
850 struct afs_vnode *vnode; member in struct:afs_vnode_param
971 afs_set_cache_aux(struct afs_vnode *vnode, struct afs_vnode_cache_aux *aux) argument
977 afs_invalidate_cache(struct afs_vnode *vnode, unsigned int flags) argument
1023 afs_calc_vnode_cb_break(struct afs_vnode *vnode) argument
1028 afs_cb_is_broken(unsigned int cb_break, const struct afs_vnode *vnode) argument
1172 afs_op_set_vnode(struct afs_operation *op, unsigned int n, struct afs_vnode *vnode) argument
1244 afs_v2net(struct afs_vnode *vnode) argument
1656 AFS_VNODE_TO_I(struct afs_vnode *vnode) argument
1679 afs_set_i_size(struct afs_vnode *vnode, u64 size) argument
1703 afs_bad(struct afs_vnode *vnode, enum afs_file_error where) argument
[all...]
H A Drotate.c31 * Begin iteration through a server list, starting with the vnode's last used
35 struct afs_vnode *vnode)
77 cb_server = vnode->cb_server;
79 /* See if the vnode's preferred record is still available */
89 * serving this vnode, then we can't switch to another server
99 write_seqlock(&vnode->cb_lock);
100 ASSERTCMP(cb_server, ==, vnode->cb_server);
101 vnode->cb_server = NULL;
102 if (atomic64_xchg(&vnode->cb_expires_at, AFS_NO_CB_PROMISE) != AFS_NO_CB_PROMISE)
103 vnode
34 afs_start_fs_iteration(struct afs_operation *op, struct afs_vnode *vnode) argument
156 struct afs_vnode *vnode = op->file[0].vnode; local
[all...]
H A Dxdr_fs.h55 __be32 vnode; member in struct:afs_xdr_dirent::__anon41
H A Dfsclient.c26 fid->vnode = ntohl(*bp++);
279 key_serial(op->key), vp->fid.vid, vp->fid.vnode);
290 bp[2] = htonl(vp->fid.vnode);
439 bp[2] = htonl(vp->fid.vnode);
476 bp[2] = htonl(vp->fid.vnode);
549 *bp++ = htonl(dvp->fid.vnode);
603 *bp++ = htonl(dvp->fid.vnode);
683 *bp++ = htonl(dvp->fid.vnode);
731 *bp++ = htonl(dvp->fid.vnode);
809 *bp++ = htonl(dvp->fid.vnode);
[all...]
H A Dprotocol_yfs.h82 struct yfs_xdr_vnode vnode; member in struct:yfs_xdr_YFSFid
/linux-master/fs/proc/
H A Dbootconfig.c28 struct xbc_node *leaf, *vnode; local
46 vnode = xbc_node_get_child(leaf);
47 if (vnode) {
48 xbc_array_for_each_value(vnode, val) {
54 q, val, q, xbc_node_is_array(vnode) ? ", " : "\n");
/linux-master/include/trace/events/
H A Dafs.h663 __entry->fid.vnode = 0;
671 __entry->fid.vnode,
697 __entry->fid.vnode = 0;
705 __entry->fid.vnode,
732 __entry->fid.vnode = 0;
742 __entry->fid.vnode,
771 __entry->fid.vnode = 0;
783 __entry->fid.vnode,
885 TP_PROTO(struct afs_vnode *vnode, loff_t off, loff_t i_size),
887 TP_ARGS(vnode, of
[all...]
/linux-master/include/linux/
H A Dbootconfig.h129 struct xbc_node **vnode);
140 * @vnode: A container pointer of XBC value node.
143 * the value if found. Found value node is stored in *@vnode.
144 * Note that this can return 0-length string and store NULL in *@vnode for
148 xbc_find_value(const char *key, struct xbc_node **vnode) argument
150 return xbc_node_find_value(NULL, key, vnode);
/linux-master/drivers/net/vxlan/
H A Dvxlan_vnifilter.c23 const struct vxlan_vni_node *vnode = ptr; local
26 return vnode->vni != vni;
30 .head_offset = offsetof(struct vxlan_vni_node, vnode),
182 struct vxlan_vni_node *vnode; local
188 vnode = vninode;
190 vnode = vxlan_vnifilter_lookup(vxlan, vni);
191 if (!vnode)
195 vxlan_vnifilter_stats_add(vnode, type, len);
746 &vninode->vnode,
795 &vninode->vnode,
[all...]
/linux-master/lib/
H A Dbootconfig.c244 * @vnode: A container pointer of found XBC node.
247 * store it in *@vnode, and returns the value string.
251 * Note that this returns 0-length string and stores NULL in *@vnode if the
257 struct xbc_node **vnode)
268 if (vnode)
269 *vnode = node;
256 xbc_node_find_value(struct xbc_node *parent, const char *key, struct xbc_node **vnode) argument
/linux-master/drivers/media/platform/rockchip/rkisp1/
H A Drkisp1-common.h266 * @vnode: video node
291 struct rkisp1_vdev_node vnode; member in struct:rkisp1_capture
328 * @vnode: video node
335 struct rkisp1_vdev_node vnode; member in struct:rkisp1_stats
370 * @vnode: video node
380 struct rkisp1_vdev_node vnode; member in struct:rkisp1_params

Completed in 267 milliseconds

12