Searched refs:o_flags (Results 1 – 17 of 17) sorted by relevance
/linux-6.3-rc2/include/linux/ |
A D | file.h | 94 unsigned int o_flags); 96 extern int receive_fd(struct file *file, unsigned int o_flags); 99 unsigned int o_flags) in receive_fd_user() argument 103 return __receive_fd(file, ufd, o_flags); in receive_fd_user() 105 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
|
/linux-6.3-rc2/include/net/ |
A D | gre.h | 52 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 D | ip6_tunnel.h | 34 __be16 o_flags; member
|
/linux-6.3-rc2/net/ipv4/ |
A D | ip_gre.c | 462 __be16 flags = tunnel->parms.o_flags; in __gre_xmit() 714 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit() 771 flags = tunnel->parms.o_flags; in ipgre_link_update() 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() 965 flags = tunnel->parms.o_flags; in __gre_tunnel_init() 1407 t->parms.o_flags = p.o_flags; in ipgre_changelink() 1436 t->parms.o_flags = p.o_flags; in erspan_changelink() 1493 __be16 o_flags = p->o_flags; in ipgre_fill_info() local [all …]
|
A D | ip_vti.c | 388 if (!(p->o_flags & GRE_KEY)) in vti_tunnel_ctl() 399 p->o_flags |= GRE_KEY; in vti_tunnel_ctl()
|
A D | ipip.c | 342 p->i_flags = p->o_flags = 0; in ipip_tunnel_ctl()
|
A D | ip_tunnel.c | 889 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
|
/linux-6.3-rc2/net/ipv6/ |
A D | ip6_gre.c | 798 flags = tunnel->parms.o_flags; in __gre6_xmit() 981 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit() 1208 t->parms.o_flags = p->o_flags; in ip6gre_tnl_copy_tnl_parm() 1238 p->o_flags = gre_flags_to_tnl_flags(u->o_flags); in ip6gre_tnl_parm_from_user() 1256 u->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ip6gre_tnl_parm_to_user() 1307 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate() 1390 p[0] = t->parms.o_flags; in ip6gre_header() 1459 flags = nt->parms.o_flags; in ip6gre_tnl_init_features() 1796 parms->o_flags = gre_flags_to_tnl_flags( in ip6gre_netlink_parms() 2143 __be16 o_flags = p->o_flags; in ip6gre_fill_info() local [all …]
|
A D | ip6_vti.c | 765 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
|
/linux-6.3-rc2/include/uapi/linux/ |
A D | ip6_tunnel.h | 51 __be16 o_flags; member
|
A D | if_tunnel.h | 52 __be16 o_flags; member
|
/linux-6.3-rc2/drivers/net/ethernet/mellanox/mlxsw/ |
A D | spectrum_ipip.c | 39 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() 445 (tparm.o_flags & ~okflags) == 0 && in mlxsw_sp_ipip_can_offload_gre6()
|
A D | spectrum_span.c | 464 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-6.3-rc2/fs/ |
A D | file.c | 1170 int __receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd() argument 1179 new_fd = get_unused_fd_flags(o_flags); in __receive_fd() 1196 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument 1203 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace() 1210 int receive_fd(struct file *file, unsigned int o_flags) in receive_fd() argument 1212 return __receive_fd(file, NULL, o_flags); in receive_fd()
|
A D | fsopen.c | 87 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-6.3-rc2/net/core/ |
A D | scm.c | 303 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local 318 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
|
/linux-6.3-rc2/net/ |
A D | compat.c | 293 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds_compat() local 299 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds_compat()
|
Completed in 34 milliseconds