Lines Matching defs:of
4 * The contents of this file are subject to the terms of the
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
17 * information: Portions Copyright [yyyy] [name of copyright owner]
37 * The purpose of this mechanism is to prevent another thread from
107 * of them. The skc_oplock_enable parameter can be used to enable
121 * If any of the following are true, grant NONE:
227 * Wait for acknowledgement of the break (unless NOWAIT flag is set)
336 * avoid breaking oplocks until that's out of the way. However, we
349 /* Instead of: smb_oplock_wait() ... */
354 /* Equivalent of smb_oplock_wait() done. */
366 * (the equivalent of) an smb_oplock_wait().
543 * Release the oplock granted on ofile 'of'.
549 smb_oplock_release(smb_node_t *node, smb_ofile_t *of)
558 og = smb_oplock_get_grant(ol, of);
575 * Process oplock acknowledgement received for ofile 'of'.
579 * Update the oplock grant level to the lesser of ol_break and brk.
588 smb_oplock_ack(smb_node_t *node, smb_ofile_t *of, uint8_t brk)
598 ((og = smb_oplock_get_grant(ol, of)) == NULL)) {
638 * acquire. Other threads may be blocked awaiting completion of the
665 * Wait for the completion of an oplock acquire.
667 * context of the calling thread, the caller will sleep until the
688 smb_oplock_set_grant(smb_ofile_t *of, uint8_t level)
692 og = &of->f_oplock_grant;
697 og->og_ofile = of;
698 og->og_fid = of->f_fid;
699 og->og_tid = of->f_tree->t_tid;
700 og->og_uid = of->f_user->u_uid;
701 og->og_session = of->f_session;