Home
last modified time | relevance | path

Searched refs:si (Results 1 – 25 of 98) sorted by relevance

1234

/arch/s390/kernel/
Dlgr.c67 struct sysinfo_1_1_1 *si = (void *) lgr_page; in lgr_stsi_1_1_1() local
69 if (stsi(si, 1, 1, 1)) in lgr_stsi_1_1_1()
71 cpascii(lgr_info->manufacturer, si->manufacturer, in lgr_stsi_1_1_1()
72 sizeof(si->manufacturer)); in lgr_stsi_1_1_1()
73 cpascii(lgr_info->type, si->type, sizeof(si->type)); in lgr_stsi_1_1_1()
74 cpascii(lgr_info->model, si->model, sizeof(si->model)); in lgr_stsi_1_1_1()
75 cpascii(lgr_info->sequence, si->sequence, sizeof(si->sequence)); in lgr_stsi_1_1_1()
76 cpascii(lgr_info->plant, si->plant, sizeof(si->plant)); in lgr_stsi_1_1_1()
84 struct sysinfo_2_2_2 *si = (void *) lgr_page; in lgr_stsi_2_2_2() local
86 if (stsi(si, 2, 2, 2)) in lgr_stsi_2_2_2()
[all …]
Dperf_event.c138 struct hws_qsi_info_block si; in print_debug_sf() local
141 memset(&si, 0, sizeof(si)); in print_debug_sf()
142 if (qsi(&si)) in print_debug_sf()
146 cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, in print_debug_sf()
147 si.cpu_speed); in print_debug_sf()
149 if (si.as) in print_debug_sf()
152 si.as, si.es, si.cs, si.bsdes, si.tear, si.dear); in print_debug_sf()
153 if (si.ad) in print_debug_sf()
156 si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); in print_debug_sf()
186 struct hws_qsi_info_block si; in sl_print_sampling() local
[all …]
Dperf_cpum_sf.c298 struct hws_qsi_info_block si; in sfb_set_limits() local
303 memset(&si, 0, sizeof(si)); in sfb_set_limits()
304 if (!qsi(&si)) in sfb_set_limits()
305 CPUM_SF_SDB_DIAG_FACTOR = DIV_ROUND_UP(si.dsdes, si.bsdes); in sfb_set_limits()
661 static unsigned long hw_limit_rate(const struct hws_qsi_info_block *si, in hw_limit_rate() argument
665 si->min_sampl_rate, si->max_sampl_rate); in hw_limit_rate()
671 struct hws_qsi_info_block si; in __hw_perf_event_init() local
701 memset(&si, 0, sizeof(si)); in __hw_perf_event_init()
704 qsi(&si); in __hw_perf_event_init()
710 si = cpuhw->qsi; in __hw_perf_event_init()
[all …]
/arch/x86/kernel/
Dsysfb_simplefb.c31 __init bool parse_mode(const struct screen_info *si, in parse_mode() argument
38 type = si->orig_video_isVGA; in parse_mode()
44 if (si->lfb_depth == f->bits_per_pixel && in parse_mode()
45 si->red_size == f->red.length && in parse_mode()
46 si->red_pos == f->red.offset && in parse_mode()
47 si->green_size == f->green.length && in parse_mode()
48 si->green_pos == f->green.offset && in parse_mode()
49 si->blue_size == f->blue.length && in parse_mode()
50 si->blue_pos == f->blue.offset && in parse_mode()
51 si->rsvd_size == f->transp.length && in parse_mode()
[all …]
Dsysfb.c43 struct screen_info *si = &screen_info; in sysfb_init() local
53 compatible = parse_mode(si, &mode); in sysfb_init()
55 ret = create_simplefb(si, &mode); in sysfb_init()
61 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) in sysfb_init()
63 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_init()
69 NULL, 0, si, sizeof(*si)); in sysfb_init()
Dvsyscall_64.c87 regs->sp, regs->ax, regs->si, regs->di); in warn_bad_vsyscall()
182 !write_ok_or_segv(regs->si, sizeof(struct timezone))) { in emulate_vsyscall()
201 !write_ok_or_segv(regs->si, sizeof(unsigned))) { in emulate_vsyscall()
240 (struct timezone __user *)regs->si); in emulate_vsyscall()
249 (unsigned __user *)regs->si, in emulate_vsyscall()
/arch/um/kernel/
Dtrap.c163 struct siginfo si; in bad_segv() local
165 si.si_signo = SIGSEGV; in bad_segv()
166 si.si_code = SEGV_ACCERR; in bad_segv()
167 si.si_addr = (void __user *) FAULT_ADDRESS(fi); in bad_segv()
169 force_sig_info(SIGSEGV, &si, current); in bad_segv()
205 struct siginfo si; in segv() local
225 &si.si_code); in segv()
257 si.si_signo = SIGBUS; in segv()
258 si.si_errno = 0; in segv()
259 si.si_code = BUS_ADRERR; in segv()
[all …]
/arch/mips/sgi-ip27/
Dip27-irq-pci.c67 struct slice_data *si = cpu_data[cpu].data; in alloc_level() local
75 si->level_to_irq[level] = irq; in alloc_level()
85 struct slice_data *si = cpu_data[cpu].data; in find_level() local
88 if (si->level_to_irq[i] == irq) { in find_level()
101 struct slice_data *si = cpu_data[cpu].data; in intr_connect_level() local
103 set_bit(bit, si->irq_enable_mask); in intr_connect_level()
106 REMOTE_HUB_S(nasid, PI_INT_MASK0_A, si->irq_enable_mask[0]); in intr_connect_level()
107 REMOTE_HUB_S(nasid, PI_INT_MASK1_A, si->irq_enable_mask[1]); in intr_connect_level()
109 REMOTE_HUB_S(nasid, PI_INT_MASK0_B, si->irq_enable_mask[0]); in intr_connect_level()
110 REMOTE_HUB_S(nasid, PI_INT_MASK1_B, si->irq_enable_mask[1]); in intr_connect_level()
[all …]
Dip27-irq.c118 struct slice_data *si = cpu_data[cpu].data; in ip27_do_irq_mask0() local
120 irq = si->level_to_irq[swlevel]; in ip27_do_irq_mask0()
133 struct slice_data *si = cpu_data[cpu].data; in ip27_do_irq_mask1() local
145 irq = si->level_to_irq[swlevel]; in ip27_do_irq_mask1()
187 struct slice_data *si = cpu_data[cpu].data; in install_ipi() local
193 __set_bit(resched, si->irq_enable_mask); in install_ipi()
198 __set_bit(call, si->irq_enable_mask); in install_ipi()
202 LOCAL_HUB_S(PI_INT_MASK0_A, si->irq_enable_mask[0]); in install_ipi()
203 LOCAL_HUB_S(PI_INT_MASK1_A, si->irq_enable_mask[1]); in install_ipi()
205 LOCAL_HUB_S(PI_INT_MASK0_B, si->irq_enable_mask[0]); in install_ipi()
[all …]
/arch/x86/boot/compressed/
Deboot.c576 setup_pixel_info(struct screen_info *si, u32 pixels_per_scan_line, in setup_pixel_info() argument
580 si->lfb_depth = 32; in setup_pixel_info()
581 si->lfb_linelength = pixels_per_scan_line * 4; in setup_pixel_info()
582 si->red_size = 8; in setup_pixel_info()
583 si->red_pos = 0; in setup_pixel_info()
584 si->green_size = 8; in setup_pixel_info()
585 si->green_pos = 8; in setup_pixel_info()
586 si->blue_size = 8; in setup_pixel_info()
587 si->blue_pos = 16; in setup_pixel_info()
588 si->rsvd_size = 8; in setup_pixel_info()
[all …]
/arch/parisc/kernel/
Dtraps.c305 struct siginfo si; in handle_gdb_break() local
307 si.si_signo = SIGTRAP; in handle_gdb_break()
308 si.si_errno = 0; in handle_gdb_break()
309 si.si_code = wot; in handle_gdb_break()
310 si.si_addr = (void __user *) (regs->iaoq[0] & ~3); in handle_gdb_break()
311 force_sig_info(SIGTRAP, &si, current); in handle_gdb_break()
495 struct siginfo si; in handle_interruption() local
579 si.si_code = ILL_ILLOPC; in handle_interruption()
590 si.si_code = ILL_PRVOPC; in handle_interruption()
613 si.si_code = ILL_PRVREG; in handle_interruption()
[all …]
Dptrace.c65 struct siginfo si; in user_enable_single_step() local
79 si.si_code = TRAP_TRACE; in user_enable_single_step()
80 si.si_addr = (void __user *) (task_regs(task)->iaoq[0] & ~3); in user_enable_single_step()
81 si.si_signo = SIGTRAP; in user_enable_single_step()
82 si.si_errno = 0; in user_enable_single_step()
83 force_sig_info(SIGTRAP, &si, task); in user_enable_single_step()
/arch/parisc/mm/
Dfault.c298 struct siginfo si; in do_page_fault() local
307 si.si_signo = SIGSEGV; in do_page_fault()
308 si.si_code = SEGV_MAPERR; in do_page_fault()
314 si.si_signo = SIGSEGV; in do_page_fault()
315 si.si_code = SEGV_ACCERR; in do_page_fault()
323 si.si_signo = SIGBUS; in do_page_fault()
324 si.si_code = (code == 18) ? BUS_ADRALN : BUS_ADRERR; in do_page_fault()
329 si.si_signo = SIGSEGV; in do_page_fault()
330 si.si_code = (code == 26) ? SEGV_ACCERR : SEGV_MAPERR; in do_page_fault()
333 si.si_errno = 0; in do_page_fault()
[all …]
/arch/parisc/math-emu/
Ddriver.c83 struct siginfo si; in handle_fpe() local
119 si.si_signo = signalcode >> 24; in handle_fpe()
120 si.si_errno = 0; in handle_fpe()
121 si.si_code = signalcode & 0xffffff; in handle_fpe()
122 si.si_addr = (void __user *) regs->iaoq[0]; in handle_fpe()
123 force_sig_info(si.si_signo, &si, current); in handle_fpe()
/arch/x86/platform/efi/
Dearly_printk.c129 struct screen_info *si; in early_efi_write() local
134 si = &boot_params.screen_info; in early_efi_write()
135 len = si->lfb_linelength; in early_efi_write()
147 linemax = (si->lfb_width - efi_x) / font->width; in early_efi_write()
182 if (efi_x >= si->lfb_width) { in early_efi_write()
187 if (efi_y + font->height > si->lfb_height) { in early_efi_write()
201 struct screen_info *si; in early_efi_setup() local
205 si = &boot_params.screen_info; in early_efi_setup()
206 xres = si->lfb_width; in early_efi_setup()
207 yres = si->lfb_height; in early_efi_setup()
[all …]
/arch/x86/include/asm/
Dsysfb.h77 bool parse_mode(const struct screen_info *si,
79 int create_simplefb(const struct screen_info *si,
84 static inline bool parse_mode(const struct screen_info *si, in parse_mode() argument
90 static inline int create_simplefb(const struct screen_info *si, in create_simplefb() argument
Dsigcontext.h13 unsigned long si; member
50 unsigned long si; member
Dsyscall.h120 *args++ = regs->si; in syscall_get_arguments()
141 *args++ = regs->si; in syscall_get_arguments()
181 regs->si = *args++; in syscall_set_arguments()
202 regs->si = *args++; in syscall_set_arguments()
Dapm.h51 int cx, dx, si; in apm_bios_call_simple_asm() local
67 "=S" (si) in apm_bios_call_simple_asm()
/arch/mips/sni/
Dsetup.c42 struct screen_info *si = &screen_info; in sni_display_setup() local
48 si->orig_x = di->CursorXPosition; in sni_display_setup()
49 si->orig_y = di->CursorYPosition; in sni_display_setup()
50 si->orig_video_cols = di->CursorMaxXPosition; in sni_display_setup()
51 si->orig_video_lines = di->CursorMaxYPosition; in sni_display_setup()
52 si->orig_video_isVGA = VIDEO_TYPE_VGAC; in sni_display_setup()
53 si->orig_video_points = 16; in sni_display_setup()
/arch/ia64/mm/
Dfault.c85 struct siginfo si; in ia64_do_page_fault() local
249 si.si_signo = signal; in ia64_do_page_fault()
250 si.si_errno = 0; in ia64_do_page_fault()
251 si.si_code = code; in ia64_do_page_fault()
252 si.si_addr = (void __user *) address; in ia64_do_page_fault()
253 si.si_isr = isr; in ia64_do_page_fault()
254 si.si_flags = __ISR_VALID; in ia64_do_page_fault()
255 force_sig_info(signal, &si, current); in ia64_do_page_fault()
/arch/um/os-Linux/
Dsignal.c28 static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler_common() argument
44 (*sig_info[sig])(sig, si, &r); in sig_handler_common()
64 void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) in sig_handler() argument
76 sig_handler_common(sig, si, mc); in sig_handler()
123 static void (*handlers[_NSIG])(int sig, struct siginfo *si, mcontext_t *mc) = {
136 static void hard_handler(int sig, siginfo_t *si, void *p) in hard_handler() argument
165 (*handlers[sig])(sig, (struct siginfo *)si, mc); in hard_handler()
/arch/ia64/kernel/
Dsignal.c165 struct siginfo si; in ia64_rt_sigreturn() local
208 si.si_signo = SIGSEGV; in ia64_rt_sigreturn()
209 si.si_errno = 0; in ia64_rt_sigreturn()
210 si.si_code = SI_KERNEL; in ia64_rt_sigreturn()
211 si.si_pid = task_pid_vnr(current); in ia64_rt_sigreturn()
212 si.si_uid = from_kuid_munged(current_user_ns(), current_uid()); in ia64_rt_sigreturn()
213 si.si_addr = sc; in ia64_rt_sigreturn()
214 force_sig_info(SIGSEGV, &si, current); in ia64_rt_sigreturn()
289 struct siginfo si; in force_sigsegv_info() local
305 si.si_signo = SIGSEGV; in force_sigsegv_info()
[all …]
/arch/x86/boot/
Dcopy.S21 pushw %si
24 movw %dx, %si
32 popw %si
/arch/s390/mm/
Dfault.c280 struct siginfo si; in do_sigsegv() local
283 si.si_signo = SIGSEGV; in do_sigsegv()
284 si.si_code = si_code; in do_sigsegv()
285 si.si_addr = (void __user *)(regs->int_parm_long & __FAIL_ADDR_MASK); in do_sigsegv()
286 force_sig_info(SIGSEGV, &si, current); in do_sigsegv()
335 struct siginfo si; in do_sigbus() local
341 si.si_signo = SIGBUS; in do_sigbus()
342 si.si_errno = 0; in do_sigbus()
343 si.si_code = BUS_ADRERR; in do_sigbus()
344 si.si_addr = (void __user *)(regs->int_parm_long & __FAIL_ADDR_MASK); in do_sigbus()
[all …]

1234