Searched refs:lock_type (Results 1 – 7 of 7) sorted by relevance
/linux-2.4.37.9/fs/hfs/ |
D | bnode.c | 204 void hfs_bnode_lock(struct hfs_bnode_ref *bnr, int lock_type) in hfs_bnode_lock() argument 208 if ((lock_type == bnr->lock_type) || !bn) { in hfs_bnode_lock() 212 if (bnr->lock_type == HFS_LOCK_WRITE) { in hfs_bnode_lock() 216 switch (lock_type) { in hfs_bnode_lock() 227 switch (bnr->lock_type) { in hfs_bnode_lock() 249 switch (bnr->lock_type) { in hfs_bnode_lock() 270 switch (bnr->lock_type) { in hfs_bnode_lock() 291 switch (bnr->lock_type) { in hfs_bnode_lock() 341 bnr->lock_type = lock_type; in hfs_bnode_lock() 346 bnr->lock_type, lock_type); in hfs_bnode_lock() [all …]
|
D | brec.c | 95 int lock_type; in hfs_brec_next() local 109 lock_type = elem->bnr.lock_type; in hfs_brec_next() 120 elem->bnr = hfs_bnode_find(brec->tree, node, lock_type); in hfs_brec_next() 205 int lock_type = flags & HFS_LOCK_MASK; in hfs_brec_init() local 209 head->bnr = hfs_bnode_find(tree, 0, lock_type); in hfs_brec_init() 214 root->bnr = hfs_bnode_find(tree, tree->bthRoot, lock_type); in hfs_brec_init()
|
D | bfind.c | 300 belem->bnr.lock_type); in hfs_bsucc()
|
D | balloc.c | 78 retval.lock_type = HFS_LOCK_NONE; in hfs_bnode_init()
|
D | hfs.h | 395 int lock_type; member
|
/linux-2.4.37.9/fs/xfs/linux-2.4/ |
D | mrlock.c | 54 mrlock_init(mrlock_t *mrp, int lock_type, char *name, long sequence) in mrlock_init() argument
|
/linux-2.4.37.9/fs/ |
D | locks.c | 773 static int flock_lock_file(struct file *filp, unsigned int lock_type, in flock_lock_file() argument 781 int unlock = (lock_type == F_UNLCK); in flock_lock_file() 788 new_fl = flock_make_lock(filp, lock_type); in flock_lock_file() 799 if (lock_type == fl->fl_type) in flock_lock_file()
|