| /linux-6.15/include/net/ |
| H A D | nsh.h | 260 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.15/arch/riscv/kvm/ |
| H A D | vcpu.c | 582 void *nsh; in kvm_arch_vcpu_load() local 587 nsh = nacl_shmem(); in kvm_arch_vcpu_load() 647 void *nsh; in kvm_arch_vcpu_put() local 664 nsh = nacl_shmem(); in kvm_arch_vcpu_put() 781 void *nsh; in kvm_riscv_vcpu_enter_exit() local 797 nsh = nacl_shmem(); in kvm_riscv_vcpu_enter_exit() 801 nacl_csr_read(nsh, CSR_HSTATUS); in kvm_riscv_vcpu_enter_exit() 802 nacl_scratch_write_long(nsh, in kvm_riscv_vcpu_enter_exit() 806 nacl_scratch_write_long(nsh, in kvm_riscv_vcpu_enter_exit() 816 nacl_scratch_write_longs(nsh, in kvm_riscv_vcpu_enter_exit() [all …]
|
| H A D | aia.c | 140 void *nsh; in kvm_riscv_vcpu_aia_load() local 146 nsh = nacl_shmem(); in kvm_riscv_vcpu_aia_load() 148 nacl_csr_write(nsh, CSR_HVIPRIO1, csr->hviprio1); in kvm_riscv_vcpu_aia_load() 149 nacl_csr_write(nsh, CSR_HVIPRIO2, csr->hviprio2); in kvm_riscv_vcpu_aia_load() 151 nacl_csr_write(nsh, CSR_VSIEH, csr->vsieh); in kvm_riscv_vcpu_aia_load() 152 nacl_csr_write(nsh, CSR_HVIPH, csr->hviph); in kvm_riscv_vcpu_aia_load() 172 void *nsh; in kvm_riscv_vcpu_aia_put() local 178 nsh = nacl_shmem(); in kvm_riscv_vcpu_aia_put() 180 csr->hviprio1 = nacl_csr_read(nsh, CSR_HVIPRIO1); in kvm_riscv_vcpu_aia_put() 183 csr->vsieh = nacl_csr_read(nsh, CSR_VSIEH); in kvm_riscv_vcpu_aia_put() [all …]
|
| /linux-6.15/drivers/bluetooth/ |
| H A D | dtl1_cs.c | 97 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.15/arch/arm64/kvm/hyp/nvhe/ |
| H A D | tlb.c | 21 bool nsh) in enter_vmid_context() argument 48 if (nsh) in enter_vmid_context() 49 dsb(nsh); in enter_vmid_context() 200 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 202 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 258 dsb(nsh); in __kvm_flush_cpu_context()
|
| H A D | switch.c | 327 dsb(nsh); in __kvm_vcpu_run() 368 dsb(nsh); in __kvm_vcpu_run()
|
| /linux-6.15/drivers/net/dsa/hirschmann/ |
| H A D | hellcreek_ptp.c | 33 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()
|
| H A D | hellcreek_hwtstamp.c | 202 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.15/arch/arm64/kernel/ |
| H A D | relocate_kernel.S | 80 dsb nsh 82 dsb nsh
|
| H A D | hyp-stub.S | 170 dsb nsh
|
| /linux-6.15/arch/arm64/kvm/hyp/vhe/ |
| H A D | tlb.c | 148 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 150 dsb(nsh); in __kvm_tlb_flush_vmid_ipa_nsh() 210 dsb(nsh); in __kvm_flush_cpu_context()
|
| /linux-6.15/net/nsh/ |
| H A D | Makefile | 2 obj-$(CONFIG_NET_NSH) += nsh.o
|
| /linux-6.15/arch/arm/include/asm/ |
| H A D | tlbflush.h | 338 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.15/net/openvswitch/ |
| H A D | flow.c | 652 key->nsh.base.flags = nsh_get_flags(nh); in parse_nsh() 653 key->nsh.base.ttl = nsh_get_ttl(nh); in parse_nsh() 654 key->nsh.base.mdtype = nh->mdtype; in parse_nsh() 655 key->nsh.base.np = nh->np; in parse_nsh() 656 key->nsh.base.path_hdr = nh->path_hdr; in parse_nsh() 657 switch (key->nsh.base.mdtype) { in parse_nsh() 661 memcpy(key->nsh.context, nh->md1.context, in parse_nsh() 665 memset(key->nsh.context, 0, in parse_nsh()
|
| H A D | flow_netlink.h | 68 int nsh_key_from_nlattr(const struct nlattr *attr, struct ovs_key_nsh *nsh,
|
| H A D | flow_netlink.c | 1378 nsh->base = *base; in nsh_key_from_nlattr() 1445 SW_FLOW_KEY_PUT(match, nsh.base.flags, in nsh_key_put_from_nlattr() 1447 SW_FLOW_KEY_PUT(match, nsh.base.ttl, in nsh_key_put_from_nlattr() 1449 SW_FLOW_KEY_PUT(match, nsh.base.mdtype, in nsh_key_put_from_nlattr() 1451 SW_FLOW_KEY_PUT(match, nsh.base.np, in nsh_key_put_from_nlattr() 1453 SW_FLOW_KEY_PUT(match, nsh.base.path_hdr, in nsh_key_put_from_nlattr() 1462 SW_FLOW_KEY_PUT(match, nsh.context[i], in nsh_key_put_from_nlattr() 2005 if (nla_put(skb, OVS_NSH_KEY_ATTR_BASE, sizeof(nsh->base), &nsh->base)) in nsh_key_to_nlattr() 2008 if (is_mask || nsh->base.mdtype == NSH_M_TYPE1) { in nsh_key_to_nlattr() 2010 sizeof(nsh->context), nsh->context)) in nsh_key_to_nlattr() [all …]
|
| H A D | actions.c | 650 flow_key->nsh.base.flags = flags; in set_nsh() 653 flow_key->nsh.base.ttl = ttl; in set_nsh() 657 flow_key->nsh.base.path_hdr = nh->path_hdr; in set_nsh() 665 memcpy(flow_key->nsh.context, nh->md1.context, in set_nsh() 669 memset(flow_key->nsh.context, 0, in set_nsh() 670 sizeof(flow_key->nsh.context)); in set_nsh()
|
| H A D | flow.h | 155 struct ovs_key_nsh nsh; /* network service header */ member
|
| /linux-6.15/Documentation/netlink/specs/ |
| H A D | ovs_flow.yaml | 580 name: nsh 582 nested-attributes: ovs-nsh-key-attrs 688 name: push-nsh 690 nested-attributes: ovs-nsh-key-attrs 694 name: pop-nsh 852 name: ovs-nsh-key-attrs 853 enum-name: ovs-nsh-key-attr 854 name-prefix: ovs-nsh-key-attr-
|
| /linux-6.15/arch/arm64/mm/ |
| H A D | proc.S | 169 dsb nsh 232 dsb nsh 454 dsb nsh
|
| /linux-6.15/arch/arm64/include/asm/ |
| H A D | assembler.h | 101 dsb nsh 468 dsb nsh 724 dsb nsh
|
| H A D | mte.h | 268 dsb(nsh); in mte_check_tfsr_exit()
|
| /linux-6.15/net/ |
| H A D | Makefile | 72 obj-$(CONFIG_NET_NSH) += nsh/
|
| /linux-6.15/drivers/md/ |
| H A D | raid5.c | 2559 if (!nsh) in resize_stripes() 2568 list_del(&nsh->lru); in resize_stripes() 2569 free_stripe(sc, nsh); in resize_stripes() 2646 list_del_init(&nsh->lru); in resize_stripes() 2650 if (nsh->pages[i]) in resize_stripes() 2653 if (!nsh->pages[i]) in resize_stripes() 2658 if (nsh->dev[i].page) in resize_stripes() 2660 nsh->dev[i].page = raid5_get_dev_page(nsh, i); in resize_stripes() 2661 nsh->dev[i].orig_page = nsh->dev[i].page; in resize_stripes() 2662 nsh->dev[i].offset = raid5_get_page_offset(nsh, i); in resize_stripes() [all …]
|
| /linux-6.15/arch/x86/boot/ |
| H A D | genimage.sh | 195 mcopy - "$1"startup.nsh
|