Home
last modified time | relevance | path

Searched refs:flags (Results 1 – 25 of 132) sorted by relevance

123456

/development/ndk/platforms/android-3/include/linux/
Dspinlock_api_up.h29 #define __LOCK_IRQSAVE(lock, flags) do { local_irq_save(flags); __LOCK(lock); } while (0) argument
37 #define __UNLOCK_IRQRESTORE(lock, flags) do { local_irq_restore(flags); __UNLOCK(lock); } while (… argument
49 #define _spin_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
50 #define _read_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
51 #define _write_lock_irqsave(lock, flags) __LOCK_IRQSAVE(lock, flags) argument
65 #define _spin_unlock_irqrestore(lock, flags) __UNLOCK_IRQRESTORE(lock, flags) argument
66 #define _read_unlock_irqrestore(lock, flags) __UNLOCK_IRQRESTORE(lock, flags) argument
67 #define _write_unlock_irqrestore(lock, flags) __UNLOCK_IRQRESTORE(lock, flags) argument
Dspinlock.h47 #define _raw_spin_lock_flags(lock, flags) __raw_spin_lock_flags(&(lock)->raw_lock, *(flags)) argument
71 #define spin_lock_irqsave(lock, flags) _spin_lock_irqsave(lock, flags) argument
72 #define read_lock_irqsave(lock, flags) _read_lock_irqsave(lock, flags) argument
73 #define write_lock_irqsave(lock, flags) _write_lock_irqsave(lock, flags) argument
91 #define spin_unlock_irqrestore(lock, flags) _spin_unlock_irqrestore(lock, flags) argument
94 #define read_unlock_irqrestore(lock, flags) _read_unlock_irqrestore(lock, flags) argument
97 #define write_unlock_irqrestore(lock, flags) _write_unlock_irqrestore(lock, flags) argument
104 …ne spin_trylock_irqsave(lock, flags) ({ local_irq_save(flags); _spin_trylock(lock) ? 1 : ({… argument
Dseqlock.h34 #define write_seqlock_irqsave(lock, flags) do { local_irq_save(flags); write_seqlock(lock); } whi… argument
37 #define write_sequnlock_irqrestore(lock, flags) do { write_sequnlock(lock); local_irq_restore(fla… argument
40 #define read_seqbegin_irqsave(lock, flags) ({ local_irq_save(flags); read_seqbegin(lock); }) argument
41 …ine read_seqretry_irqrestore(lock, iv, flags) ({ int ret = read_seqretry(lock, iv); local_ir… argument
Dirqflags.h31 #define raw_local_irq_save(flags) local_irq_save(flags) argument
32 #define raw_local_irq_restore(flags) local_irq_restore(flags) argument
Dbio.h165 #define bvec_kmap_irq(bvec, flags) (page_address((bvec)->bv_page) + (bvec)->bv_offset) argument
166 #define bvec_kunmap_irq(buf, flags) do { *(flags) = 0; } while (0) argument
168 #define __bio_kunmap_irq(buf, flags) bvec_kunmap_irq(buf, flags) argument
169 #define bio_kmap_irq(bio, flags) __bio_kmap_irq((bio), (bio)->bi_idx, (flags)) argument
170 #define bio_kunmap_irq(buf,flags) __bio_kunmap_irq(buf, flags) argument
Dblkdev.h123 unsigned long flags; member
406 #define blk_fs_request(rq) ((rq)->flags & REQ_CMD)
407 #define blk_pc_request(rq) ((rq)->flags & REQ_BLOCK_PC)
408 #define blk_noretry_request(rq) ((rq)->flags & REQ_FAILFAST)
409 #define blk_rq_started(rq) ((rq)->flags & REQ_STARTED)
413 #define blk_pm_suspend_request(rq) ((rq)->flags & REQ_PM_SUSPEND)
414 #define blk_pm_resume_request(rq) ((rq)->flags & REQ_PM_RESUME)
415 #define blk_pm_request(rq) ((rq)->flags & (REQ_PM_SUSPEND | REQ_PM_RESUME))
417 #define blk_sorted_rq(rq) ((rq)->flags & REQ_SORTED)
418 #define blk_barrier_rq(rq) ((rq)->flags & REQ_HARDBARRIER)
[all …]
Djbd.h27 #define jbd_kmalloc(size, flags) __jbd_kmalloc(__FUNCTION__, (size), (flags), journal_oom_retry) argument
28 #define jbd_rep_kmalloc(size, flags) __jbd_kmalloc(__FUNCTION__, (size), (flags), 1) argument
Dvideodev.h34 __u32 flags; member
48 __u32 flags; member
99 __u32 flags; member
128 __u32 flags; member
143 __u16 flags; member
166 __u32 flags; member
193 __u32 flags; member
Dncp_mount.h38 unsigned int flags; member
50 unsigned long flags; member
Da.out.h55 … N_SET_INFO(exec, magic, type, flags) ((exec).a_info = ((magic) & 0xffff) | (((int)(type) & 0x… argument
60 #define N_SET_FLAGS(exec, flags) ((exec).a_info = ((exec).a_info&0x00ffffff) | (((flags) & 0xff… argument
Dcoda.h238 int flags; member
250 int flags; member
260 int flags; member
270 int flags; member
315 int flags; member
329 int flags; member
481 int flags; member
493 int flags; member
Dfd.h108 char flags; member
137 unsigned long flags; member
214 unsigned int flags; member
Dwireless.h294 __u16 flags; member
301 __u16 flags; member
309 __u8 flags; member
347 __u8 flags; member
391 __u32 flags; member
399 __u32 flags; member
/development/simulator/wrapsim/
DFakeDev.h94 int wsInterceptDeviceOpen(const char* pathName, int flags);
102 int wsInterceptDeviceAccess(const char* pathName, int flags);
107 FakeDev* wsOpenDevAudio(const char* pathName, int flags);
108 FakeDev* wsOpenDevConsoleTty(const char* pathName, int flags);
109 FakeDev* wsOpenDevEvent(const char* pathName, int flags);
110 FakeDev* wsOpenDevFb(const char* pathName, int flags);
111 FakeDev* wsOpenDevLog(const char* pathName, int flags);
112 FakeDev* wsOpenDevPower(const char* pathName, int flags);
113 FakeDev* wsOpenSysPower(const char* pathName, int flags);
114 FakeDev* wsOpenDevVibrator(const char* pathName, int flags);
DIntercept.c528 int openCommon(const char* pathName, int flags, mode_t mode) in openCommon() argument
535 fd = wsInterceptDeviceOpen(pathName, flags); in openCommon()
543 if ((flags & O_CREAT) != 0) { in openCommon()
544 fd = _ws_open(rewritePath("open", pathBuf, pathName), flags, mode); in openCommon()
545 CALLTRACE("open(%s, 0x%x, 0%o) = %d\n", pathName, flags, mode, fd); in openCommon()
547 fd = _ws_open(rewritePath("open", pathBuf, pathName), flags, 0); in openCommon()
548 CALLTRACE("open(%s, 0x%x) = %d\n", pathName, flags, fd); in openCommon()
559 int open(const char* pathName, int flags, ...) in open() argument
564 if ((flags & O_CREAT) != 0) { in open()
567 va_start(args, flags); in open()
[all …]
/development/ndk/platforms/android-5/arch-x86/include/asm/
Dirqflags_32.h27 #define raw_local_save_flags(flags) do { (flags) = __raw_local_save_flags(); } while (0) argument
28 #define raw_local_irq_save(flags) do { (flags) = __raw_local_irq_save(); } while (0) argument
Dvm86.h85 unsigned long flags; member
105 unsigned long flags; member
/development/host/windows/usb/api/
Dadb_api_private_defines.h39 Set(proto.device_name().c_str(), proto.class_id(), proto.flags()); in AdbInstanceEnumEntry()
55 Set(proto.device_name().c_str(), proto.class_id(), proto.flags());
81 info->flags = flags(); in Save()
96 DWORD flags() const { in flags() function
Dadb_interface_enum.cpp40 DWORD flags = DIGCF_DEVICEINTERFACE; in InitializeEnum() local
42 flags |= DIGCF_PRESENT; in InitializeEnum()
46 flags, in InitializeEnum()
/development/simulator/app/
DPipe.cpp302 int flags; in setReadNonBlocking() local
304 if (fcntl(mReadHandle, F_GETFL, &flags) == -1) { in setReadNonBlocking()
309 flags |= O_NONBLOCK; in setReadNonBlocking()
311 flags &= ~(O_NONBLOCK); in setReadNonBlocking()
312 if (fcntl(mReadHandle, F_SETFL, &flags) == -1) { in setReadNonBlocking()
334 int flags; in setWriteNonBlocking() local
336 if (fcntl(mWriteHandle, F_GETFL, &flags) == -1) { in setWriteNonBlocking()
343 flags |= O_NONBLOCK; in setWriteNonBlocking()
345 flags &= ~(O_NONBLOCK); in setWriteNonBlocking()
346 if (fcntl(mWriteHandle, F_SETFL, &flags) == -1) { in setWriteNonBlocking()
/development/ndk/platforms/android-3/include/linux/mmc/
Dmmc.h27 unsigned int flags; member
46 #define mmc_resp_type(cmd) ((cmd)->flags & (MMC_RSP_PRESENT|MMC_RSP_136|MMC_RSP_CRC|MMC_RSP_BUSY|MM…
48 #define mmc_cmd_type(cmd) ((cmd)->flags & MMC_CMD_MASK)
71 unsigned int flags; member
/development/ndk/platforms/android-3/include/linux/netfilter/
Dxt_multiport.h26 u_int8_t flags; member
33 u_int8_t flags; member
Dxt_quota.h21 u_int32_t flags; member
/development/ndk/platforms/android-3/include/sys/
Dstat.h100 extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
102 extern int fchownat(int dirfd, const char *path, uid_t owner, gid_t group, int flags);
103 extern int fchmodat(int dirfd, const char *path, mode_t mode, int flags);
/development/ndk/platforms/android-9/include/android/
Dnative_activity.h272 void ANativeActivity_showSoftInput(ANativeActivity* activity, uint32_t flags);
289 void ANativeActivity_hideSoftInput(ANativeActivity* activity, uint32_t flags);

123456