Home
last modified time | relevance | path

Searched refs:tss (Results 1 – 25 of 34) sorted by relevance

12

/linux/net/core/
A Dscm.c264 struct scm_timestamping64 tss; in put_cmsg_scm_timestamping64() local
267 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping64()
268 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping64()
269 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping64()
272 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_NEW, sizeof(tss), &tss); in put_cmsg_scm_timestamping64()
278 struct scm_timestamping tss; in put_cmsg_scm_timestamping() local
281 for (i = 0; i < ARRAY_SIZE(tss.ts); i++) { in put_cmsg_scm_timestamping()
282 tss.ts[i].tv_sec = tss_internal->ts[i].tv_sec; in put_cmsg_scm_timestamping()
283 tss.ts[i].tv_nsec = tss_internal->ts[i].tv_nsec; in put_cmsg_scm_timestamping()
286 put_cmsg(msg, SOL_SOCKET, SO_TIMESTAMPING_OLD, sizeof(tss), &tss); in put_cmsg_scm_timestamping()
/linux/tools/testing/selftests/net/
A Dtxtimestamp.c223 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()
311 struct scm_timestamping *tss = NULL; in __recv_errmsg_cmsg() local
320 tss = (void *) CMSG_DATA(cm); in __recv_errmsg_cmsg()
349 if (serr && tss) { in __recv_errmsg_cmsg()
350 print_timestamp(tss, serr->ee_info, serr->ee_data, in __recv_errmsg_cmsg()
[all …]
A Dudpgso_bench_tx.c141 struct scm_timestamping *tss; in flush_cmsg() local
150 tss = (struct scm_timestamping *)CMSG_DATA(cmsg); in flush_cmsg()
151 if (tss->ts[i].tv_sec == 0) in flush_cmsg()
/linux/arch/x86/kernel/cpu/
A Dcommon.c1675 struct tss_struct *tss; in enable_sep_cpu() local
1682 tss = &per_cpu(cpu_tss_rw, cpu); in enable_sep_cpu()
1689 tss->x86_tss.ss1 = __KERNEL_CS; in enable_sep_cpu()
1690 wrmsr(MSR_IA32_SYSENTER_CS, tss->x86_tss.ss1, 0); in enable_sep_cpu()
1950 tss->io_bitmap.prev_max = 0; in tss_setup_io_bitmap()
1951 tss->io_bitmap.prev_sequence = 0; in tss_setup_io_bitmap()
1952 memset(tss->io_bitmap.bitmap, 0xff, sizeof(tss->io_bitmap.bitmap)); in tss_setup_io_bitmap()
1957 tss->io_bitmap.mapall[IO_BITMAP_LONGS] = ~0UL; in tss_setup_io_bitmap()
1967 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in cpu_init_exception_handling() local
1974 tss_setup_ist(tss); in cpu_init_exception_handling()
[all …]
/linux/arch/x86/include/asm/
A Ddesc.h183 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()
A Dcpu_entry_area.h78 struct x86_hw_tss tss; member
112 struct tss_struct tss; member
A Dsuspend_32.h27 u16 tss; member
A Dsuspend_64.h47 u16 tss; member
/linux/drivers/ata/
A Dpata_mpc52xx.c120 u8 tss; member
126 .tsr = 3, .trfs = 5, .trp = 11, .tack = 2, .tss = 4,
130 .tsr = 2, .trfs = 5, .trp = 9, .tack = 2, .tss = 4,
134 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4,
138 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4,
142 .tsr = 2, .trfs = 4, .trp = 7, .tack = 2, .tss = 4,
146 .tsr = 2, .trfs = 4, .trp = 6, .tack = 2, .tss = 4,
153 .tsr = 7, .trfs = 10, .trp = 22, .tack = 3, .tss = 7,
157 .tsr = 4, .trfs = 10, .trp = 17, .tack = 3, .tss = 7,
161 .tsr = 3, .trfs = 8, .trp = 14, .tack = 3, .tss = 7,
[all …]
/linux/net/ipv4/
A Dtcp.c745 .arg.data = tss, in __tcp_splice_read()
746 .count = tss->len, in __tcp_splice_read()
769 struct tcp_splice_state tss = { in tcp_splice_read() local
790 while (tss.len) { in tcp_splice_read()
830 tss.len -= ret; in tcp_splice_read()
1863 tss, &zc->msg_flags); in receive_fallback_to_copy()
2189 if (tss->ts[0].tv_sec || tss->ts[0].tv_nsec) { in tcp_recv_timestamp()
2194 .tv_sec = tss->ts[0].tv_sec, in tcp_recv_timestamp()
2201 .tv_sec = tss->ts[0].tv_sec, in tcp_recv_timestamp()
2210 .tv_sec = tss->ts[0].tv_sec, in tcp_recv_timestamp()
[all …]
/linux/arch/x86/kernel/
A Dprocess.c386 static void tss_copy_io_bitmap(struct tss_struct *tss, struct io_bitmap *iobm) in tss_copy_io_bitmap() argument
396 memcpy(tss->io_bitmap.bitmap, iobm->bitmap, in tss_copy_io_bitmap()
397 max(tss->io_bitmap.prev_max, iobm->max)); in tss_copy_io_bitmap()
403 tss->io_bitmap.prev_max = iobm->max; in tss_copy_io_bitmap()
404 tss->io_bitmap.prev_sequence = iobm->sequence; in tss_copy_io_bitmap()
412 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in native_tss_update_io_bitmap() local
414 u16 *base = &tss->x86_tss.io_bitmap_base; in native_tss_update_io_bitmap()
430 if (tss->io_bitmap.prev_sequence != iobm->sequence) in native_tss_update_io_bitmap()
431 tss_copy_io_bitmap(tss, iobm); in native_tss_update_io_bitmap()
A Ddoublefault_32.c85 .tss = {
110 &get_cpu_entry_area(cpu)->doublefault_stack.tss); in set_df_gdt_entry()
123 this_cpu_write(doublefault_stack.tss.sp, in doublefault_init_cpu_tss()
A Dasm-offsets_32.c53 offsetof(struct cpu_entry_area, tss.x86_tss.sp1) - in foo()
/linux/arch/x86/kvm/
A Demulate.c2945 struct tss_segment_16 *tss) in save_state_to_tss16() argument
2947 tss->ip = ctxt->_eip; in save_state_to_tss16()
2948 tss->flag = ctxt->eflags; in save_state_to_tss16()
2971 ctxt->_eip = tss->ip; in load_state_from_tss16()
2972 ctxt->eflags = tss->flag | 2; in load_state_from_tss16()
2992 cpl = tss->cs & 3; in load_state_from_tss16()
3058 struct tss_segment_32 *tss) in save_state_to_tss32() argument
3061 tss->eip = ctxt->_eip; in save_state_to_tss32()
3062 tss->eflags = ctxt->eflags; in save_state_to_tss32()
3088 ctxt->_eip = tss->eip; in load_state_from_tss32()
[all …]
/linux/arch/x86/power/
A Dcpu.c152 tss_desc tss; in fix_processor_context() local
162 set_tss_desc(cpu, &get_cpu_entry_area(cpu)->tss.x86_tss); in fix_processor_context()
165 memcpy(&tss, &desc[GDT_ENTRY_TSS], sizeof(tss_desc)); in fix_processor_context()
166 tss.type = 0x9; /* The available 64-bit TSS (see AMD vol 2, pg 91 */ in fix_processor_context()
167 write_gdt_entry(desc, GDT_ENTRY_TSS, &tss, DESC_TSS); in fix_processor_context()
/linux/drivers/acpi/
A Dprocessor_throttling.c491 union acpi_object *tss = NULL; in acpi_processor_get_throttling_states() local
502 tss = buffer.pointer; in acpi_processor_get_throttling_states()
503 if (!tss || (tss->type != ACPI_TYPE_PACKAGE)) { in acpi_processor_get_throttling_states()
510 tss->package.count); in acpi_processor_get_throttling_states()
512 pr->throttling.state_count = tss->package.count; in acpi_processor_get_throttling_states()
514 kmalloc_array(tss->package.count, in acpi_processor_get_throttling_states()
533 status = acpi_extract_package(&(tss->package.elements[i]), in acpi_processor_get_throttling_states()
/linux/drivers/media/platform/qcom/venus/
A Dhelpers.c440 if (!inst->tss[i].used) { in put_ts_metadata()
453 inst->tss[slot].used = true; in put_ts_metadata()
454 inst->tss[slot].flags = vbuf->flags; in put_ts_metadata()
455 inst->tss[slot].tc = vbuf->timecode; in put_ts_metadata()
456 inst->tss[slot].ts_us = ts_us; in put_ts_metadata()
457 inst->tss[slot].ts_ns = vb->timestamp; in put_ts_metadata()
467 if (!inst->tss[i].used) in venus_helper_get_ts_metadata()
473 inst->tss[i].used = false; in venus_helper_get_ts_metadata()
474 vbuf->flags |= inst->tss[i].flags; in venus_helper_get_ts_metadata()
475 vbuf->timecode = inst->tss[i].tc; in venus_helper_get_ts_metadata()
[all …]
/linux/tools/testing/selftests/kvm/lib/
A Dkvm_util_internal.h66 vm_vaddr_t tss; member
/linux/tools/perf/trace/beauty/include/linux/
A Dsocket.h384 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss);
385 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
/linux/include/linux/
A Dsocket.h384 extern void put_cmsg_scm_timestamping64(struct msghdr *msg, struct scm_timestamping_internal *tss);
385 extern void put_cmsg_scm_timestamping(struct msghdr *msg, struct scm_timestamping_internal *tss);
/linux/arch/x86/xen/
A Denlighten_pv.c857 struct tss_struct *tss = this_cpu_ptr(&cpu_tss_rw); in xen_update_io_bitmap() local
861 iobitmap.bitmap = (uint8_t *)(&tss->x86_tss) + in xen_update_io_bitmap()
862 tss->x86_tss.io_bitmap_base; in xen_update_io_bitmap()
863 if (tss->x86_tss.io_bitmap_base == IO_BITMAP_OFFSET_INVALID) in xen_update_io_bitmap()
/linux/arch/x86/mm/
A Dcpu_entry_area.c189 cea_map_percpu_pages(&cea->tss, &per_cpu(cpu_tss_rw, cpu), in setup_cpu_entry_area()
/linux/Documentation/translations/zh_TW/
A Doops-tracing.txt160 Aug 29 09:51:01 blizard kernel: current->tss.cr3 = 0062d000, %cr3 = 0062d000
/linux/Documentation/translations/zh_CN/
A Doops-tracing.txt161 Aug 29 09:51:01 blizard kernel: current->tss.cr3 = 0062d000, %cr3 = 0062d000
/linux/net/
A Dsocket.c827 struct scm_timestamping_internal tss; in __sock_recv_timestamp() local
872 memset(&tss, 0, sizeof(tss)); in __sock_recv_timestamp()
874 ktime_to_timespec64_cond(skb->tstamp, tss.ts + 0)) in __sock_recv_timestamp()
883 tss.ts + 2)) { in __sock_recv_timestamp()
893 put_cmsg_scm_timestamping64(msg, &tss); in __sock_recv_timestamp()
895 put_cmsg_scm_timestamping(msg, &tss); in __sock_recv_timestamp()

Completed in 60 milliseconds

12