Home
last modified time | relevance | path

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

1234

/linux-2.4.37.9/drivers/net/irda/
Dsa1100_ir.c87 #define IS_FIR(si) ((si)->speed >= 4000000) argument
94 static int sa1100_irda_rx_alloc(struct sa1100_irda *si) in sa1100_irda_rx_alloc() argument
96 if (si->rxskb) in sa1100_irda_rx_alloc()
99 si->rxskb = alloc_skb(HPSIR_MAX_RXLEN + 1, GFP_ATOMIC); in sa1100_irda_rx_alloc()
101 if (!si->rxskb) { in sa1100_irda_rx_alloc()
110 skb_reserve(si->rxskb, 1); in sa1100_irda_rx_alloc()
112 si->rxbuf_dma = pci_map_single(NULL, si->rxskb->data, in sa1100_irda_rx_alloc()
122 static void sa1100_irda_rx_dma_start(struct sa1100_irda *si) in sa1100_irda_rx_dma_start() argument
124 if (!si->rxskb) { in sa1100_irda_rx_dma_start()
132 Ser2HSCR0 = si->hscr0 | HSCR0_HSSP; in sa1100_irda_rx_dma_start()
[all …]
/linux-2.4.37.9/arch/parisc/kernel/
Dtraps.c260 struct siginfo si; in handle_gdb_break() local
262 si.si_code = wot; in handle_gdb_break()
263 si.si_addr = (void *) (regs->iaoq[0] & ~3); in handle_gdb_break()
264 si.si_signo = SIGTRAP; in handle_gdb_break()
265 si.si_errno = 0; in handle_gdb_break()
266 force_sig_info(SIGTRAP, &si, current); in handle_gdb_break()
271 struct siginfo si; in handle_break() local
283 si.si_code = TRAP_BRKPT; in handle_break()
284 si.si_addr = (void *) (regs->iaoq[0] & ~3); in handle_break()
285 si.si_signo = SIGTRAP; in handle_break()
[all …]
Dsignal.c162 struct siginfo si; in sys_rt_sigreturn() local
207 si.si_signo = SIGSEGV; in sys_rt_sigreturn()
208 si.si_errno = 0; in sys_rt_sigreturn()
209 si.si_code = SI_KERNEL; in sys_rt_sigreturn()
210 si.si_pid = current->pid; in sys_rt_sigreturn()
211 si.si_uid = current->uid; in sys_rt_sigreturn()
212 si.si_addr = &frame->uc; in sys_rt_sigreturn()
213 force_sig_info(SIGSEGV, &si, current); in sys_rt_sigreturn()
270 struct siginfo si; in setup_rt_frame() local
376 si.si_signo = SIGSEGV; in setup_rt_frame()
[all …]
Dptrace.c346 struct siginfo si; in sys_ptrace() local
360 si.si_code = TRAP_TRACE; in sys_ptrace()
361 si.si_addr = (void *) (task_regs(child)->iaoq[0] & ~3); in sys_ptrace()
362 si.si_signo = SIGTRAP; in sys_ptrace()
363 si.si_errno = 0; in sys_ptrace()
364 force_sig_info(SIGTRAP, &si, child); in sys_ptrace()
/linux-2.4.37.9/drivers/net/hamradio/soundmodem/
Dsm_psk4800.c98 int si, sq; in modulator_4800_u8() local
120 for (j = si = sq = 0; j < PSK48_TXF_NUMSAMPLES; j++, st->tbl += 16) { in modulator_4800_u8()
121 si += st->tbl[st->txbits[j]]; in modulator_4800_u8()
124 *buf = ((si*COS(st->txphase)+ sq*SIN(st->txphase)) >> 23) + 0x80; in modulator_4800_u8()
135 int si, sq; in modulator_4800_s16() local
157 for (j = si = sq = 0; j < PSK48_TXF_NUMSAMPLES; j++, st->tbl += 16) { in modulator_4800_s16()
158 si += st->tbl[st->txbits[j]]; in modulator_4800_s16()
161 *buf = (si*COS(st->txphase)+ sq*SIN(st->txphase)) >> 15; in modulator_4800_s16()
322 int i, si, sq; in demodulator_4800_u8() local
330 si = *buf; in demodulator_4800_u8()
[all …]
/linux-2.4.37.9/arch/parisc/math-emu/
Ddriver.c84 struct siginfo si; in handle_fpe() local
121 si.si_signo = signalcode >> 24; in handle_fpe()
122 si.si_errno = 0; in handle_fpe()
123 si.si_code = signalcode & 0xffffff; in handle_fpe()
124 si.si_addr = (void *) regs->iaoq[0]; in handle_fpe()
125 force_sig_info(si.si_signo, &si, current); in handle_fpe()
/linux-2.4.37.9/arch/x86_64/boot/
Dbootsect.S69 subw %si, %si
126 movw $disksizes, %si # table of sizes to try
131 cmpw $disksizes+4, %si
158 movw $sread, %si # the boot sector has already been read
159 movw %ax, (%si)
168 subw (%si), %cx # (%si) = sread
172 subw (%si), %ax # (%si) = sread
221 # These variables are addressed via %si register as it gives shorter code.
255 subw (%si), %ax # (%si) = sread
279 # Accessing head, track, sread via %si gives shorter code.
[all …]
Dvideo.S128 leaw badmdt, %si # Invalid mode ID
245 leaw keymsg, %si # "Return/Space/Timeout" message
262 listm0: leaw name_bann, %si # Print adapter name
264 movw card_name, %si
265 orw %si, %si
269 leaw old_name, %si
273 leaw ega_name, %si
277 leaw vga_name, %si
281 leaw svga_name, %si
283 leaw listhdr, %si # Table header
[all …]
/linux-2.4.37.9/arch/i386/boot/
Dbootsect.S69 subw %si, %si
126 movw $disksizes, %si # table of sizes to try
131 cmpw $disksizes+4, %si
158 movw $sread, %si # the boot sector has already been read
159 movw %ax, (%si)
168 subw (%si), %cx # (%si) = sread
172 subw (%si), %ax # (%si) = sread
221 # These variables are addressed via %si register as it gives shorter code.
255 subw (%si), %ax # (%si) = sread
279 # Accessing head, track, sread via %si gives shorter code.
[all …]
Dvideo.S129 leaw badmdt, %si # Invalid mode ID
246 leaw keymsg, %si # "Return/Space/Timeout" message
263 listm0: leaw name_bann, %si # Print adapter name
265 movw card_name, %si
266 orw %si, %si
270 leaw old_name, %si
274 leaw ega_name, %si
278 leaw vga_name, %si
282 leaw svga_name, %si
284 leaw listhdr, %si # Table header
[all …]
/linux-2.4.37.9/mm/
Dswapfile.c36 static inline int scan_swap_map(struct swap_info_struct *si) in scan_swap_map() argument
47 if (si->cluster_nr) { in scan_swap_map()
48 while (si->cluster_next <= si->highest_bit) { in scan_swap_map()
49 offset = si->cluster_next++; in scan_swap_map()
50 if (si->swap_map[offset]) in scan_swap_map()
52 si->cluster_nr--; in scan_swap_map()
56 si->cluster_nr = SWAPFILE_CLUSTER; in scan_swap_map()
59 offset = si->lowest_bit; in scan_swap_map()
61 if (offset+SWAPFILE_CLUSTER-1 <= si->highest_bit) in scan_swap_map()
65 if (si->swap_map[nr]) in scan_swap_map()
[all …]
/linux-2.4.37.9/arch/ia64/mm/
Dfault.c79 struct siginfo si; in ia64_do_page_fault() local
189 si.si_signo = signal; in ia64_do_page_fault()
190 si.si_errno = 0; in ia64_do_page_fault()
191 si.si_code = code; in ia64_do_page_fault()
192 si.si_addr = (void *) address; in ia64_do_page_fault()
193 si.si_isr = isr; in ia64_do_page_fault()
194 si.si_flags = __ISR_VALID; in ia64_do_page_fault()
195 force_sig_info(signal, &si, current); in ia64_do_page_fault()
/linux-2.4.37.9/arch/parisc/mm/
Dfault.c208 struct siginfo si; in do_page_fault() local
221 si.si_signo = SIGSEGV; in do_page_fault()
222 si.si_errno = 0; in do_page_fault()
223 si.si_code = SEGV_MAPERR; in do_page_fault()
224 si.si_addr = (void *) address; in do_page_fault()
225 force_sig_info(SIGSEGV, &si, current); in do_page_fault()
/linux-2.4.37.9/drivers/usb/storage/
Dscsiglue.c499 int sb=0,si=0,db=0,di=0; in usb_stor_scsiSense10to6() local
583 si=j; in usb_stor_scsiSense10to6()
599 si >= sg[sb].length || in usb_stor_scsiSense10to6()
609 sg[db].address[di] = sg[sb].address[si]; in usb_stor_scsiSense10to6()
623 if ( sg[sb].length-1 == si ) in usb_stor_scsiSense10to6()
626 si=0; in usb_stor_scsiSense10to6()
630 si++; in usb_stor_scsiSense10to6()
678 int sb=0,si=0,db=0,di=0; in usb_stor_scsiSense6to10() local
774 si=j; in usb_stor_scsiSense6to10()
788 if ( ( sb <= lsb && si < lsi ) || in usb_stor_scsiSense6to10()
[all …]
/linux-2.4.37.9/arch/s390x/kernel/
Dtraps.c384 siginfo_t si; in do_fp_trap() local
386 si.si_signo = SIGFPE; in do_fp_trap()
387 si.si_errno = 0; in do_fp_trap()
388 si.si_addr = location; in do_fp_trap()
389 si.si_code = 0; in do_fp_trap()
394 si.si_code = FPE_FLTINV; in do_fp_trap()
396 si.si_code = FPE_FLTDIV; in do_fp_trap()
398 si.si_code = FPE_FLTOVF; in do_fp_trap()
400 si.si_code = FPE_FLTUND; in do_fp_trap()
402 si.si_code = FPE_FLTRES; in do_fp_trap()
[all …]
/linux-2.4.37.9/arch/ia64/kernel/
Dsignal.c262 struct siginfo si; in ia64_rt_sigreturn() local
314 si.si_signo = SIGSEGV; in ia64_rt_sigreturn()
315 si.si_errno = 0; in ia64_rt_sigreturn()
316 si.si_code = SI_KERNEL; in ia64_rt_sigreturn()
317 si.si_pid = current->pid; in ia64_rt_sigreturn()
318 si.si_uid = current->uid; in ia64_rt_sigreturn()
319 si.si_addr = sc; in ia64_rt_sigreturn()
320 force_sig_info(SIGSEGV, &si, current); in ia64_rt_sigreturn()
416 struct siginfo si; in setup_frame() local
483 si.si_signo = SIGSEGV; in setup_frame()
[all …]
Dtraps.c403 struct siginfo si; in ia64_illegal_op_fault() local
419 memset(&si, 0, sizeof(si)); in ia64_illegal_op_fault()
420 si.si_signo = SIGILL; in ia64_illegal_op_fault()
421 si.si_code = ILL_ILLOPC; in ia64_illegal_op_fault()
422 si.si_addr = (void *) (regs->cr_iip + ia64_psr(regs)->ri); in ia64_illegal_op_fault()
423 force_sig_info(SIGILL, &si, current); in ia64_illegal_op_fault()
/linux-2.4.37.9/arch/arm/mm/
Dfault-common.c163 struct siginfo si; in __do_user_fault() local
175 si.si_signo = SIGSEGV; in __do_user_fault()
176 si.si_errno = 0; in __do_user_fault()
177 si.si_code = code; in __do_user_fault()
178 si.si_addr = (void *)addr; in __do_user_fault()
179 force_sig_info(SIGSEGV, &si, tsk); in __do_user_fault()
/linux-2.4.37.9/fs/jfs/
Djfs_dtree.c172 static int dtCompare(struct component_name * key, dtpage_t * p, int si);
174 static int ciCompare(struct component_name * key, dtpage_t * p, int si,
186 static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp,
1320 int skip, nextindex, half, left, nxt, off, si; in dtSplitPage() local
1490 si = stbl[nxt]; in dtSplitPage()
1493 ldtentry = (struct ldtentry *) & sp->slot[si]; in dtSplitPage()
1502 idtentry = (struct idtentry *) & sp->slot[si]; in dtSplitPage()
3562 int si) in dtCompare() argument
3588 ih = (struct idtentry *) & p->slot[si]; in dtCompare()
3589 si = ih->next; in dtCompare()
[all …]
/linux-2.4.37.9/crypto/
Dtwofish.c497 ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \
505 ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \
659 u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; in twofish_setkey() local
694 CALC_S (si, sj, sk, sl, 16, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ in twofish_setkey()
695 CALC_S (si, sj, sk, sl, 17, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ in twofish_setkey()
696 CALC_S (si, sj, sk, sl, 18, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ in twofish_setkey()
697 CALC_S (si, sj, sk, sl, 19, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ in twofish_setkey()
698 CALC_S (si, sj, sk, sl, 20, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ in twofish_setkey()
699 CALC_S (si, sj, sk, sl, 21, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ in twofish_setkey()
700 CALC_S (si, sj, sk, sl, 22, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ in twofish_setkey()
[all …]
/linux-2.4.37.9/arch/s390/kernel/
Dtraps.c381 siginfo_t si; in do_fp_trap() local
383 si.si_signo = SIGFPE; in do_fp_trap()
384 si.si_errno = 0; in do_fp_trap()
385 si.si_addr = location; in do_fp_trap()
386 si.si_code = 0; in do_fp_trap()
391 si.si_code = FPE_FLTINV; in do_fp_trap()
393 si.si_code = FPE_FLTDIV; in do_fp_trap()
395 si.si_code = FPE_FLTOVF; in do_fp_trap()
397 si.si_code = FPE_FLTUND; in do_fp_trap()
399 si.si_code = FPE_FLTRES; in do_fp_trap()
[all …]
/linux-2.4.37.9/arch/sparc64/solaris/
Dioctl.c305 struct solaris_si_sockparams si; in solaris_sockmod() local
306 if (copy_from_user (&si, (struct solaris_si_sockparams *) A(arg), sizeof(si))) in solaris_sockmod()
468 struct strioctl si; in solaris_S() local
528 if (copy_from_user(&si, (struct strioctl *)A(arg), sizeof(struct strioctl))) in solaris_S()
531 switch ((si.cmd >> 8) & 0xff) { in solaris_S()
533 return solaris_sockmod(fd, si.cmd, si.data); in solaris_S()
535 return solaris_timod(fd, si.cmd, si.data, si.len, in solaris_S()
538 return solaris_ioctl(fd, si.cmd, si.data); in solaris_S()
/linux-2.4.37.9/arch/s390x/mm/
Dfault.c118 struct siginfo si; in force_sigsegv() local
131 si.si_signo = SIGSEGV; in force_sigsegv()
132 si.si_code = si_code; in force_sigsegv()
133 si.si_addr = (void *) address; in force_sigsegv()
134 force_sig_info(SIGSEGV, &si, current); in force_sigsegv()
/linux-2.4.37.9/fs/
Dfcntl.c410 siginfo_t si; in send_sigio_to_task() local
418 si.si_signo = fown->signum; in send_sigio_to_task()
419 si.si_errno = 0; in send_sigio_to_task()
420 si.si_code = reason; in send_sigio_to_task()
427 si.si_band = ~0L; in send_sigio_to_task()
429 si.si_band = band_table[reason - POLL_IN]; in send_sigio_to_task()
430 si.si_fd = fd; in send_sigio_to_task()
431 if (!send_sig_info(fown->signum, &si, p)) in send_sigio_to_task()
/linux-2.4.37.9/arch/s390/mm/
Dfault.c119 struct siginfo si; in force_sigsegv() local
132 si.si_signo = SIGSEGV; in force_sigsegv()
133 si.si_code = si_code; in force_sigsegv()
134 si.si_addr = (void *) address; in force_sigsegv()
135 force_sig_info(SIGSEGV, &si, current); in force_sigsegv()

1234