Searched refs:flags (Results 1 - 25 of 103) sorted by relevance

12345

/system/vold/
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 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/core/toolbox/
H A Dreboot.c12 int flags = 0; local
44 flags = ANDROID_RB_FLAG_NO_SYNC | ANDROID_RB_FLAG_NO_REMOUNT_RO;
47 ret = android_reboot(ANDROID_RB_POWEROFF, flags, 0);
49 ret = android_reboot(ANDROID_RB_RESTART2, flags, argv[optind]);
51 ret = android_reboot(ANDROID_RB_RESTART, flags, 0);
H A Dls.c24 // bits for flags argument
35 static int listpath(const char *name, int flags);
99 static int show_total_size(const char *dirname, DIR *d, int flags) argument
110 if (de->d_name[0] == '.' && (flags & LIST_ALL) == 0)
132 static int listfile_size(const char *path, const char *filename, int flags) argument
142 if ((flags & LIST_SIZE) != 0) {
146 if ((flags & LIST_CLASSIFY) != 0) {
166 static int listfile_long(const char *path, int flags) argument
188 if (flags & LIST_LONG_NUMERIC) {
242 static int listfile_maclabel(const char *path, int flags) argument
308 listfile(const char *dirname, const char *filename, int flags) argument
334 listdir(const char *name, int flags) argument
412 listpath(const char *name, int flags) argument
443 int flags = 0; local
[all...]
H A Drm.c20 static int unlink_recursive(const char* name, int flags) argument
29 return ((flags & OPT_FORCE) && errno == ENOENT) ? 0 : -1;
47 if (unlink_recursive(dn, flags) < 0) {
73 int flags = 0; local
78 /* check flags */
85 flags |= OPT_FORCE;
89 flags |= OPT_RECURSIVE;
102 if (flags & OPT_RECURSIVE) {
103 ret = unlink_recursive(argv[i], flags);
106 if (errno == ENOENT && (flags
[all...]
H A Dtouch.c17 int i, fd, aflag = 0, mflag = 0, debug = 0, flags = 0; local
41 case 'l': flags |= AT_SYMLINK_NOFOLLOW; break;
82 fprintf(stderr, "flags = 0x%8.8x\n", flags);
85 return utimensat(AT_FDCWD, file, times, flags);
H A Difconfig.c64 unsigned int addr, mask, flags; local
100 flags = ifr.ifr_flags;
112 printf("%s: ip %s mask %s flags [", ifr.ifr_name,
117 updown = (flags & IFF_UP) ? "up" : "down";
118 brdcst = (flags & IFF_BROADCAST) ? " broadcast" : "";
119 loopbk = (flags & IFF_LOOPBACK) ? " loopback" : "";
120 ppp = (flags & IFF_POINTOPOINT) ? " point-to-point" : "";
121 running = (flags & IFF_RUNNING) ? " running" : "";
122 multi = (flags & IFF_MULTICAST) ? " multicast" : "";
H A Dschedtop.c172 static void print_threads(int pid, uint32_t flags) argument
185 else if (!(flags & FLAG_HIDE_IDLE) || threads.data[j].run_count - last_threads.data[i].run_count)
195 static void update_table(DIR *d, uint32_t flags) argument
213 if (!(flags & FLAG_BATCH))
238 else if (!(flags & FLAG_HIDE_IDLE) || processes.data[j].run_count - last_processes.data[i].run_count) {
245 if (flags & FLAG_SHOW_THREADS)
246 print_threads(pid, flags);
278 uint32_t flags = 0; local
292 flags |= FLAG_BATCH;
295 flags |
[all...]
/system/core/sh/
H A Dvar.c79 int flags; member in struct:varinit
176 vp->flags = ip->flags;
186 vps1.flags = VSTRFIXED|VTEXTFIXED;
195 setvarsafe(const char *name, const char *val, int flags) argument
208 setvar(name, val, flags);
215 * Set the value of a variable. The flags argument is ored with the
216 * flags of the variable. If val is NULL, the variable is unset.
220 setvar(const char *name, const char *val, int flags) argument
248 flags |
273 setvareq(char *s, int flags) argument
320 listsetvar(struct strlist *list, int flags) argument
332 listmklocal(struct strlist *list, int flags) argument
617 mklocal(const char *name, int flags) argument
634 setvareq(savestr(name), VSTRFIXED|flags); local
645 setvareq(savestr(name), flags); local
[all...]
H A Dvar.h41 /* flags */
54 int flags; /* flags are defined above */ member in struct:var
66 int flags; /* saved flags */ member in struct:localvar
95 #define ifsset() ((vifs.flags & VUNSET) == 0)
108 #define attyset() ((vatty.flags & VUNSET) == 0)
110 #define mpathset() ((vmpath.flags & VUNSET) == 0)
/system/core/include/cutils/
H A Dandroid_reboot.h31 int android_reboot(int cmd, int flags, char *arg);
/system/core/libpixelflinger/
H A Dtrap.h27 void ggl_state_changed(context_t* c, int flags);
/system/extras/fatblock/
H A Dfdpool.h27 int fdpool_open(struct pooled_fd *pfd, const char *pathname, int flags);
/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);
/system/core/include/ion/
H A Dion.h31 unsigned int flags, struct ion_handle **handle);
33 unsigned int flags, int *handle_fd);
37 int flags, off_t offset, unsigned char **ptr, int *map_fd);
/system/core/fs_mgr/
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/mkbootimg/
H A Dbootimg.h86 unsigned flags; /* set to zero */
/system/core/init/
H A Dsignal_handler.c66 if (!(svc->flags & SVC_ONESHOT)) {
79 svc->flags &= (~SVC_RUNNING);
82 if (svc->flags & SVC_ONESHOT) {
83 svc->flags |= SVC_DISABLED;
87 if (svc->flags & (SVC_DISABLED | SVC_RESET) ) {
93 if (svc->flags & SVC_CRITICAL) {
108 svc->flags |= SVC_RESTARTING;
/system/core/libion/
H A Dion.c58 unsigned int flags, struct ion_handle **handle)
65 .flags = flags,
84 int flags, off_t offset, unsigned char **ptr, int *map_fd)
98 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset);
125 unsigned int flags, int *handle_fd) {
129 ret = ion_alloc(fd, len, align, heap_mask, flags, &handle);
57 ion_alloc(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, struct ion_handle **handle) argument
83 ion_map(int fd, struct ion_handle *handle, size_t length, int prot, int flags, off_t offset, unsigned char **ptr, int *map_fd) argument
124 ion_alloc_fd(int fd, size_t len, size_t align, unsigned int heap_mask, unsigned int flags, int *handle_fd) argument
/system/bluetooth/bluez-clean-headers/bluetooth/
H A Drfcomm.h57 uint32_t flags; member in struct:rfcomm_dev_req
71 uint32_t flags; member in struct:rfcomm_dev_info
/system/core/libcutils/
H A Dandroid_reboot.c104 int android_reboot(int cmd, int flags, char *arg) argument
108 if (!(flags & ANDROID_RB_FLAG_NO_SYNC))
111 if (!(flags & ANDROID_RB_FLAG_NO_REMOUNT_RO))
/system/core/libpixelflinger/codeflinger/
H A Dblending.cpp40 integer_t fragment(temp.reg, temp.h, temp.flags);
41 if (!(temp.flags & CORRUPTIBLE)) {
43 temp.flags |= CORRUPTIBLE;
137 if (temp.l && (temp.flags & CORRUPTIBLE)) {
142 integer_t fragment(temp.reg, temp.size(), temp.flags);
149 fragment.flags |= CORRUPTIBLE;
152 if (!(temp.flags & CORRUPTIBLE)) {
156 temp.flags &= ~CORRUPTIBLE;
157 fragment.flags &= ~CORRUPTIBLE;
163 fragment.flags
[all...]

Completed in 208 milliseconds

12345