Home
last modified time | relevance | path

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

/linux/net/ipv4/
A Dip_gre.c514 tunnel->parms.o_flags))) in gre_fb_xmit()
685 tunnel->parms.o_flags))) in ipgre_xmit()
814 __be16 i_flags, o_flags; in ipgre_tunnel_ctl() local
822 o_flags = ip_tunnel_flags_to_be16(p->o_flags); in ipgre_tunnel_ctl()
832 gre_flags_to_tnl_flags(p->o_flags, o_flags); in ipgre_tunnel_ctl()
842 ip_tunnel_flags_copy(t->parms.o_flags, p->o_flags); in ipgre_tunnel_ctl()
850 o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ipgre_tunnel_ctl()
851 ip_tunnel_flags_from_be16(p->o_flags, o_flags); in ipgre_tunnel_ctl()
1450 ip_tunnel_flags_copy(t->parms.o_flags, p.o_flags); in ipgre_changelink()
1479 ip_tunnel_flags_copy(t->parms.o_flags, p.o_flags); in erspan_changelink()
[all …]
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()
A 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()
A Dipip.c352 ip_tunnel_flags_zero(p->o_flags); in ipip_tunnel_ctl()
/linux/include/net/
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()
A Dip6_tunnel.h34 IP_TUNNEL_DECLARE_FLAGS(o_flags);
A Dip_tunnels.h135 IP_TUNNEL_DECLARE_FLAGS(o_flags);
/linux/fs/
A 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()
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()
A 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/io_uring/
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/net/ipv6/
A Dip6_gre.c835 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()
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()
1327 if (!(p.o_flags&GRE_KEY)) in ip6gre_tunnel_siocdevprivate()
1806 gre_flags_to_tnl_flags(parms->o_flags, in ip6gre_netlink_parms()
2146 IP_TUNNEL_DECLARE_FLAGS(o_flags); in ip6gre_fill_info()
2148 ip_tunnel_flags_copy(o_flags, p->o_flags); in ip6gre_fill_info()
[all …]
A Dip6_vti.c761 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
/linux/include/linux/
A 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/include/uapi/linux/
A Dip6_tunnel.h51 __be16 o_flags; member
A Dif_tunnel.h52 __be16 o_flags; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
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()
A 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/net/core/
A 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/net/
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()

Completed in 51 milliseconds