Searched defs:mode (Results 1 - 25 of 47) sorted by relevance

12

/bionic/libc/unistd/
H A Dreboot.c31 int reboot (int mode) argument
33 return __reboot( LINUX_REBOOT_MAGIC1, LINUX_REBOOT_MAGIC2, mode, NULL );
H A Dopen.c38 mode_t mode = 0; local
47 mode = (mode_t) va_arg(args, int);
51 return __open(pathname, flags, mode);
57 "*** open(O_CREAT) called without specifying a mode ***\n");
H A Dopenat.c38 mode_t mode = 0; local
47 mode = (mode_t) va_arg(args, int);
51 return __openat(fd, pathname, flags, mode);
58 "*** openat(O_CREAT) called without specifying a mode ***\n");
/bionic/libc/upstream-netbsd/libc/compat-43/
H A Dcreat.c46 creat(const char *path, mode_t mode) argument
51 return(open(path, O_WRONLY|O_CREAT|O_TRUNC, mode));
/bionic/libc/kernel/common/linux/netfilter/
H A Dxt_CONNSECMARK.h27 u_int8_t mode; member in struct:xt_connsecmark_target_info
H A Dxt_CONNMARK.h31 u_int8_t mode; member in struct:xt_connmark_target_info
H A Dxt_MARK.h34 u_int8_t mode; member in struct:xt_mark_target_info_v1
H A Dxt_SECMARK.h30 u_int8_t mode; member in struct:xt_secmark_target_info
H A Dxt_statistic.h35 u_int16_t mode; member in struct:xt_statistic_info
/bionic/libc/stdio/
H A Dflags.c41 * Return the (stdio) flags for a given mode. Store the flags
46 __sflags(const char *mode, int *optr) argument
50 switch (*mode++) {
70 default: /* illegal mode */
76 if (*mode == '+' || (*mode == 'b' && mode[1] == '+')) {
H A Dfopen.c43 fopen(const char *file, const char *mode) argument
49 if ((flags = __sflags(mode, &oflags)) == 0)
66 * When opening in append mode, even though we use O_APPEND,
H A Dfdopen.c42 fdopen(int fd, const char *mode) argument
47 if ((flags = __sflags(mode, &oflags)) == 0)
50 /* Make sure the mode the user wants is a subset of the actual mode. */
H A Dfreopen.c49 freopen(const char *file, const char *mode, FILE *fp) argument
54 if ((flags = __sflags(mode, &oflags)) == 0) {
151 * When opening in append mode, even though we use O_APPEND,
H A Dsetvbuf.c43 setvbuf(FILE *fp, char *buf, int mode, size_t size) argument
54 if (mode != _IONBF)
55 if ((mode != _IOFBF && mode != _IOLBF) || (int)size < 0)
76 /* If setting unbuffered mode, skip all the hard work. */
77 if (mode == _IONBF)
130 if (mode == _IOLBF)
/bionic/libc/kernel/common/linux/netfilter_ipv4/
H A Dipt_TTL.h30 u_int8_t mode; member in struct:ipt_TTL_info
H A Dipt_hashlimit.h30 u_int32_t mode; member in struct:hashlimit_cfg
H A Dip_queue.h57 ipq_mode_msg_t mode; member in union:ipq_peer_msg::__anon412
/bionic/libc/kernel/common/linux/netfilter_ipv6/
H A Dip6t_HL.h30 u_int8_t mode; member in struct:ip6t_HL_info
H A Dip6t_hl.h30 u_int8_t mode; member in struct:ip6t_hl_info
/bionic/libc/kernel/arch-arm/asm/
H A Dipcbuf.h30 __kernel_mode_t mode; member in struct:ipc64_perm
/bionic/libc/kernel/arch-mips/asm/
H A Dipcbuf.h30 __kernel_mode_t mode; member in struct:ipc64_perm
/bionic/libc/kernel/arch-x86/asm/
H A Dipcbuf.h30 __kernel_mode_t mode; member in struct:ipc64_perm
/bionic/libc/kernel/common/linux/
H A Dipc.h32 __kernel_mode_t mode; member in struct:ipc_perm
H A Dsysfs.h29 mode_t mode; member in struct:attribute
36 #define __ATTR(_name,_mode,_show,_store) { .attr = {.name = __stringify(_name), .mode = _mode, .owner = THIS_MODULE }, .show = _show, .store = _store, }
37 #define __ATTR_RO(_name) { .attr = { .name = __stringify(_name), .mode = 0444, .owner = THIS_MODULE }, .show = _name##_show, }
H A Dvt.h27 char mode; member in struct:vt_mode

Completed in 2072 milliseconds

12