Searched refs:rw (Results 1 - 25 of 49) 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/libpcap/ChmodBPF/
H A DChmodBPF12 # with permissions rw-rw----, so that anybody in the admin
18 # packets, or give it the permissions rw-r-----, so that
23 chmod g+rw /dev/bpf*
/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/blktrace/btreplay/
H A Dbtrecord.h44 * @rw: IO direction: 0 = write, 1 = read
49 __u32 rw; member in struct:io_pkt
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...]
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,
/external/libnfc-nxp/inc/
H A DphNfcLlcpTypes.h113 uint8_t rw; member in struct:phFriNfc_LlcpTransport_sSocketOptions
/external/blktrace/
H A Dblkparse.c1178 int rw)
1180 if (rw) {
1190 int rw)
1192 __account_m(&pci->io_stats, t, rw);
1197 __account_m(ios, t, rw);
1202 struct blk_io_trace *t, int rw)
1204 if (rw) {
1214 struct per_cpu_info *pci, int rw)
1216 __account_pc_queue(&pci->io_stats, t, rw);
1221 __account_pc_queue(ios, t, rw);
1177 __account_m(struct io_stats *ios, struct blk_io_trace *t, int rw) argument
1189 account_m(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
1201 __account_pc_queue(struct io_stats *ios, struct blk_io_trace *t, int rw) argument
1213 account_pc_queue(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
1225 __account_pc_issue(struct io_stats *ios, int rw, unsigned int bytes) argument
1237 account_pc_issue(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
1249 __account_pc_requeue(struct io_stats *ios, struct blk_io_trace *t, int rw) argument
1261 account_pc_requeue(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
1273 __account_pc_c(struct io_stats *ios, int rw) argument
1281 account_pc_c(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
1293 __account_queue(struct io_stats *ios, struct blk_io_trace *t, int rw) argument
1305 account_queue(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
1317 __account_c(struct io_stats *ios, int rw, int bytes) argument
1328 account_c(struct blk_io_trace *t, struct per_cpu_info *pci, int rw, int bytes) argument
1340 __account_issue(struct io_stats *ios, int rw, unsigned int bytes) argument
1352 account_issue(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
1384 __account_requeue(struct io_stats *ios, struct blk_io_trace *t, int rw) argument
1396 account_requeue(struct blk_io_trace *t, struct per_cpu_info *pci, int rw) argument
[all...]
/external/oprofile/libdb/
H A Ddb_manage.c166 int odb_open(odb_t * odb, char const * filename, enum odb_rw rw, argument
175 int flags = (rw == ODB_RDWR) ? (O_CREAT | O_RDWR) : O_RDONLY;
176 int mmflags = (rw == ODB_RDWR) ? (PROT_READ | PROT_WRITE) : PROT_READ;
208 if (rw == ODB_RDONLY) {
H A Dodb.h115 * @param rw \enum ODB_RW if opening for writing, else \enum ODB_RDONLY
124 enum odb_rw rw, size_t sizeof_header);
/external/openssl/apps/
H A Dopenssl.c156 int rw; local
158 rw = mode & (CRYPTO_READ|CRYPTO_WRITE);
159 if (!((rw == CRYPTO_READ) || (rw == CRYPTO_WRITE)))
181 modes[type] = rw;
191 if (modes[type] != rw)
193 errstr = (rw == CRYPTO_READ) ?
/external/blktrace/btt/
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);
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);
/external/kernel-headers/original/linux/
H A Dblkdev.h214 __REQ_CMD, /* is a regular fs rw request */
296 typedef void (activity_fn) (void *data, int rw);
513 static inline int blk_queue_full(struct request_queue *q, int rw) argument
515 if (rw == READ)
520 static inline void blk_set_queue_full(struct request_queue *q, int rw) argument
522 if (rw == READ)
528 static inline void blk_clear_queue_full(struct request_queue *q, int rw) argument
530 if (rw == READ)
748 extern long blk_congestion_wait(int rw, long timeout);
/external/e2fsprogs/e2fsck/
H A Djfs_user.h109 void ll_rw_block(int rw, int dummy, struct buffer_head *bh[]);
H A Djournal.c102 void ll_rw_block(int rw, int nr, struct buffer_head *bhp[]) argument
109 if (rw == READ && !bh->b_uptodate) {
123 } else if (rw == WRITE && bh->b_dirty) {
140 rw == READ ? "read" : "write",
/external/kernel-headers/original/linux/raid/
H A Dmd.h92 struct page *page, int rw);
/external/qemu/distrib/sdl-1.2.12/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/dnsmasq/src/
H A Dutil.c490 int read_write(int fd, unsigned char *packet, int size, int rw) argument
497 if (rw)
/external/libnfc-nxp/src/
H A DphFriNfc_LlcpTransport.c425 if((psOptions->rw > PHFRINFC_LLCP_RW_MAX) && (eType == phFriNfc_LlcpTransport_eConnectionOriented))
434 pLlcpTransport->pSocketTable[index].localRW = pLlcpTransport->pSocketTable[index].sSocketOption.rw & PHFRINFC_LLCP_TLV_RW_MASK;
438 pLlcpTransport->pSocketTable[index].bufferRwMaxLength = pLlcpTransport->pSocketTable[index].sSocketOption.miu * ((pLlcpTransport->pSocketTable[index].sSocketOption.rw & PHFRINFC_LLCP_TLV_RW_MASK));
704 else if(psOptions->rw > PHFRINFC_LLCP_RW_MAX)
712 pLlcpSocket->bufferRwMaxLength = psOptions->miu * ((psOptions->rw & PHFRINFC_LLCP_TLV_RW_MASK));
/external/srec/tools/thirdparty/OpenFst/fst/lib/
H A Dstring-weight.h260 ReverseWeight rw; local
262 rw.PushFront(iter.Value());
263 return rw;
/external/chromium/sdch/open-vcdiff/
H A Dinstall-sh223 u_plus_rw=,u+rw
/external/libpng/
H A Dinstall-sh223 u_plus_rw=,u+rw
/external/protobuf/gtest/build-aux/
H A Dinstall-sh223 u_plus_rw=,u+rw
/external/protobuf/
H A Dinstall-sh223 u_plus_rw=,u+rw

Completed in 808 milliseconds

12