Searched defs:flags (Results 1 - 25 of 69) sorted by last modified time

123

/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.cpp65 void DirectVolume::setFlags(int flags) { argument
66 mFlags = flags;
455 v->flags=mFlags;
H A DExt4.cpp51 unsigned long flags; local
53 flags = MS_NOATIME | MS_NODEV | MS_NOSUID | MS_DIRSYNC;
55 flags |= (executable ? 0 : MS_NOEXEC);
56 flags |= (ro ? MS_RDONLY : 0);
57 flags |= (remount ? MS_REMOUNT : 0);
59 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
63 flags |= MS_RDONLY;
64 rc = mount(fsPath, mountPoint, "ext4", flags, NULL);
H A DFat.cpp101 unsigned long flags; local
104 flags = MS_NODEV | MS_NOSUID | MS_DIRSYNC;
106 flags |= (executable ? 0 : MS_NOEXEC);
107 flags |= (ro ? MS_RDONLY : 0);
108 flags |= (remount ? MS_REMOUNT : 0);
128 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
132 flags |= MS_RDONLY;
133 rc = mount(fsPath, mountPoint, "vfat", flags, mountData);
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 Dcryptfs.h35 /* definitions of flags in the structure below */
50 __le32 flags; /* See above */ member in struct:crypt_mnt_ftr
63 unsigned int flags; member in struct:volume_info
H A Dmain.cpp148 int flags = 0; local
151 flags |= VOL_ENCRYPTABLE;
155 flags |= VOL_NONREMOVABLE;
158 return flags;
174 int flags; local
216 /* If the first character is not a '/', it must be flags */
227 * the optional flags for this volume
230 flags = parse_mount_flags(sysfs_path);
232 flags = 0;
233 dv->setFlags(flags);
[all...]
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Dhci.h662 uint8_t flags; member in struct:__anon46
1857 uint8_t flags; member in struct:__anon190
1995 uint8_t flags; member in struct:__anon208
2410 uint32_t flags; member in struct:hci_dev_info
2469 uint16_t flags; member in struct:hci_inquiry_req
H A Dl2cap.h122 uint16_t flags; member in struct:__anon253
130 uint16_t flags; member in struct:__anon254
H A Drfcomm.h57 uint32_t flags; member in struct:rfcomm_dev_req
71 uint32_t flags; member in struct:rfcomm_dev_info
/system/bluetooth/tools/
H A Dsock_shutdown_bug_l2cap.c29 long flags; local
37 flags = fcntl(fd, F_GETFL);
38 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
H A Dsock_shutdown_bug_rfcomm.c30 long flags; local
38 flags = fcntl(fd, F_GETFL);
39 fcntl(fd, F_SETFL, flags | O_NONBLOCK);
H A Dsock_shutdown_bug_tcp.c28 long flags; local
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/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) {
H A Dsysdeps_win32.c1285 int wanted; /* wanted event flags */
1286 int ready; /* ready event flags */
1993 int flags = 0; local
1995 flags |= FD_READ | FD_ACCEPT | FD_CLOSE;
1998 flags |= FD_WRITE | FD_CONNECT | FD_CLOSE;
2001 flags |= FD_OOB;
2003 return flags;
2010 long flags = _socket_wanted_to_flags( hook->wanted ); local
2018 if ( flags != fh->mask ) {
2019 D( "_event_socket_start: hooking %s for %x (flags
[all...]
/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)) {
H A Dfs_mgr_priv.h32 unsigned long flags; member in struct:fstab_rec
49 * <mount_flags> is a comma separated list of flags that can be passed to the
56 * <fs_mgr_options> is a comma separated list of flags that control the operation of
/system/core/include/diskconfig/
H A Ddiskconfig.h83 uint8_t flags; member in struct:part_info
/system/core/include/system/
H A Dwindow.h339 : flags(0), minSwapInterval(0), maxSwapInterval(0), xdpi(0), ydpi(0)
358 /* flags describing some attributes of this surface or its updater */
359 const uint32_t flags; member in struct:ANativeWindow
582 * Sets the intended usage flags for the next buffers
/system/core/init/
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.h87 unsigned flags; member in struct:service
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/libcutils/
H A Dabort_socket.c28 int flags; local
32 flags = fcntl(fd, F_GETFL);
33 if (flags == -1)
35 if (fcntl(fd, F_SETFL, flags | O_NONBLOCK))
42 flags = fcntl(abort_fd[1], F_GETFL);
43 if (flags == -1)
45 if (fcntl(abort_fd[1], F_SETFL, flags | O_NONBLOCK))

Completed in 706 milliseconds

123