Home
last modified time | relevance | path

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

/linux-6.12.1/net/ipv4/
Dip_gre.c476 ip_tunnel_flags_copy(flags, tunnel->parms.o_flags); in __gre_xmit()
514 tunnel->parms.o_flags))) in gre_fb_xmit()
685 tunnel->parms.o_flags))) in ipgre_xmit()
727 __clear_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.o_flags); in erspan_xmit()
742 __clear_bit(IP_TUNNEL_KEY_BIT, tunnel->parms.o_flags); in erspan_xmit()
766 tunnel->parms.o_flags))) in gre_tap_xmit()
787 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()
799 if (test_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.o_flags) || in ipgre_link_update()
800 (test_bit(IP_TUNNEL_CSUM_BIT, tunnel->parms.o_flags) && in ipgre_link_update()
814 __be16 i_flags, o_flags; in ipgre_tunnel_ctl() local
[all …]
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()
Dip_tunnel.c935 if (!test_bit(IP_TUNNEL_KEY_BIT, p->o_flags)) in ip_tunnel_ctl()
1021 ip_tunnel_flags_from_be16(kp->o_flags, p.o_flags); in ip_tunnel_parm_from_user()
1035 !ip_tunnel_flags_is_be16_compat(kp->o_flags)) in ip_tunnel_parm_to_user()
1043 p.o_flags = ip_tunnel_flags_to_be16(kp->o_flags); in ip_tunnel_parm_to_user()
Dipip.c352 ip_tunnel_flags_zero(p->o_flags); in ipip_tunnel_ctl()
/linux-6.12.1/include/net/
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()
Dip6_tunnel.h34 IP_TUNNEL_DECLARE_FLAGS(o_flags);
Dip_tunnels.h135 IP_TUNNEL_DECLARE_FLAGS(o_flags);
/linux-6.12.1/io_uring/
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.12.1/fs/
Dfhandle.c253 unsigned int o_flags) in may_decode_fh() argument
263 if (!(o_flags & O_DIRECTORY)) in may_decode_fh()
285 struct path *path, unsigned int o_flags) in handle_to_path() argument
296 if (!capable(CAP_DAC_READ_SEARCH) && !may_decode_fh(&ctx, o_flags)) { in handle_to_path()
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()
Dfile.c1280 int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in receive_fd() argument
1289 new_fd = get_unused_fd_flags(o_flags); in receive_fd()
1307 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument
1314 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
/linux-6.12.1/net/ipv6/
Dip6_gre.c806 ip_tunnel_flags_copy(flags, tunnel->parms.o_flags); in __gre6_xmit()
835 t->parms.o_flags)); in ip6gre_xmit_ipv4()
870 t->parms.o_flags))) in ip6gre_xmit_ipv6()
898 t->parms.o_flags)); in ip6gre_xmit_other()
995 __clear_bit(IP_TUNNEL_KEY_BIT, t->parms.o_flags); in ip6erspan_tunnel_xmit()
1195 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen()
1228 ip_tunnel_flags_copy(t->parms.o_flags, p->o_flags); in ip6gre_tnl_copy_tnl_parm()
1258 gre_flags_to_tnl_flags(p->o_flags, u->o_flags); in ip6gre_tnl_parm_from_user()
1276 u->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ip6gre_tnl_parm_to_user()
1322 if ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_siocdevprivate()
[all …]
Dip6_vti.c761 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
/linux-6.12.1/include/linux/
Dfile.h125 int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags);
127 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
/linux-6.12.1/include/uapi/linux/
Dip6_tunnel.h51 __be16 o_flags; member
Dif_tunnel.h52 __be16 o_flags; member
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/
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()
Dspectrum_span.c465 !ip_tunnel_flags_empty(tparm.o_flags) || in mlxsw_sp_span_entry_gretap4_parms()
570 !ip_tunnel_flags_empty(tparm.o_flags) || in mlxsw_sp_span_entry_gretap6_parms()
/linux-6.12.1/net/core/
Dscm.c324 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local
339 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
/linux-6.12.1/net/
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()