Searched refs:F_RDLCK (Results 1 - 25 of 43) sorted by relevance

12

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-parisc/
H A Dfcntl.h32 #define F_RDLCK 01 macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-alpha/
H A Dfcntl.h30 #define F_RDLCK 1 macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dfcntl.h28 #define F_RDLCK 1 macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dfcntl.h27 #define F_RDLCK 1 macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-generic/
H A Dfcntl.h78 #ifndef F_RDLCK
79 #define F_RDLCK 0 macro
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/mtools-4.0.10/
H A Dlockdev.h54 flk.l_type = mode ? F_WRLCK : F_RDLCK;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/lib/
H A Dpidfile.c64 if (fcntl_lock(fd,SMB_F_SETLK,0,1,F_RDLCK)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/gdbm-1.8.3/
H A Dsystems.h101 flock.l_type = F_RDLCK; \
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/tdb/
H A Dspinlock.c383 case F_RDLCK:
406 case F_RDLCK:
H A Dtdb.c1122 if (!(rec_ptr = tdb_find_lock_hash(tdb,key,hash,F_RDLCK,&rec)))
1131 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1145 if (tdb_find_lock_hash(tdb, key, hash, F_RDLCK, &rec) == 0)
1147 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1160 return off ? tdb_brlock(tdb, off, F_RDLCK, F_SETLKW, 0) : 0;
1866 if (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)
1983 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
1988 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
2026 if ((tdb->flags & TDB_CLEAR_IF_FIRST) && (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ppp-2.4.4/pppd/
H A Dspinlock.c375 case F_RDLCK:
398 case F_RDLCK:
H A Dtdb.c1087 if (!(rec_ptr = tdb_find_lock_hash(tdb,key,hash,F_RDLCK,&rec)))
1096 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1110 if (tdb_find_lock_hash(tdb, key, hash, F_RDLCK, &rec) == 0)
1112 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1125 return off ? tdb_brlock(tdb, off, F_RDLCK, F_SETLKW, 0) : 0;
1824 if (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)
1941 return tdb_lock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
1946 return tdb_unlock(tdb, BUCKET(tdb->hash_fn(&key)), F_RDLCK);
1984 if ((tdb->flags & TDB_CLEAR_IF_FIRST) && (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/tdb/
H A Dspinlock.c333 case F_RDLCK:
356 case F_RDLCK:
H A Dtdb.c1108 if (!(rec_ptr = tdb_find_lock(tdb,key,F_RDLCK,&rec)))
1117 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1131 if (tdb_find_lock(tdb, key, F_RDLCK, &rec) == 0)
1133 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1140 return off ? tdb_brlock(tdb, off, F_RDLCK, F_SETLKW, 0) : 0;
1817 if (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)
1981 return tdb_lock(tdb, BUCKET(tdb_hash(&key)), F_RDLCK);
1988 return tdb_unlock(tdb, BUCKET(tdb_hash(&key)), F_RDLCK);
2025 if (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/tdb/
H A Dspinlock.c333 case F_RDLCK:
356 case F_RDLCK:
H A Dtdb.c1108 if (!(rec_ptr = tdb_find_lock(tdb,key,F_RDLCK,&rec)))
1117 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1131 if (tdb_find_lock(tdb, key, F_RDLCK, &rec) == 0)
1133 tdb_unlock(tdb, BUCKET(rec.full_hash), F_RDLCK);
1140 return off ? tdb_brlock(tdb, off, F_RDLCK, F_SETLKW, 0) : 0;
1817 if (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1)
1981 return tdb_lock(tdb, BUCKET(tdb_hash(&key)), F_RDLCK);
1988 return tdb_unlock(tdb, BUCKET(tdb_hash(&key)), F_RDLCK);
2025 if (tdb_brlock(tdb, ACTIVE_LOCK, F_RDLCK, F_SETLKW, 0) == -1) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/libatalk/adouble/
H A Dad_lock.c57 return F_RDLCK;
167 if ((((type & ADLOCK_RD) && (lock[i].lock.l_type == F_RDLCK)) ||
189 if ((((type & ADLOCK_RD) && (lock[i].lock.l_type == F_RDLCK)) ||
371 if (lock.l_type == F_RDLCK) {
433 lock.l_type = (adf->adf_flags & O_RDWR) ?F_WRLCK : F_RDLCK;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.5/libatalk/adouble/
H A Dad_lock.c59 return F_RDLCK;
169 if ((((type & ADLOCK_RD) && (lock[i].lock.l_type == F_RDLCK)) ||
191 if ((((type & ADLOCK_RD) && (lock[i].lock.l_type == F_RDLCK)) ||
373 if (lock.l_type == F_RDLCK) {
435 lock.l_type = (adf->adf_flags & O_RDWR) ?F_WRLCK : F_RDLCK;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/
H A Dlocks.c144 return F_RDLCK;
179 case F_RDLCK:
286 case F_RDLCK:
990 fl.fl_type = (read_write == FLOCK_VERIFY_WRITE) ? F_WRLCK : F_RDLCK;
1072 alloc_err = lease_alloc(NULL, mode & FMODE_WRITE ? F_WRLCK : F_RDLCK,
1095 future = F_RDLCK | F_INPROGRESS;
1221 if ((arg == F_RDLCK) && (atomic_read(&inode->i_writecount) > 0))
1252 if ((arg == F_RDLCK && (wrlease_count > 0)) ||
1524 if ((flock.l_type != F_RDLCK) && (flock.l_type != F_WRLCK))
1633 case F_RDLCK
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/netatalk-2.2.0/include/atalk/
H A Dutil.h131 lock_reg((fd), F_SETLK, F_RDLCK, (offset), (whence), (len))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/lockd/
H A Dxdr.c139 fl->fl_type = F_RDLCK; /* as good as anything else */
199 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one;
425 fl->fl_type = excl? F_WRLCK : F_RDLCK;
H A Dxdr4.c140 fl->fl_type = F_RDLCK; /* as good as anything else */
202 *p++ = (fl->fl_type == F_RDLCK)? xdr_zero : xdr_one;
433 fl->fl_type = excl? F_WRLCK : F_RDLCK;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/locking/
H A Dposix.c299 return (lock_type == F_RDLCK) ? "READ" : "WRITE";
521 return F_RDLCK;
535 return (lock_type == READ_LOCK) ? F_RDLCK : F_WRLCK;
1139 if (!posix_fcntl_lock(fsp,SMB_F_SETLK,offset,count,F_RDLCK)) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/libdaemon-0.14/libdaemon/
H A Ddpid.c81 f.l_type = F_RDLCK;
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/ntfs-3g-2009.3.8/libntfs-3g/
H A Dunix_io.c121 flk.l_type = F_RDLCK;

Completed in 307 milliseconds

12