Home
last modified time | relevance | path

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

/linux/net/ipv4/
H A Dip_gre.c482 ip_tunnel_flags_copy(flags, tunnel->parms.o_flags); in __gre_xmit()
520 tunnel->parms.o_flags))) in gre_fb_xmit()
691 tunnel->parms.o_flags))) in ipgre_xmit()
733 __clear_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.o_flags); in erspan_xmit()
748 __clear_bit(IP_TUNNEL_KEY_BIT, tunnel->parms.o_flags); in erspan_xmit()
772 tunnel->parms.o_flags))) in gre_tap_xmit()
793 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()
805 if (test_bit(IP_TUNNEL_SEQ_BIT, tunnel->parms.o_flags) || in ipgre_link_update()
806 (test_bit(IP_TUNNEL_CSUM_BIT, tunnel->parms.o_flags) && in ipgre_link_update()
820 __be16 i_flags, o_flags; in ipgre_tunnel_ctl() local
[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.c922 if (!test_bit(IP_TUNNEL_KEY_BIT, p->o_flags)) in ip_tunnel_ctl()
1008 ip_tunnel_flags_from_be16(kp->o_flags, p.o_flags); in ip_tunnel_parm_from_user()
1022 !ip_tunnel_flags_is_be16_compat(kp->o_flags)) in ip_tunnel_parm_to_user()
1030 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/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.h146 IP_TUNNEL_DECLARE_FLAGS(o_flags);
/linux/fs/
H A Dfhandle.c289 unsigned int o_flags) in may_decode_fh() argument
317 if (!(o_flags & O_DIRECTORY)) in may_decode_fh()
339 struct path *path, unsigned int o_flags) in handle_to_path() argument
364 retval = eops->permission(&ctx, o_flags); in handle_to_path()
366 retval = may_decode_fh(&ctx, o_flags); in handle_to_path()
H A Dfsopen.c92 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument
97 O_RDWR | o_flags); in fscontext_create_fd()
H A Dfile.c1387 int receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in receive_fd() argument
1395 FD_PREPARE(fdf, o_flags, file); in receive_fd()
1411 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument
1418 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
/linux/net/ipv6/
H A Dip6_gre.c777 ip_tunnel_flags_copy(flags, tunnel->parms.o_flags); in __gre6_xmit()
806 t->parms.o_flags)); in ip6gre_xmit_ipv4()
841 t->parms.o_flags))) in ip6gre_xmit_ipv6()
869 t->parms.o_flags)); in ip6gre_xmit_other()
966 __clear_bit(IP_TUNNEL_KEY_BIT, t->parms.o_flags); in ip6erspan_tunnel_xmit()
1168 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen()
1201 ip_tunnel_flags_copy(t->parms.o_flags, p->o_flags); in ip6gre_tnl_copy_tnl_parm()
1231 gre_flags_to_tnl_flags(p->o_flags, u->o_flags); in ip6gre_tnl_parm_from_user()
1249 u->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ip6gre_tnl_parm_to_user()
1295 if ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING)) in ip6gre_tunnel_siocdevprivate()
[all …]
H A Dip6_vti.c761 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
/linux/io_uring/
H A Dopenclose.c39 unsigned int o_flags; member
298 ifi->o_flags = O_CLOEXEC; in io_install_fixed_fd_prep()
300 ifi->o_flags = 0; in io_install_fixed_fd_prep()
311 ret = receive_fd(req->file, NULL, ifi->o_flags); in io_install_fixed_fd()
/linux/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/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/include/uapi/linux/
H A Dip6_tunnel.h51 __be16 o_flags; member
H A Dif_tunnel.h52 __be16 o_flags; member
/linux/net/core/
H A Dscm.c354 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local
369 err = scm_recv_one_fd(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
/linux/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()