Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dfile.h96 unsigned int o_flags);
98 unsigned int o_flags) in receive_fd_user() argument
102 return __receive_fd(-1, file, ufd, o_flags); in receive_fd_user()
104 static inline int receive_fd(struct file *file, unsigned int o_flags) in receive_fd() argument
106 return __receive_fd(-1, file, NULL, o_flags); in receive_fd()
108 static inline int receive_fd_replace(int fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument
110 return __receive_fd(fd, file, NULL, o_flags); in receive_fd_replace()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dip_gre.c457 __be16 flags = tunnel->parms.o_flags; in __gre_xmit()
653 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in ipgre_xmit()
694 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit()
709 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
732 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in gre_tap_xmit()
753 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()
765 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in ipgre_link_update()
766 if (!(tunnel->parms.o_flags & TUNNEL_CSUM) || in ipgre_link_update()
789 ((p->i_flags | p->o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
794 p->o_flags = gre_flags_to_tnl_flags(p->o_flags); in ipgre_tunnel_ctl()
[all …]
H A Dip_vti.c385 if (!(p->o_flags & GRE_KEY)) in vti_tunnel_ctl()
396 p->o_flags |= GRE_KEY; in vti_tunnel_ctl()
H A Dipip.c340 p->i_flags = p->o_flags = 0; in ipip_tunnel_ctl()
H A Dip_tunnel.c886 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ctl()
/OK3568_Linux_fs/kernel/include/net/
H A Dgre.h52 static inline int gre_calc_hlen(__be16 o_flags) in gre_calc_hlen() argument
56 if (o_flags & TUNNEL_CSUM) in gre_calc_hlen()
58 if (o_flags & TUNNEL_KEY) in gre_calc_hlen()
60 if (o_flags & TUNNEL_SEQ) in gre_calc_hlen()
H A Dip6_tunnel.h34 __be16 o_flags; member
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dip6_gre.c387 if (!(nt->parms.o_flags & TUNNEL_SEQ)) in ip6gre_tunnel_locate()
776 flags = tunnel->parms.o_flags; in __gre6_xmit()
803 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_ipv4()
837 if (gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM))) in ip6gre_xmit_ipv6()
885 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_other()
981 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
1176 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen()
1209 t->parms.o_flags = p->o_flags; in ip6gre_tnl_copy_tnl_parm()
1239 p->o_flags = gre_flags_to_tnl_flags(u->o_flags); in ip6gre_tnl_parm_from_user()
1257 u->o_flags = gre_tnl_flags_to_gre_flags(p->o_flags); in ip6gre_tnl_parm_to_user()
[all …]
H A Dip6_vti.c764 u->o_flags |= GRE_KEY; in vti6_parm_to_user()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dip6_tunnel.h51 __be16 o_flags; member
H A Dif_tunnel.h52 __be16 o_flags; member
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dip6_tunnel.h51 __be16 o_flags; member
H A Dif_tunnel.h52 __be16 o_flags; member
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dip6_tunnel.h51 __be16 o_flags; member
H A Dif_tunnel.h52 __be16 o_flags; member
/OK3568_Linux_fs/kernel/fs/
H A Dfsopen.c87 static int fscontext_create_fd(struct fs_context *fc, unsigned int o_flags) in fscontext_create_fd() argument
92 O_RDWR | o_flags); in fscontext_create_fd()
H A Dfile.c1142 int __receive_fd(int fd, struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd() argument
1152 new_fd = get_unused_fd_flags(o_flags); in __receive_fd()
1171 error = replace_fd(new_fd, file, o_flags); in __receive_fd()
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c34 return !!(parms.o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
243 (tunnel->parms.o_flags & ~okflags) == 0 && in mlxsw_sp_ipip_can_offload_gre4()
H A Dspectrum_span.c462 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap4_parms()
566 tparm.i_flags || tparm.o_flags || in mlxsw_sp_span_entry_gretap6_parms()
/OK3568_Linux_fs/kernel/net/core/
H A Dscm.c294 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local
309 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()
/OK3568_Linux_fs/kernel/net/
H A Dcompat.c295 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds_compat() local
301 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds_compat()