Searched refs:nsh (Results 1 - 25 of 34) sorted by relevance

12

/linux-master/net/nsh/
H A DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
H A Dnsh.c12 #include <net/nsh.h>
/linux-master/include/net/
H A Dnsh.h190 * [0] https://datatracker.ietf.org/doc/draft-ietf-sfc-nsh/
260 static inline u16 nsh_hdr_len(const struct nshhdr *nsh) argument
262 return ((ntohs(nsh->ver_flags_ttl_len) & NSH_LEN_MASK)
266 static inline u8 nsh_get_ver(const struct nshhdr *nsh) argument
268 return (ntohs(nsh->ver_flags_ttl_len) & NSH_VER_MASK)
272 static inline u8 nsh_get_flags(const struct nshhdr *nsh) argument
274 return (ntohs(nsh->ver_flags_ttl_len) & NSH_FLAGS_MASK)
278 static inline u8 nsh_get_ttl(const struct nshhdr *nsh) argument
280 return (ntohs(nsh->ver_flags_ttl_len) & NSH_TTL_MASK)
284 static inline void __nsh_set_xflag(struct nshhdr *nsh, u1 argument
290 nsh_set_flags_and_ttl(struct nshhdr *nsh, u8 flags, u8 ttl) argument
297 nsh_set_flags_ttl_len(struct nshhdr *nsh, u8 flags, u8 ttl, u8 len) argument
[all...]
/linux-master/arch/arm64/kvm/hyp/nvhe/
H A Dtlb.c19 bool nsh)
26 * being either ish or nsh, depending on the invalidation
31 * registers out of context, for which dsb(nsh) is enough
34 * the 'nsh' parameter tracks the distinction between
38 if (nsh)
39 dsb(nsh);
133 dsb(nsh);
135 dsb(nsh);
191 dsb(nsh);
17 __tlb_switch_to_guest(struct kvm_s2_mmu *mmu, struct tlb_inv_context *cxt, bool nsh) argument
H A Dswitch.c292 dsb(nsh);
333 dsb(nsh);
H A Dhyp-init.S291 dsb nsh
H A Dhost.S130 dsb nsh
/linux-master/drivers/bluetooth/
H A Ddtl1_cs.c97 struct nsh { struct
205 struct nsh *nsh; local
230 nsh = (struct nsh *)info->rx_skb->data;
239 info->rx_count = nsh->len + (nsh->len & 0x0001);
242 hci_skb_pkt_type(info->rx_skb) = nsh->type;
245 if (nsh->len & 0x0001) {
388 struct nsh ns local
420 memcpy(skb_push(s, NSHL), &nsh, NSHL); local
[all...]
/linux-master/drivers/net/dsa/hirschmann/
H A Dhellcreek_ptp.c32 u16 nsl, nsh; local
44 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C);
45 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C);
46 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C);
47 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C);
50 return (u64)nsl | ((u64)nsh << 16);
103 u16 secl, nsh, nsl; local
106 nsh = ((u32)ts->tv_nsec & 0xffff0000) >> 16;
119 hellcreek_ptp_write(hellcreek, nsh, PR_CLOCK_WRITE_C);
H A Dhellcreek_hwtstamp.c202 u16 nsl, nsh; local
204 nsh = hellcreek_ptp_read(hellcreek, ts_reg);
205 nsh = hellcreek_ptp_read(hellcreek, ts_reg);
206 nsh = hellcreek_ptp_read(hellcreek, ts_reg);
207 nsh = hellcreek_ptp_read(hellcreek, ts_reg);
210 return (u64)nsl | ((u64)nsh << 16);
/linux-master/arch/arm64/kvm/hyp/vhe/
H A Dtlb.c148 dsb(nsh);
150 dsb(nsh);
210 dsb(nsh);
H A Dsysreg-sr.c82 dsb(nsh);
/linux-master/arch/arm64/kernel/
H A Drelocate_kernel.S80 dsb nsh
82 dsb nsh
H A Dhyp-stub.S170 dsb nsh
/linux-master/net/openvswitch/
H A Dflow_netlink.h68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
H A Dflow.c36 #include <net/nsh.h>
651 key->nsh.base.flags = nsh_get_flags(nh);
652 key->nsh.base.ttl = nsh_get_ttl(nh);
653 key->nsh.base.mdtype = nh->mdtype;
654 key->nsh.base.np = nh->np;
655 key->nsh.base.path_hdr = nh->path_hdr;
656 switch (key->nsh.base.mdtype) {
660 memcpy(key->nsh.context, nh->md1.context,
664 memset(key->nsh.context, 0,
H A Dflow.h24 #include <net/nsh.h>
155 struct ovs_key_nsh nsh; /* network service header */ member in union:sw_flow_key::__anon4685
H A Dflow_netlink.c1342 /* nsh header length = NSH_BASE_HDR_LEN + mdlen */
1350 struct ovs_key_nsh *nsh, struct ovs_key_nsh *nsh_mask)
1365 nsh->base = *base;
1373 memcpy(nsh->context, md1->context, sizeof(*md1));
1409 OVS_NLERR(log, "nsh attr %d is out of range max %d",
1418 "nsh attr %d has unexpected len %d expected %d",
1432 SW_FLOW_KEY_PUT(match, nsh.base.flags,
1434 SW_FLOW_KEY_PUT(match, nsh.base.ttl,
1436 SW_FLOW_KEY_PUT(match, nsh.base.mdtype,
1438 SW_FLOW_KEY_PUT(match, nsh
1349 nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh, struct ovs_key_nsh *nsh_mask) argument
1983 nsh_key_to_nlattr(const struct ovs_key_nsh *nsh, bool is_mask, struct sk_buff *skb) argument
[all...]
/linux-master/arch/arm/include/asm/
H A Dtlbflush.h338 dsb(nsh);
391 dsb(nsh);
448 dsb(nsh);
501 dsb(nsh);
/linux-master/arch/arm64/include/asm/
H A Dmte.h201 dsb(nsh);
H A Dassembler.h105 dsb nsh
474 dsb nsh
729 dsb nsh
H A Dtlbflush.h254 dsb(nsh);
/linux-master/net/
H A DMakefile72 obj-$(CONFIG_NET_NSH) += nsh/
/linux-master/arch/arm64/mm/
H A Dproc.S179 dsb nsh
242 dsb nsh
464 dsb nsh
/linux-master/arch/x86/boot/
H A Dgenimage.sh194 mcopy - "$1"startup.nsh

Completed in 508 milliseconds

12