Home
last modified time | relevance | path

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

12

/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.h90 #define SAFE_OPEN(pathname, oflags, ...) \ argument
91 safe_open(__FILE__, __LINE__, NULL, (pathname), (oflags), \
/external/iproute2/ip/
Dlink_gre6.c73 __u16 oflags = 0; in gre_parse_opt() local
129 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt()
159 oflags |= GRE_KEY; in gre_parse_opt()
191 oflags |= GRE_KEY; in gre_parse_opt()
204 oflags |= GRE_SEQ; in gre_parse_opt()
208 oflags |= GRE_SEQ; in gre_parse_opt()
211 oflags |= GRE_CSUM; in gre_parse_opt()
215 oflags |= GRE_CSUM; in gre_parse_opt()
285 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2); in gre_parse_opt()
305 unsigned oflags = 0; in gre_print_opt() local
[all …]
Dlink_gre.c63 __u16 oflags = 0; in gre_parse_opt() local
123 oflags = rta_getattr_u16(greinfo[IFLA_GRE_OFLAGS]); in gre_parse_opt()
163 oflags |= GRE_KEY; in gre_parse_opt()
195 oflags |= GRE_KEY; in gre_parse_opt()
208 oflags |= GRE_SEQ; in gre_parse_opt()
212 oflags |= GRE_SEQ; in gre_parse_opt()
215 oflags |= GRE_CSUM; in gre_parse_opt()
219 oflags |= GRE_CSUM; in gre_parse_opt()
311 oflags |= GRE_KEY; in gre_parse_opt()
321 addattr_l(n, 1024, IFLA_GRE_OFLAGS, &oflags, 2); in gre_parse_opt()
[all …]
/external/ltp/testcases/kernel/fs/doio/
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()
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 …]
/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/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/mksh/src/
Dshf.c49 shf_open(const char *name, int oflags, int mode, int sflags) in shf_open() argument
65 fd = binopen3(name, oflags, mode); in shf_open()
86 sflags |= (oflags & O_ACCMODE) == O_RDONLY ? SHF_RD : in shf_open()
87 ((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.c1320 int oflags; in replay_sub() local
1327 oflags = O_NOATIME; in replay_sub()
1329 oflags = 0; in replay_sub()
1331 tip->ofd = open(path, O_RDWR | O_DIRECT | oflags); in replay_sub()
/external/valgrind/coregrind/m_coredump/
Dcoredump-elf.c604 Int oflags = VKI_O_CREAT|VKI_O_WRONLY|VKI_O_EXCL|VKI_O_TRUNC; in make_elf_coredump() local
616 oflags |= VKI_O_LARGEFILE; in make_elf_coredump()
619 sres = VG_(open)(buf, oflags, VKI_S_IRUSR|VKI_S_IWUSR); in make_elf_coredump()
Dcoredump-solaris.c885 Int oflags = VKI_O_CREAT|VKI_O_WRONLY|VKI_O_EXCL|VKI_O_TRUNC; in VG_() local
896 oflags |= VKI_O_LARGEFILE; in VG_()
899 SysRes sres = VG_(open)(filename, oflags, in VG_()
/external/syslinux/extlinux/
Dxfs_fs.h342 uint32_t oflags; /* open flags */ member
/external/syslinux/core/fs/xfs/
Dxfs_fs.h342 uint32_t oflags; /* open flags */ member
/external/dhcpcd-6.8.2/
Dif-bsd.c1454 unsigned int oflags; in if_nd6_flag() local
1463 oflags = nd.ndi.flags; in if_nd6_flag()
1468 if (oflags == nd.ndi.flags) in if_nd6_flag()
/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.h299 __u32 oflags; member
/external/regex-re2/re2/
Dparse.cc417 Regexp::ParseFlags oflags = flags_; in PushDollar() local
420 flags_ = oflags; in PushDollar()
/external/valgrind/coregrind/m_debuginfo/
Ddebuginfo.c820 Int actual_fd, oflags; in VG_() local
981 oflags = VKI_O_RDONLY; in VG_()
983 oflags |= VKI_O_LARGEFILE; in VG_()
987 SysRes fd = VG_(open)( filename, oflags, 0 ); in VG_()
/external/regex-re2/
Ducs2.diff266 flags_ = oflags;
/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);

12