/linux-6.12.1/net/ipv4/ |
D | ip_gre.c | 476 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 …]
|
D | ip_vti.c | 394 !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()
|
D | ip_tunnel.c | 935 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()
|
D | ipip.c | 352 ip_tunnel_flags_zero(p->o_flags); in ipip_tunnel_ctl()
|
/linux-6.12.1/include/net/ |
D | gre.h | 52 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()
|
D | ip6_tunnel.h | 34 IP_TUNNEL_DECLARE_FLAGS(o_flags);
|
D | ip_tunnels.h | 135 IP_TUNNEL_DECLARE_FLAGS(o_flags);
|
/linux-6.12.1/io_uring/ |
D | openclose.c | 36 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/ |
D | fhandle.c | 253 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()
|
D | fsopen.c | 86 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()
|
D | file.c | 1280 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/ |
D | ip6_gre.c | 806 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 …]
|
D | ip6_vti.c | 761 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
|
/linux-6.12.1/include/linux/ |
D | file.h | 125 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/ |
D | ip6_tunnel.h | 51 __be16 o_flags; member
|
D | if_tunnel.h | 52 __be16 o_flags; member
|
/linux-6.12.1/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_ipip.c | 41 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()
|
D | spectrum_span.c | 465 !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/ |
D | scm.c | 324 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/ |
D | compat.c | 294 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()
|