Home
last modified time | relevance | path

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

12

/linux-6.1.9/include/net/
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-6.1.9/drivers/bluetooth/
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()
242 hci_skb_pkt_type(info->rx_skb) = nsh->type; 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()
[all …]
/linux-6.1.9/drivers/net/dsa/hirschmann/
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()
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.1.9/arch/arm64/kvm/hyp/nvhe/
Ddebug-sr.c40 dsb(nsh); in __debug_save_spe()
72 dsb(nsh); in __debug_save_trace()
Dtlb.c137 dsb(nsh); in __kvm_flush_cpu_context()
Dhost.S96 dsb nsh
/linux-6.1.9/arch/arm64/kernel/
Drelocate_kernel.S80 dsb nsh
82 dsb nsh
Dhyp-stub.S219 dsb nsh
Dmte.c345 dsb(nsh); in mte_suspend_enter()
/linux-6.1.9/net/nsh/
DMakefile2 obj-$(CONFIG_NET_NSH) += nsh.o
/linux-6.1.9/arch/arm/include/asm/
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.1.9/net/openvswitch/
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()
Dflow_netlink.h68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
Dflow_netlink.c1347 struct ovs_key_nsh *nsh, struct ovs_key_nsh *nsh_mask) in nsh_key_from_nlattr() argument
1362 nsh->base = *base; in nsh_key_from_nlattr()
1370 memcpy(nsh->context, md1->context, sizeof(*md1)); 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()
1980 static int nsh_key_to_nlattr(const struct ovs_key_nsh *nsh, bool is_mask, in nsh_key_to_nlattr() argument
[all …]
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()
Dflow.h155 struct ovs_key_nsh nsh; /* network service header */ member
/linux-6.1.9/arch/arm64/mm/
Dproc.S181 dsb nsh
239 dsb nsh
412 dsb nsh
/linux-6.1.9/arch/arm64/include/asm/
Dmte.h146 dsb(nsh); in mte_check_tfsr_exit()
Dassembler.h123 dsb nsh
506 dsb nsh
777 dsb nsh
Dtlbflush.h234 dsb(nsh); in local_flush_tlb_all()
/linux-6.1.9/arch/arm64/kvm/hyp/vhe/
Dtlb.c139 dsb(nsh); in __kvm_flush_cpu_context()
/linux-6.1.9/net/
DMakefile72 obj-$(CONFIG_NET_NSH) += nsh/
/linux-6.1.9/drivers/md/
Draid5.c2550 struct stripe_head *osh, *nsh; in resize_stripes() local
2571 nsh = alloc_stripe(sc, GFP_KERNEL, newsize, conf); in resize_stripes()
2572 if (!nsh) in resize_stripes()
2575 list_add(&nsh->lru, &newstripes); in resize_stripes()
2580 nsh = list_entry(newstripes.next, struct stripe_head, lru); in resize_stripes()
2581 list_del(&nsh->lru); in resize_stripes()
2582 free_stripe(sc, nsh); in resize_stripes()
2594 list_for_each_entry(nsh, &newstripes, lru) { in resize_stripes()
2605 nsh->pages[i] = osh->pages[i]; in resize_stripes()
2610 nsh->dev[i].page = osh->dev[i].page; in resize_stripes()
[all …]
/linux-6.1.9/arch/x86/boot/
Dgenimage.sh194 mcopy - "$1"startup.nsh

12