Home
last modified time | relevance | path

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

12

/linux-6.3-rc2/include/net/
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()
286 nsh->ver_flags_ttl_len in __nsh_set_xflag()
287 = (nsh->ver_flags_ttl_len & ~htons(xmask)) | htons(xflag); in __nsh_set_xflag()
[all …]
/linux-6.3-rc2/drivers/bluetooth/
A Ddtl1_cs.c97 struct nsh { struct
205 struct nsh *nsh; in dtl1_receive() local
230 nsh = (struct nsh *)info->rx_skb->data; in dtl1_receive()
239 info->rx_count = nsh->len + (nsh->len & 0x0001); in dtl1_receive()
245 if (nsh->len & 0x0001) { in dtl1_receive()
388 struct nsh nsh; in dtl1_hci_send_frame() local
393 nsh.type = 0x81; in dtl1_hci_send_frame()
397 nsh.type = 0x82; in dtl1_hci_send_frame()
401 nsh.type = 0x83; in dtl1_hci_send_frame()
407 nsh.zero = 0; in dtl1_hci_send_frame()
[all …]
/linux-6.3-rc2/drivers/net/dsa/hirschmann/
A Dhellcreek_ptp.c31 u16 nsl, nsh; in hellcreek_ptp_clock_read() local
43 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
44 nsh = hellcreek_ptp_read(hellcreek, PR_SS_SYNC_DATA_C); in hellcreek_ptp_clock_read()
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()
49 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_clock_read()
102 u16 secl, nsh, nsl; in hellcreek_ptp_settime() local
105 nsh = ((u32)ts->tv_nsec & 0xffff0000) >> 16; in hellcreek_ptp_settime()
118 hellcreek_ptp_write(hellcreek, nsh, PR_CLOCK_WRITE_C); in hellcreek_ptp_settime()
A Dhellcreek_hwtstamp.c202 u16 nsl, nsh; in hellcreek_ptp_hwtstamp_read() local
204 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
205 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
206 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
207 nsh = hellcreek_ptp_read(hellcreek, ts_reg); in hellcreek_ptp_hwtstamp_read()
210 return (u64)nsl | ((u64)nsh << 16); in hellcreek_ptp_hwtstamp_read()
/linux-6.3-rc2/arch/arm64/kvm/hyp/nvhe/
A Ddebug-sr.c40 dsb(nsh); in __debug_save_spe()
72 dsb(nsh); in __debug_save_trace()
A Dtlb.c137 dsb(nsh); in __kvm_flush_cpu_context()
A Dhost.S96 dsb nsh
/linux-6.3-rc2/arch/arm64/kernel/
A Drelocate_kernel.S80 dsb nsh
82 dsb nsh
A Dhyp-stub.S144 dsb nsh
A Dmte.c344 dsb(nsh); in mte_suspend_enter()
/linux-6.3-rc2/net/nsh/
A DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
/linux-6.3-rc2/arch/arm/include/asm/
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-6.3-rc2/net/openvswitch/
A Dflow.c651 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh()
652 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh()
653 key->nsh.base.mdtype = nh->mdtype; in parse_nsh()
654 key->nsh.base.np = nh->np; in parse_nsh()
655 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh()
656 switch (key->nsh.base.mdtype) { in parse_nsh()
660 memcpy(key->nsh.context, nh->md1.context, in parse_nsh()
664 memset(key->nsh.context, 0, in parse_nsh()
A Dflow_netlink.h68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
A Dflow_netlink.c1362 nsh->base = *base; in nsh_key_from_nlattr()
1429 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr()
1431 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr()
1433 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr()
1435 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr()
1437 SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, in nsh_key_put_from_nlattr()
1446 SW_FLOW_KEY_PUT(match, nsh.context[i], in nsh_key_put_from_nlattr()
1989 if (nla_put(skb, OVS_NSH_KEY_ATTR_BASE, sizeof(nsh->base), &nsh->base)) in nsh_key_to_nlattr()
1992 if (is_mask || nsh->base.mdtype == NSH_M_TYPE1) { in nsh_key_to_nlattr()
1994 sizeof(nsh->context), nsh->context)) in nsh_key_to_nlattr()
[all …]
A Dactions.c632 flow_key->nsh.base.flags = flags; in set_nsh()
635 flow_key->nsh.base.ttl = ttl; in set_nsh()
639 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh()
647 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh()
651 memset(flow_key->nsh.context, 0, in set_nsh()
652 sizeof(flow_key->nsh.context)); in set_nsh()
A Dflow.h155 struct ovs_key_nsh nsh; /* network service header */ member
/linux-6.3-rc2/arch/arm64/mm/
A Dproc.S179 dsb nsh
233 dsb nsh
406 dsb nsh
/linux-6.3-rc2/arch/arm64/kvm/hyp/vhe/
A Dtlb.c139 dsb(nsh); in __kvm_flush_cpu_context()
/linux-6.3-rc2/arch/arm64/include/asm/
A Dmte.h209 dsb(nsh); in mte_check_tfsr_exit()
A Dassembler.h109 dsb nsh
492 dsb nsh
750 dsb nsh
A Dtlbflush.h234 dsb(nsh); in local_flush_tlb_all()
/linux-6.3-rc2/net/
A DMakefile73 obj-$(CONFIG_NET_NSH) += nsh/
/linux-6.3-rc2/drivers/md/
A Draid5.c2572 if (!nsh) in resize_stripes()
2581 list_del(&nsh->lru); in resize_stripes()
2582 free_stripe(sc, nsh); in resize_stripes()
2659 list_del_init(&nsh->lru); in resize_stripes()
2663 if (nsh->pages[i]) in resize_stripes()
2666 if (!nsh->pages[i]) in resize_stripes()
2671 if (nsh->dev[i].page) in resize_stripes()
2673 nsh->dev[i].page = raid5_get_dev_page(nsh, i); in resize_stripes()
2674 nsh->dev[i].orig_page = nsh->dev[i].page; in resize_stripes()
2675 nsh->dev[i].offset = raid5_get_page_offset(nsh, i); in resize_stripes()
[all …]
/linux-6.3-rc2/arch/x86/boot/
A Dgenimage.sh194 mcopy - "$1"startup.nsh

Completed in 67 milliseconds

12