Home
last modified time | relevance | path

Searched refs:new_state (Results 1 – 6 of 6) sorted by relevance

/fs/fscache/
Dobject.c170 const struct fscache_state *state, *new_state; in fscache_object_sm_dispatcher() local
210 new_state = t->transit_to; in fscache_object_sm_dispatcher()
217 state->name, new_state->name); in fscache_object_sm_dispatcher()
218 object->state = state = new_state; in fscache_object_sm_dispatcher()
234 new_state = state->work(object, event); in fscache_object_sm_dispatcher()
236 if (new_state == NO_TRANSIT) { in fscache_object_sm_dispatcher()
248 object->debug_id, state->name, new_state->name); in fscache_object_sm_dispatcher()
249 object->state = state = new_state; in fscache_object_sm_dispatcher()
/fs/gfs2/
Dtrace_gfs2.h92 TP_PROTO(const struct gfs2_glock *gl, unsigned int new_state),
94 TP_ARGS(gl, new_state),
101 __field( u8, new_state )
112 __entry->new_state = glock_trace_state(new_state);
122 glock_trace_name(__entry->new_state),
Drgrp.c76 unsigned char new_state) in gfs2_setbit() argument
90 if (unlikely(!valid_change[new_state * 4 + cur_state])) { in gfs2_setbit()
94 rbm->offset, cur_state, new_state); in gfs2_setbit()
105 *byte1 ^= (cur_state ^ new_state) << bit; in gfs2_setbit()
110 *byte2 ^= (cur_state ^ new_state) << bit; in gfs2_setbit()
2189 u64 bstart, u32 blen, unsigned char new_state) in rgblk_free() argument
2210 gfs2_setbit(&rbm, false, new_state); in rgblk_free()
Dglock.c447 static void state_change(struct gfs2_glock *gl, unsigned int new_state) in state_change() argument
452 held2 = (new_state != LM_ST_UNLOCKED); in state_change()
461 if (new_state != gl->gl_target) in state_change()
465 gl->gl_state = new_state; in state_change()
/fs/cifs/
Dsmb2ops.c3932 unsigned int new_state; in smb3_downgrade_oplock() local
3939 new_state = cinode->oplock; in smb3_downgrade_oplock()
3943 (new_state & CIFS_CACHE_READ_FLG) == 0) in smb3_downgrade_oplock()
3945 else if (old_state == new_state && (epoch - old_epoch > 1)) in smb3_downgrade_oplock()
/fs/ext4/
Dinode.c754 unsigned long new_state; in ext4_update_bh_state() local
770 new_state = (old_state & ~EXT4_MAP_FLAGS) | flags; in ext4_update_bh_state()
772 cmpxchg(&bh->b_state, old_state, new_state) != old_state)); in ext4_update_bh_state()