Home
last modified time | relevance | path

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

/linux-4.1.27/include/net/
Dgre.h47 static inline int ip_gre_calc_hlen(__be16 o_flags) in ip_gre_calc_hlen() argument
51 if (o_flags&TUNNEL_CSUM) in ip_gre_calc_hlen()
53 if (o_flags&TUNNEL_KEY) in ip_gre_calc_hlen()
55 if (o_flags&TUNNEL_SEQ) in ip_gre_calc_hlen()
Dip6_tunnel.h30 __be16 o_flags; member
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/
Dobdo.c111 dst->o_flags = src->i_flags; in obdo_from_inode()
143 dst->o_flags = src->o_flags; in obdo_cpy_md()
185 res |= dst->o_flags != src->o_flags; in obdo_cmp_md()
308 oa->o_flags; in md_from_obdo()
323 oa->o_flags = in obdo_from_md()
340 dobdo->o_flags = cpu_to_le32(sobdo->o_flags); in obdo_cpu_to_le()
357 dobdo->o_flags = le32_to_cpu(sobdo->o_flags); in obdo_le_to_cpu()
/linux-4.1.27/net/ipv4/
Dip_gre.c234 tpi.flags = tunnel->parms.o_flags; in __gre_xmit()
237 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit()
275 skb = gre_handle_offloads(skb, !!(tunnel->parms.o_flags&TUNNEL_CSUM)); in ipgre_xmit()
295 skb = gre_handle_offloads(skb, !!(tunnel->parms.o_flags&TUNNEL_CSUM)); in gre_tap_xmit()
324 ((p.i_flags|p.o_flags)&(GRE_VERSION|GRE_ROUTING))) in ipgre_tunnel_ioctl()
328 p.o_flags = gre_flags_to_tnl_flags(p.o_flags); in ipgre_tunnel_ioctl()
335 p.o_flags = tnl_flags_to_gre_flags(p.o_flags); in ipgre_tunnel_ioctl()
379 greh->flags = tnl_flags_to_gre_flags(t->parms.o_flags); in ipgre_header()
480 tunnel->tun_hlen = ip_gre_calc_hlen(tunnel->parms.o_flags); in __gre_tunnel_init()
493 if (!(tunnel->parms.o_flags & TUNNEL_SEQ)) { in __gre_tunnel_init()
[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.c254 p.i_key = p.o_key = p.i_flags = p.o_flags = 0; in ipip_tunnel_ioctl()
Dip_tunnel.c864 if (!(p->o_flags & TUNNEL_KEY)) in ip_tunnel_ioctl()
/linux-4.1.27/net/ipv6/
Dip6_gre.c346 if (!(nt->parms.o_flags & GRE_SEQ)) in ip6gre_tunnel_locate()
738 ((__be16 *)(ipv6h + 1))[0] = tunnel->parms.o_flags; in ip6gre_xmit2()
743 if (tunnel->parms.o_flags&(GRE_KEY|GRE_CSUM|GRE_SEQ)) { in ip6gre_xmit2()
746 if (tunnel->parms.o_flags&GRE_SEQ) { in ip6gre_xmit2()
751 if (tunnel->parms.o_flags&GRE_KEY) { in ip6gre_xmit2()
755 if (tunnel->parms.o_flags&GRE_CSUM) { in ip6gre_xmit2()
966 if (t->parms.o_flags&(GRE_CSUM|GRE_KEY|GRE_SEQ)) { in ip6gre_tnl_link_config()
967 if (t->parms.o_flags&GRE_CSUM) in ip6gre_tnl_link_config()
969 if (t->parms.o_flags&GRE_KEY) in ip6gre_tnl_link_config()
971 if (t->parms.o_flags&GRE_SEQ) in ip6gre_tnl_link_config()
[all …]
/linux-4.1.27/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.1.27/include/uapi/linux/
Dip6_tunnel.h46 __be16 o_flags; member
Dif_tunnel.h34 __be16 o_flags; member
/linux-4.1.27/drivers/staging/lustre/lustre/osc/
Dosc_request.c496 oa->o_flags == OBD_FL_DELORPHAN) { in osc_real_create()
513 CDEBUG(D_INFO, "oa flags %x\n", oa->o_flags); in osc_real_create()
731 oa->o_flags == OBD_FL_RECREATE_OBJS) { in osc_create()
803 if (!(oa->o_flags & OBD_FL_DELORPHAN)) { in osc_destroy()
924 oa->o_flags = 0; in osc_shrink_grant_local()
926 oa->o_flags |= OBD_FL_SHRINK_GRANT; in osc_shrink_grant_local()
977 body->oa.o_flags = 0; in osc_shrink_grant_to_target()
979 body->oa.o_flags |= OBD_FL_SHRINK_GRANT; in osc_shrink_grant_to_target()
1376 body->oa.o_flags = 0; in osc_brw_prep_request()
1378 body->oa.o_flags |= OBD_FL_RECOV_RESEND; in osc_brw_prep_request()
[all …]
Dosc_io.c452 oa->o_flags = OBD_FL_SRVLOCK; in osc_io_setattr_start()
/linux-4.1.27/drivers/staging/lustre/lustre/obdclass/linux/
Dlinux-obdo.c220 dst->i_flags = src->o_flags; in obdo_to_inode()
/linux-4.1.27/drivers/staging/lustre/lustre/include/lustre/
Dlustre_idl.h3261 __u32 o_flags; member
3296 wobdo->o_flags &= ~OBD_FL_LOCAL_MASK; in lustre_set_wire_obdo()
3316 local_flags = lobdo->o_flags & OBD_FL_LOCAL_MASK; in lustre_get_wire_obdo()
3321 lobdo->o_flags &= ~OBD_FL_LOCAL_MASK; in lustre_get_wire_obdo()
3322 lobdo->o_flags |= local_flags; in lustre_get_wire_obdo()
/linux-4.1.27/drivers/staging/lustre/lustre/lov/
Dlov_obd.c995 src_oa->o_flags & OBD_FL_RECREATE_OBJS); in lov_recreate()
1052 src_oa->o_flags == OBD_FL_DELORPHAN) { in lov_create()
1064 (src_oa->o_flags & OBD_FL_RECREATE_OBJS)) { in lov_create()
/linux-4.1.27/drivers/staging/lustre/lustre/obdecho/
Decho_client.c1564 (oa->o_flags & OBD_FL_DEBUG_CHECK) != 0); in echo_client_kbrw()
1713 (oa->o_flags & OBD_FL_DEBUG_CHECK) == 0) in echo_client_prep_commit()
/linux-4.1.27/drivers/staging/lustre/lustre/ptlrpc/
Dpack_generic.c1706 __swab32s(&o->o_flags); in lustre_swab_obdo()
2309 CDEBUG(D_RPCTRACE, "obdo: o_flags = %x\n", oa->o_flags); in dump_obdo()
Dwiretest.c1171 LASSERTF((int)offsetof(struct obdo, o_flags) == 96, "found %lld\n", in lustre_assert_wire_constants()
1172 (long long)(int)offsetof(struct obdo, o_flags)); in lustre_assert_wire_constants()
1173 LASSERTF((int)sizeof(((struct obdo *)0)->o_flags) == 4, "found %lld\n", in lustre_assert_wire_constants()
1174 (long long)(int)sizeof(((struct obdo *)0)->o_flags)); in lustre_assert_wire_constants()
/linux-4.1.27/drivers/staging/lustre/lustre/llite/
Dfile.c939 oinfo.oi_oa->o_flags |= OBD_FL_SRVLOCK; in ll_lsm_getattr()
1293 oa->o_flags |= OBD_FL_RECREATE_OBJS; in ll_lov_recreate()
Dllite_lib.c1888 oinfo.oi_oa->o_flags = flags; in ll_iocontrol()