Searched refs:flags (Results 51 - 75 of 103) sorted by relevance

12345

/system/vold/
H A DDevmapper.cpp103 MINOR(n->dev), io2->target_count, io2->open_count, io2->flags, MAJOR(io2->dev),
118 const char *name, unsigned flags) {
125 io->flags = flags;
117 ioctlInit(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
H A DDirectVolume.h56 void setFlags(int flags);
H A DVolume.cpp301 int flags; local
346 flags = getFlags();
348 ((flags & (VOL_NONREMOVABLE | VOL_ENCRYPTABLE))==(VOL_NONREMOVABLE | VOL_ENCRYPTABLE)) &&
468 unsigned long flags; local
531 unsigned int flags = MS_MOVE; local
535 if (!mount(src, dst, "", flags, NULL)) {
701 pinfo->flags |= PART_ACTIVE_FLAG;
H A Dcryptfs.c73 static void ioctl_init(struct dm_ioctl *io, size_t dataSize, const char *name, unsigned flags) argument
81 io->flags = flags;
769 if (crypt_ftr.flags & CRYPT_ENCRYPTION_IN_PROGRESS) {
808 if (! (crypt_ftr.flags & CRYPT_MNT_KEY_UNENCRYPTED) ) {
965 if (crypt_ftr.flags & CRYPT_MNT_KEY_UNENCRYPTED) {
994 ftr->flags = 0;
1130 return (volume->flags & (VOL_ENCRYPTABLE | VOL_NONREMOVABLE)) ==
1308 crypt_ftr.flags |= CRYPT_ENCRYPTION_IN_PROGRESS;
1389 crypt_ftr.flags
[all...]
H A DDirectVolume.cpp65 void DirectVolume::setFlags(int flags) { argument
66 mFlags = flags;
455 v->flags=mFlags;
/system/core/libpixelflinger/codeflinger/
H A DGGLAssembler.h196 enum { //load/store flags
201 reg_t() : reg(-1), flags(0) {
204 : reg(r), flags(f) {
207 reg=r; flags=f;
210 uint16_t flags; member in struct:android::GGLAssembler::reg_t
255 : reg_t(rhs.reg, rhs.flags), h(rhs.s), l(0) {
261 rhs.flags|CLEAR_LO|CLEAR_HI);
348 if (!(r.flags & CORRUPTIBLE)) {
350 r.flags |= CORRUPTIBLE;
375 void store(const pointer_t& addr, const pixel_t& src, uint32_t flags
[all...]
/system/core/sh/
H A Dinput.c260 int flags = fcntl(0, F_GETFL, 0); local
261 if (flags >= 0 && flags & O_NONBLOCK) {
262 flags &=~ O_NONBLOCK;
263 if (fcntl(0, F_SETFL, flags) >= 0) {
H A Doutput.c114 file->flags = 0;
154 dest->flags |= OUTPUT_ERR;
191 dest->flags |= OUTPUT_ERR;
252 strout.flags = 0;
255 if (strout.flags & OUTPUT_ERR)
265 * - The - and # flags are accepted; # only works with the o format.
H A Dshow.c381 int flags; local
419 if ((flags = fcntl(fileno(tracefile), F_GETFL, 0)) >= 0)
420 fcntl(fileno(tracefile), F_SETFL, flags | O_APPEND);
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dl2cap.h122 uint16_t flags; member in struct:__anon253
130 uint16_t flags; member in struct:__anon254
/system/bluetooth/tools/
H A Dsocktest.c511 int flags; local
519 flags = fcntl(fd, F_GETFL);
520 if (flags == -1)
522 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
544 int flags; local
549 flags = fcntl(fd, F_GETFL);
550 if (flags == -1)
552 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
/system/core/libpixelflinger/tinyutils/
H A DVectorImpl.h34 enum { // flags passed to the ctor
41 VectorImpl(size_t itemSize, uint32_t flags);
128 SortedVectorImpl(size_t itemSize, uint32_t flags);
H A DVectorImpl.cpp44 VectorImpl::VectorImpl(size_t itemSize, uint32_t flags) argument
45 : mStorage(0), mCount(0), mFlags(flags), mItemSize(itemSize)
426 SortedVectorImpl::SortedVectorImpl(size_t itemSize, uint32_t flags)
427 : VectorImpl(itemSize, flags)
/system/extras/ext4_utils/
H A Dext4_utils.h49 static inline void *mmap64(void *addr, size_t length, int prot, int flags, argument
52 return __mmap2(addr, length, prot, flags, fd, offset >> 12);
/system/core/include/diskconfig/
H A Ddiskconfig.h83 uint8_t flags; member in struct:part_info
/system/core/init/
H A Dinit.h87 unsigned flags; member in struct:service
H A Dbuiltins.c198 if (!(svc->flags & SVC_DISABLED)) {
362 /* mount <type> <device> <path> <flags ...> <options> */
368 unsigned flags = 0; local
375 flags |= mount_flags[i].flag;
403 if (mount(tmp, target, system, flags, options) < 0) {
412 mode = (flags & MS_RDONLY) ? O_RDONLY : O_RDWR;
431 if (mount(tmp, target, system, flags, options) < 0) {
451 if (mount(source, target, system, flags, options) < 0) {
H A Dinit_parser.c60 #define KEYWORD(symbol, flags, nargs, func) \
61 [ K_##symbol ] = { #symbol, func, nargs + 1, flags, },
67 unsigned char flags; member in struct:__anon370
74 #define kw_is(kw, type) (keyword_info[kw].flags & (type))
494 if (svc->flags & matchflags) {
665 svc->flags |= SVC_CONSOLE;
668 svc->flags |= SVC_DISABLED;
669 svc->flags |= SVC_RC_DISABLED;
724 svc->flags |= SVC_ONESHOT;
748 svc->flags |
[all...]
/system/core/libnetutils/
H A Ddhcpmsg.c35 msg->flags = htons(FLAGS_BROADCAST);
H A Difc_utils.c471 int ifc_get_info(const char *name, in_addr_t *addr, int *prefixLength, unsigned *flags) argument
493 if (flags != NULL) {
495 *flags = 0;
497 *flags = ifr.ifr_flags;
652 int flags, refcnt, use, metric, mtu, win, irtt; local
668 ifname, &dest, &gway, &flags, &refcnt, &use, &metric, &mask,
673 if ((flags & (RTF_UP|RTF_HOST)) != (RTF_UP|RTF_HOST)
705 int flags, refcnt, use, metric, mtu, win, irtt; local
721 name, &dest, &gway, &flags, &refcnt, &use, &metric, &mask,
726 if ((flags
[all...]
/system/extras/tests/bionic/libstdc++/
H A DAndroid.mk42 # you can use EXTRA_LDLIBS to indicate additional linker flags
77 # compiler flags, so only build this test for device/Bionic
/system/extras/libpagemap/
H A Dpm_process.c276 if (perms[0] == 'r') map->flags |= PM_MAP_READ;
277 if (perms[1] == 'w') map->flags |= PM_MAP_WRITE;
278 if (perms[2] == 'x') map->flags |= PM_MAP_EXEC;
/system/core/adb/
H A Djdwp_service.c324 int flags; local
342 flags = fcntl(proc->socket,F_GETFL,0);
344 if (flags == -1) {
345 D("failed to get cntl flags for socket %d: %s\n",
351 if (fcntl(proc->socket, F_SETFL, flags & ~O_NONBLOCK) == -1) {
376 if (fcntl(proc->socket, F_SETFL, flags) == -1) {
/system/core/fs_mgr/
H A Dfs_mgr.c109 static int parse_flags(char *flags, struct flag_list *fl, char **key_loc, argument
127 p = strtok_r(flags, ",", &savep);
325 fstab[cnt].flags = parse_flags(p, mount_flags, 0, tmp_fs_options, FS_OPTIONS_LEN);
468 fstab[i].flags, fstab[i].fs_options);
540 fstab[i].flags, fstab[i].fs_options)) {
/system/core/liblog/
H A Dfake_log_device.c614 static int logOpen(const char* pathName, int flags) argument
641 static int (*redirectOpen)(const char *pathName, int flags) = NULL;
656 redirectOpen = (int (*)(const char *pathName, int flags))open;
667 int fakeLogOpen(const char *pathName, int flags) argument
672 return redirectOpen(pathName, flags);

Completed in 163 milliseconds

12345