Searched defs:flags (Results 26 - 50 of 69) sorted by relevance

123

/system/vold/
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...]
H A DDirectVolume.cpp65 void DirectVolume::setFlags(int flags) { argument
66 mFlags = flags;
455 v->flags=mFlags;
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;
/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.h45 uint16_t flags; member in struct:dhcp_msg
/system/core/libnl_2/genl/
H A Dgenl.c50 int hdrlen, int flags, uint8_t cmd, uint8_t version)
67 nlh->nlmsg_flags = flags | NLM_F_REQUEST | NLM_F_ACK;
203 /* Check flags */
49 genlmsg_put(struct nl_msg *msg, uint32_t pid, uint32_t seq, int family, int hdrlen, int flags, uint8_t cmd, uint8_t version) argument
/system/core/libpixelflinger/tinyutils/
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/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) {
/system/core/toolbox/
H A Ddd.h52 u_int flags; member in struct:__anon476
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 Dmount.c154 int flags; local
156 flags = (rwflag & MS_RDONLY) ? O_RDONLY : O_RDWR;
158 file_fd = open(dev, flags);
163 device_fd = open(loopdev, flags);
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/extras/libpagemap/include/pagemap/
H A Dpagemap.h73 int flags; member in struct:pm_map
92 /* Get the page flags (from /proc/kpageflags) of a physical frame.
150 /* Get the name, flags, start/end address, or offset of a map. */
152 #define pm_map_flags(map) ((map)->flags)
/system/extras/libublock/
H A Dublock.c39 int flags; member in struct:ublock_ctx
99 ub_ctx->flags |= CTX_INITED;
119 ub_ctx->flags |= CTX_READY;
280 while (((exit_cond & EXIT_READY) && (!(ub_ctx->flags & CTX_READY))) ||
281 ((exit_cond & EXIT_STOPPED) && (ub_ctx->flags & CTX_RUNNING)) ||
298 if (!(ub_ctx->flags & CTX_INITED))
301 ub_ctx->flags |= CTX_RUNNING;
312 if (!(ub_ctx->flags & CTX_INITED))
315 ub_ctx->flags &= ~CTX_RUNNING;
323 if (!(ub_ctx->flags
[all...]
/system/extras/procmem/
H A Dprocmem.c58 uint64_t count, flags; local
203 error = pm_kernel_flags(ker, PM_PAGEMAP_PFN(mapentry), &flags);
206 fprintf(stderr, "error getting flags for frame.\n");
209 if ((ws != WS_ONLY) || (flags & PM_PAGE_REFERENCED)) {
211 if (flags & PM_PAGE_DIRTY)
216 if (flags & PM_PAGE_DIRTY)
/system/extras/tests/binder/benchmarks/
H A DbinderAddInts.cpp85 uint32_t flags = 0);
313 Parcel* reply, uint32_t flags) {
312 onTransact(uint32_t code, const Parcel &data, Parcel* reply, uint32_t flags) argument
/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/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/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/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 965 milliseconds

123