Home
last modified time | relevance | path

Searched refs:priv (Results 1 – 25 of 77) sorted by relevance

1234

/fs/proc/
Dtask_nommu.c200 struct proc_maps_private *priv = m->private; in m_start() local
206 priv->task = get_proc_task(priv->inode); in m_start()
207 if (!priv->task) in m_start()
210 mm = priv->mm; in m_start()
212 put_task_struct(priv->task); in m_start()
213 priv->task = NULL; in m_start()
219 put_task_struct(priv->task); in m_start()
220 priv->task = NULL; in m_start()
234 struct proc_maps_private *priv = m->private; in m_stop() local
235 struct mm_struct *mm = priv->mm; in m_stop()
[all …]
Dtask_mmu.c104 static void hold_task_mempolicy(struct proc_maps_private *priv) in hold_task_mempolicy() argument
106 struct task_struct *task = priv->task; in hold_task_mempolicy()
109 priv->task_mempolicy = get_task_policy(task); in hold_task_mempolicy()
110 mpol_get(priv->task_mempolicy); in hold_task_mempolicy()
113 static void release_task_mempolicy(struct proc_maps_private *priv) in release_task_mempolicy() argument
115 mpol_put(priv->task_mempolicy); in release_task_mempolicy()
118 static void hold_task_mempolicy(struct proc_maps_private *priv) in hold_task_mempolicy() argument
121 static void release_task_mempolicy(struct proc_maps_private *priv) in release_task_mempolicy() argument
178 struct proc_maps_private *priv = m->private; in m_start() local
187 priv->task = get_proc_task(priv->inode); in m_start()
[all …]
/fs/afs/
Dwrite.c84 unsigned long priv; in afs_write_begin() local
114 priv = page_private(page); in afs_write_begin()
115 f = afs_page_dirty_from(priv); in afs_write_begin()
116 t = afs_page_dirty_to(priv); in afs_write_begin()
123 page->index, priv); in afs_write_begin()
168 unsigned long priv; in afs_write_end() local
206 priv = page_private(page); in afs_write_end()
207 f = afs_page_dirty_from(priv); in afs_write_end()
208 t = afs_page_dirty_to(priv); in afs_write_end()
213 priv = afs_page_dirty(f, t); in afs_write_end()
[all …]
Dfile.c611 unsigned long priv; in afs_invalidate_dirty() local
614 priv = page_private(page); in afs_invalidate_dirty()
624 if (afs_is_page_dirty_mmapped(priv)) in afs_invalidate_dirty()
628 f = afs_page_dirty_from(priv); in afs_invalidate_dirty()
629 t = afs_page_dirty_to(priv); in afs_invalidate_dirty()
647 priv = afs_page_dirty(f, t); in afs_invalidate_dirty()
648 set_page_private(page, priv); in afs_invalidate_dirty()
649 trace_afs_page_dirty(vnode, tracepoint_string("trunc"), page->index, priv); in afs_invalidate_dirty()
653 trace_afs_page_dirty(vnode, tracepoint_string("undirty"), page->index, priv); in afs_invalidate_dirty()
656 priv = (unsigned long)detach_page_private(page); in afs_invalidate_dirty()
[all …]
Dproc.c284 const struct afs_vl_seq_net_private *priv = m->private; in afs_proc_cell_vlservers_show() local
285 const struct afs_vlserver_list *vllist = priv->vllist; in afs_proc_cell_vlservers_show()
323 struct afs_vl_seq_net_private *priv = m->private; in afs_proc_cell_vlservers_start() local
331 priv->vllist = vllist; in afs_proc_cell_vlservers_start()
347 struct afs_vl_seq_net_private *priv = m->private; in afs_proc_cell_vlservers_next() local
348 struct afs_vlserver_list *vllist = priv->vllist; in afs_proc_cell_vlservers_next()
Dinternal.h886 static inline size_t afs_page_dirty_from(unsigned long priv) in afs_page_dirty_from() argument
888 unsigned long x = priv & __AFS_PAGE_PRIV_MASK; in afs_page_dirty_from()
894 static inline size_t afs_page_dirty_to(unsigned long priv) in afs_page_dirty_to() argument
896 unsigned long x = (priv >> __AFS_PAGE_PRIV_SHIFT) & __AFS_PAGE_PRIV_MASK; in afs_page_dirty_to()
910 static inline unsigned long afs_page_dirty_mmapped(unsigned long priv) in afs_page_dirty_mmapped() argument
912 return priv | __AFS_PAGE_PRIV_MMAPPED; in afs_page_dirty_mmapped()
915 static inline bool afs_is_page_dirty_mmapped(unsigned long priv) in afs_is_page_dirty_mmapped() argument
917 return priv & __AFS_PAGE_PRIV_MMAPPED; in afs_is_page_dirty_mmapped()
/fs/
Danon_inodes.c80 void *priv, int flags, in __anon_inode_getfile() argument
116 file->private_data = priv; in __anon_inode_getfile()
145 void *priv, int flags) in anon_inode_getfile() argument
147 return __anon_inode_getfile(name, fops, priv, flags, NULL, false); in anon_inode_getfile()
153 void *priv, int flags, in __anon_inode_getfd() argument
165 file = __anon_inode_getfile(name, fops, priv, flags, context_inode, in __anon_inode_getfd()
198 void *priv, int flags) in anon_inode_getfd() argument
200 return __anon_inode_getfd(name, fops, priv, flags, NULL, false); in anon_inode_getfd()
221 void *priv, int flags, in anon_inode_getfd_secure() argument
224 return __anon_inode_getfd(name, fops, priv, flags, context_inode, true); in anon_inode_getfd_secure()
Deventpoll.c480 int (*nproc)(void *, void *, int), void *priv, in ep_call_nested() argument
516 error = (*nproc)(priv, cookie, call_nests); in ep_call_nested()
685 void *priv, int depth, bool ep_locked) in ep_scan_ready_list() argument
717 res = (*sproc)(ep, &txlist, priv); in ep_scan_ready_list()
879 void *priv);
908 void *priv) in ep_read_events_proc() argument
912 int depth = *(int *)priv; in ep_read_events_proc()
1399 static int reverse_path_check_proc(void *priv, void *cookie, int call_nests) in reverse_path_check_proc() argument
1402 struct file *file = priv; in reverse_path_check_proc()
1711 void *priv) in ep_send_events_proc() argument
[all …]
/fs/sysfs/
Dfile.c28 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops()
43 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show()
61 count = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_seq_show()
83 struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_read()
84 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read()
108 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read()
117 len = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_read()
134 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write()
139 return ops->store(kobj, of->kn->priv, buf, count); in sysfs_kf_write()
146 struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_write()
[all …]
/fs/ocfs2/
Dstack_o2cb.c325 struct o2dlm_private *priv; in o2cb_cluster_connect() local
339 priv = kzalloc(sizeof(struct o2dlm_private), GFP_KERNEL); in o2cb_cluster_connect()
340 if (!priv) { in o2cb_cluster_connect()
346 dlm_setup_eviction_cb(&priv->op_eviction_cb, o2dlm_eviction_cb, in o2cb_cluster_connect()
349 conn->cc_private = priv; in o2cb_cluster_connect()
368 dlm_register_eviction_cb(dlm, &priv->op_eviction_cb); in o2cb_cluster_connect()
381 struct o2dlm_private *priv = conn->cc_private; in o2cb_cluster_disconnect() local
383 dlm_unregister_eviction_cb(&priv->op_eviction_cb); in o2cb_cluster_disconnect()
385 kfree(priv); in o2cb_cluster_disconnect()
Ddlmglue.c515 void *priv) in ocfs2_lock_res_init_common() argument
519 res->l_priv = priv; in ocfs2_lock_res_init_common()
3046 struct ocfs2_dlm_seq_priv *priv) in ocfs2_dlm_next_res() argument
3049 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res()
3073 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_start() local
3077 iter = ocfs2_dlm_next_res(&priv->p_iter_res, priv); in ocfs2_dlm_seq_start()
3086 priv->p_tmp_res = *iter; in ocfs2_dlm_seq_start()
3087 iter = &priv->p_tmp_res; in ocfs2_dlm_seq_start()
3100 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_next() local
3102 struct ocfs2_lock_res *dummy = &priv->p_iter_res; in ocfs2_dlm_seq_next()
[all …]
/fs/xfs/libxfs/
Dxfs_btree_staging.h56 typedef int (*xfs_btree_bload_get_record_fn)(struct xfs_btree_cur *cur, void *priv);
58 union xfs_btree_ptr *ptr, void *priv);
60 unsigned int nr_this_level, void *priv);
121 void *priv);
Dxfs_alloc.h222 void *priv);
227 xfs_alloc_query_range_fn fn, void *priv);
229 void *priv);
235 void *priv);
237 struct xfs_buf *agflbp, xfs_agfl_walk_fn walk_fn, void *priv);
Dxfs_btree_staging.c372 void *priv) in xfs_btree_bload_prep_block() argument
387 new_size = bbl->iroot_size(cur, nr_this_block, priv); in xfs_btree_bload_prep_block()
406 ret = bbl->claim_block(cur, &new_ptr, priv); in xfs_btree_bload_prep_block()
442 void *priv) in xfs_btree_bload_leaf() argument
451 ret = get_record(cur, priv); in xfs_btree_bload_leaf()
744 void *priv) in xfs_btree_bload() argument
784 nr_this_block, &ptr, &bp, &block, priv); in xfs_btree_bload()
792 block, priv); in xfs_btree_bload()
826 &ptr, &bp, &block, priv); in xfs_btree_bload()
Dxfs_rmap.h137 void *priv);
141 xfs_rmap_query_range_fn fn, void *priv);
143 void *priv);
Dxfs_rmap.c258 void *priv) in xfs_rmap_find_left_neighbor_helper() argument
260 struct xfs_find_left_neighbor_info *info = priv; in xfs_rmap_find_left_neighbor_helper()
334 void *priv) in xfs_rmap_lookup_le_range_helper() argument
336 struct xfs_find_left_neighbor_info *info = priv; in xfs_rmap_lookup_le_range_helper()
2273 void *priv; member
2281 void *priv) in xfs_rmap_query_range_helper() argument
2283 struct xfs_rmap_query_range_info *query = priv; in xfs_rmap_query_range_helper()
2290 return query->fn(cur, &irec, query->priv); in xfs_rmap_query_range_helper()
2300 void *priv) in xfs_rmap_query_range() argument
2308 query.priv = priv; in xfs_rmap_query_range()
[all …]
/fs/lockd/
Dmon.c40 struct nsm_private *priv; member
97 .priv = &nsm->sm_priv, in nsm_mon_unmon()
234 const struct nsm_private *priv) in nsm_lookup_priv() argument
239 if (memcmp(nsm->sm_priv.data, priv->data, in nsm_lookup_priv()
240 sizeof(priv->data)) == 0) in nsm_lookup_priv()
387 cached = nsm_lookup_priv(&ln->nsm_handles, &info->priv); in nsm_reboot_lookup()
481 xdr_encode_opaque_fixed(p, argp->priv->data, SM_PRIV_SIZE); in encode_priv()
/fs/xfs/
Dxfs_fsmap.c350 void *priv) in xfs_getfsmap_datadev_helper() argument
353 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_datadev_helper()
368 void *priv) in xfs_getfsmap_datadev_bnobt_helper() argument
371 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_datadev_bnobt_helper()
454 void *priv) in xfs_getfsmap_rtdev_rtbitmap_helper() argument
457 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_rtdev_rtbitmap_helper()
572 void *priv) in __xfs_getfsmap_datadev() argument
646 error = query_fn(tp, info, &bt_cur, priv); in __xfs_getfsmap_datadev()
664 error = query_fn(tp, info, &bt_cur, priv); in __xfs_getfsmap_datadev()
686 void *priv) in xfs_getfsmap_datadev_rmapbt_query() argument
[all …]
Dxfs_rtalloc.h27 void *priv);
130 void *priv);
133 void *priv);
/fs/fuse/
Dvirtio_fs.c131 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq()
172 struct virtio_fs *vfs = fiq->priv; in virtio_fs_fiq_release()
875 vdev->priv = fs; in virtio_fs_probe()
908 vdev->priv = NULL; in virtio_fs_probe()
928 struct virtio_fs *fs = vdev->priv; in virtio_fs_remove()
938 vdev->priv = NULL; in virtio_fs_remove()
993 fs = fiq->priv; in virtio_fs_wake_forget_and_unlock()
1248 fs = fiq->priv; in virtio_fs_wake_pending_and_unlock()
1306 struct virtio_fs *fs = fc->iq.priv; in virtio_fs_fill_super()
1371 struct virtio_fs *vfs = fc->iq.priv; in virtio_fs_conn_destroy()
[all …]
/fs/xfs/scrub/
Dbitmap.c65 void *priv, in xbitmap_range_cmp() argument
277 void *priv) in xbitmap_collect_btblock() argument
279 struct xbitmap *bitmap = priv; in xbitmap_collect_btblock()
Dagheader_repair.c73 void *priv) in xrep_agf_walk_allocbt() argument
75 struct xrep_agf_allocbt *raa = priv; in xrep_agf_walk_allocbt()
92 void *priv) in xrep_agf_check_agfl_block() argument
94 struct xfs_scrub *sc = priv; in xrep_agf_check_agfl_block()
445 void *priv) in xrep_agfl_walk_rmap() argument
447 struct xrep_agfl *ra = priv; in xrep_agfl_walk_rmap()
Drtbitmap.c46 void *priv) in xchk_rtbitmap_rec() argument
48 struct xfs_scrub *sc = priv; in xchk_rtbitmap_rec()
/fs/ubifs/
Ddebug.h16 struct ubifs_zbranch *zbr, void *priv);
18 struct ubifs_znode *znode, void *priv);
267 dbg_znode_callback znode_cb, void *priv);
/fs/ext4/
Dmballoc.h221 void *priv);
230 void *priv);

1234