Home
last modified time | relevance | path

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

/linux-4.4.14/net/ipv4/
Dip_gre.c126 static int ip_gre_calc_hlen(__be16 o_flags) in ip_gre_calc_hlen() argument
130 if (o_flags & TUNNEL_CSUM) in ip_gre_calc_hlen()
132 if (o_flags & TUNNEL_KEY) in ip_gre_calc_hlen()
134 if (o_flags & TUNNEL_SEQ) in ip_gre_calc_hlen()
488 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit()
492 build_header(skb, tunnel->tun_hlen, tunnel->parms.o_flags, in __gre_xmit()
632 skb = gre_handle_offloads(skb, !!(tunnel->parms.o_flags&TUNNEL_CSUM)); in ipgre_xmit()
656 skb = gre_handle_offloads(skb, !!(tunnel->parms.o_flags&TUNNEL_CSUM)); in gre_tap_xmit()
684 ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING))) in ipgre_tunnel_ioctl()
688 p.o_flags = gre_flags_to_tnl_flags(p.o_flags); in ipgre_tunnel_ioctl()
[all …]
Dip_vti.c324 if (!(p.o_flags & GRE_KEY)) in vti_tunnel_ioctl()
335 p.o_flags |= GRE_KEY; in vti_tunnel_ioctl()
Dipip.c255 p.i_flags = p.o_flags = 0; in ipip_tunnel_ioctl()
Dip_tunnel.c876 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
/linux-4.4.14/net/ipv6/
Dip6_gre.c346 if (!(nt->parms.o_flags & GRE_SEQ)) in ip6gre_tunnel_locate()
735 ((__be16 *)(ipv6h + 1))[0] = tunnel->parms.o_flags; in ip6gre_xmit2()
740 if (tunnel->parms.o_flags&(GRE_KEY|GRE_CSUM|GRE_SEQ)) { in ip6gre_xmit2()
743 if (tunnel->parms.o_flags&GRE_SEQ) { in ip6gre_xmit2()
748 if (tunnel->parms.o_flags&GRE_KEY) { in ip6gre_xmit2()
752 if (tunnel->parms.o_flags&GRE_CSUM) { in ip6gre_xmit2()
963 if (t->parms.o_flags&(GRE_CSUM|GRE_KEY|GRE_SEQ)) { in ip6gre_tnl_link_config()
964 if (t->parms.o_flags&GRE_CSUM) in ip6gre_tnl_link_config()
966 if (t->parms.o_flags&GRE_KEY) in ip6gre_tnl_link_config()
968 if (t->parms.o_flags&GRE_SEQ) in ip6gre_tnl_link_config()
[all …]
/linux-4.4.14/drivers/staging/lustre/lustre/include/
Dobd_cksum.h101 static inline cksum_type_t cksum_type_unpack(u32 o_flags) in cksum_type_unpack() argument
103 switch (o_flags & OBD_FL_CKSUM_ALL) { in cksum_type_unpack()
/linux-4.4.14/include/uapi/linux/
Dip6_tunnel.h46 __be16 o_flags; member
Dif_tunnel.h34 __be16 o_flags; member
/linux-4.4.14/drivers/staging/lustre/lustre/obdclass/
Dobdo.c111 dst->o_flags = src->i_flags; in obdo_from_inode()
187 oa->o_flags; in md_from_obdo()
/linux-4.4.14/drivers/staging/lustre/lustre/osc/
Dosc_request.c472 oa->o_flags == OBD_FL_DELORPHAN) { in osc_real_create()
489 CDEBUG(D_INFO, "oa flags %x\n", oa->o_flags); in osc_real_create()
703 oa->o_flags == OBD_FL_RECREATE_OBJS) { in osc_create()
772 if (!(oa->o_flags & OBD_FL_DELORPHAN)) { in osc_destroy()
893 oa->o_flags = 0; in osc_shrink_grant_local()
895 oa->o_flags |= OBD_FL_SHRINK_GRANT; in osc_shrink_grant_local()
946 body->oa.o_flags = 0; in osc_shrink_grant_to_target()
948 body->oa.o_flags |= OBD_FL_SHRINK_GRANT; in osc_shrink_grant_to_target()
1344 body->oa.o_flags = 0; in osc_brw_prep_request()
1346 body->oa.o_flags |= OBD_FL_RECOV_RESEND; in osc_brw_prep_request()
[all …]
Dosc_io.c451 oa->o_flags = OBD_FL_SRVLOCK; in osc_io_setattr_start()
/linux-4.4.14/include/net/
Dip6_tunnel.h30 __be16 o_flags; member
/linux-4.4.14/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h3240 __u32 o_flags; member
3275 wobdo->o_flags &= ~OBD_FL_LOCAL_MASK; in lustre_set_wire_obdo()
3295 local_flags = lobdo->o_flags & OBD_FL_LOCAL_MASK; in lustre_get_wire_obdo()
3300 lobdo->o_flags &= ~OBD_FL_LOCAL_MASK; in lustre_get_wire_obdo()
3301 lobdo->o_flags |= local_flags; in lustre_get_wire_obdo()
/linux-4.4.14/drivers/staging/lustre/lustre/lov/
Dlov_obd.c976 src_oa->o_flags & OBD_FL_RECREATE_OBJS); in lov_recreate()
1033 src_oa->o_flags == OBD_FL_DELORPHAN) { in lov_create()
1045 (src_oa->o_flags & OBD_FL_RECREATE_OBJS)) { in lov_create()
/linux-4.4.14/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1565 (oa->o_flags & OBD_FL_DEBUG_CHECK) != 0); in echo_client_kbrw()
1714 (oa->o_flags & OBD_FL_DEBUG_CHECK) == 0) in echo_client_prep_commit()
/linux-4.4.14/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c1552 __swab32s(&o->o_flags); in lustre_swab_obdo()
2102 CDEBUG(D_RPCTRACE, "obdo: o_flags = %x\n", oa->o_flags); in dump_obdo()
Dwiretest.c1169 LASSERTF((int)offsetof(struct obdo, o_flags) == 96, "found %lld\n", in lustre_assert_wire_constants()
1170 (long long)(int)offsetof(struct obdo, o_flags)); in lustre_assert_wire_constants()
1171 LASSERTF((int)sizeof(((struct obdo *)0)->o_flags) == 4, "found %lld\n", in lustre_assert_wire_constants()
1172 (long long)(int)sizeof(((struct obdo *)0)->o_flags)); in lustre_assert_wire_constants()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dfile.c932 oinfo.oi_oa->o_flags |= OBD_FL_SRVLOCK; in ll_lsm_getattr()
1284 oa->o_flags |= OBD_FL_RECREATE_OBJS; in ll_lov_recreate()
Dllite_lib.c1787 oinfo.oi_oa->o_flags = flags; in ll_iocontrol()