Home
last modified time | relevance | path

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

/openbmc/linux/fs/smb/server/
H A Doplock.c432 static void grant_write_oplock(struct oplock_info *opinfo_new, int req_oplock, in grant_write_oplock() argument
435 struct lease *lease = opinfo_new->o_lease; in grant_write_oplock()
438 opinfo_new->level = SMB2_OPLOCK_LEVEL_BATCH; in grant_write_oplock()
440 opinfo_new->level = SMB2_OPLOCK_LEVEL_EXCLUSIVE; in grant_write_oplock()
455 static void grant_read_oplock(struct oplock_info *opinfo_new, in grant_read_oplock() argument
458 struct lease *lease = opinfo_new->o_lease; in grant_read_oplock()
460 opinfo_new->level = SMB2_OPLOCK_LEVEL_II; in grant_read_oplock()
477 static void grant_none_oplock(struct oplock_info *opinfo_new, in grant_none_oplock() argument
480 struct lease *lease = opinfo_new->o_lease; in grant_none_oplock()
482 opinfo_new->level = SMB2_OPLOCK_LEVEL_NONE; in grant_none_oplock()