| /fs/autofs/ |
| A D | root.c | 74 list_del_init(&ino->active); in autofs_del_active() 122 list_del(&ino->active); in autofs_dentry_release() 147 struct dentry *active; in autofs_lookup_active() local 151 active = ino->dentry; in autofs_lookup_active() 159 qstr = &active->d_name; in autofs_lookup_active() 171 if (d_unhashed(active)) { in autofs_lookup_active() 172 dget_dlock(active); in autofs_lookup_active() 175 return active; in autofs_lookup_active() 498 struct dentry *active; in autofs_lookup() local 514 if (active) in autofs_lookup() [all …]
|
| A D | autofs_i.h | 60 struct list_head active; member
|
| /fs/xfs/libxfs/ |
| A D | xfs_attr.c | 132 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); 147 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); 180 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); 198 ASSERT((path->active >= 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); 723 ASSERT(state->path.blk[state->path.active - 1].magic == in xfs_attr_node_removename_setup() 1407 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_try_addname() 1411 if (state->path.active == 1) { in xfs_attr_node_try_addname() 1454 blk = &state->path.blk[state->path.active-1]; in xfs_attr_node_removename() 1486 if (retval && (state->path.active > 1)) { in xfs_attr_node_remove_attr() 1531 blk = &state->path.blk[state->path.active - 1]; in xfs_attr_node_get() [all …]
|
| A D | xfs_da_btree.c | 104 for (i = 0; i < state->altpath.active; i++) in xfs_da_state_kill_altpath() 106 state->altpath.active = 0; in xfs_da_state_kill_altpath() 577 max = state->path.active - 1; in xfs_da3_split() 666 ASSERT(state->path.active == 0); in xfs_da3_split() 1149 state->path.active--) { in xfs_da3_join() 1471 level = path->active-1; in xfs_da3_fixhashpath() 1678 blk++, state->path.active++) { in xfs_da3_node_lookup_int() 1687 state->path.active--; in xfs_da3_node_lookup_int() 2127 ASSERT((path->active > 0) && (path->active < XFS_DA_NODE_MAXDEPTH)); in xfs_da3_path_shift() 2216 ASSERT(level == path->active-1); in xfs_da3_path_shift() [all …]
|
| A D | xfs_dir2_node.c | 1517 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_leafn_toosmall() 2049 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_addname() 2118 for (i = 0; i < state->path.active; i++) { in xfs_dir2_node_lookup() 2163 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_removename() 2181 if (rval && state->path.active > 1) in xfs_dir2_node_removename() 2241 blk = &state->path.blk[state->path.active - 1]; in xfs_dir2_node_replace() 2276 for (i = 0; i < state->path.active; i++) { in xfs_dir2_node_replace()
|
| A D | xfs_da_btree.h | 127 int active; /* number of active levels */ member
|
| /fs/afs/ |
| A D | server.c | 125 atomic_set(&server->active, 0); in afs_alloc_server() 303 a = atomic_read(&server->active); in afs_get_server() 319 a = atomic_inc_return(&server->active); in afs_use_server() 341 a = atomic_read(&server->active); in afs_put_server() 358 if (atomic_dec_and_test(&server->active)) { in afs_unuse_server_notime() 376 if (atomic_dec_and_test(&server->active)) { in afs_unuse_server() 396 atomic_read(&server->active), afs_server_trace_free); in afs_server_rcu() 425 if (atomic_read(&server->active)) in afs_has_server_expired() 458 _debug("expire %pU %u", &server->uuid, atomic_read(&server->active)); in afs_remove_server_from_cell() 552 atomic_read(&server->active), in afs_update_server_record()
|
| A D | cell.c | 158 atomic_set(&cell->active, 0); in afs_alloc_cell() 518 trace_afs_cell(cell->debug_id, r, atomic_read(&cell->active), afs_cell_trace_free); in afs_cell_destroy() 549 trace_afs_cell(cell->debug_id, r + 1, atomic_read(&cell->active), reason); in afs_get_cell() 564 a = atomic_read(&cell->active); in afs_put_cell() 568 a = atomic_read(&cell->active); in afs_put_cell() 583 a = atomic_inc_return(&cell->active); in afs_use_cell() 611 a = atomic_dec_return(&cell->active); in afs_unuse_cell() 630 a = atomic_read(&cell->active); in afs_see_cell() 748 if (atomic_read(&cell->active)) in afs_has_cell_expired() 826 if (atomic_read(&cell->active)) { in afs_manage_cell()
|
| A D | proc.c | 51 atomic_read(&cell->active), in afs_proc_cells_show() 450 atomic_read(&server->active), in afs_proc_servers_show()
|
| A D | internal.h | 386 atomic_t active; /* Active usage counter */ member 566 atomic_t active; /* Active user count */ member 1543 int a = atomic_read(&server->active); in afs_see_server()
|
| /fs/btrfs/ |
| A D | zoned.c | 1405 if (test_bit(0, active)) in btrfs_load_block_group_single() 1450 if (test_bit(0, active) != test_bit(1, active)) { in btrfs_load_block_group_dup() 1464 unsigned long *active, in btrfs_load_block_group_raid1() argument 1493 if (test_bit(0, active) != test_bit(i, active)) { in btrfs_load_block_group_raid1() 1499 if (test_bit(0, active)) in btrfs_load_block_group_raid1() 1515 unsigned long *active, in btrfs_load_block_group_raid0() argument 1550 if (test_bit(0, active) != test_bit(i, active)) { in btrfs_load_block_group_raid0() 1554 if (test_bit(0, active)) in btrfs_load_block_group_raid0() 1582 if (test_bit(0, active) != test_bit(i, active)) { in btrfs_load_block_group_raid10() 1660 if (!active) { in btrfs_load_block_group_zone_info() [all …]
|
| A D | free-space-cache.h | 171 int btrfs_set_free_space_cache_v1_active(struct btrfs_fs_info *fs_info, bool active);
|
| /fs/kernfs/ |
| A D | dir.c | 34 return atomic_read(&kn->active) >= 0; in __kernfs_active() 450 if (!atomic_inc_unless_negative(&kn->active)) in kernfs_get_active() 474 v = atomic_dec_return(&kn->active); in kernfs_put_active() 504 if (atomic_read(&kn->active) == KN_DEACTIVATED_BIAS && in kernfs_drain() 512 if (atomic_read(&kn->active) != KN_DEACTIVATED_BIAS) in kernfs_drain() 517 atomic_read(&kn->active) == KN_DEACTIVATED_BIAS); in kernfs_drain() 656 atomic_set(&kn->active, KN_DEACTIVATED_BIAS); in __kernfs_new_node() 1404 atomic_sub(KN_DEACTIVATED_BIAS, &kn->active); in kernfs_activate_one() 1462 atomic_add(KN_DEACTIVATED_BIAS, &kn->active); in kernfs_show() 1493 atomic_add(KN_DEACTIVATED_BIAS, &pos->active); in __kernfs_remove() [all …]
|
| /fs/netfs/ |
| A D | write_collect.c | 40 s->avail, s->active, s->need_retry, s->failed); in netfs_dump_request() 228 if (!smp_load_acquire(&stream->active)) in netfs_collect_write_results() 307 if (stream->active) in netfs_collect_write_results() 377 if (!stream->active) in netfs_write_collection() 393 if (wreq->io_streams[1].active && in netfs_write_collection()
|
| A D | direct_read.c | 75 if (!stream->active) { in netfs_dispatch_unbuffered_reads() 78 smp_store_release(&stream->active, true); in netfs_dispatch_unbuffered_reads()
|
| A D | write_issue.c | 129 wreq->io_streams[1].active = true; in netfs_create_write_req() 211 if (!stream->active) { in netfs_prepare_write() 214 smp_store_release(&stream->active, true); in netfs_prepare_write() 537 if (!stream->active) in netfs_end_issue_write()
|
| A D | read_single.c | 112 smp_store_release(&stream->active, true); in netfs_single_dispatch_read()
|
| A D | write_retry.c | 213 if (stream->active) in netfs_retry_writes()
|
| A D | buffered_read.c | 175 if (!stream->active) { in netfs_queue_read() 178 smp_store_release(&stream->active, true); in netfs_queue_read()
|
| A D | misc.c | 395 if (!stream->active) in netfs_collect_in_app()
|
| /fs/jfs/ |
| A D | jfs_logmgr.h | 69 } active[MAX_ACTIVE]; /* 2048: active file systems list */ member 381 int active; /* 4: */ member
|
| A D | jfs_logmgr.c | 1017 (written > LOGSYNC_BARRIER(logsize)) && log->active) { in lmLogSync() 1725 if (uuid_is_null(&logsuper->active[i].uuid)) { in lmLogFileSystem() 1726 uuid_copy(&logsuper->active[i].uuid, uuid); in lmLogFileSystem() 1737 if (uuid_equal(&logsuper->active[i].uuid, uuid)) { in lmLogFileSystem() 1738 uuid_copy(&logsuper->active[i].uuid, in lmLogFileSystem()
|
| /fs/smb/client/ |
| A D | cifs_fs_sb.h | 57 atomic_t active; member
|
| /fs/xfs/scrub/ |
| A D | dabtree.c | 278 for (plevel = 0; plevel < altpath->active; plevel++) { in xchk_da_btree_block_check_sibling() 280 (plevel < path->active && in xchk_da_btree_block_check_sibling() 346 ds->state->path.active = level + 1; in xchk_da_btree_block()
|
| /fs/ |
| A D | super.c | 1176 bool active = false; in get_active_super() local 1179 active = atomic_inc_not_zero(&sb->s_active); in get_active_super() 1182 return active; in get_active_super() 1497 bool active = false; in get_bdev_super() local 1502 active = atomic_inc_not_zero(&sb->s_active); in get_bdev_super() 1505 if (!active) in get_bdev_super()
|