Home
last modified time | relevance | path

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

123

/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()
231 struct proc_maps_private *priv = m->private; in m_stop() local
234 up_read(&priv->mm->mmap_sem); in m_stop()
235 mmput(priv->mm); in m_stop()
237 if (priv->task) { in m_stop()
238 put_task_struct(priv->task); in m_stop()
239 priv->task = NULL; 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
176 static void vma_stop(struct proc_maps_private *priv) in vma_stop() argument
178 struct mm_struct *mm = priv->mm; in vma_stop()
[all …]
/fs/afs/
Dwrite.c84 unsigned long priv; in afs_write_begin() local
122 priv = page_private(page); in afs_write_begin()
123 f = priv & AFS_PRIV_MAX; in afs_write_begin()
124 t = priv >> AFS_PRIV_SHIFT; in afs_write_begin()
131 page->index, priv); in afs_write_begin()
150 priv = (unsigned long)t << AFS_PRIV_SHIFT; in afs_write_begin()
151 priv |= f; in afs_write_begin()
153 page->index, priv); in afs_write_begin()
155 set_page_private(page, priv); in afs_write_begin()
318 unsigned long priv; in afs_pages_written_back() local
[all …]
Dproc.c286 const struct afs_vl_seq_net_private *priv = m->private; in afs_proc_cell_vlservers_show() local
287 const struct afs_vlserver_list *vllist = priv->vllist; in afs_proc_cell_vlservers_show()
320 struct afs_vl_seq_net_private *priv = m->private; in afs_proc_cell_vlservers_start() local
328 priv->vllist = vllist; in afs_proc_cell_vlservers_start()
344 struct afs_vl_seq_net_private *priv = m->private; in afs_proc_cell_vlservers_next() local
345 struct afs_vlserver_list *vllist = priv->vllist; in afs_proc_cell_vlservers_next()
Dfile.c610 unsigned long priv; in afs_invalidatepage() local
627 priv = page_private(page); in afs_invalidatepage()
629 page->index, priv); in afs_invalidatepage()
645 unsigned long priv; in afs_releasepage() local
661 priv = page_private(page); in afs_releasepage()
663 page->index, priv); in afs_releasepage()
/fs/sysfs/
Dfile.c27 struct kobject *kobj = kn->parent->priv; in sysfs_file_ops()
42 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_seq_show()
60 count = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_seq_show()
82 struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_read()
83 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_bin_read()
107 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_read()
116 len = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_read()
133 struct kobject *kobj = of->kn->parent->priv; in sysfs_kf_write()
138 return ops->store(kobj, of->kn->priv, buf, count); in sysfs_kf_write()
145 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()
3025 struct ocfs2_dlm_seq_priv *priv) in ocfs2_dlm_next_res() argument
3028 struct ocfs2_dlm_debug *dlm_debug = priv->p_dlm_debug; in ocfs2_dlm_next_res()
3052 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_start() local
3056 iter = ocfs2_dlm_next_res(&priv->p_iter_res, priv); in ocfs2_dlm_seq_start()
3065 priv->p_tmp_res = *iter; in ocfs2_dlm_seq_start()
3066 iter = &priv->p_tmp_res; in ocfs2_dlm_seq_start()
3079 struct ocfs2_dlm_seq_priv *priv = m->private; in ocfs2_dlm_seq_next() local
3081 struct ocfs2_lock_res *dummy = &priv->p_iter_res; in ocfs2_dlm_seq_next()
[all …]
/fs/
Danon_inodes.c76 void *priv, int flags) in anon_inode_getfile() argument
98 file->private_data = priv; in anon_inode_getfile()
126 void *priv, int flags) in anon_inode_getfd() argument
136 file = anon_inode_getfile(name, fops, priv, flags); in anon_inode_getfd()
Deventpoll.c481 int (*nproc)(void *, void *, int), void *priv, in ep_call_nested() argument
517 error = (*nproc)(priv, cookie, call_nests); in ep_call_nested()
557 static int ep_poll_wakeup_proc(void *priv, void *cookie, int call_nests) in ep_poll_wakeup_proc() argument
672 void *priv, int depth, bool ep_locked) in ep_scan_ready_list() argument
705 res = (*sproc)(ep, &txlist, priv); in ep_scan_ready_list()
876 void *priv);
905 void *priv) in ep_read_events_proc() argument
909 int depth = *(int *)priv; in ep_read_events_proc()
1396 static int reverse_path_check_proc(void *priv, void *cookie, int call_nests) in reverse_path_check_proc() argument
1399 struct file *file = priv; in reverse_path_check_proc()
[all …]
/fs/xfs/libxfs/
Dxfs_alloc.h236 void *priv);
241 xfs_alloc_query_range_fn fn, void *priv);
243 void *priv);
249 void *priv);
251 struct xfs_buf *agflbp, xfs_agfl_walk_fn walk_fn, void *priv);
Dxfs_refcount.c836 overhead = cur->bc_private.a.priv.refc.shape_changes * in xfs_refcount_still_have_space()
844 if (cur->bc_private.a.priv.refc.nr_ops > 2 && in xfs_refcount_still_have_space()
849 if (cur->bc_private.a.priv.refc.nr_ops == 0) in xfs_refcount_still_have_space()
854 cur->bc_private.a.priv.refc.nr_ops * XFS_REFCOUNT_ITEM_OVERHEAD; in xfs_refcount_still_have_space()
918 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()
953 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()
960 cur->bc_private.a.priv.refc.nr_ops++; in xfs_refcount_adjust_extents()
1036 cur->bc_private.a.priv.refc.shape_changes++; in xfs_refcount_adjust()
1114 nr_ops = rcur->bc_private.a.priv.refc.nr_ops; in xfs_refcount_finish_one()
1115 shape_changes = rcur->bc_private.a.priv.refc.shape_changes; in xfs_refcount_finish_one()
[all …]
Dxfs_rmap.h137 void *priv);
141 xfs_rmap_query_range_fn fn, void *priv);
143 void *priv);
Dxfs_btree.h212 union xfs_btree_cur_private priv; member
475 union xfs_btree_rec *rec, void *priv);
479 xfs_btree_query_range_fn fn, void *priv);
481 void *priv);
Dxfs_rmap.c246 void *priv) in xfs_rmap_find_left_neighbor_helper() argument
248 struct xfs_find_left_neighbor_info *info = priv; in xfs_rmap_find_left_neighbor_helper()
322 void *priv) in xfs_rmap_lookup_le_range_helper() argument
324 struct xfs_find_left_neighbor_info *info = priv; in xfs_rmap_lookup_le_range_helper()
2072 void *priv; member
2080 void *priv) in xfs_rmap_query_range_helper() argument
2082 struct xfs_rmap_query_range_info *query = priv; in xfs_rmap_query_range_helper()
2089 return query->fn(cur, &irec, query->priv); in xfs_rmap_query_range_helper()
2099 void *priv) in xfs_rmap_query_range() argument
2107 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()
384 cached = nsm_lookup_priv(&ln->nsm_handles, &info->priv); in nsm_reboot_lookup()
478 xdr_encode_opaque_fixed(p, argp->priv->data, SM_PRIV_SIZE); in encode_priv()
/fs/xfs/
Dxfs_fsmap.c339 void *priv) in xfs_getfsmap_datadev_helper() argument
342 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_datadev_helper()
357 void *priv) in xfs_getfsmap_datadev_bnobt_helper() argument
360 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_datadev_bnobt_helper()
443 void *priv) in xfs_getfsmap_rtdev_rtbitmap_helper() argument
446 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_rtdev_rtbitmap_helper()
561 void *priv) in __xfs_getfsmap_datadev() argument
635 error = query_fn(tp, info, &bt_cur, priv); in __xfs_getfsmap_datadev()
653 error = query_fn(tp, info, &bt_cur, priv); in __xfs_getfsmap_datadev()
675 void *priv) in xfs_getfsmap_datadev_rmapbt_query() argument
[all …]
Dxfs_rtalloc.h27 void *priv);
130 void *priv);
133 void *priv);
Dxfs_dquot.h185 void *priv);
187 xfs_qm_dqiterate_fn iter_fn, void *priv);
/fs/fuse/
Dvirtio_fs.c63 struct virtio_fs *fs = vq->vdev->priv; in vq_to_fsvq()
102 struct virtio_fs *vfs = fiq->priv; in virtio_fs_fiq_release()
608 vdev->priv = fs; in virtio_fs_probe()
636 vdev->priv = NULL; in virtio_fs_probe()
656 struct virtio_fs *fs = vdev->priv; in virtio_fs_remove()
666 vdev->priv = NULL; in virtio_fs_remove()
725 fs = fiq->priv; in virtio_fs_wake_forget_and_unlock()
994 fs = fiq->priv; in virtio_fs_wake_pending_and_unlock()
1039 struct virtio_fs *fs = fc->iq.priv; in virtio_fs_fill_super()
1114 vfs = fc->iq.priv; in virtio_kill_sb()
[all …]
/fs/xfs/scrub/
Dbitmap.c65 void *priv, in xfs_bitmap_range_cmp() argument
277 void *priv) in xfs_bitmap_collect_btblock() argument
279 struct xfs_bitmap *bitmap = priv; in xfs_bitmap_collect_btblock()
Drtbitmap.c45 void *priv) in xchk_rtbitmap_rec() argument
47 struct xfs_scrub *sc = priv; in xchk_rtbitmap_rec()
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()
/fs/ext4/
Dmballoc.h207 void *priv);
216 void *priv);
/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);

123