/linux-6.6.21/net/core/ |
D | scm.c | 276 struct scm_timestamping64 tss; in put_cmsg_scm_timestamping64() local 279 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping64() 280 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping64() 281 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping64() 284 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64() 290 struct scm_timestamping tss; in put_cmsg_scm_timestamping() local 293 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping() 294 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping() 295 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping() 298 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
|
/linux-6.6.21/tools/testing/selftests/net/ |
D | txtimestamp.c | 213 static void print_timestamp(struct scm_timestamping *tss, int tstype, in print_timestamp() argument 223 validate_timestamp(&tss->ts[0], 0); in print_timestamp() 224 add_timing_event(&usr_enq, &ts_usr, &tss->ts[0]); in print_timestamp() 228 validate_timestamp(&tss->ts[0], cfg_delay_snd); in print_timestamp() 229 add_timing_event(&usr_snd, &ts_usr, &tss->ts[0]); in print_timestamp() 233 validate_timestamp(&tss->ts[0], cfg_delay_ack); in print_timestamp() 234 add_timing_event(&usr_ack, &ts_usr, &tss->ts[0]); in print_timestamp() 240 __print_timestamp(tsname, &tss->ts[0], tskey, payload_len); in print_timestamp() 311 struct scm_timestamping *tss = NULL; in __recv_errmsg_cmsg() local 320 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.6.21/arch/x86/include/asm/ |
D | desc.h | 183 tss_desc tss; in __set_tss_desc() local 185 set_tssldt_descriptor(&tss, (unsigned long)addr, DESC_TSS, in __set_tss_desc() 187 write_gdt_entry(d, entry, &tss, DESC_TSS); in __set_tss_desc() 306 tss_desc tss; in force_reload_TR() local 308 memcpy(&tss, &d[GDT_ENTRY_TSS], sizeof(tss_desc)); in force_reload_TR() 314 tss.type = DESC_TSS; in force_reload_TR() 315 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 | 26 u16 tss; member
|
D | suspend_64.h | 50 u16 tss; member
|
/linux-6.6.21/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.6.21/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.6.21/arch/x86/kvm/ |
D | emulate.c | 2665 struct tss_segment_16 *tss) in save_state_to_tss16() argument 2667 tss->ip = ctxt->_eip; in save_state_to_tss16() 2668 tss->flag = ctxt->eflags; in save_state_to_tss16() 2669 tss->ax = reg_read(ctxt, VCPU_REGS_RAX); in save_state_to_tss16() 2670 tss->cx = reg_read(ctxt, VCPU_REGS_RCX); in save_state_to_tss16() 2671 tss->dx = reg_read(ctxt, VCPU_REGS_RDX); in save_state_to_tss16() 2672 tss->bx = reg_read(ctxt, VCPU_REGS_RBX); in save_state_to_tss16() 2673 tss->sp = reg_read(ctxt, VCPU_REGS_RSP); in save_state_to_tss16() 2674 tss->bp = reg_read(ctxt, VCPU_REGS_RBP); in save_state_to_tss16() 2675 tss->si = reg_read(ctxt, VCPU_REGS_RSI); in save_state_to_tss16() [all …]
|
/linux-6.6.21/arch/x86/kernel/cpu/ |
D | common.c | 1964 struct tss_struct *tss; in enable_sep_cpu() local 1971 tss = &per_cpu(cpu_tss_rw, cpu); in enable_sep_cpu() 1978 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu() 1979 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu() 2178 static inline void tss_setup_ist(struct tss_struct *tss) in tss_setup_ist() argument 2181 tss->x86_tss.ist[IST_INDEX_DF] = __this_cpu_ist_top_va(DF); in tss_setup_ist() 2182 tss->x86_tss.ist[IST_INDEX_NMI] = __this_cpu_ist_top_va(NMI); in tss_setup_ist() 2183 tss->x86_tss.ist[IST_INDEX_DB] = __this_cpu_ist_top_va(DB); in tss_setup_ist() 2184 tss->x86_tss.ist[IST_INDEX_MCE] = __this_cpu_ist_top_va(MCE); in tss_setup_ist() 2186 tss->x86_tss.ist[IST_INDEX_VC] = __this_cpu_ist_top_va(VC); in tss_setup_ist() [all …]
|
/linux-6.6.21/net/ipv4/ |
D | tcp.c | 743 struct tcp_splice_state *tss = rd_desc->arg.data; in tcp_splice_data_recv() local 746 ret = skb_splice_bits(skb, skb->sk, offset, tss->pipe, in tcp_splice_data_recv() 747 min(rd_desc->count, len), tss->flags); in tcp_splice_data_recv() 753 static int __tcp_splice_read(struct sock *sk, struct tcp_splice_state *tss) in __tcp_splice_read() argument 757 .arg.data = tss, in __tcp_splice_read() 758 .count = tss->len, in __tcp_splice_read() 781 struct tcp_splice_state tss = { in tcp_splice_read() local 802 while (tss.len) { in tcp_splice_read() 803 ret = __tcp_splice_read(sk, &tss); in tcp_splice_read() 844 tss.len -= ret; in tcp_splice_read() [all …]
|
/linux-6.6.21/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.6.21/arch/x86/hyperv/ |
D | hv_vtl.c | 70 struct ldttss_desc *tss; in hv_vtl_bringup_vcpu() local 81 tss = (struct ldttss_desc *)(gdt + GDT_ENTRY_TSS); in hv_vtl_bringup_vcpu() 139 input->vp_context.tr.base = hv_vtl_system_desc_base(tss); in hv_vtl_bringup_vcpu() 140 input->vp_context.tr.limit = hv_vtl_system_desc_limit(tss); in hv_vtl_bringup_vcpu()
|
/linux-6.6.21/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.6.21/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 …]
|
D | core.h | 476 struct venus_ts_metadata tss[VIDEO_MAX_FRAME]; member
|
/linux-6.6.21/include/linux/ |
D | socket.h | 402 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss); 403 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
|
/linux-6.6.21/tools/perf/trace/beauty/include/linux/ |
D | socket.h | 401 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss); 402 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
|
/linux-6.6.21/arch/x86/xen/ |
D | enlighten_pv.c | 957 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in xen_update_io_bitmap() local 961 iobitmap.bitmap = (uint8_t *)(&tss->x86_tss) + in xen_update_io_bitmap() 962 tss->x86_tss.io_bitmap_base; in xen_update_io_bitmap() 963 if (tss->x86_tss.io_bitmap_base == IO_BITMAP_OFFSET_INVALID) in xen_update_io_bitmap()
|
/linux-6.6.21/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.6.21/tools/testing/selftests/kvm/lib/x86_64/ |
D | processor.c | 514 if (!vm->tss) in kvm_setup_tss_64bit() 515 vm->tss = __vm_vaddr_alloc_page(vm, MEM_REGION_DATA); in kvm_setup_tss_64bit() 518 segp->base = vm->tss; in kvm_setup_tss_64bit()
|
/linux-6.6.21/net/ |
D | socket.c | 900 struct scm_timestamping_internal tss; in __sock_recv_timestamp() local 947 memset(&tss, 0, sizeof(tss)); in __sock_recv_timestamp() 950 ktime_to_timespec64_cond(skb->tstamp, tss.ts + 0)) in __sock_recv_timestamp() 965 if (ktime_to_timespec64_cond(hwtstamp, tss.ts + 2)) { in __sock_recv_timestamp() 975 put_cmsg_scm_timestamping64(msg, &tss); in __sock_recv_timestamp() 977 put_cmsg_scm_timestamping(msg, &tss); in __sock_recv_timestamp()
|