Home
last modified time | relevance | path

Searched refs:req_state (Results 1 – 5 of 5) sorted by relevance

/fs/smb/server/
Doplock.c101 lease->state = lctx->req_state; in alloc_lease()
442 lease->state = lctx->req_state; in grant_write_oplock()
463 if (lctx->req_state & SMB2_LEASE_HANDLE_CACHING_LE) in grant_read_oplock()
548 lease->state == (lctx->req_state & lease->state)) { in same_client_has_lease()
550 lease->state |= lctx->req_state; in same_client_has_lease()
551 if (lctx->req_state & in same_client_has_lease()
558 if (lctx->req_state == in same_client_has_lease()
562 lease->state = lctx->req_state; in same_client_has_lease()
566 if (lctx->req_state && lease->state == in same_client_has_lease()
569 lease_none_upgrade(opinfo, lctx->req_state); in same_client_has_lease()
[all …]
Doplock.h33 __le32 req_state; member
Dsmb2pdu.c3229 req_op_level = smb2_map_lease_to_oplock(lc->req_state); in smb2_open()
3232 name, req_op_level, lc->req_state); in smb2_open()
8112 static int check_lease_state(struct lease *lease, __le32 req_state) in check_lease_state() argument
8116 !(req_state & SMB2_LEASE_WRITE_CACHING_LE)) { in check_lease_state()
8117 lease->new_state = req_state; in check_lease_state()
8121 if (lease->new_state == req_state) in check_lease_state()
/fs/gfs2/
Dglock.h136 int (*lm_lock) (struct gfs2_glock *gl, unsigned int req_state,
Dlock_dlm.c257 static int gdlm_lock(struct gfs2_glock *gl, unsigned int req_state, in gdlm_lock() argument
266 req = make_mode(gl->gl_name.ln_sbd, req_state); in gdlm_lock()