Searched defs:rw (Results 1 - 25 of 39) sorted by relevance

12

/external/kernel-headers/original/asm-arm/
H A Dspinlock.h90 static inline void __raw_write_lock(raw_rwlock_t *rw) argument
104 : "r" (&rw->lock), "r" (0x80000000)
110 static inline int __raw_write_trylock(raw_rwlock_t *rw) argument
119 : "r" (&rw->lock), "r" (0x80000000)
130 static inline void __raw_write_unlock(raw_rwlock_t *rw) argument
141 : "r" (&rw->lock), "r" (0)
160 static inline void __raw_read_lock(raw_rwlock_t *rw) argument
174 : "r" (&rw->lock)
180 static inline void __raw_read_unlock(raw_rwlock_t *rw) argument
198 : "r" (&rw
202 __raw_read_trylock(raw_rwlock_t *rw) argument
[all...]
/external/blktrace/btreplay/
H A Dbtrecord.h44 * @rw: IO direction: 0 = write, 1 = read
49 __u32 rw; member in struct:io_pkt
H A Dbtrecord.c67 * @rw: Read (1) or write (0)
73 int rw; member in struct:io_spec
276 .rw = spec->rw
546 spec->rw = (action & BLK_TC_ACT(BLK_TC_READ)) ? 1 : 0;
551 spec->rw, (long long unsigned)spec->time);
614 p->rw,
H A Dbtreplay.c708 * @rw: Direction (0 == write, 1 == read)
712 static void iocb_setup(struct iocb_pkt *iocbp, int rw, int n, long long off) argument
717 assert(rw == 0 || rw == 1);
735 if (rw)
1222 __u32 rw = pkt->rw; local
1225 if (!pkt->rw && !write_enabled)
1226 rw = 1;
1232 rw
[all...]
/external/compiler-rt/lib/tsan/rtl/
H A Dtsan_rtl_mutex.cc24 bool rw, bool recursive, bool linker_init) {
32 s->is_rw = rw;
23 MutexCreate(ThreadState *thr, uptr pc, uptr addr, bool rw, bool recursive, bool linker_init) argument
/external/kernel-headers/original/asm-x86/
H A Dspinlock_32.h145 * Changed to use the same technique as rw semaphores. See
169 static inline void __raw_read_lock(raw_rwlock_t *rw) argument
175 ::"a" (rw) : "memory");
178 static inline void __raw_write_lock(raw_rwlock_t *rw) argument
184 ::"a" (rw) : "memory");
206 static inline void __raw_read_unlock(raw_rwlock_t *rw) argument
208 asm volatile(LOCK_PREFIX "incl %0" :"+m" (rw->lock) : : "memory");
211 static inline void __raw_write_unlock(raw_rwlock_t *rw) argument
214 : "+m" (rw->lock) : : "memory");
/external/oprofile/libdb/
H A Ddb_manage.c175 int odb_open(odb_t * odb, char const * filename, enum odb_rw rw, argument
184 int flags = (rw == ODB_RDWR) ? (O_CREAT | O_RDWR) : O_RDONLY;
185 int mmflags = (rw == ODB_RDWR) ? (PROT_READ | PROT_WRITE) : PROT_READ;
217 if (rw == ODB_RDONLY) {
/external/blktrace/btt/
H A Diostat.c255 int rw = IOP_RW(iop); local
259 INC_STAT(dip, ios[rw]);
260 ADD_STAT(dip, sec[rw], iop->t.bytes >> 9);
H A Dseek.c45 static FILE *seek_open(char *str, char rw) argument
53 sprintf(oname, "%s_%s_%c.dat", seek_name, str, rw);
254 char rw = IOP_READ(iop) ? 'r' : 'w'; local
260 fprintf(fp, "%15.9lf %13lld %c\n", tstamp, dist, rw);
262 fprintf(sip->cfp, "%15.9lf %13lld %c\n", tstamp, dist, rw);
/external/libnfc-nci/src/nfa/p2p/
H A Dnfa_p2p_api.c207 UINT8 rw)
212 P2P_TRACE_API3 ("NFA_P2pAcceptConn (): handle:0x%02X, MIU:%d, RW:%d", handle, miu, rw);
244 p_msg->rw = rw;
381 UINT8 rw)
387 client_handle, p_service_name, miu, rw);
414 p_msg->rw = rw;
442 UINT8 rw)
448 client_handle, dsap, miu, rw);
205 NFA_P2pAcceptConn(tNFA_HANDLE handle, UINT16 miu, UINT8 rw) argument
378 NFA_P2pConnectByName(tNFA_HANDLE client_handle, char *p_service_name, UINT16 miu, UINT8 rw) argument
439 NFA_P2pConnectBySap(tNFA_HANDLE client_handle, UINT8 dsap, UINT16 miu, UINT8 rw) argument
[all...]
/external/libnfc-nxp/inc/
H A DphNfcLlcpTypes.h116 uint8_t rw; member in struct:phFriNfc_LlcpTransport_sSocketOptions
/external/mksh/src/
H A Dtree.c481 char **rw; local
502 rw = r->vars = alloc2(tw - (const char **)t->vars + 1,
506 *rw++ = wdcopy(*tw++, ap);
507 *rw = NULL;
516 r->args = (const char **)(rw = alloc2(tw - t->args + 1,
520 *rw++ = wdcopy(*tw++, ap);
521 *rw = NULL;
667 for (w = cw.rw; *w != NULL; w++)
/external/dnsmasq/src/
H A Dutil.c490 int read_write(int fd, unsigned char *packet, int size, int rw) argument
497 if (rw)
/external/libnfc-nci/src/nfc/include/
H A Dllcp_api.h58 UINT8 rw; /* Local receiving window */ member in struct:__anon8402
122 UINT8 rw; /* RW of peer device */ member in struct:__anon8404
132 UINT8 rw; /* RW of peer device */ member in struct:__anon8405
/external/openfst/src/include/fst/
H A Dstring-weight.h268 ReverseWeight rw; local
270 rw.PushFront(iter.Value());
271 return rw;
/external/openssl/apps/
H A Dopenssl.c159 int rw; local
161 rw = mode & (CRYPTO_READ|CRYPTO_WRITE);
162 if (!((rw == CRYPTO_READ) || (rw == CRYPTO_WRITE)))
184 modes[type] = rw;
194 if (modes[type] != rw)
196 errstr = (rw == CRYPTO_READ) ?
/external/qemu/distrib/sdl-1.2.15/src/cdrom/bsdi/
H A DSDL_syscdrom.c92 int rw,
103 if (rw != SUC_READ && rw != SUC_WRITE) return(-1);
105 suc.suc_flags = rw;
89 scsi_cmd(int fd, struct scsi_cdb *cdb, int cdblen, int rw, caddr_t data, int datalen, struct scsi_user_cdb *sus) argument
/external/qemu/target-mips/
H A Dhelper.c39 target_ulong address, int rw, int access_type)
48 target_ulong address, int rw, int access_type)
66 target_ulong address, int rw, int access_type)
94 if (rw == 0 || (n ? tlb->D1 : tlb->D0)) {
110 int rw, int access_type)
133 ret = env->tlb->map_address(env, physical, prot, address, rw, access_type);
139 ret = env->tlb->map_address(env, physical, prot, address, rw, access_type);
147 ret = env->tlb->map_address(env, physical, prot, address, rw, access_type);
164 ret = env->tlb->map_address(env, physical, prot, address, rw, access_type);
188 ret = env->tlb->map_address(env, physical, prot, address, rw, access_typ
38 no_mmu_map_address(CPUState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type) argument
47 fixed_mmu_map_address(CPUState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type) argument
65 r4k_map_address(CPUState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type) argument
108 get_physical_address(CPUState *env, target_phys_addr_t *physical, int *prot, target_ulong address, int rw, int access_type) argument
210 raise_mmu_exception(CPUState *env, target_ulong address, int rw, int tlb_error) argument
398 cpu_mips_handle_mmu_fault(CPUState *env, target_ulong address, int rw, int mmu_idx, int is_softmmu) argument
446 cpu_mips_translate_address(CPUState *env, target_ulong address, int rw) argument
[all...]
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dstring-weight.h260 ReverseWeight rw; local
262 rw.PushFront(iter.Value());
263 return rw;
/external/e2fsprogs/e2fsck/
H A Djournal.c108 void ll_rw_block(int rw, int nr, struct buffer_head *bhp[]) argument
115 if (rw == READ && !bh->b_uptodate) {
129 } else if (rw == WRITE && bh->b_dirty) {
146 rw == READ ? "read" : "write",
/external/libnfc-nci/src/nfa/int/
H A Dnfa_p2p_int.h99 UINT8 rw; member in struct:__anon8340
125 UINT8 rw; member in struct:__anon8343
H A Dnfa_dta_int.h158 tNFA_DTA_RW_DATA rw; member in union:__anon8272::__anon8273
/external/openssl/ssl/
H A Dd1_pkt.c1885 dtls1_reset_seq_numbers(SSL *s, int rw) argument
1890 if ( rw & SSL3_CC_READ)
/external/qemu/distrib/sdl-1.2.15/src/video/x11/
H A DSDL_x11modes.c1096 int rw, rh; local
1099 get_real_resolution(this, &rw, &rh);
1101 if (rw != saved_res.width || rh != saved_res.height) {
/external/javasqlite/src/main/java/SQLite/
H A DDatabase.java727 * @param rw if true, open for read-write, else read-only
732 long row, boolean rw) throws SQLite.Exception {
735 _open_blob(db, table, column, row, rw, blob);
781 * @param rw if true, open for read-write, else read-only
786 long row, boolean rw, Blob blob)
731 open_blob(String db, String table, String column, long row, boolean rw) argument
785 _open_blob(String db, String table, String column, long row, boolean rw, Blob blob) argument

Completed in 1329 milliseconds

12