Home
last modified time | relevance | path

Searched refs:o_flags (Results 1 - 25 of 40) sorted by relevance

12

/kernel/linux/linux-5.10/include/linux/
H A Dfile.h96 unsigned int o_flags);
98 unsigned int o_flags) in receive_fd_user()
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()
97 receive_fd_user(struct file *file, int __user *ufd, unsigned int o_flags) receive_fd_user() argument
/kernel/linux/linux-6.6/include/linux/
H A Dfile.h100 unsigned int o_flags);
102 extern int receive_fd(struct file *file, unsigned int o_flags);
105 unsigned int o_flags) in receive_fd_user()
109 return __receive_fd(file, ufd, o_flags); in receive_fd_user()
111 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags);
104 receive_fd_user(struct file *file, int __user *ufd, unsigned int o_flags) receive_fd_user() argument
/kernel/linux/linux-5.10/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
/kernel/linux/linux-6.6/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
/kernel/linux/linux-5.10/net/ipv4/
H A Dip_gre.c457 __be16 flags = tunnel->parms.o_flags; in __gre_xmit()
656 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in ipgre_xmit()
697 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit()
712 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
735 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in gre_tap_xmit()
756 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()
768 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in ipgre_link_update()
769 if (!(tunnel->parms.o_flags & TUNNEL_CSUM) || in ipgre_link_update()
792 ((p->i_flags | p->o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
797 p->o_flags in ipgre_tunnel_ctl()
1497 __be16 o_flags = p->o_flags; ipgre_fill_info() local
[all...]
/kernel/linux/linux-6.6/net/ipv4/
H A Dip_gre.c462 __be16 flags = tunnel->parms.o_flags; in __gre_xmit()
662 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in ipgre_xmit()
704 tunnel->parms.o_flags &= ~TUNNEL_SEQ; in erspan_xmit()
719 tunnel->parms.o_flags &= ~TUNNEL_KEY; in erspan_xmit()
742 if (gre_handle_offloads(skb, !!(tunnel->parms.o_flags & TUNNEL_CSUM))) in gre_tap_xmit()
764 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ipgre_link_update()
776 flags = tunnel->parms.o_flags; in ipgre_link_update()
796 ((p->i_flags | p->o_flags) & (GRE_VERSION | GRE_ROUTING))) in ipgre_tunnel_ctl()
801 p->o_flags = gre_flags_to_tnl_flags(p->o_flags); in ipgre_tunnel_ctl()
1498 __be16 o_flags = p->o_flags; ipgre_fill_info() local
[all...]
/kernel/linux/linux-5.10/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()
982 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
1180 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen()
1213 t->parms.o_flags = p->o_flags; in ip6gre_tnl_copy_tnl_parm()
1243 p->o_flags in ip6gre_tnl_parm_from_user()
2150 __be16 o_flags = p->o_flags; ip6gre_fill_info() local
[all...]
/kernel/linux/linux-6.6/net/ipv6/
H A Dip6_gre.c798 flags = tunnel->parms.o_flags; in __gre6_xmit()
825 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_ipv4()
859 if (gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM))) in ip6gre_xmit_ipv6()
886 err = gre_handle_offloads(skb, !!(t->parms.o_flags & TUNNEL_CSUM)); in ip6gre_xmit_other()
982 t->parms.o_flags &= ~TUNNEL_KEY; in ip6erspan_tunnel_xmit()
1179 tunnel->tun_hlen = gre_calc_hlen(tunnel->parms.o_flags); in ip6gre_calc_hlen()
1212 t->parms.o_flags = p->o_flags; in ip6gre_tnl_copy_tnl_parm()
1242 p->o_flags = gre_flags_to_tnl_flags(u->o_flags); in ip6gre_tnl_parm_from_user()
2147 __be16 o_flags = p->o_flags; ip6gre_fill_info() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c39 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms4_has_okey()
44 return !!(parms->o_flags & TUNNEL_KEY); in mlxsw_sp_ipip_parms6_has_okey()
246 (tunnel->parms.o_flags & ~okflags) == 0 && in mlxsw_sp_ipip_can_offload_gre4()
445 (tparm.o_flags & ~okflags) == 0 && in mlxsw_sp_ipip_can_offload_gre6()
/kernel/linux/linux-5.10/include/uapi/linux/
H A Dip6_tunnel.h51 __be16 o_flags; member
H A Dif_tunnel.h52 __be16 o_flags; member
/kernel/linux/linux-6.6/include/uapi/linux/
H A Dip6_tunnel.h51 __be16 o_flags; member
H A Dif_tunnel.h52 __be16 o_flags; member
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
H A Dip6_tunnel.h55 __be16 o_flags; member
H A Dif_tunnel.h62 __be16 o_flags; member
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/
H A Dip6_tunnel.h55 __be16 o_flags; member
H A Dif_tunnel.h62 __be16 o_flags; member
/kernel/linux/patches/linux-4.19/prebuilts/usr/include/linux/
H A Dip6_tunnel.h42 __be16 o_flags; member
H A Dif_tunnel.h49 __be16 o_flags; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/fs/
H A Dfile.c1175 * @o_flags: the O_* flags to apply to the new fd entry
1186 int __receive_fd(struct file *file, int __user *ufd, unsigned int o_flags) in __receive_fd() argument
1195 new_fd = get_unused_fd_flags(o_flags); in __receive_fd()
1212 int receive_fd_replace(int new_fd, struct file *file, unsigned int o_flags) in receive_fd_replace() argument
1219 error = replace_fd(new_fd, file, o_flags); in receive_fd_replace()
1226 int receive_fd(struct file *file, unsigned int o_flags) in receive_fd() argument
1228 return __receive_fd(file, NULL, o_flags); in receive_fd()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/core/
H A Dscm.c300 unsigned int o_flags = (msg->msg_flags & MSG_CMSG_CLOEXEC) ? O_CLOEXEC : 0; in scm_detach_fds() local
315 err = receive_fd_user(scm->fp->fp[i], cmsg_data + i, o_flags); in scm_detach_fds()

Completed in 215 milliseconds

12