Home
last modified time | relevance | path

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

/linux-2.6.39/fs/ceph/
Dlocks.c13 static int ceph_lock_message(u8 lock_type, u16 operation, struct file *file, in ceph_lock_message() argument
35 "length: %llu, wait: %d, type`: %d", (int)lock_type, in ceph_lock_message()
40 req->r_args.filelock_change.rule = lock_type; in ceph_lock_message()
73 "length: %llu, wait: %d, type`: %d, err code %d", (int)lock_type, in ceph_lock_message()
/linux-2.6.39/drivers/staging/pohmelfs/
Dlock.c110 start, size, type, pi->lock_type, in pohmelfs_data_lock()
162 pi->lock_type = type; in pohmelfs_data_lock()
178 pi->lock_type = 0; in pohmelfs_data_unlock()
Ddir.c295 npi->lock_type = POHMELFS_WRITE_LOCK; in pohmelfs_new_inode()
512 int err, lock_type = POHMELFS_READ_LOCK, need_lock = 1; in pohmelfs_lookup() local
516 lock_type = POHMELFS_WRITE_LOCK; in pohmelfs_lookup()
519 if (lock_type == parent->lock_type) in pohmelfs_lookup()
521 if ((lock_type == POHMELFS_READ_LOCK) && (parent->lock_type == POHMELFS_WRITE_LOCK)) in pohmelfs_lookup()
525 if ((lock_type == POHMELFS_READ_LOCK) && !test_bit(NETFS_INODE_REMOTE_DIR_SYNCED, &parent->state)) in pohmelfs_lookup()
554 err = pohmelfs_data_lock(parent, 0, ~0, lock_type); in pohmelfs_lookup()
Dnetfs.h295 int lock_type; /* How this inode is locked: read or write */ member
838 if (type == pi->lock_type) in pohmelfs_need_lock()
840 if ((type == POHMELFS_READ_LOCK) && (pi->lock_type == POHMELFS_WRITE_LOCK)) in pohmelfs_need_lock()
Dinode.c874 pi->lock_type = 0; in pohmelfs_alloc_inode()
/linux-2.6.39/fs/cifs/
Dcifsproto.h362 const __u16 lock_type, const bool waitFlag);
Dcifssmb.c1775 struct file_lock *pLockData, const __u16 lock_type, in CIFSSMBPosixLock() argument
1826 parm_data->lock_type = cpu_to_le16(lock_type); in CIFSSMBPosixLock()
1877 if (parm_data->lock_type == __constant_cpu_to_le16(CIFS_UNLCK)) in CIFSSMBPosixLock()
1880 if (parm_data->lock_type == in CIFSSMBPosixLock()
1883 else if (parm_data->lock_type == in CIFSSMBPosixLock()
Dcifspdu.h1147 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member