Home
last modified time | relevance | path

Searched refs:o_flags (Results 1 – 17 of 17) sorted by relevance

/linux/include/linux/
A Dfile.h96 unsigned int o_flags);
98 extern int receive_fd(struct file *file, unsigned int o_flags);
101 unsigned int o_flags) in receive_fd_user() argument
105 return __receive_fd(file, ufd, o_flags); in receive_fd_user()
107 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
/linux/net/ipv4/
A Dip_gre.c463 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit()
696 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit()
711 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
796 p->o_flags = gre_flags_to_tnl_flags(p->o_flags); in ipgre_tunnel_ctl()
806 t->parms.o_flags = p->o_flags; in ipgre_tunnel_ctl()
813 p->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ipgre_tunnel_ctl()
1410 t->parms.o_flags = p.o_flags; in ipgre_changelink()
1439 t->parms.o_flags = p.o_flags; in erspan_changelink()
1496 __be16 o_flags = p->o_flags; in ipgre_fill_info() local
1500 o_flags |= TUNNEL_KEY; in ipgre_fill_info()
[all …]
A Dip_vti.c388 if (!(p->o_flags & GRE_KEY)) in vti_tunnel_ctl()
399 p->o_flags |= GRE_KEY; in vti_tunnel_ctl()
A Dipip.c342 p->i_flags = p->o_flags = 0; in ipip_tunnel_ctl()
A Dip_tunnel.c886 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
/linux/include/net/
A Dgre.h52 static inline int gre_calc_hlen(__be16 o_flags) in gre_calc_hlen() argument
56 if (o_flags & TUNNEL_CSUM) in gre_calc_hlen()
58 if (o_flags & TUNNEL_KEY) in gre_calc_hlen()
60 if (o_flags & TUNNEL_SEQ) in gre_calc_hlen()
A Dip6_tunnel.h34 __be16 o_flags; member
/linux/net/ipv6/
A Dip6_gre.c387 if (!(nt->parms.o_flags & TUNNEL_SEQ)) in ip6gre_tunnel_locate()
771 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre6_xmit()
971 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
1195 t->parms.o_flags = p->o_flags; in ip6gre_tnl_copy_tnl_parm()
1225 p->o_flags = gre_flags_to_tnl_flags(u->o_flags); in ip6gre_tnl_parm_from_user()
1243 u->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ip6gre_tnl_parm_to_user()
1294 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1377 p[0] = t->parms.o_flags; in ip6gre_header()
1445 if (!(nt->parms.o_flags & TUNNEL_SEQ)) { in ip6gre_tnl_init_features()
2133 __be16 o_flags = p->o_flags; in ip6gre_fill_info() local
[all …]
A Dip6_vti.c767 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
/linux/drivers/net/ethernet/mellanox/mlxsw/
A Dspectrum_ipip.c39 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
44 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_okey()
246 (tunnel->parms.o_flags & ~okflags) == 0 && in mlxsw_sp_ipip_can_offload_gre4()
531 (tparm.o_flags & ~okflags) == 0 && in mlxsw_sp2_ipip_can_offload_gre6()
A Dspectrum_span.c464 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap4_parms()
568 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap6_parms()
/linux/include/uapi/linux/
A Dip6_tunnel.h51 __be16 o_flags; member
A Dif_tunnel.h52 __be16 o_flags; member
/linux/fs/
A Dfile.c1157 int __receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd() argument
1166 new_fd = get_unused_fd_flags(o_flags); in __receive_fd()
1183 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument
1190 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
1197 int receive_fd(struct file *file, unsigned int o_flags) in receive_fd() argument
1199 return __receive_fd(file, NULL, o_flags); in receive_fd()
A Dfsopen.c87 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument
92 O_RDWR | o_flags); in fscontext_create_fd()
/linux/net/core/
A Dscm.c301 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local
316 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
/linux/net/
A Dcompat.c295 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds_compat() local
301 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds_compat()

Completed in 34 milliseconds