/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/locking/ |
H A D | brlock.c | 51 enum brl_type lock_type; member in struct:lock_struct 123 if (lck1->lock_type == PENDING_LOCK || lck2->lock_type == PENDING_LOCK ) 126 if (lck1->lock_type == READ_LOCK && lck2->lock_type == READ_LOCK) { 131 lck2->lock_type == READ_LOCK && lck1->fnum == lck2->fnum) { 142 if (lck1->lock_type == PENDING_LOCK || lck2->lock_type == PENDING_LOCK ) 145 if (lck1->lock_type == READ_LOCK && lck2->lock_type 346 brl_lock(SMB_DEV_T dev, SMB_INO_T ino, int fnum, uint16 smbpid, pid_t pid, uint16 tid, br_off start, br_off size, enum brl_type lock_type, BOOL *my_lock_ctx) argument 583 brl_locktest(SMB_DEV_T dev, SMB_INO_T ino, int fnum, uint16 smbpid, pid_t pid, uint16 tid, br_off start, br_off size, enum brl_type lock_type) argument [all...] |
H A D | posix.c | 49 int lock_type; member in struct:posix_lock 297 static const char *posix_lock_type_name(int lock_type) argument 299 return (lock_type == F_RDLCK) ? "READ" : "WRITE"; 352 static BOOL add_posix_lock_entry(files_struct *fsp, SMB_OFF_T start, SMB_OFF_T size, int lock_type, size_t *pentry_num) argument 372 pl.lock_type = lock_type; 392 fsp->fsp_name, posix_lock_type_name(lock_type), (double)start, (double)size, 494 posix_lock_type_name(pl->lock_type), (double)pl->start, (double)pl->size, 512 static int map_posix_lock_type( files_struct *fsp, enum brl_type lock_type) argument 514 if((lock_type 690 is_posix_locked(files_struct *fsp, SMB_BIG_UINT u_offset, SMB_BIG_UINT u_count, enum brl_type lock_type) argument 955 set_posix_lock(files_struct *fsp, SMB_BIG_UINT u_offset, SMB_BIG_UINT u_count, enum brl_type lock_type) argument [all...] |
H A D | locking.c | 58 static const char *lock_type_name(enum brl_type lock_type) argument 60 return (lock_type == READ_LOCK) ? "READ" : "WRITE"; 69 enum brl_type lock_type) 82 if (EXCLUSIVE_OPLOCK_TYPE(fsp->oplock_type) && (lock_type == READ_LOCK || lock_type == WRITE_LOCK)) { 85 } else if (LEVEL_II_OPLOCK_TYPE(fsp->oplock_type) && (lock_type == READ_LOCK)) { 91 offset, count, lock_type); 96 offset, count, lock_type); 109 ret = is_posix_locked(fsp, offset, count, lock_type); 124 SMB_BIG_UINT count,SMB_BIG_UINT offset,enum brl_type lock_type, BOO 67 is_locked(files_struct *fsp,connection_struct *conn, SMB_BIG_UINT count,SMB_BIG_UINT offset, enum brl_type lock_type) argument 123 do_lock(files_struct *fsp,connection_struct *conn, uint16 lock_pid, SMB_BIG_UINT count,SMB_BIG_UINT offset,enum brl_type lock_type, BOOL *my_lock_ctx) argument 178 do_lock_spin(files_struct *fsp,connection_struct *conn, uint16 lock_pid, SMB_BIG_UINT count,SMB_BIG_UINT offset,enum brl_type lock_type, BOOL *my_lock_ctx) argument [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/examples_cxx/ |
H A D | LockExample.cpp | 169 db_lockmode_t lock_type; local 171 lock_type = DB_LOCK_READ; 173 lock_type = DB_LOCK_WRITE; 179 lock_type, &lock);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/examples_c/ |
H A D | ex_lock.c | 40 db_lockmode_t lock_type; local 117 lock_type = DB_LOCK_READ; 119 lock_type = DB_LOCK_WRITE; 124 DB_LOCK_NOWAIT, &lock_dbt, lock_type, &lock);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/examples_java/src/db/ |
H A D | LockExample.java | 121 LockRequestMode lock_type; 123 lock_type = LockRequestMode.READ; 125 lock_type = LockRequestMode.WRITE; 131 lock = dbenv.getLock(locker, true, entry, lock_type);
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/torture/ |
H A D | locktest.c | 58 enum brl_type lock_type; member in struct:record 105 enum brl_type lock_type, 124 lock_type==READ_LOCK?"R":"W", 279 enum brl_type op = rec->lock_type; 444 recorded[n].lock_type = READ_LOCK; 446 recorded[n].lock_type = WRITE_LOCK; 527 recorded[i].lock_type, 104 print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid, enum brl_type lock_type, br_off start, br_off size) argument
|
H A D | locktest2.c | 139 enum brl_type lock_type, 144 lock_type==READ_LOCK?"R":"W", 138 print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid, enum brl_type lock_type, br_off start, br_off size) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/timemachine/db-4.7.25.NC/hash/ |
H A D | hash.c | 415 db_lockmode_t lock_type; local 425 lock_type = DB_LOCK_WRITE; 427 lock_type = DB_LOCK_READ; 443 prev: ret = __ham_item_prev(dbc, lock_type, pgnop); 448 ret = __ham_item_last(dbc, lock_type, pgnop); 460 next: ret = __ham_item_next(dbc, lock_type, pgnop); 465 ret = __ham_item_first(dbc, lock_type, pgnop); 471 ret = __ham_lookup(dbc, key, 0, lock_type, pgnop); 480 ret = __ham_item(dbc, lock_type, pgnop); 525 ret = __ham_item_prev(dbc, lock_type, pgno [all...] |
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/ |
H A D | direct-io.c | 57 * lock_type is DIO_LOCKING for regular files on direct-IO-naive filesystems. 71 int lock_type; /* doesn't change */ member in struct:dio 249 if (dio->lock_type == DIO_LOCKING) 536 if (dio->lock_type == DIO_LOCKING) { 540 } else if (dio->lock_type == DIO_NO_LOCKING) { 1077 if ((rw == READ) && (dio->lock_type == DIO_LOCKING)) 1200 dio->lock_type = dio_lock_type;
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/passdb/ |
H A D | pdb_smbpasswd.c | 142 int lock_type = F_RDLCK; local 152 lock_type = F_RDLCK; 156 lock_type = F_WRLCK; 178 lock_type = F_WRLCK; 209 if (!pw_file_lock(fileno(fp), lock_type, 5, lock_depth)) {
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/libsmb/ |
H A D | clifile.c | 869 uint32 offset, uint32 len, int timeout, enum brl_type lock_type) 885 SCVAL(cli->outbuf,smb_vwv3,(lock_type == READ_LOCK? 1 : 0)); 966 SMB_BIG_UINT offset, SMB_BIG_UINT len, int timeout, enum brl_type lock_type) 973 return cli_lock(cli, fnum, offset, len, timeout, lock_type); 976 ltype = (lock_type == READ_LOCK? 1 : 0); 868 cli_lock(struct cli_state *cli, int fnum, uint32 offset, uint32 len, int timeout, enum brl_type lock_type) argument 965 cli_lock64(struct cli_state *cli, int fnum, SMB_BIG_UINT offset, SMB_BIG_UINT len, int timeout, enum brl_type lock_type) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/fs/cifs/ |
H A D | cifsproto.h | 280 const __u16 lock_type, const int waitFlag);
|
H A D | cifssmb.c | 1648 struct file_lock *pLockData, const __u16 lock_type, 1700 parm_data->lock_type = cpu_to_le16(lock_type); 1750 if(parm_data->lock_type == cpu_to_le16(CIFS_UNLCK)) 1646 CIFSSMBPosixLock(const int xid, struct cifsTconInfo *tcon, const __u16 smb_file_id, const int get_flag, const __u64 len, struct file_lock *pLockData, const __u16 lock_type, const int waitFlag) argument
|
H A D | cifspdu.h | 938 __le16 lock_type; /* 0 = Read, 1 = Write, 2 = Unlock */ member in struct:cifs_posix_lock
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/include/ |
H A D | smb.h | 764 enum brl_type lock_type, \ 768 enum brl_type lock_type, \
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/samba-3.0.13/source/utils/ |
H A D | status.c | 149 enum brl_type lock_type, 162 lock_type==READ_LOCK?"R":"W", 148 print_brl(SMB_DEV_T dev, SMB_INO_T ino, int pid, enum brl_type lock_type, br_off start, br_off size) argument
|
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/ |
H A D | fs.h | 1815 int lock_type);
|