Home
last modified time | relevance | path

Searched refs:oflags (Results 1 – 21 of 21) sorted by relevance

/external/ltp/include/
Dtst_safe_posix_ipc.h30 #define SAFE_MQ_OPEN(pathname, oflags, ...) \ argument
31 safe_mq_open(__FILE__, __LINE__, (pathname), (oflags), ##__VA_ARGS__)
34 const char *pathname, int oflags, ...) in safe_mq_open() argument
41 va_start(ap, oflags); in safe_mq_open()
56 rval = mq_open(pathname, oflags, mode, attr); in safe_mq_open()
59 file, lineno, pathname, oflags, mode, attr); in safe_mq_open()
Dsafe_macros_fn.h65 void (*cleanup_fn)(void), const char *pathname, int oflags, ...);
Dtst_safe_macros.h95 #define SAFE_OPEN(pathname, oflags, ...) \ argument
96 safe_open(__FILE__, __LINE__, NULL, (pathname), (oflags), \
/external/iproute2/ip/
Dlink_gre.c83 __u16 oflags = 0; in gre_parse_opt() local
138 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt()
188 oflags |= GRE_KEY; in gre_parse_opt()
220 oflags |= GRE_KEY; in gre_parse_opt()
233 oflags |= GRE_SEQ; in gre_parse_opt()
237 oflags |= GRE_SEQ; in gre_parse_opt()
240 oflags |= GRE_CSUM; in gre_parse_opt()
244 oflags |= GRE_CSUM; in gre_parse_opt()
353 oflags |= GRE_KEY; in gre_parse_opt()
364 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2); in gre_parse_opt()
[all …]
Dlink_gre6.c93 __u16 oflags = 0; in gre_parse_opt() local
146 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt()
191 oflags |= GRE_KEY; in gre_parse_opt()
223 oflags |= GRE_KEY; in gre_parse_opt()
236 oflags |= GRE_SEQ; in gre_parse_opt()
240 oflags |= GRE_SEQ; in gre_parse_opt()
243 oflags |= GRE_CSUM; in gre_parse_opt()
247 oflags |= GRE_CSUM; in gre_parse_opt()
380 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2); in gre_parse_opt()
405 unsigned int oflags = 0; in gre_print_opt() local
[all …]
/external/ltp/testcases/kernel/fs/doio/
Ddoio.c318 char *format_oflags(int oflags);
416 int alloc_fd(char *file, int oflags);
417 struct fd_cache *alloc_fdcache(char *file, int oflags);
1184 char *format_oflags(int oflags) in format_oflags() argument
1189 switch (oflags & 03) { in format_oflags()
1204 if (oflags & O_EXCL) in format_oflags()
1207 if (oflags & O_SYNC) in format_oflags()
1210 if (oflags & O_RAW) in format_oflags()
1212 if (oflags & O_WELLFORMED) in format_oflags()
1215 if (oflags & O_SSD) in format_oflags()
[all …]
Dwrite_log.c116 int omask, oflags; in wlog_open() local
127 oflags = O_WRONLY | O_APPEND | O_CREAT | trunc; in wlog_open()
128 wfile->w_afd = open(wfile->w_file, oflags, mode); in wlog_open()
134 wfile->w_file, oflags, mode, strerror(errno)); in wlog_open()
142 oflags = O_RDWR; in wlog_open()
143 if ((wfile->w_rfd = open(wfile->w_file, oflags)) == -1) { in wlog_open()
146 wfile->w_file, oflags, strerror(errno)); in wlog_open()
/external/libnl/lib/route/link/
Dipgre.c51 uint16_t oflags; member
116 ipgre->oflags = nla_get_u16(tb[IFLA_GRE_OFLAGS]); in ipgre_parse()
177 NLA_PUT_U16(msg, IFLA_GRE_OFLAGS, ipgre->oflags); in ipgre_put_attrs()
241 nl_dump_line(p, "%x\n", ipgre->oflags); in ipgre_dump_details()
454 int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags) in rtnl_link_ipgre_set_oflags() argument
460 ipgre->oflags = oflags; in rtnl_link_ipgre_set_oflags()
478 return ipgre->oflags; in rtnl_link_ipgre_get_oflags()
/external/toybox/toys/pending/
Dstty.c100 static const struct flag oflags[] = { variable
233 !set_flag(&new->c_oflag, oflags, ARRAY_LEN(oflags), option, on) && in set_option()
444 show_flags(old.c_oflag, sane.c_oflag, oflags, ARRAY_LEN(oflags)); in do_stty()
/external/libnl/include/netlink/route/link/
Dipgre.h31 extern int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags);
/external/ltp/lib/
Dsafe_macros.c206 const char *pathname, int oflags, ...) in safe_open() argument
212 va_start(ap, oflags); in safe_open()
221 rval = open(pathname, oflags, mode); in safe_open()
225 file, lineno, pathname, oflags, mode); in safe_open()
/external/clang/lib/StaticAnalyzer/Checkers/
DUnixAPIChecker.cpp137 NonLoc oflags = V.castAs<NonLoc>(); in CheckOpen() local
141 oflags, ocreateFlag, in CheckOpen()
/external/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux.c349 int oflags = O_NONBLOCK; in scsi_pt_open_device() local
351 oflags |= (read_only ? O_RDONLY : O_RDWR); in scsi_pt_open_device()
352 return scsi_pt_open_flags(device_name, oflags, verbose); in scsi_pt_open_device()
/external/mksh/src/
Dshf.c51 shf_open(const char *name, int oflags, int mode, int sflags) in shf_open() argument
67 fd = binopen3(name, oflags, mode); in shf_open()
88 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
89 ((oflags & O_ACCMODE) == O_WRONLY ? SHF_WR : SHF_RDWR); in shf_open()
/external/ltp/include/old/
Dsafe_macros.h62 #define SAFE_OPEN(cleanup_fn, pathname, oflags, ...) \ argument
63 safe_open(__FILE__, __LINE__, (cleanup_fn), (pathname), (oflags), \
/external/blktrace/btreplay/
Dbtreplay.c1340 int oflags; in replay_sub() local
1354 oflags = O_NOATIME; in replay_sub()
1356 oflags = 0; in replay_sub()
1358 tip->ofd = open(path, O_RDWR | O_DIRECT | oflags); in replay_sub()
/external/ltp/testcases/kernel/fs/scsi/ltpscsi/
Dscsimain.c1491 int oflags = O_RDWR | O_NONBLOCK; in show_scsi_logs() local
1496 if ((sg_fd = open(file_name, oflags)) < 0) { in show_scsi_logs()
2738 int oflags = O_RDONLY | O_NONBLOCK; in do_scsi_inquiry() local
2752 oflags = O_RDWR | O_NONBLOCK; in do_scsi_inquiry()
2753 if ((sg_fd = open(file_name, oflags)) < 0) { in do_scsi_inquiry()
3674 int oflags = O_RDONLY | O_NONBLOCK; in show_scsi_modes() local
3690 if ((sg_fd = open(file_name, oflags)) < 0) { in show_scsi_modes()
4436 int oflags = O_RDWR; in do_scsi_send_diagnostics() local
4442 if ((sg_fd = open(file_name, oflags)) < 0) { in do_scsi_send_diagnostics()
/external/kernel-headers/original/uapi/rdma/
Dib_user_verbs.h324 __u32 oflags; member
/external/libnl/doc/
Droute.txt941 extern int rtnl_link_ipgre_set_oflags(struct rtnl_link *link, uint16_t oflags);
1019 extern int rtnl_link_sit_set_oflags(struct rtnl_link *link, uint16_t oflags);
/external/sqlite/dist/orig/
Dsqlite3.c177318 int oflags = flags;
177368 if( oflags & SQLITE_OPEN_MAIN_DB
177371 assert( oflags & SQLITE_OPEN_MAIN_DB );
177372 oflags = SQLITE_OPEN_TEMP_DB | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE |
177378 rc = pRealVfs->xOpen(pRealVfs, zOpen, pFd->pReal, oflags, pOutFlags);
/external/sqlite/dist/
Dsqlite3.c177346 int oflags = flags;
177396 if( oflags & SQLITE_OPEN_MAIN_DB
177399 assert( oflags & SQLITE_OPEN_MAIN_DB );
177400 oflags = SQLITE_OPEN_TEMP_DB | SQLITE_OPEN_READWRITE | SQLITE_OPEN_CREATE |
177406 rc = pRealVfs->xOpen(pRealVfs, zOpen, pFd->pReal, oflags, pOutFlags);