Home
last modified time | relevance | path

Searched refs:nsh (Results 1 – 13 of 13) sorted by relevance

/linux/include/net/
H A Dnsh.h260 static inline u16 nsh_hdr_len(const struct nshhdr *nsh) in nsh_hdr_len() argument
262 return ((ntohs(nsh->ver_flags_ttl_len) & NSH_LEN_MASK) in nsh_hdr_len()
266 static inline u8 nsh_get_ver(const struct nshhdr *nsh) in nsh_get_ver() argument
268 return (ntohs(nsh->ver_flags_ttl_len) & NSH_VER_MASK) in nsh_get_ver()
272 static inline u8 nsh_get_flags(const struct nshhdr *nsh) in nsh_get_flags() argument
274 return (ntohs(nsh->ver_flags_ttl_len) & NSH_FLAGS_MASK) in nsh_get_flags()
278 static inline u8 nsh_get_ttl(const struct nshhdr *nsh) in nsh_get_ttl() argument
280 return (ntohs(nsh->ver_flags_ttl_len) & NSH_TTL_MASK) in nsh_get_ttl()
284 static inline void __nsh_set_xflag(struct nshhdr *nsh, u16 xflag, u16 xmask) in __nsh_set_xflag() argument
286 nsh->ver_flags_ttl_len in __nsh_set_xflag()
[all …]
/linux/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c33 u16 nsl, nsh; in hellcreek_ptp_clock_read() local
45 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
46 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
47 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
48 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
53 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_clock_read()
108 u16 secl, nsh, nsl; in hellcreek_ptp_settime() local
111 nsh = ((u32)ts->tv_nsec & 0xffff0000) >> 16; in hellcreek_ptp_settime()
124 hellcreek_ptp_write(hellcreek, nsh, PR_CLOCK_WRITE_C); in hellcreek_ptp_settime()
/linux/net/nsh/
H A DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
/linux/arch/arm/include/asm/
H A Dtlbflush.h338 dsb(nsh); in local_flush_tlb_all()
391 dsb(nsh); in local_flush_tlb_mm()
448 dsb(nsh); in local_flush_tlb_page()
501 dsb(nsh); in local_flush_tlb_kernel_page()
/linux/net/openvswitch/
H A Dflow.c648 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh()
649 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh()
650 key->nsh.base.mdtype = nh->mdtype; in parse_nsh()
651 key->nsh.base.np = nh->np; in parse_nsh()
652 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh()
653 switch (key->nsh.base.mdtype) { in parse_nsh()
657 memcpy(key->nsh.context, nh->md1.context, in parse_nsh()
661 memset(key->nsh.context, 0, in parse_nsh()
H A Dflow_netlink.c1408 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr()
1410 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr()
1412 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr()
1414 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr()
1416 SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, in nsh_key_put_from_nlattr()
1425 SW_FLOW_KEY_PUT(match, nsh.context[i], in nsh_key_put_from_nlattr()
1959 static int nsh_key_to_nlattr(const struct ovs_key_nsh *nsh, bool is_mask, in nsh_key_to_nlattr() argument
1968 if (nla_put(skb, OVS_NSH_KEY_ATTR_BASE, sizeof(nsh->base), &nsh->base)) in nsh_key_to_nlattr()
1971 if (is_mask || nsh->base.mdtype == NSH_M_TYPE1) { in nsh_key_to_nlattr()
1973 sizeof(nsh->context), nsh->context)) in nsh_key_to_nlattr()
[all …]
H A Dflow.h155 struct ovs_key_nsh nsh; /* network service header */ member
/linux/arch/arm64/include/asm/
H A Dtlbflush.h364 dsb(nsh); in local_flush_tlb_all()
609 dsb(nsh); in __do_flush_tlb_range()
H A Dsysreg.h1123 dsb nsh
/linux/drivers/md/
H A Draid5.c2546 struct stripe_head *osh, *nsh; in resize_stripes() local
2567 nsh = alloc_stripe(sc, GFP_KERNEL, newsize, conf); in resize_stripes()
2568 if (!nsh) in resize_stripes()
2571 list_add(&nsh->lru, &newstripes); in resize_stripes()
2576 nsh = list_entry(newstripes.next, struct stripe_head, lru); in resize_stripes()
2577 list_del(&nsh->lru); in resize_stripes()
2578 free_stripe(sc, nsh); in resize_stripes()
2590 list_for_each_entry(nsh, &newstripes, lru) { in resize_stripes()
2601 nsh->pages[i] = osh->pages[i]; in resize_stripes()
2606 nsh->dev[i].page = osh->dev[i].page; in resize_stripes()
[all …]
/linux/arch/arm64/kvm/hyp/nvhe/
H A Dhost.S129 dsb nsh
/linux/arch/arm/kernel/
H A Dentry-common.S156 dsb nsh
/linux/drivers/perf/
H A Darm_spe_pmu.c671 dsb(nsh); in arm_spe_pmu_disable_and_drain_local()
691 dsb(nsh); in arm_spe_pmu_buf_get_fault_act()