| nfs-ganesha 1.4 | 
Go to the source code of this file.
| Functions | |
| fsal_status_t | LUSTREFSAL_lock_op (fsal_file_t *p_file_descriptor, fsal_handle_t *p_filehandle, fsal_op_context_t *p_context, void *p_owner, fsal_lock_op_t lock_op, fsal_lock_param_t request_lock, fsal_lock_param_t *conflicting_lock) | 
| fsal_status_t LUSTREFSAL_lock_op | ( | fsal_file_t * | p_file_descriptor, | 
| fsal_handle_t * | p_filehandle, | ||
| fsal_op_context_t * | p_context, | ||
| void * | p_owner, | ||
| fsal_lock_op_t | lock_op, | ||
| fsal_lock_param_t | request_lock, | ||
| fsal_lock_param_t * | conflicting_lock | ||
| ) | 
LUSTREFSAL_lock_op: Lock/unlock/test an owner independent (anonymous) lock for a region in a file.
| p_file_descriptor | (input): File descriptor of the file to lock. | 
| p_filehandle | (input): File handle of the file to lock. | 
| p_context | (input): Context | 
| p_owner | (input): Owner for the requested lock | 
| lock_op | (input): Can be either FSAL_OP_LOCKT, FSAL_OP_LOCK, FSAL_OP_UNLOCK. The operations are test if a file region is locked, lock a file region, unlock a file region. | 
| lock_type | (input): Can be either FSAL_LOCK_R, FSAL_LOCK_W. Either a read lock or write lock. | 
| lock_start | (input): Start of lock region measured as offset of bytes from start of file. | 
| lock_length | (input): Number of bytes to lock. | 
Definition at line 62 of file FSAL_LUSTRE/fsal_lock.c.
 1.7.3
 1.7.3