Home
last modified time | relevance | path

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

/linux-6.15/net/ipv4/
H A Dip_gre.c518 tunnel->parms.o_flags))) in gre_fb_xmit()
689 tunnel->parms.o_flags))) in ipgre_xmit()
818 __be16 i_flags, o_flags; in ipgre_tunnel_ctl() local
826 o_flags = ip_tunnel_flags_to_be16(p->o_flags); in ipgre_tunnel_ctl()
836 gre_flags_to_tnl_flags(p->o_flags, o_flags); in ipgre_tunnel_ctl()
846 ip_tunnel_flags_copy(t->parms.o_flags, p->o_flags); in ipgre_tunnel_ctl()
854 o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ipgre_tunnel_ctl()
855 ip_tunnel_flags_from_be16(p->o_flags, o_flags); in ipgre_tunnel_ctl()
1463 ip_tunnel_flags_copy(t->parms.o_flags, p.o_flags); in ipgre_changelink()
1492 ip_tunnel_flags_copy(t->parms.o_flags, p.o_flags); in erspan_changelink()
[all …]
H A Dip_vti.c394 !ip_tunnel_flags_is_be16_compat(p->o_flags)) in vti_tunnel_ctl()
399 if (!(ip_tunnel_flags_to_be16(p->o_flags) & GRE_KEY)) in vti_tunnel_ctl()
412 ip_tunnel_flags_or(p->o_flags, p->o_flags, flags); in vti_tunnel_ctl()
H A Dip_tunnel.c936 if (!test_bit(IP_TUNNEL_KEY_BIT, p->o_flags)) in ip_tunnel_ctl()
1022 ip_tunnel_flags_from_be16(kp->o_flags, p.o_flags); in ip_tunnel_parm_from_user()
1036 !ip_tunnel_flags_is_be16_compat(kp->o_flags)) in ip_tunnel_parm_to_user()
1044 p.o_flags = ip_tunnel_flags_to_be16(kp->o_flags); in ip_tunnel_parm_to_user()
H A Dipip.c352 ip_tunnel_flags_zero(p->o_flags); in ipip_tunnel_ctl()
/linux-6.15/include/net/
H A Dgre.h52 static inline int gre_calc_hlen(const unsigned long *o_flags) in gre_calc_hlen() argument
56 if (test_bit(IP_TUNNEL_CSUM_BIT, o_flags)) in gre_calc_hlen()
58 if (test_bit(IP_TUNNEL_KEY_BIT, o_flags)) in gre_calc_hlen()
60 if (test_bit(IP_TUNNEL_SEQ_BIT, o_flags)) in gre_calc_hlen()
H A Dip6_tunnel.h34 IP_TUNNEL_DECLARE_FLAGS(o_flags);
H A Dip_tunnels.h136 IP_TUNNEL_DECLARE_FLAGS(o_flags);
/linux-6.15/fs/
H A Dfhandle.c272 unsigned int o_flags) in may_decode_fh() argument
300 if (!(o_flags & O_DIRECTORY)) in may_decode_fh()
322 struct path *path, unsigned int o_flags) in handle_to_path() argument
336 retval = eops->permission(&ctx, o_flags); in handle_to_path()
338 retval = may_decode_fh(&ctx, o_flags); in handle_to_path()
H A Dfsopen.c86 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument
91 O_RDWR | o_flags); in fscontext_create_fd()
H A Dfile.c1336 int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in receive_fd() argument
1345 new_fd = get_unused_fd_flags(o_flags); in receive_fd()
1363 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument
1370 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
/linux-6.15/io_uring/
H A Dopenclose.c36 unsigned int o_flags; member
286 ifi->o_flags = O_CLOEXEC; in io_install_fixed_fd_prep()
288 ifi->o_flags = 0; in io_install_fixed_fd_prep()
299 ret = receive_fd(req->file, NULL, ifi->o_flags); in io_install_fixed_fd()
/linux-6.15/net/ipv6/
H A Dip6_gre.c836 t->parms.o_flags)); in ip6gre_xmit_ipv4()
871 t->parms.o_flags))) in ip6gre_xmit_ipv6()
899 t->parms.o_flags)); in ip6gre_xmit_other()
1229 ip_tunnel_flags_copy(t->parms.o_flags, p->o_flags); in ip6gre_tnl_copy_tnl_parm()
1259 gre_flags_to_tnl_flags(p->o_flags, u->o_flags); in ip6gre_tnl_parm_from_user()
1277 u->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ip6gre_tnl_parm_to_user()
1328 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1806 gre_flags_to_tnl_flags(parms->o_flags, in ip6gre_netlink_parms()
2147 IP_TUNNEL_DECLARE_FLAGS(o_flags); in ip6gre_fill_info()
2149 ip_tunnel_flags_copy(o_flags, p->o_flags); in ip6gre_fill_info()
[all …]
H A Dip6_vti.c761 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
/linux-6.15/include/linux/
H A Dfile.h121 int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags);
123 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
/linux-6.15/include/uapi/linux/
H A Dip6_tunnel.h51 __be16 o_flags; member
H A Dif_tunnel.h52 __be16 o_flags; member
/linux-6.15/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c41 return test_bit(IP_TUNNEL_KEY_BIT, parms->o_flags); in mlxsw_sp_ipip_parms4_has_okey()
46 return test_bit(IP_TUNNEL_KEY_BIT, parms->o_flags); in mlxsw_sp_ipip_parms6_has_okey()
253 ip_tunnel_flags_subset(tunnel->parms.o_flags, okflags) && in mlxsw_sp_ipip_can_offload_gre4()
455 ip_tunnel_flags_subset(tparm.o_flags, okflags) && in mlxsw_sp_ipip_can_offload_gre6()
H A Dspectrum_span.c464 !ip_tunnel_flags_empty(tparm.o_flags) || in mlxsw_sp_span_entry_gretap4_parms()
569 !ip_tunnel_flags_empty(tparm.o_flags) || in mlxsw_sp_span_entry_gretap6_parms()
/linux-6.15/net/core/
H A Dscm.c334 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local
349 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
/linux-6.15/net/
H A Dcompat.c294 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds_compat() local
300 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds_compat()