smb_lock_t
smb_lock_t *lock;
smb_fsop_frlock(smb_node_t *node, smb_lock_t *lock, boolean_t unlock,
smb_lock_free(smb_lock_t *lock)
smb_lock_destroy(smb_lock_t *lock)
smb_lock_t *tl;
smb_lock_t *lock = NULL;
smb_lock_dump1(smb_lock_t *lock)
smb_lock_t *lock;
smb_lock_t *lock;
smb_lock_t *conflict = NULL;
smb_lock_t *lock;
smb_lock_t *lock;
smb_lock_t *nxtl;
static void smb_lock_dump1(smb_lock_t *);
list_create(&destroy_list, sizeof (smb_lock_t),
offsetof(smb_lock_t, l_lnd));
static void smb_lock_posix_unlock(smb_node_t *, smb_lock_t *, cred_t *);
smb_lock_t *lock;
static int smb_lock_range_overlap(smb_lock_t *, uint64_t, uint64_t);
static uint32_t smb_lock_range_lckrules(smb_ofile_t *, smb_lock_t *,
smb_lock_t **);
static uint32_t smb_lock_wait(smb_request_t *, smb_lock_t *, smb_lock_t *);
uint64_t, uint64_t, uint32_t, smb_lock_t **);
static smb_lock_t *smb_lock_create(smb_request_t *, uint64_t, uint64_t,
static void smb_lock_destroy(smb_lock_t *);
static void smb_lock_free(smb_lock_t *);
smb_lock_posix_unlock(smb_node_t *node, smb_lock_t *lock, cred_t *cr)
smb_lock_t new_unlock;
smb_lock_t *lock;
smb_lock_t *dlock, /* desired lock */
smb_lock_t **conflictp)
smb_lock_t *lock;
smb_lock_t *lock = sr->cancel_arg2;
smb_lock_wait(smb_request_t *sr, smb_lock_t *lock, smb_lock_t *conflict)
smb_lock_t **foundlock)
smb_lock_t *lock;
static smb_lock_t *
smb_lock_t *lock;
smb_llist_constructor(&node->n_lock_list, sizeof (smb_lock_t),
offsetof(smb_lock_t, l_lnd));
smb_llist_constructor(&node->n_wlock_list, sizeof (smb_lock_t),
offsetof(smb_lock_t, l_lnd));
sizeof (smb_lock_t), 8, NULL, NULL, NULL, NULL, NULL, 0);
int smb_fsop_frlock(smb_node_t *, smb_lock_t *, boolean_t, cred_t *);
void smb_node_add_lock(smb_node_t *, smb_lock_t *);
void smb_node_destroy_lock(smb_node_t *, smb_lock_t *);