/fs/afs/ |
D | server.c | 233 atomic_set(&server->active, 1); in afs_alloc_server() 359 trace_afs_server(server, r + 1, atomic_read(&server->active), reason); in afs_get_server() 375 a = atomic_inc_return(&server->active); in afs_maybe_use_server() 389 a = atomic_inc_return(&server->active); in afs_use_server() 408 trace_afs_server(server, r - 1, atomic_read(&server->active), reason); in afs_put_server() 421 unsigned int active = atomic_dec_return(&server->active); in afs_unuse_server_notime() local 423 if (active == 0) in afs_unuse_server_notime() 446 atomic_read(&server->active), afs_server_trace_free); in afs_server_rcu() 487 int active; in afs_gc_servers() local 494 active = atomic_read(&server->active); in afs_gc_servers() [all …]
|
D | cell.c | 162 atomic_set(&cell->active, 0); in afs_alloc_cell() 289 atomic_set(&cell->active, 2); in afs_lookup_cell() 298 trace_afs_cell(cell->debug_id, refcount_read(&cell->ref), atomic_read(&cell->active), in afs_lookup_cell() 501 trace_afs_cell(cell->debug_id, r, atomic_read(&cell->active), afs_cell_trace_free); in afs_cell_destroy() 547 trace_afs_cell(cell->debug_id, r + 1, atomic_read(&cell->active), reason); in afs_get_cell() 562 a = atomic_read(&cell->active); in afs_put_cell() 566 a = atomic_read(&cell->active); in afs_put_cell() 582 a = atomic_inc_return(&cell->active); in afs_use_cell() 610 a = atomic_dec_return(&cell->active); in afs_unuse_cell() 626 a = atomic_read(&cell->active); in afs_see_cell() [all …]
|
D | proc.c | 51 atomic_read(&cell->active), in afs_proc_cells_show() 392 atomic_read(&server->active)); in afs_proc_servers_show()
|
D | internal.h | 372 atomic_t active; /* Active usage counter */ member 524 atomic_t active; /* Active user count */ member
|
D | cmservice.c | 217 atomic_read(&call->server->active), in SRXAFSCB_CallBack()
|
/fs/autofs/ |
D | root.c | 72 list_del_init(&ino->active); in autofs_del_active() 118 if (!list_empty(&ino->active)) in autofs_dentry_release() 119 list_del(&ino->active); in autofs_dentry_release() 144 struct dentry *active; in autofs_lookup_active() local 147 ino = list_entry(p, struct autofs_info, active); in autofs_lookup_active() 148 active = ino->dentry; in autofs_lookup_active() 150 spin_lock(&active->d_lock); in autofs_lookup_active() 153 if ((int) d_count(active) <= 0) in autofs_lookup_active() 156 qstr = &active->d_name; in autofs_lookup_active() 158 if (active->d_name.hash != hash) in autofs_lookup_active() [all …]
|
D | autofs_i.h | 60 struct list_head active; member
|
D | inode.c | 19 INIT_LIST_HEAD(&ino->active); in autofs_new_ino()
|
/fs/xfs/libxfs/ |
D | xfs_attr.c | 1169 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_addname() 1174 if (state->path.active == 1) { in xfs_attr_node_addname() 1248 if (retval && (state->path.active > 1)) { in xfs_attr_node_addname_clear_incomplete() 1278 ASSERT(state->path.active == 1); in xfs_attr_node_shrink() 1340 ASSERT((*state)->path.blk[(*state)->path.active - 1].bp != NULL); in xfs_attr_node_removename_setup() 1341 ASSERT((*state)->path.blk[(*state)->path.active - 1].magic == in xfs_attr_node_removename_setup() 1369 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_removename() 1483 if (retval && (state->path.active > 1)) { in xfs_attr_remove_iter() 1537 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); in xfs_attr_fillstate() 1538 for (blk = path->blk, level = 0; level < path->active; blk++, level++) { in xfs_attr_fillstate() [all …]
|
D | xfs_da_btree.c | 101 for (i = 0; i < state->altpath.active; i++) in xfs_da_state_kill_altpath() 103 state->altpath.active = 0; in xfs_da_state_kill_altpath() 491 max = state->path.active - 1; in xfs_da3_split() 497 for (i = max; (i >= 0) && addblk; state->path.active--, i--) { in xfs_da3_split() 579 ASSERT(state->path.active == 0); in xfs_da3_split() 1072 drop_blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_join() 1073 save_blk = &state->altpath.blk[ state->path.active-1 ]; in xfs_da3_join() 1082 for ( ; state->path.active >= 2; drop_blk--, save_blk--, in xfs_da3_join() 1083 state->path.active--) { in xfs_da3_join() 1264 blk = &state->path.blk[ state->path.active-1 ]; in xfs_da3_node_toosmall() [all …]
|
D | xfs_alloc.c | 154 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_eq() 174 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_ge() 193 cur->bc_ag.abt.active = (*stat == 1); in xfs_alloc_lookup_le() 201 return cur && cur->bc_ag.abt.active; in xfs_alloc_cur_active() 909 cur->bc_ag.abt.active = false; in xfs_alloc_cur_check() 1352 cur->bc_ag.abt.active = false; in xfs_alloc_walk_iter() 1467 acur->cnt->bc_ag.abt.active = true; in xfs_alloc_ag_vextent_locality() 2373 int active; in xfs_agfl_needs_reset() local 2394 active = l - f + 1; in xfs_agfl_needs_reset() 2396 active = agfl_size - f + l + 1; in xfs_agfl_needs_reset() [all …]
|
D | xfs_dir2_node.c | 1507 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_leafn_toosmall() 2038 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_addname() 2107 for (i = 0; i < state->path.active; i++) { in xfs_dir2_node_lookup() 2152 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_removename() 2170 if (rval && state->path.active > 1) in xfs_dir2_node_removename() 2230 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_replace() 2265 for (i = 0; i < state->path.active; i++) { in xfs_dir2_node_replace()
|
D | xfs_da_btree.h | 119 int active; /* number of active levels */ member
|
D | xfs_btree.h | 195 bool active; /* allocation cursor state */ member
|
D | xfs_alloc_btree.c | 486 cur->bc_ag.abt.active = false; in xfs_allocbt_init_common()
|
/fs/kernfs/ |
D | dir.c | 37 return atomic_read(&kn->active) >= 0; in kernfs_active() 427 if (!atomic_inc_unless_negative(&kn->active)) in kernfs_get_active() 451 v = atomic_dec_return(&kn->active); in kernfs_put_active() 479 if (atomic_read(&kn->active) != KN_DEACTIVATED_BIAS) in kernfs_drain() 485 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS); in kernfs_drain() 531 WARN_ONCE(atomic_read(&kn->active) != KN_DEACTIVATED_BIAS, in kernfs_put() 533 parent ? parent->name : "", kn->name, atomic_read(&kn->active)); in kernfs_put() 612 atomic_set(&kn->active, KN_DEACTIVATED_BIAS); in __kernfs_new_node() 1340 WARN_ON_ONCE(atomic_read(&pos->active) != KN_DEACTIVATED_BIAS); in kernfs_activate() 1342 atomic_sub(KN_DEACTIVATED_BIAS, &pos->active); in kernfs_activate() [all …]
|
/fs/jfs/ |
D | jfs_logmgr.h | 69 } active[MAX_ACTIVE]; /* 2048: active file systems list */ member 381 int active; /* 4: */ member
|
D | jfs_logmgr.c | 1025 (written > LOGSYNC_BARRIER(logsize)) && log->active) { in lmLogSync() 1733 if (uuid_is_null(&logsuper->active[i].uuid)) { in lmLogFileSystem() 1734 uuid_copy(&logsuper->active[i].uuid, uuid); in lmLogFileSystem() 1745 if (uuid_equal(&logsuper->active[i].uuid, uuid)) { in lmLogFileSystem() 1746 uuid_copy(&logsuper->active[i].uuid, in lmLogFileSystem()
|
/fs/cifs/ |
D | cifs_fs_sb.h | 56 atomic_t active; member
|
/fs/xfs/scrub/ |
D | dabtree.c | 261 for (plevel = 0; plevel < altpath->active; plevel++) { in xchk_da_btree_block_check_sibling() 263 (plevel < path->active && in xchk_da_btree_block_check_sibling() 328 ds->state->path.active = level + 1; in xchk_da_btree_block()
|
/fs/btrfs/ |
D | free-space-cache.h | 144 int btrfs_set_free_space_cache_v1_active(struct btrfs_fs_info *fs_info, bool active);
|
/fs/ntfs/ |
D | Kconfig | 40 to insmod when loading the ntfs module. Once the driver is active,
|
/fs/proc/ |
D | task_mmu.c | 1733 unsigned long active; member 1759 md->active += nr_pages; in gather_stats() 1956 if (md->active < md->pages && !is_vm_hugetlb_page(vma)) in show_numa_map() 1957 seq_printf(m, " active=%lu", md->active); in show_numa_map()
|
/fs/nfs/ |
D | super.c | 189 if (atomic_inc_return(&server->active) != 1) in nfs_sb_active() 199 if (atomic_dec_and_test(&server->active)) in nfs_sb_deactive()
|
/fs/pstore/ |
D | Kconfig | 80 This option chooses the default active compression algorithm.
|