Searched defs:flags (Results 1 - 25 of 67) sorted by relevance

123

/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
/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 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" : "";
/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/sh/
H A Doutput.h47 short flags; member in struct:output
H A Dredir.c107 redirect(union node *redir, int flags) argument
118 memory[1] = flags & REDIR_BACKQ;
119 if (flags & REDIR_PUSH) {
121 * flags & REDIR_PUSH is never true if REDIR_VFORK is set.
136 if ((flags & REDIR_PUSH) && sv->renamed[fd] == EMPTY) {
143 openredirect(n, memory, flags);
165 openredirect(n, memory, flags);
175 openredirect(union node *redir, char memory[10], int flags) argument
192 if (flags & REDIR_VFORK)
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);
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/extras/libpagemap/
H A Dpm_map.c73 uint64_t count, flags; local
87 &flags);
90 if (!(flags & PM_PAGE_REFERENCED))
/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 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 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/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))
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/libion/
H A Dion.c57 int ion_alloc(int fd, size_t len, size_t align, unsigned int flags, argument
64 .flags = flags,
83 int flags, off_t offset, unsigned char **ptr, int *map_fd)
97 *ptr = mmap(NULL, length, prot, flags, *map_fd, offset);
82 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
/system/extras/fatblock/
H A Dfdpool.c119 int fdpool_open(struct pooled_fd *pfd, const char *pathname, int flags) argument
129 fd = open(pathname, flags);
/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/libnl_2/
H A Dnetlink.c114 int i, rem, flags; local
/system/core/libpixelflinger/codeflinger/
H A Dload_store.cpp31 void GGLAssembler::store(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument
34 const int inc = (flags & WRITE_BACK)?1:0;
48 if (!(s.flags & CORRUPTIBLE)) {
65 void GGLAssembler::load(const pointer_t& addr, const pixel_t& s, uint32_t flags) argument
71 const int inc = (flags & WRITE_BACK)?1:0;
167 integer_t r(d.reg, 32, d.flags);
178 if (s.l || (s.flags & CLEAR_HI)) {
182 expand(d, integer_t(s.reg, s.size(), s.flags), dbits);
188 integer_t r(d.reg, 32, d.flags);
203 dst.flags
[all...]
/system/core/netcfg/
H A Dnetcfg.c53 unsigned addr, flags; local
57 if(ifc_get_info(name, &addr, &prefixLength, &flags)) {
61 printf("%-8s %s ", name, flags & 1 ? "UP " : "DOWN");
64 printf("0x%08x ", flags);

Completed in 134 milliseconds

123