/fs/afs/ |
H A D | volume.c | 223 int ret, state, loop; local 249 state = server->fs_state; 251 _debug("consider %d [%d]", loop, state); 253 switch (state) { 264 ret = state; 270 ret = state; 277 ret = state; 286 ret = state; 378 printk("kAFS: SERVER DEAD state=%d\n", result);
|
H A D | vlocation.c | 178 vl->state = AFS_VL_NEW; 411 vl->state = AFS_VL_CREATING; 419 vl->state = AFS_VL_VALID; 446 while (vl->state != AFS_VL_VALID) { 447 afs_vlocation_state_t state = vl->state; local 449 _debug("invalid [state %d]", state); 451 if (state == AFS_VL_NEW || state [all...] |
/fs/gfs2/ |
H A D | trace_gfs2.h | 64 static inline u8 glock_trace_state(unsigned int state) argument 66 switch(state) { 81 * Latency: Remote demote request to state change 82 * Latency: Local lock request to state change 84 * Correctness: Ordering of local lock state vs. I/O requests 88 /* General glock state change (DLM lock request completes) */ 117 TP_printk("%u,%u glock %d:%lld state %s to %s tgt:%s dmt:%s flags:%s", 150 TP_printk("%u,%u glock %d:%lld state %s => %s flags:%s", 208 __field( u8, state ) 216 __entry->state [all...] |
H A D | glock.h | 70 * also be granted in SHARED. The preferred state is whichever is compatible 71 * with other granted locks, or the specified state if no other locks exist. 74 * Override fairness considerations. Suppose a lock is held in a shared state 75 * and there is a pending request for the deferred state. A shared lock 96 * Masks the lower two bits of lock state in the returned value. 185 extern void gfs2_holder_init(struct gfs2_glock *gl, unsigned int state, 187 extern void gfs2_holder_reinit(unsigned int state, unsigned flags, 198 unsigned int state, int flags, 210 * @state: the state w 217 gfs2_glock_nq_init(struct gfs2_glock *gl, unsigned int state, int flags, struct gfs2_holder *gh) argument [all...] |
H A D | file.c | 919 * @cmd: either modify or retrieve lock state, possibly wait 960 unsigned int state; local 965 state = (fl->fl_type == F_WRLCK) ? LM_ST_EXCLUSIVE : LM_ST_SHARED; 972 if (fl_gh->gh_state == state) 977 gfs2_holder_reinit(state, flags, fl_gh); 983 gfs2_holder_init(gl, state, flags, fl_gh); 1025 * @cmd: either modify or retrieve lock state, possibly wait
|
/fs/ceph/ |
H A D | mdsmap.c | 17 * choose a random mds that is "up" (i.e. has a state > 0), or -1. 25 if (1 == m->m_max_mds && m->m_info[0].state > 0) 30 if (m->m_info[i].state > 0) 39 while (m->m_info[i].state <= 0) 83 /* pick out active nodes from mds_info (state > 0) */ 88 s32 mds, inc, state; local 110 state = ceph_decode_32(p); 129 ceph_mds_state_name(state)); 131 if (mds < 0 || mds >= m->m_max_mds || state <= 0) 136 info->state [all...] |
H A D | debugfs.c | 37 int state = fsc->mdsc->mdsmap->m_info[i].state; local 41 ceph_mds_state_name(state)); 177 /* The list of MDS session rank+state */
|
/fs/ocfs2/cluster/ |
H A D | masklog.c | 38 char *state; local 41 state = "allow"; 43 state = "deny"; 45 state = "off"; 47 return snprintf(buf, PAGE_SIZE, "%s\n", state);
|
/fs/jfs/ |
H A D | jfs_mount.c | 250 if (chkSuper(sb) || (sbi->state != FM_CLEAN)) 336 jfs_info("superblock: flag:0x%08x state:0x%08x size:0x%Lx", 363 /* validate fs state */ 371 sbi->state = le32_to_cpu(j_sb->s_state); 409 int updateSuper(struct super_block *sb, uint state) argument 417 if (state == FM_DIRTY) { 418 sbi->p_state = state; 420 } else if (state == FM_MOUNT) { 421 sbi->p_state = sbi->state; 422 state [all...] |
/fs/squashfs/ |
H A D | xz_wrapper.c | 38 struct xz_dec *state; member in struct:squashfs_xz 106 stream->state = xz_dec_init(XZ_PREALLOC, comp_opts->dict_size); 107 if (stream->state == NULL) { 126 xz_dec_end(stream->state); 140 xz_dec_reset(stream->state); 165 xz_err = xz_dec_run(stream->state, &stream->buf);
|
/fs/fscache/ |
H A D | object.c | 1 /* FS-Cache object state machine handler 12 * object state machine and the in-kernel representations. 38 * Define a work state. Work states are execution states. No event processing 39 * is performed by them. The function attached to a work state returns a 40 * pointer indicating the next state to which the state machine should 41 * transition. Returning NO_TRANSIT repeats the current state, but goes back 54 #define transit_to(state) ({ prefetch(&STATE(state)->work); STATE(state); }) 170 const struct fscache_state *state, *new_state; local [all...] |
/fs/jffs2/ |
H A D | nodelist.c | 408 void jffs2_set_inocache_state(struct jffs2_sb_info *c, struct jffs2_inode_cache *ic, int state) argument 411 ic->state = state; 476 /* Free it now unless it's in READING or CLEARING state, which 481 if (old->state != INO_STATE_READING && old->state != INO_STATE_CLEARING)
|
/fs/ntfs/ |
H A D | inode.h | 51 unsigned long state; /* NTFS specific flags describing this inode. member in struct:_ntfs_inode 69 runlist runlist; /* If state has the NI_NonResident bit set, 96 * lists. Only valid if NI_AttrList is set in state, and attr_list_rl is 141 * Defined bits for the state field in the ntfs_inode structure. 185 return test_bit(NI_##flag, &(ni)->state); \ 189 set_bit(NI_##flag, &(ni)->state); \ 193 clear_bit(NI_##flag, &(ni)->state); \ 202 return test_and_set_bit(NI_##flag, &(ni)->state); \ 206 return test_and_clear_bit(NI_##flag, &(ni)->state); \
|
/fs/xfs/libxfs/ |
H A D | xfs_attr.c | 75 STATIC int xfs_attr_fillstate(xfs_da_state_t *state); 76 STATIC int xfs_attr_refillstate(xfs_da_state_t *state); 606 /* save the attribute state for later removal*/ 615 * clear the remote attr state now that it is saved so that the 616 * values reflect the state of the attribute we are about to 882 xfs_da_state_t *state; local 896 state = xfs_da_state_alloc(); 897 state->args = args; 898 state->mp = mp; 904 error = xfs_da3_node_lookup_int(state, 1151 xfs_da_state_t *state; local 1310 xfs_attr_fillstate(xfs_da_state_t *state) argument 1358 xfs_attr_refillstate(xfs_da_state_t *state) argument 1417 xfs_da_state_t *state; local [all...] |
/fs/btrfs/ |
H A D | transaction.h | 51 enum btrfs_trans_state state; member in struct:btrfs_transaction
|
H A D | extent_io.h | 6 /* bits for the extent state */ 81 struct extent_state *state, int uptodate); 82 void (*set_bit_hook)(struct inode *inode, struct extent_state *state, 84 void (*clear_bit_hook)(struct inode *inode, struct extent_state *state, 94 struct rb_root state; member in struct:extent_io_tree 110 unsigned long state; member in struct:extent_state 206 void free_extent_state(struct extent_state *state); 346 * io_failure_record is used to record state as we go through all the
|
/fs/nfs/ |
H A D | delegation.c | 84 static int nfs_delegation_claim_locks(struct nfs_open_context *ctx, struct nfs4_state *state, const nfs4_stateid *stateid) argument 86 struct inode *inode = state->inode; 101 status = nfs4_lock_delegation_recall(fl, state, stateid); 116 struct nfs4_state *state; local 123 state = ctx->state; 124 if (state == NULL) 126 if (!test_bit(NFS_DELEGATED_STATE, &state->flags)) 128 if (!nfs4_valid_open_stateid(state)) 130 if (!nfs4_stateid_match(&state [all...] |
H A D | client.c | 529 void nfs_mark_client_ready(struct nfs_client *clp, int state) argument 532 clp->cl_cons_state = state; 991 /* Zero out the NFS state stuff */
|
/fs/nilfs2/ |
H A D | bmap.h | 107 * @b_state: state 135 /* state */ 139 * struct nilfs_bmap_store - shadow copy of bmap state 143 * @state: cached value of state field of bmap structure 149 int state; member in struct:nilfs_bmap_store
|
/fs/ |
H A D | posix_acl.c | 177 int state = ACL_USER_OBJ; local 185 if (state == ACL_USER_OBJ) { 186 state = ACL_USER; 192 if (state != ACL_USER) 200 if (state == ACL_USER) { 201 state = ACL_GROUP; 207 if (state != ACL_GROUP) 215 if (state != ACL_GROUP) 217 state = ACL_OTHER; 221 if (state [all...] |
/fs/f2fs/ |
H A D | node.h | 130 int state; /* in use or not: NID_NEW or NID_ALLOC */ member in struct:free_nid
|
/fs/lockd/ |
H A D | mon.c | 50 u32 state; member in struct:nsm_res 58 * Local NSM state 222 if (unlikely(nsm_local_state != res.state)) { 223 nsm_local_state = res.state; 224 dprintk("lockd: NSM state changed to %d\n", nsm_local_state); 305 * lock state if cookies were not unique across reboots. 487 * (via the NLMPROC_SM_NOTIFY call) that the state of host "mon_name" 547 resp->state = be32_to_cpup(p); 549 dprintk("lockd: %s status %d state %d\n", 550 __func__, resp->status, resp->state); [all...] |
/fs/ncpfs/ |
H A D | ioctl.c | 484 int state; local 487 state = server->sign_wanted; 489 if (put_user(state, (int __user *)argp))
|
H A D | ncp_fs_sb.h | 120 unsigned int state; /* STREAM only: receiver state */ member in struct:ncp_server::__anon320
|
/fs/nfsd/ |
H A D | nfs4acl.c | 467 init_state(struct posix_acl_state *state, int cnt) argument 471 memset(state, 0, sizeof(struct posix_acl_state)); 472 state->empty = 1; 480 state->users = kzalloc(alloc, GFP_KERNEL); 481 if (!state->users) 483 state->groups = kzalloc(alloc, GFP_KERNEL); 484 if (!state->groups) { 485 kfree(state->users); 492 free_state(struct posix_acl_state *state) { argument 493 kfree(state 497 add_to_mask(struct posix_acl_state *state, struct posix_ace_state *astate) argument 533 posix_state_to_acl(struct posix_acl_state *state, unsigned int flags) argument 631 find_uid(struct posix_acl_state *state, kuid_t uid) argument 648 find_gid(struct posix_acl_state *state, kgid_t gid) argument 681 process_one_v4_ace(struct posix_acl_state *state, struct nfs4_ace *ace) argument [all...] |