Searched refs:cur_state (Results 1 – 3 of 3) sorted by relevance
/fs/gfs2/locking/dlm/ |
D | lock.c | 328 static void check_cur_state(struct gdlm_lock *lp, unsigned int cur_state) in check_cur_state() argument 330 s16 cur = make_mode(cur_state); in check_cur_state() 499 unsigned int gdlm_lock(void *lock, unsigned int cur_state, in gdlm_lock() argument 505 return gdlm_unlock(lock, cur_state); in gdlm_lock() 508 return gdlm_unlock(lock, cur_state); in gdlm_lock() 514 check_cur_state(lp, cur_state); in gdlm_lock() 521 unsigned int gdlm_unlock(void *lock, unsigned int cur_state) in gdlm_unlock() argument
|
/fs/gfs2/ |
D | rgrp.c | 84 unsigned char *byte1, *byte2, *end, cur_state; in gfs2_setbit() local 92 cur_state = (*byte1 >> bit) & GFS2_BIT_MASK; in gfs2_setbit() 94 if (unlikely(!valid_change[new_state * 4 + cur_state])) { in gfs2_setbit() 98 *byte1 ^= (cur_state ^ new_state) << bit; in gfs2_setbit() 102 cur_state = (*byte2 >> bit) & GFS2_BIT_MASK; in gfs2_setbit() 103 *byte2 ^= (cur_state ^ new_state) << bit; in gfs2_setbit() 120 unsigned char cur_state; in gfs2_testbit() local 129 cur_state = (*byte >> bit) & GFS2_BIT_MASK; in gfs2_testbit() 131 return cur_state; in gfs2_testbit()
|
D | glock.c | 526 unsigned int cur_state, unsigned int req_state, in gfs2_lm_lock() argument 535 ret = sdp->sd_lockstruct.ls_ops->lm_lock(lock, cur_state, in gfs2_lm_lock()
|