Home
last modified time | relevance | path

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

12345678910>>...13

/development/ndk/platforms/android-9/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 …]
/development/ndk/platforms/android-21/include/
Dfcntl.h96 int open(const char* pathname, int flags, ...) { in open() argument
97 if (__builtin_constant_p(flags)) { in open()
98 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in open()
107 if ((__builtin_va_arg_pack_len() == 0) && !__builtin_constant_p(flags)) { in open()
108 return __open_2(pathname, flags); in open()
111 return __open_real(pathname, flags, __builtin_va_arg_pack()); in open()
115 int openat(int dirfd, const char* pathname, int flags, ...) { in openat() argument
116 if (__builtin_constant_p(flags)) { in openat()
117 if ((flags & O_CREAT) && __builtin_va_arg_pack_len() == 0) { in openat()
126 if ((__builtin_va_arg_pack_len() == 0) && !__builtin_constant_p(flags)) { in openat()
[all …]
/development/ndk/platforms/android-9/arch-x86/include/asm/
Dirqflags_32.h36 #define raw_local_save_flags(flags) do { (flags) = __raw_local_save_flags(); } while (0) argument
37 #define raw_local_irq_save(flags) do { (flags) = __raw_local_irq_save(); } while (0) argument
/development/ndk/platforms/android-21/include/linux/netfilter/
Dxt_set.h31 __u32 flags[IPSET_DIM_MAX + 1]; member
36 __u8 flags; member
54 __u8 flags; member
69 __u32 flags; member
77 __u32 flags; member
Dxt_socket.h29 __u8 flags; member
34 __u8 flags; member
Dxt_multiport.h31 __u8 flags; member
37 __u8 flags; member
/development/ndk/platforms/android-21/include/linux/
Dvfio.h36 __u32 flags; member
49 __u32 flags; member
60 __u32 flags; member
75 __u32 flags; member
89 __u32 flags; member
142 __u32 flags; member
151 __u32 flags; member
160 __u32 flags; member
169 __u32 flags; member
181 __u32 flags; member
[all …]
Drds.h75 uint8_t flags; member
89 uint8_t flags; member
145 uint64_t flags; member
152 uint64_t flags; member
157 uint64_t flags; member
166 uint64_t flags; member
199 uint64_t flags; member
Dvirtio_ring.h35 __u16 flags; member
40 __u16 flags; member
51 __u16 flags; member
Dptp_clock.h46 unsigned int flags; member
55 unsigned int flags; member
77 unsigned int flags; member
Dnvme.h26 __u8 flags; member
190 __u8 flags; member
204 __u8 flags; member
249 __u8 flags; member
326 __u8 flags; member
340 __u8 flags; member
355 __u8 flags; member
371 __u8 flags; member
387 __u8 flags; member
399 __u8 flags; member
[all …]
/development/ndk/platforms/android-9/arch-mips/include/asm/
Dcacheflush.h30 #define Page_dcache_dirty(page) test_bit(PG_dcache_dirty, &(page)->flags)
31 #define SetPageDcacheDirty(page) set_bit(PG_dcache_dirty, &(page)->flags)
32 #define ClearPageDcacheDirty(page) clear_bit(PG_dcache_dirty, &(page)->flags)
/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
/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java108 private boolean onCommitContent(InputContentInfoCompat inputContentInfo, int flags, in onCommitContent() argument
139 return onCommitContentInternal(inputContentInfo, flags); in onCommitContent()
142 private boolean onCommitContentInternal(InputContentInfoCompat inputContentInfo, int flags) { in onCommitContentInternal() argument
143 if ((flags & InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION) != 0) { in onCommitContentInternal()
158 mFlags.setText(flagsToString(flags)); in onCommitContentInternal()
168 mCurrentFlags = flags; in onCommitContentInternal()
214 int flags, Bundle opts) { in createEditTextWithContentMimeTypes()
216 inputContentInfo, flags, opts, mimeTypes); in createEditTextWithContentMimeTypes()
238 private static String flagsToString(int flags) { in flagsToString() argument
240 if ((flags & InputConnectionCompat.INPUT_CONTENT_GRANT_READ_URI_PERMISSION) != 0) { in flagsToString()
[all …]
/development/ndk/platforms/android-21/arch-arm/include/asm/
Dmman.h20 #define arch_mmap_check(addr, len, flags) (((flags) & MAP_FIXED && (addr) < FIRST_USER_ADDRESS) ?… argument
/development/ndk/platforms/android-9/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-21/include/sys/
Dxattr.h38 extern int fsetxattr(int fd, const char *name, const void *value, size_t size, int flags);
39 extern int setxattr(const char *path, const char *name, const void *value, size_t size, int flags);
40 extern int lsetxattr(const char *path, const char *name, const void *value, size_t size, int flags);
/development/ndk/platforms/android-12/include/sys/
Dstat.h134 extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
136 extern int fchownat(int dirfd, const char *path, uid_t owner, gid_t group, int flags);
137 extern int fchmodat(int dirfd, const char *path, mode_t mode, int flags);
142 extern int utimensat(int fd, const char *path, const struct timespec times[2], int flags);
/development/ndk/platforms/android-9/include/linux/netfilter/
Dxt_multiport.h26 u_int8_t flags; member
33 u_int8_t flags; member
/development/ndk/platforms/android-19/include/sys/
Dstat.h134 extern int fstatat(int dirfd, const char *path, struct stat *buf, int flags);
136 extern int fchownat(int dirfd, const char *path, uid_t owner, gid_t group, int flags);
137 extern int fchmodat(int dirfd, const char *path, mode_t mode, int flags);
142 extern int utimensat(int fd, const char *path, const struct timespec times[2], int flags);

12345678910>>...13