/linux-6.12.1/net/core/ |
D | scm.c | 287 struct scm_timestamping64 tss; in put_cmsg_scm_timestamping64() local 290 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping64() 291 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping64() 292 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping64() 295 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64() 301 struct scm_timestamping tss; in put_cmsg_scm_timestamping() local 304 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping() 305 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping() 306 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping() 309 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
|
/linux-6.12.1/tools/testing/selftests/net/ |
D | txtimestamp.c | 214 static void print_timestamp(struct scm_timestamping *tss, int tstype, in print_timestamp() argument 224 validate_timestamp(&tss->ts[0], 0); in print_timestamp() 225 add_timing_event(&usr_enq, &ts_usr, &tss->ts[0]); in print_timestamp() 229 validate_timestamp(&tss->ts[0], cfg_delay_snd); in print_timestamp() 230 add_timing_event(&usr_snd, &ts_usr, &tss->ts[0]); in print_timestamp() 234 validate_timestamp(&tss->ts[0], cfg_delay_ack); in print_timestamp() 235 add_timing_event(&usr_ack, &ts_usr, &tss->ts[0]); in print_timestamp() 241 __print_timestamp(tsname, &tss->ts[0], tskey, payload_len); in print_timestamp() 312 struct scm_timestamping *tss = NULL; in __recv_errmsg_cmsg() local 321 tss = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg() [all …]
|
D | udpgso_bench_tx.c | 142 struct scm_timestamping *tss; in flush_cmsg() local 151 tss = (struct scm_timestamping *)CMSG_DATA(cmsg); in flush_cmsg() 152 if (tss->ts[i].tv_sec == 0) in flush_cmsg()
|
/linux-6.12.1/arch/x86/include/asm/ |
D | desc.h | 184 tss_desc tss; in __set_tss_desc() local 186 set_tssldt_descriptor(&tss, (unsigned long)addr, DESC_TSS, in __set_tss_desc() 188 write_gdt_entry(d, entry, &tss, DESC_TSS); in __set_tss_desc() 307 tss_desc tss; in force_reload_TR() local 309 memcpy(&tss, &d[GDT_ENTRY_TSS], sizeof(tss_desc)); in force_reload_TR() 315 tss.type = DESC_TSS; in force_reload_TR() 316 write_gdt_entry(d, GDT_ENTRY_TSS, &tss, DESC_TSS); in force_reload_TR()
|
D | cpu_entry_area.h | 78 struct x86_hw_tss tss; member 112 struct tss_struct tss; member
|
D | suspend_32.h | 21 u16 tss; member
|
D | suspend_64.h | 50 u16 tss; member
|
/linux-6.12.1/arch/x86/kvm/ |
D | emulate.c | 2639 struct tss_segment_16 *tss) in save_state_to_tss16() argument 2641 tss->ip = ctxt->_eip; in save_state_to_tss16() 2642 tss->flag = ctxt->eflags; in save_state_to_tss16() 2643 tss->ax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss16() 2644 tss->cx = reg_read(ctxt, VCPU_REGS_RCX); in save_state_to_tss16() 2645 tss->dx = reg_read(ctxt, VCPU_REGS_RDX); in save_state_to_tss16() 2646 tss->bx = reg_read(ctxt, VCPU_REGS_RBX); in save_state_to_tss16() 2647 tss->sp = reg_read(ctxt, VCPU_REGS_RSP); in save_state_to_tss16() 2648 tss->bp = reg_read(ctxt, VCPU_REGS_RBP); in save_state_to_tss16() 2649 tss->si = reg_read(ctxt, VCPU_REGS_RSI); in save_state_to_tss16() [all …]
|
/linux-6.12.1/drivers/ata/ |
D | pata_mpc52xx.c | 122 u8 tss; member 128 .tsr = 3, .trfs = 5, .trp = 11, .tack = 2, .tss = 4, 132 .tsr = 2, .trfs = 5, .trp = 9, .tack = 2, .tss = 4, 136 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4, 140 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4, 144 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4, 148 .tsr = 2, .trfs = 4, .trp = 6, .tack = 2, .tss = 4, 155 .tsr = 7, .trfs = 10, .trp = 22, .tack = 3, .tss = 7, 159 .tsr = 4, .trfs = 10, .trp = 17, .tack = 3, .tss = 7, 163 .tsr = 3, .trfs = 8, .trp = 14, .tack = 3, .tss = 7, [all …]
|
/linux-6.12.1/arch/x86/kernel/ |
D | doublefault_32.c | 86 .tss = { 111 &get_cpu_entry_area(cpu)->doublefault_stack.tss); in set_df_gdt_entry() 124 this_cpu_write(doublefault_stack.tss.sp, in doublefault_init_cpu_tss()
|
D | process.c | 426 static void tss_copy_io_bitmap(struct tss_struct *tss, struct io_bitmap *iobm) in tss_copy_io_bitmap() argument 436 memcpy(tss->io_bitmap.bitmap, iobm->bitmap, in tss_copy_io_bitmap() 437 max(tss->io_bitmap.prev_max, iobm->max)); in tss_copy_io_bitmap() 443 tss->io_bitmap.prev_max = iobm->max; in tss_copy_io_bitmap() 444 tss->io_bitmap.prev_sequence = iobm->sequence; in tss_copy_io_bitmap() 452 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in native_tss_update_io_bitmap() local 454 u16 *base = &tss->x86_tss.io_bitmap_base; in native_tss_update_io_bitmap() 470 if (tss->io_bitmap.prev_sequence != iobm->sequence) in native_tss_update_io_bitmap() 471 tss_copy_io_bitmap(tss, iobm); in native_tss_update_io_bitmap()
|
D | asm-offsets_32.c | 53 offsetof(struct cpu_entry_area, tss.x86_tss.sp1) - in foo()
|
/linux-6.12.1/arch/x86/kernel/cpu/ |
D | common.c | 1921 struct tss_struct *tss; in enable_sep_cpu() local 1928 tss = &per_cpu(cpu_tss_rw, cpu); in enable_sep_cpu() 1935 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu() 1936 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu() 2151 static inline void tss_setup_ist(struct tss_struct *tss) in tss_setup_ist() argument 2154 tss->x86_tss.ist[IST_INDEX_DF] = __this_cpu_ist_top_va(DF); in tss_setup_ist() 2155 tss->x86_tss.ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI); in tss_setup_ist() 2156 tss->x86_tss.ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB); in tss_setup_ist() 2157 tss->x86_tss.ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE); in tss_setup_ist() 2159 tss->x86_tss.ist[IST_INDEX_VC] = __this_cpu_ist_top_va(VC); in tss_setup_ist() [all …]
|
/linux-6.12.1/arch/x86/power/ |
D | cpu.c | 155 tss_desc tss; in fix_processor_context() local 165 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context() 168 memcpy(&tss, &desc[GDT_ENTRY_TSS], sizeof(tss_desc)); in fix_processor_context() 169 tss.type = 0x9; /* The available 64-bit TSS (see AMD vol 2, pg 91 */ in fix_processor_context() 170 write_gdt_entry(desc, GDT_ENTRY_TSS, &tss, DESC_TSS); in fix_processor_context()
|
/linux-6.12.1/net/ipv4/ |
D | tcp.c | 756 struct tcp_splice_state *tss = rd_desc->arg.data; in tcp_splice_data_recv() local 759 ret = skb_splice_bits(skb, skb->sk, offset, tss->pipe, in tcp_splice_data_recv() 760 min(rd_desc->count, len), tss->flags); in tcp_splice_data_recv() 766 static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss) in __tcp_splice_read() argument 770 .arg.data = tss, in __tcp_splice_read() 771 .count = tss->len, in __tcp_splice_read() 794 struct tcp_splice_state tss = { in tcp_splice_read() local 815 while (tss.len) { in tcp_splice_read() 816 ret = __tcp_splice_read(sk, &tss); in tcp_splice_read() 857 tss.len -= ret; in tcp_splice_read() [all …]
|
/linux-6.12.1/arch/x86/hyperv/ |
D | hv_vtl.c | 78 struct ldttss_desc *tss; in hv_vtl_bringup_vcpu() local 91 tss = (struct ldttss_desc *)(gdt + GDT_ENTRY_TSS); in hv_vtl_bringup_vcpu() 149 input->vp_context.tr.base = hv_vtl_system_desc_base(tss); in hv_vtl_bringup_vcpu() 150 input->vp_context.tr.limit = hv_vtl_system_desc_limit(tss); in hv_vtl_bringup_vcpu()
|
/linux-6.12.1/drivers/acpi/ |
D | processor_throttling.c | 489 union acpi_object *tss = NULL; in acpi_processor_get_throttling_states() local 500 tss = buffer.pointer; in acpi_processor_get_throttling_states() 501 if (!tss || (tss->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_throttling_states() 508 tss->package.count); in acpi_processor_get_throttling_states() 510 pr->throttling.state_count = tss->package.count; in acpi_processor_get_throttling_states() 512 kmalloc_array(tss->package.count, in acpi_processor_get_throttling_states() 531 status = acpi_extract_package(&(tss->package.elements[i]), in acpi_processor_get_throttling_states()
|
/linux-6.12.1/drivers/media/platform/qcom/venus/ |
D | helpers.c | 455 for (i = 0; i < ARRAY_SIZE(inst->tss); i++) { in put_ts_metadata() 456 if (!inst->tss[i].used) { in put_ts_metadata() 469 inst->tss[slot].used = true; in put_ts_metadata() 470 inst->tss[slot].flags = vbuf->flags; in put_ts_metadata() 471 inst->tss[slot].tc = vbuf->timecode; in put_ts_metadata() 472 inst->tss[slot].ts_us = ts_us; in put_ts_metadata() 473 inst->tss[slot].ts_ns = vb->timestamp; in put_ts_metadata() 482 for (i = 0; i < ARRAY_SIZE(inst->tss); ++i) { in venus_helper_get_ts_metadata() 483 if (!inst->tss[i].used) in venus_helper_get_ts_metadata() 486 if (inst->tss[i].ts_us != timestamp_us) in venus_helper_get_ts_metadata() [all …]
|
/linux-6.12.1/tools/testing/selftests/kvm/include/x86_64/ |
D | kvm_util_arch.h | 15 vm_vaddr_t tss; member
|
/linux-6.12.1/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 404 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss); 405 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
|
/linux-6.12.1/include/linux/ |
D | socket.h | 404 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss); 405 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
|
/linux-6.12.1/arch/x86/xen/ |
D | enlighten_pv.c | 965 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in xen_update_io_bitmap() local 969 iobitmap.bitmap = (uint8_t *)(&tss->x86_tss) + in xen_update_io_bitmap() 970 tss->x86_tss.io_bitmap_base; in xen_update_io_bitmap() 971 if (tss->x86_tss.io_bitmap_base == IO_BITMAP_OFFSET_INVALID) in xen_update_io_bitmap()
|
/linux-6.12.1/arch/x86/mm/ |
D | cpu_entry_area.c | 233 cea_map_percpu_pages(&cea->tss, &per_cpu(cpu_tss_rw, cpu), in setup_cpu_entry_area()
|
/linux-6.12.1/net/ |
D | socket.c | 899 struct scm_timestamping_internal tss; in __sock_recv_timestamp() local 946 memset(&tss, 0, sizeof(tss)); in __sock_recv_timestamp() 952 ktime_to_timespec64_cond(skb->tstamp, tss.ts + 0)) in __sock_recv_timestamp() 970 if (ktime_to_timespec64_cond(hwtstamp, tss.ts + 2)) { in __sock_recv_timestamp() 980 put_cmsg_scm_timestamping64(msg, &tss); in __sock_recv_timestamp() 982 put_cmsg_scm_timestamping(msg, &tss); in __sock_recv_timestamp()
|
/linux-6.12.1/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 516 kvm_seg_set_tss_64bit(vm->arch.tss, &sregs.tr); in vcpu_init_sregs() 580 vm->arch.tss = __vm_vaddr_alloc_page(vm, MEM_REGION_DATA); in vm_init_descriptor_tables() 594 kvm_seg_set_tss_64bit(vm->arch.tss, &seg); in vm_init_descriptor_tables()
|