| /fs/proc/ |
| A D | task_nommu.c | 203 priv->task = get_proc_task(priv->inode); in m_start() 204 if (!priv->task) in m_start() 207 mm = priv->mm; in m_start() 210 priv->task = NULL; in m_start() 231 if (!priv->task) in m_stop() 237 priv->task = NULL; in m_stop() 257 priv = __seq_open_private(file, ops, sizeof(*priv)); in maps_open() 258 if (!priv) in maps_open() 264 int err = priv->mm ? PTR_ERR(priv->mm) : -ESRCH; in maps_open() 279 if (priv->mm) in map_release() [all …]
|
| A D | task_mmu.c | 186 vma = lock_next_vma(priv->mm, &priv->iter, last_pos); in get_next_vma() 277 priv->task = get_proc_task(priv->inode); in m_start() 281 mm = priv->mm; in m_start() 338 if (!priv) in proc_maps_open() 358 if (priv->mm) in proc_map_release() 1320 priv->task = get_proc_task(priv->inode); in show_smaps_rollup() 1450 priv = kzalloc(sizeof(*priv), GFP_KERNEL_ACCOUNT); in smaps_rollup_open() 1451 if (!priv) in smaps_rollup_open() 1461 ret = priv->mm ? PTR_ERR(priv->mm) : -ESRCH; in smaps_rollup_open() 1470 kfree(priv); in smaps_rollup_open() [all …]
|
| /fs/bcachefs/ |
| A D | eytzinger.c | 128 ((const struct wrapper *)priv)->swap_func(a, b, (int)size); in do_swap() 139 swap_func(a, b, (int)size, priv); in do_swap() 147 return ((const struct wrapper *)priv)->cmp(a, b); in do_cmp() 148 return cmp(a, b, priv); in do_cmp() 152 cmp_r_func_t cmp_func, const void *priv, in eytzinger1_do_cmp() argument 157 cmp_func, priv); in eytzinger1_do_cmp() 161 swap_r_func_t swap_func, const void *priv, in eytzinger1_do_swap() argument 166 size, swap_func, priv); in eytzinger1_do_swap() 172 const void *priv) in eytzinger1_sort_r() argument 212 eytzinger1_do_swap(base1, n, size, swap_func, priv, 1, i); in eytzinger1_sort_r() [all …]
|
| /fs/ |
| A D | anon_inodes.c | 136 void *priv, int flags, in __anon_inode_getfile() argument 173 file->private_data = priv; in __anon_inode_getfile() 202 void *priv, int flags) in anon_inode_getfile() argument 204 return __anon_inode_getfile(name, fops, priv, flags, NULL, false); in anon_inode_getfile() 228 void *priv, int flags, fmode_t f_mode) in anon_inode_getfile_fmode() argument 269 void *priv, int flags, in anon_inode_create_getfile() argument 272 return __anon_inode_getfile(name, fops, priv, flags, in anon_inode_create_getfile() 279 void *priv, int flags, in __anon_inode_getfd() argument 324 void *priv, int flags) in anon_inode_getfd() argument 326 return __anon_inode_getfd(name, fops, priv, flags, NULL, false); in anon_inode_getfd() [all …]
|
| /fs/xfs/scrub/ |
| A D | listxattr.c | 31 void *priv) in xchk_xattr_walk_sf() argument 42 priv); in xchk_xattr_walk_sf() 59 void *priv) in xchk_xattr_walk_leaf_entries() argument 95 valuelen, priv); in xchk_xattr_walk_leaf_entries() 113 void *priv) in xchk_xattr_walk_leaf() argument 225 void *priv) in xchk_xattr_walk_node() argument 244 priv); in xchk_xattr_walk_node() 257 error = leaf_fn(sc, priv); in xchk_xattr_walk_node() 299 void *priv) in xchk_xattr_walk() argument 309 return xchk_xattr_walk_sf(sc, ip, attr_fn, priv); in xchk_xattr_walk() [all …]
|
| A D | readdir.c | 30 void *priv) in xchk_dir_walk_sf() argument 53 error = dirent_fn(sc, dp, dapos, &name, dp->i_ino, priv); in xchk_dir_walk_sf() 65 error = dirent_fn(sc, dp, dapos, &name, ino, priv); in xchk_dir_walk_sf() 79 error = dirent_fn(sc, dp, dapos, &name, ino, priv); in xchk_dir_walk_sf() 95 void *priv) in xchk_dir_walk_block() argument 133 error = dirent_fn(sc, dp, dapos, &name, ino, priv); in xchk_dir_walk_block() 188 void *priv) in xchk_dir_walk_leaf() argument 247 error = dirent_fn(sc, dp, dapos, &name, ino, priv); in xchk_dir_walk_leaf() 271 void *priv) in xchk_dir_walk() argument 289 return xchk_dir_walk_sf(sc, dp, dirent_fn, priv); in xchk_dir_walk() [all …]
|
| A D | rtrmap_repair.c | 223 void *priv) in xrep_rtrmap_visit_bmbt() argument 389 void *priv) in xrep_rtrmap_walk_rmap() argument 391 struct xrep_rtrmap *rr = priv; in xrep_rtrmap_walk_rmap() 437 void *priv) in xrep_rtrmap_stash_run() argument 469 void *priv) in xrep_rtrmap_walk_cowblocks() argument 527 void *priv) in xrep_rtrmap_check_record() argument 529 struct xrep_rtrmap *rr = priv; in xrep_rtrmap_check_record() 650 void *priv) in xrep_rtrmap_get_records() argument 684 void *priv) in xrep_rtrmap_claim_block() argument 686 struct xrep_rtrmap *rr = priv; in xrep_rtrmap_claim_block() [all …]
|
| A D | rmap_repair.c | 271 void *priv) in xrep_rmap_stash_run() argument 340 void *priv) in xrep_rmap_visit_bmbt() argument 385 void *priv) in xrep_rmap_visit_iroot_btree_block() argument 676 void *priv) in xrep_rmap_walk_inobt() argument 791 void *priv) in xrep_rmap_walk_cowblocks() argument 886 void *priv) in xrep_rmap_check_record() argument 1022 void *priv) in xrep_rmap_walk_agfl() argument 1225 void *priv) in xrep_rmap_get_records() argument 1259 void *priv) in xrep_rmap_claim_block() argument 1466 void *priv) in xrep_rmap_find_freesp() argument [all …]
|
| A D | bitmap.h | 30 typedef int (*xbitmap64_walk_fn)(uint64_t start, uint64_t len, void *priv); 32 void *priv); 58 typedef int (*xbitmap32_walk_fn)(uint32_t start, uint32_t len, void *priv); 60 void *priv);
|
| A D | listxattr.h | 12 void *priv); 14 typedef int (*xchk_xattrleaf_fn)(struct xfs_scrub *sc, void *priv); 17 xchk_xattr_fn attr_fn, xchk_xattrleaf_fn leaf_fn, void *priv);
|
| A D | ialloc_repair.c | 446 void *priv) in xrep_ibt_walk_rmap() argument 448 struct xrep_ibt *ri = priv; in xrep_ibt_walk_rmap() 524 void *priv) in xrep_fibt_get_records() argument 527 struct xrep_ibt *ri = priv; in xrep_fibt_get_records() 554 void *priv) in xrep_ibt_get_records() argument 557 struct xrep_ibt *ri = priv; in xrep_ibt_get_records() 579 void *priv) in xrep_ibt_claim_block() argument 581 struct xrep_ibt *ri = priv; in xrep_ibt_claim_block() 591 void *priv) in xrep_fibt_claim_block() argument 593 struct xrep_ibt *ri = priv; in xrep_fibt_claim_block()
|
| A D | bmap_repair.c | 246 void *priv) in xrep_bmap_walk_rmap() argument 248 struct xrep_bmap *rb = priv; in xrep_bmap_walk_rmap() 410 void *priv) in xrep_bmap_walk_rtrmap() argument 412 struct xrep_bmap *rb = priv; in xrep_bmap_walk_rtrmap() 565 void *priv) in xrep_bmap_get_records() argument 569 struct xrep_bmap *rb = priv; in xrep_bmap_get_records() 596 void *priv) in xrep_bmap_claim_block() argument 598 struct xrep_bmap *rb = priv; in xrep_bmap_claim_block() 609 void *priv) in xrep_bmap_iroot_size() argument
|
| A D | rtrefcount_repair.c | 360 void *priv) in xrep_rtrefc_walk_rmap() argument 362 struct xrep_rtrefc *rr = priv; in xrep_rtrefc_walk_rmap() 565 void *priv) in xrep_rtrefc_get_records() argument 567 struct xrep_rtrefc *rr = priv; in xrep_rtrefc_get_records() 590 void *priv) in xrep_rtrefc_claim_block() argument 592 struct xrep_rtrefc *rr = priv; in xrep_rtrefc_claim_block() 603 void *priv) in xrep_rtrefc_iroot_size() argument
|
| A D | alloc_repair.c | 227 void *priv) in xrep_abt_walk_rmap() argument 229 struct xrep_abt *ra = priv; in xrep_abt_walk_rmap() 266 void *priv) in xrep_abt_walk_agfl() argument 268 struct xrep_abt *ra = priv; in xrep_abt_walk_agfl() 608 void *priv) in xrep_abt_get_records() argument 611 struct xrep_abt *ra = priv; in xrep_abt_get_records() 636 void *priv) in xrep_abt_claim_block() argument 638 struct xrep_abt *ra = priv; in xrep_abt_claim_block()
|
| A D | cow_repair.c | 143 void *priv) in xrep_cow_mark_shared_staging() argument 145 struct xrep_cow *xc = priv; in xrep_cow_mark_shared_staging() 171 void *priv) in xrep_cow_mark_missing_staging() argument 173 struct xrep_cow *xc = priv; in xrep_cow_mark_missing_staging() 205 void *priv) in xrep_cow_mark_missing_staging_rmap() argument 207 struct xrep_cow *xc = priv; in xrep_cow_mark_missing_staging_rmap() 626 void *priv) in xrep_cow_replace() argument 628 struct xrep_cow *xc = priv; in xrep_cow_replace()
|
| /fs/ocfs2/ |
| A D | stack_o2cb.c | 323 struct o2dlm_private *priv; in o2cb_cluster_connect() local 337 priv = kzalloc(sizeof(struct o2dlm_private), GFP_KERNEL); in o2cb_cluster_connect() 338 if (!priv) { in o2cb_cluster_connect() 344 dlm_setup_eviction_cb(&priv->op_eviction_cb, o2dlm_eviction_cb, in o2cb_cluster_connect() 347 conn->cc_private = priv; in o2cb_cluster_connect() 366 dlm_register_eviction_cb(dlm, &priv->op_eviction_cb); in o2cb_cluster_connect() 379 struct o2dlm_private *priv = conn->cc_private; in o2cb_cluster_disconnect() local 381 dlm_unregister_eviction_cb(&priv->op_eviction_cb); in o2cb_cluster_disconnect() 383 kfree(priv); in o2cb_cluster_disconnect()
|
| /fs/xfs/libxfs/ |
| A D | xfs_btree_staging.h | 51 unsigned int nr_wanted, void *priv); 53 union xfs_btree_ptr *ptr, void *priv); 55 unsigned int level, unsigned int nr_this_level, void *priv); 128 void *priv);
|
| A D | xfs_btree_staging.c | 292 void *priv) in xfs_btree_bload_prep_block() argument 306 new_size = bbl->iroot_size(cur, level, nr_this_block, priv); in xfs_btree_bload_prep_block() 322 ret = bbl->claim_block(cur, &new_ptr, priv); in xfs_btree_bload_prep_block() 361 void *priv) in xfs_btree_bload_leaf() argument 368 ret = get_records(cur, j, block, recs_this_block - j + 1, priv); in xfs_btree_bload_leaf() 677 void *priv) in xfs_btree_bload() argument 718 nr_this_block, &ptr, &bp, &block, priv); in xfs_btree_bload() 726 block, priv); in xfs_btree_bload() 763 &ptr, &bp, &block, priv); in xfs_btree_bload()
|
| A D | xfs_alloc.h | 207 void *priv); 212 xfs_alloc_query_range_fn fn, void *priv); 214 void *priv); 220 void *priv); 222 struct xfs_buf *agflbp, xfs_agfl_walk_fn walk_fn, void *priv);
|
| /fs/unicode/tests/ |
| A D | utf8_kunit.c | 154 struct unicode_map *um = test->priv; in check_utf8_nfdi() 186 struct unicode_map *um = test->priv; in check_utf8_nfdicf() 217 struct unicode_map *um = test->priv; in check_utf8_comparisons() 244 struct unicode_map *um = test->priv; in check_supported_versions() 272 test->priv = um; in init_test_ucd() 282 utf8_unload(test->priv); in exit_test_ucd()
|
| /fs/sysfs/ |
| A D | file.c | 25 return rcu_dereference(kn->__parent)->priv; in sysfs_file_kobj() 65 count = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_seq_show() 86 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_read() 123 len = ops->show(kobj, of->kn->priv, buf); in sysfs_kf_read() 145 return ops->store(kobj, of->kn->priv, buf, count); in sysfs_kf_write() 152 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_write() 176 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_mmap() 185 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_llseek() 196 const struct bin_attribute *battr = of->kn->priv; in sysfs_kf_bin_open() 283 struct kobject *kobj = parent->priv; in sysfs_add_file_mode_ns() [all …]
|
| /fs/lockd/ |
| A D | mon.c | 40 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/ext4/ |
| A D | mballoc-test.c | 365 test->priv = sb; in mbt_kunit_init() 391 struct super_block *sb = (struct super_block *)test->priv; in mbt_kunit_exit() 400 struct super_block *sb = (struct super_block *)test->priv; in test_new_blocks_simple() 513 struct super_block *sb = (struct super_block *)test->priv; in test_free_blocks_simple_range() 535 struct super_block *sb = (struct super_block *)test->priv; in test_free_blocks_simple() 555 struct super_block *sb = (struct super_block *)test->priv; in test_mark_diskspace_used_range() 584 struct super_block *sb = (struct super_block *)test->priv; in test_mark_diskspace_used() 676 struct super_block *sb = (struct super_block *)test->priv; in mbt_validate_group_info() 720 struct super_block *sb = (struct super_block *)test->priv; in test_mb_generate_buddy() 751 struct super_block *sb = (struct super_block *)test->priv; in test_mb_mark_used_range() [all …]
|
| /fs/resctrl/ |
| A D | rdtgroup.c | 2378 return kn->priv; in kernfs_to_rdtgroup() 2905 if (priv->rid == rid && priv->domid == domid && in mon_get_kn_priv() 2906 priv->sum == do_sum && priv->evtid == mevt->evtid) in mon_get_kn_priv() 2907 return priv; in mon_get_kn_priv() 2910 priv = kzalloc(sizeof(*priv), GFP_KERNEL); in mon_get_kn_priv() 2911 if (!priv) in mon_get_kn_priv() 2914 priv->rid = rid; in mon_get_kn_priv() 2916 priv->sum = do_sum; in mon_get_kn_priv() 2920 return priv; in mon_get_kn_priv() 2936 kfree(priv); in mon_put_kn_priv() [all …]
|
| /fs/xfs/ |
| A D | xfs_fsmap.c | 406 void *priv) in xfs_getfsmap_rmapbt_helper() argument 414 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_rmapbt_helper() 425 void *priv) in xfs_getfsmap_datadev_bnobt_helper() argument 431 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_datadev_bnobt_helper() 475 void *priv) in __xfs_getfsmap_datadev() argument 612 void *priv) in xfs_getfsmap_datadev_rmapbt_query() argument 643 void *priv) in xfs_getfsmap_datadev_bnobt_query() argument 720 void *priv) in xfs_getfsmap_rtdev_rtbitmap_helper() argument 726 struct xfs_getfsmap_info *info = priv; in xfs_getfsmap_rtdev_rtbitmap_helper() 842 void *priv) in xfs_getfsmap_rtdev_rmapbt_helper() argument [all …]
|