sa 69 arch/alpha/kernel/signal.c __get_user(new_ka.sa.sa_handler, &act->sa_handler) || sa 70 arch/alpha/kernel/signal.c __get_user(new_ka.sa.sa_flags, &act->sa_flags) || sa 73 arch/alpha/kernel/signal.c siginitset(&new_ka.sa.sa_mask, mask); sa 81 arch/alpha/kernel/signal.c __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || sa 82 arch/alpha/kernel/signal.c __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || sa 83 arch/alpha/kernel/signal.c __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) sa 103 arch/alpha/kernel/signal.c if (copy_from_user(&new_ka.sa, act, sizeof(*act))) sa 110 arch/alpha/kernel/signal.c if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) sa 359 arch/alpha/kernel/signal.c regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; sa 413 arch/alpha/kernel/signal.c regs->r27 = regs->pc = (unsigned long) ksig->ka.sa.sa_handler; sa 437 arch/alpha/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 451 arch/alpha/kernel/signal.c if (!(ka->sa.sa_flags & SA_RESTART)) { sa 251 arch/arc/kernel/signal.c if (unlikely(ksig->ka.sa.sa_flags & SA_SIGINFO)) { sa 276 arch/arc/kernel/signal.c regs->ret = (unsigned long)ksig->ka.sa.sa_handler; sa 282 arch/arc/kernel/signal.c if(!(ksig->ka.sa.sa_flags & SA_RESTORER)) sa 285 arch/arc/kernel/signal.c regs->blink = (unsigned long)ksig->ka.sa.sa_restorer; sa 320 arch/arc/kernel/signal.c if (!(ka->sa.sa_flags & SA_RESTART)) { sa 365 arch/arm/kernel/signal.c unsigned long handler = (unsigned long)ksig->ka.sa.sa_handler; sa 386 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_THIRTYTWO) sa 417 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 418 arch/arm/kernel/signal.c retcode = (unsigned long)ksig->ka.sa.sa_restorer; sa 428 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 439 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 556 arch/arm/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 625 arch/arm/kernel/signal.c && !(ksig.ka.sa.sa_flags & SA_RESTART))) { sa 43 arch/arm/mach-omap2/vc.c u8 sa; sa 51 arch/arm/mach-omap2/vc.c .sa = BIT(0), sa 65 arch/arm/mach-omap2/vc.c .sa = BIT(0), sa 800 arch/arm/mach-omap2/vc.c vc->cfg_channel |= vc_cfg_bits->sa; sa 731 arch/arm64/kernel/signal.c regs->pc = (unsigned long)ka->sa.sa_handler; sa 733 arch/arm64/kernel/signal.c if (ka->sa.sa_flags & SA_RESTORER) sa 734 arch/arm64/kernel/signal.c sigtramp = ka->sa.sa_restorer; sa 762 arch/arm64/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { sa 796 arch/arm64/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 877 arch/arm64/kernel/signal.c !(ksig.ka.sa.sa_flags & SA_RESTART)))) { sa 322 arch/arm64/kernel/signal32.c compat_ulong_t handler = ptr_to_compat(ka->sa.sa_handler); sa 341 arch/arm64/kernel/signal32.c if (ka->sa.sa_flags & SA_RESTORER) { sa 342 arch/arm64/kernel/signal32.c retcode = ptr_to_compat(ka->sa.sa_restorer); sa 349 arch/arm64/kernel/signal32.c if (ka->sa.sa_flags & SA_SIGINFO) { sa 371 arch/arm64/kernel/signal32.c if (ka->sa.sa_flags & SA_SIGINFO) sa 192 arch/c6x/kernel/signal.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; sa 219 arch/c6x/kernel/signal.c if (has_handler && !(ka->sa.sa_flags & SA_RESTART)) { sa 250 arch/c6x/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 164 arch/csky/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; sa 191 arch/csky/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 171 arch/h8300/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 185 arch/h8300/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) sa 186 arch/h8300/kernel/signal.c ret = (unsigned char *)(ksig->ka.sa.sa_restorer); sa 201 arch/h8300/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; sa 227 arch/h8300/kernel/signal.c if (!(ka->sa.sa_flags & SA_RESTART)) { sa 129 arch/hexagon/kernel/signal.c pt_set_elr(regs, (unsigned long)ksig->ka.sa.sa_handler); sa 154 arch/hexagon/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 236 arch/ia64/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_ONSTACK) { sa 277 arch/ia64/kernel/signal.c err |= __put_user(ksig->ka.sa.sa_handler, &frame->handler); sa 372 arch/ia64/kernel/signal.c if ((ksig.ka.sa.sa_flags & SA_RESTART) == 0) { sa 937 arch/m68k/kernel/signal.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; sa 1021 arch/m68k/kernel/signal.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; sa 1067 arch/m68k/kernel/signal.c if (has_handler && !(ka->sa.sa_flags & SA_RESTART)) { sa 1094 arch/m68k/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 172 arch/microblaze/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 230 arch/microblaze/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; sa 252 arch/microblaze/kernel/signal.c if (has_handler && !(ka->sa.sa_flags & SA_RESTART)) { sa 202 arch/mips/include/asm/pgtable-bits.h int sa; sa 204 arch/mips/include/asm/pgtable-bits.h sa = 31 - _PAGE_NO_READ_SHIFT; sa 206 arch/mips/include/asm/pgtable-bits.h sa = 63 - _PAGE_NO_READ_SHIFT; sa 214 arch/mips/include/asm/pgtable-bits.h ((pte_val & (_PAGE_NO_EXEC | _PAGE_NO_READ)) << sa); sa 19 arch/mips/include/asm/signal.h ((ka)->sa.sa_flags & SA_SIGINFO)) sa 24 arch/mips/include/asm/signal.h ((ka)->sa.sa_flags & SA_SIGINFO) : 1) ) sa 595 arch/mips/kernel/signal.c err |= __get_user(new_ka.sa.sa_handler, &act->sa_handler); sa 596 arch/mips/kernel/signal.c err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); sa 601 arch/mips/kernel/signal.c siginitset(&new_ka.sa.sa_mask, mask); sa 609 arch/mips/kernel/signal.c err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); sa 610 arch/mips/kernel/signal.c err |= __put_user(old_ka.sa.sa_handler, &oact->sa_handler); sa 611 arch/mips/kernel/signal.c err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); sa 731 arch/mips/kernel/signal.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; sa 778 arch/mips/kernel/signal.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; sa 823 arch/mips/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 52 arch/mips/kernel/signal32.c new_ka.sa.sa_handler = (void __user *)(s64)handler; sa 53 arch/mips/kernel/signal32.c err |= __get_user(new_ka.sa.sa_flags, &act->sa_flags); sa 58 arch/mips/kernel/signal32.c siginitset(&new_ka.sa.sa_mask, mask); sa 66 arch/mips/kernel/signal32.c err |= __put_user(old_ka.sa.sa_flags, &oact->sa_flags); sa 67 arch/mips/kernel/signal32.c err |= __put_user((u32)(u64)old_ka.sa.sa_handler, sa 69 arch/mips/kernel/signal32.c err |= __put_user(old_ka.sa.sa_mask.sig[0], oact->sa_mask.sig); sa 131 arch/mips/kernel/signal_n32.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; sa 145 arch/mips/kernel/signal_o32.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; sa 231 arch/mips/kernel/signal_o32.c regs->cp0_epc = regs->regs[25] = (unsigned long) ksig->ka.sa.sa_handler; sa 259 arch/nds32/kernel/signal.c unsigned long handler = (unsigned long)ksig->ka.sa.sa_handler; sa 288 arch/nds32/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { sa 315 arch/nds32/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 188 arch/nios2/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 210 arch/nios2/kernel/signal.c regs->ea = (unsigned long) ksig->ka.sa.sa_handler; sa 272 arch/nios2/kernel/signal.c && !(ksig.ka.sa.sa_flags & SA_RESTART))) { sa 164 arch/openrisc/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 193 arch/openrisc/kernel/signal.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; /* what we enter NOW */ sa 269 arch/openrisc/kernel/signal.c && !(ksig.ka.sa.sa_flags & SA_RESTART))) { sa 119 arch/parisc/include/asm/assembly.h .macro shlw r, sa, t sa 124 arch/parisc/include/asm/assembly.h .macro shld r, sa, t sa 129 arch/parisc/include/asm/assembly.h .macro shr r, sa, t sa 134 arch/parisc/include/asm/assembly.h .macro shrd r, sa, t sa 186 arch/parisc/kernel/signal.c if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp)) sa 315 arch/parisc/kernel/signal.c haddr = A(ksig->ka.sa.sa_handler); sa 501 arch/parisc/kernel/signal.c if (!(ka->sa.sa_flags & SA_RESTART)) { sa 80 arch/powerpc/kernel/signal.c restart = !has_handler || (ka->sa.sa_flags & SA_RESTART) != 0; sa 140 arch/powerpc/kernel/signal.c if (ksig.ka.sa.sa_flags & SA_SIGINFO) sa 976 arch/powerpc/kernel/signal_32.c regs->nip = (unsigned long) ksig->ka.sa.sa_handler; sa 1384 arch/powerpc/kernel/signal_32.c if (__put_user(to_user_ptr(ksig->ka.sa.sa_handler), &sc->handler) sa 1429 arch/powerpc/kernel/signal_32.c regs->nip = (unsigned long) (unsigned long)ksig->ka.sa.sa_handler; sa 851 arch/powerpc/kernel/signal_64.c (unsigned long)ksig->ka.sa.sa_handler, sa 858 arch/powerpc/kernel/signal_64.c NULL, (unsigned long)ksig->ka.sa.sa_handler, sa 884 arch/powerpc/kernel/signal_64.c regs->nip = (unsigned long) ksig->ka.sa.sa_handler; sa 893 arch/powerpc/kernel/signal_64.c (func_descr_t __user *) ksig->ka.sa.sa_handler; sa 905 arch/powerpc/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { sa 300 arch/powerpc/platforms/4xx/pci.c u32 sa; sa 303 arch/powerpc/platforms/4xx/pci.c sa = (0xffffffffu << ilog2(size)) | 1; sa 304 arch/powerpc/platforms/4xx/pci.c sa |= 0x1; sa 308 arch/powerpc/platforms/4xx/pci.c writel(sa, reg + PCIL0_PTM1MS); sa 417 arch/powerpc/platforms/4xx/pci.c u32 lah, lal, pciah, pcial, sa; sa 431 arch/powerpc/platforms/4xx/pci.c sa = (0xffffffffu << ilog2(size)) | 0x1; sa 439 arch/powerpc/platforms/4xx/pci.c writel(sa, reg + PCIX0_POM0SA); sa 445 arch/powerpc/platforms/4xx/pci.c writel(sa, reg + PCIX0_POM1SA); sa 501 arch/powerpc/platforms/4xx/pci.c u32 sa; sa 508 arch/powerpc/platforms/4xx/pci.c sa = (0xffffffffu << ilog2(size)) | 1; sa 509 arch/powerpc/platforms/4xx/pci.c sa |= 0x1; sa 511 arch/powerpc/platforms/4xx/pci.c sa |= 0x2; sa 513 arch/powerpc/platforms/4xx/pci.c sa |= 0x4; sa 514 arch/powerpc/platforms/4xx/pci.c writel(sa, reg + PCIX0_PIM0SA); sa 1719 arch/powerpc/platforms/4xx/pci.c u32 lah, lal, pciah, pcial, sa; sa 1734 arch/powerpc/platforms/4xx/pci.c sa = (0xffffffffu << ilog2(size)) | 0x1; sa 1747 arch/powerpc/platforms/4xx/pci.c sa | DCRO_PEGPL_460SX_OMR1MSKL_UOT sa 1754 arch/powerpc/platforms/4xx/pci.c sa | DCRO_PEGPL_476FPE_OMR1MSKL_UOT sa 1758 arch/powerpc/platforms/4xx/pci.c sa | DCRO_PEGPL_OMR1MSKL_UOT sa 1768 arch/powerpc/platforms/4xx/pci.c sa | DCRO_PEGPL_OMRxMSKL_VAL); sa 1778 arch/powerpc/platforms/4xx/pci.c sa | DCRO_PEGPL_OMR3MSKL_IO sa 1846 arch/powerpc/platforms/4xx/pci.c u64 sa; sa 1858 arch/powerpc/platforms/4xx/pci.c sa = (0xffffffffffffffffull << ilog2(ep_size)); sa 1861 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa)); sa 1862 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0LMPA, RES_TO_U32_LOW(sa) | sa 1870 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM01SAH, RES_TO_U32_HIGH(sa)); sa 1871 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_PIM01SAL, RES_TO_U32_LOW(sa)); sa 1877 arch/powerpc/platforms/4xx/pci.c sa = (0xffffffffffffffffull << ilog2(size)); sa 1879 arch/powerpc/platforms/4xx/pci.c sa |= PCI_BASE_ADDRESS_MEM_PREFETCH; sa 1886 arch/powerpc/platforms/4xx/pci.c sa |= PCI_BASE_ADDRESS_MEM_TYPE_64; sa 1888 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0HMPA, RES_TO_U32_HIGH(sa)); sa 1889 arch/powerpc/platforms/4xx/pci.c out_le32(mbase + PECFG_BAR0LMPA, RES_TO_U32_LOW(sa)); sa 2494 arch/powerpc/xmon/ppc-opc.c #define SC(op, sa, lk) (OP (op) | ((((unsigned long)(sa)) & 1) << 1) | ((lk) & 1)) sa 202 arch/riscv/kernel/signal.c regs->sepc = (unsigned long)ksig->ka.sa.sa_handler; sa 235 arch/riscv/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 245 arch/s390/kernel/compat_signal.c if (ka->sa.sa_flags & SA_ONSTACK) { sa 302 arch/s390/kernel/compat_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 304 arch/s390/kernel/compat_signal.c ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; sa 320 arch/s390/kernel/compat_signal.c regs->psw.addr = (__force __u64) ksig->ka.sa.sa_handler; sa 369 arch/s390/kernel/compat_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 371 arch/s390/kernel/compat_signal.c ksig->ka.sa.sa_restorer | PSW32_ADDR_AMODE; sa 402 arch/s390/kernel/compat_signal.c regs->psw.addr = (__u64 __force) ksig->ka.sa.sa_handler; sa 421 arch/s390/kernel/compat_signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 61 arch/s390/kernel/crash_dump.c struct save_area *sa; sa 63 arch/s390/kernel/crash_dump.c sa = (void *) memblock_phys_alloc(sizeof(*sa), 8); sa 64 arch/s390/kernel/crash_dump.c if (!sa) sa 68 arch/s390/kernel/crash_dump.c list_add(&sa->list, &dump_save_areas); sa 70 arch/s390/kernel/crash_dump.c list_add_tail(&sa->list, &dump_save_areas); sa 71 arch/s390/kernel/crash_dump.c return sa; sa 85 arch/s390/kernel/crash_dump.c void __init save_area_add_regs(struct save_area *sa, void *regs) sa 90 arch/s390/kernel/crash_dump.c memcpy(&sa->psw, &lc->psw_save_area, sizeof(sa->psw)); sa 91 arch/s390/kernel/crash_dump.c memcpy(&sa->ctrs, &lc->cregs_save_area, sizeof(sa->ctrs)); sa 92 arch/s390/kernel/crash_dump.c memcpy(&sa->gprs, &lc->gpregs_save_area, sizeof(sa->gprs)); sa 93 arch/s390/kernel/crash_dump.c memcpy(&sa->acrs, &lc->access_regs_save_area, sizeof(sa->acrs)); sa 94 arch/s390/kernel/crash_dump.c memcpy(&sa->fprs, &lc->floating_pt_save_area, sizeof(sa->fprs)); sa 95 arch/s390/kernel/crash_dump.c memcpy(&sa->fpc, &lc->fpt_creg_save_area, sizeof(sa->fpc)); sa 96 arch/s390/kernel/crash_dump.c memcpy(&sa->prefix, &lc->prefixreg_save_area, sizeof(sa->prefix)); sa 97 arch/s390/kernel/crash_dump.c memcpy(&sa->todpreg, &lc->tod_progreg_save_area, sizeof(sa->todpreg)); sa 98 arch/s390/kernel/crash_dump.c memcpy(&sa->timer, &lc->cpu_timer_save_area, sizeof(sa->timer)); sa 99 arch/s390/kernel/crash_dump.c memcpy(&sa->todcmp, &lc->clock_comp_save_area, sizeof(sa->todcmp)); sa 105 arch/s390/kernel/crash_dump.c void __init save_area_add_vxrs(struct save_area *sa, __vector128 *vxrs) sa 111 arch/s390/kernel/crash_dump.c memcpy(&sa->vxrs_low[i], &vxrs[i].u[2], 8); sa 113 arch/s390/kernel/crash_dump.c memcpy(sa->vxrs_high, vxrs + 16, 16 * sizeof(__vector128)); sa 358 arch/s390/kernel/crash_dump.c static void *fill_cpu_elf_notes(void *ptr, int cpu, struct save_area *sa) sa 365 arch/s390/kernel/crash_dump.c memcpy(&nt_prstatus.pr_reg.gprs, sa->gprs, sizeof(sa->gprs)); sa 366 arch/s390/kernel/crash_dump.c memcpy(&nt_prstatus.pr_reg.psw, sa->psw, sizeof(sa->psw)); sa 367 arch/s390/kernel/crash_dump.c memcpy(&nt_prstatus.pr_reg.acrs, sa->acrs, sizeof(sa->acrs)); sa 371 arch/s390/kernel/crash_dump.c memcpy(&nt_fpregset.fpc, &sa->fpc, sizeof(sa->fpc)); sa 372 arch/s390/kernel/crash_dump.c memcpy(&nt_fpregset.fprs, &sa->fprs, sizeof(sa->fprs)); sa 376 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_TIMER, &sa->timer, sizeof(sa->timer)); sa 377 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_TODCMP, &sa->todcmp, sizeof(sa->todcmp)); sa 378 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_TODPREG, &sa->todpreg, sizeof(sa->todpreg)); sa 379 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_CTRS, &sa->ctrs, sizeof(sa->ctrs)); sa 380 arch/s390/kernel/crash_dump.c ptr = nt_init(ptr, NT_S390_PREFIX, &sa->prefix, sizeof(sa->prefix)); sa 383 arch/s390/kernel/crash_dump.c &sa->vxrs_high, sizeof(sa->vxrs_high)); sa 385 arch/s390/kernel/crash_dump.c &sa->vxrs_low, sizeof(sa->vxrs_low)); sa 395 arch/s390/kernel/crash_dump.c struct save_area *sa = NULL; sa 400 arch/s390/kernel/crash_dump.c size += nt_size(NT_S390_TIMER, sizeof(sa->timer)); sa 401 arch/s390/kernel/crash_dump.c size += nt_size(NT_S390_TODCMP, sizeof(sa->todcmp)); sa 402 arch/s390/kernel/crash_dump.c size += nt_size(NT_S390_TODPREG, sizeof(sa->todpreg)); sa 403 arch/s390/kernel/crash_dump.c size += nt_size(NT_S390_CTRS, sizeof(sa->ctrs)); sa 404 arch/s390/kernel/crash_dump.c size += nt_size(NT_S390_PREFIX, sizeof(sa->prefix)); sa 406 arch/s390/kernel/crash_dump.c size += nt_size(NT_S390_VXRS_HIGH, sizeof(sa->vxrs_high)); sa 407 arch/s390/kernel/crash_dump.c size += nt_size(NT_S390_VXRS_LOW, sizeof(sa->vxrs_low)); sa 535 arch/s390/kernel/crash_dump.c struct save_area *sa; sa 538 arch/s390/kernel/crash_dump.c list_for_each_entry(sa, &dump_save_areas, list) sa 539 arch/s390/kernel/crash_dump.c if (sa->prefix != 0) sa 585 arch/s390/kernel/crash_dump.c struct save_area *sa; sa 592 arch/s390/kernel/crash_dump.c list_for_each_entry(sa, &dump_save_areas, list) sa 593 arch/s390/kernel/crash_dump.c if (sa->prefix != 0) sa 594 arch/s390/kernel/crash_dump.c ptr = fill_cpu_elf_notes(ptr, cpu++, sa); sa 279 arch/s390/kernel/signal.c if (ka->sa.sa_flags & SA_ONSTACK) { sa 335 arch/s390/kernel/signal.c if (ka->sa.sa_flags & SA_RESTORER) { sa 336 arch/s390/kernel/signal.c restorer = (unsigned long) ka->sa.sa_restorer; sa 352 arch/s390/kernel/signal.c regs->psw.addr = (unsigned long) ka->sa.sa_handler; sa 398 arch/s390/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 399 arch/s390/kernel/signal.c restorer = (unsigned long) ksig->ka.sa.sa_restorer; sa 430 arch/s390/kernel/signal.c regs->psw.addr = (unsigned long) ksig->ka.sa.sa_handler; sa 445 arch/s390/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 486 arch/s390/kernel/signal.c if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { sa 627 arch/s390/kernel/smp.c static __init void smp_save_cpu_vxrs(struct save_area *sa, u16 addr, sa 636 arch/s390/kernel/smp.c save_area_add_vxrs(sa, vxrs); sa 639 arch/s390/kernel/smp.c static __init void smp_save_cpu_regs(struct save_area *sa, u16 addr, sa 648 arch/s390/kernel/smp.c save_area_add_regs(sa, regs); sa 654 arch/s390/kernel/smp.c struct save_area *sa; sa 677 arch/s390/kernel/smp.c sa = save_area_alloc(is_boot_cpu); sa 678 arch/s390/kernel/smp.c if (!sa) sa 682 arch/s390/kernel/smp.c smp_save_cpu_vxrs(sa, addr, is_boot_cpu, page); sa 691 arch/s390/kernel/smp.c smp_save_cpu_regs(sa, addr, is_boot_cpu, page); sa 254 arch/sh/kernel/signal_32.c if (ka->sa.sa_flags & SA_ONSTACK) { sa 286 arch/sh/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 287 arch/sh/kernel/signal_32.c regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; sa 317 arch/sh/kernel/signal_32.c (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; sa 322 arch/sh/kernel/signal_32.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; sa 356 arch/sh/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 357 arch/sh/kernel/signal_32.c regs->pr = (unsigned long) ksig->ka.sa.sa_restorer; sa 387 arch/sh/kernel/signal_32.c (struct fdpic_func_descriptor __user *)ksig->ka.sa.sa_handler; sa 392 arch/sh/kernel/signal_32.c regs->pc = (unsigned long)ksig->ka.sa.sa_handler; sa 405 arch/sh/kernel/signal_32.c struct sigaction *sa) sa 420 arch/sh/kernel/signal_32.c if (!(sa->sa_flags & SA_RESTART)) sa 440 arch/sh/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 471 arch/sh/kernel/signal_32.c handle_syscall_restart(save_r0, regs, &ksig.ka.sa); sa 44 arch/sh/kernel/signal_64.c handle_syscall_restart(struct pt_regs *regs, struct sigaction *sa) sa 59 arch/sh/kernel/signal_64.c if (!(sa->sa_flags & SA_RESTART)) sa 93 arch/sh/kernel/signal_64.c handle_syscall_restart(regs, &ksig.ka.sa); sa 365 arch/sh/kernel/signal_64.c if ((ka->sa.sa_flags & SA_ONSTACK) != 0 && ! sas_ss_flags(sp)) sa 401 arch/sh/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 406 arch/sh/kernel/signal_64.c ksig->ka->sa.sa_restorer | 0x1); sa 449 arch/sh/kernel/signal_64.c regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); sa 493 arch/sh/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 498 arch/sh/kernel/signal_64.c ksig->ka.sa.sa_restorer | 0x1); sa 530 arch/sh/kernel/signal_64.c regs->pc = neff_sign_extend((unsigned long)ksig->ka.sa.sa_handler); sa 550 arch/sh/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 459 arch/sparc/kernel/signal32.c regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; sa 591 arch/sparc/kernel/signal32.c regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; sa 625 arch/sparc/kernel/signal32.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 634 arch/sparc/kernel/signal32.c struct sigaction *sa) sa 644 arch/sparc/kernel/signal32.c if (!(sa->sa_flags & SA_RESTART)) sa 673 arch/sparc/kernel/signal32.c syscall_restart32(orig_i0, regs, &ksig.ka.sa); sa 299 arch/sparc/kernel/signal_32.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; sa 397 arch/sparc/kernel/signal_32.c regs->pc = (unsigned long) ksig->ka.sa.sa_handler; sa 425 arch/sparc/kernel/signal_32.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 433 arch/sparc/kernel/signal_32.c struct sigaction *sa) sa 443 arch/sparc/kernel/signal_32.c if (!(sa->sa_flags & SA_RESTART)) sa 498 arch/sparc/kernel/signal_32.c syscall_restart(orig_i0, regs, &ksig.ka.sa); sa 420 arch/sparc/kernel/signal_64.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 441 arch/sparc/kernel/signal_64.c regs->tpc = (unsigned long) ksig->ka.sa.sa_handler; sa 453 arch/sparc/kernel/signal_64.c struct sigaction *sa) sa 463 arch/sparc/kernel/signal_64.c if (!(sa->sa_flags & SA_RESTART)) sa 523 arch/sparc/kernel/signal_64.c syscall_restart(orig_i0, regs, &ksig.ka.sa); sa 167 arch/sparc/kernel/sys_sparc32.c new_ka.sa.sa_handler = compat_ptr(u_handler); sa 168 arch/sparc/kernel/sys_sparc32.c ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); sa 169 arch/sparc/kernel/sys_sparc32.c ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); sa 171 arch/sparc/kernel/sys_sparc32.c new_ka.sa.sa_restorer = compat_ptr(u_restorer); sa 179 arch/sparc/kernel/sys_sparc32.c ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), &oact->sa_handler); sa 180 arch/sparc/kernel/sys_sparc32.c ret |= put_compat_sigset(&oact->sa_mask, &old_ka.sa.sa_mask, sa 182 arch/sparc/kernel/sys_sparc32.c ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); sa 183 arch/sparc/kernel/sys_sparc32.c ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), &oact->sa_restorer); sa 184 arch/sparc/kernel/sys_sparc_32.c if (copy_from_user(&new_ka.sa, act, sizeof(*act))) sa 191 arch/sparc/kernel/sys_sparc_32.c if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) sa 691 arch/sparc/kernel/sys_sparc_64.c if (copy_from_user(&new_ka.sa, act, sizeof(*act))) sa 698 arch/sparc/kernel/sys_sparc_64.c if (copy_to_user(oact, &old_ka.sa, sizeof(*oact))) sa 69 arch/um/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 82 arch/um/kernel/signal.c if ((ksig->ka.sa.sa_flags & SA_ONSTACK) && (sas_ss_flags(sp) == 0)) sa 86 arch/um/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_SIGINFO)) sa 229 arch/um/os-Linux/skas/process.c struct sigaction sa; sa 236 arch/um/os-Linux/skas/process.c sigemptyset(&sa.sa_mask); sa 237 arch/um/os-Linux/skas/process.c sa.sa_flags = SA_ONSTACK | SA_NODEFER | SA_SIGINFO; sa 238 arch/um/os-Linux/skas/process.c sa.sa_sigaction = (void *) v; sa 239 arch/um/os-Linux/skas/process.c sa.sa_restorer = NULL; sa 240 arch/um/os-Linux/skas/process.c if (sigaction(SIGSEGV, &sa, NULL) < 0) { sa 194 arch/unicore32/kernel/signal.c if ((ka->sa.sa_flags & SA_ONSTACK) && !sas_ss_flags(sp)) sa 214 arch/unicore32/kernel/signal.c unsigned long handler = (unsigned long)ka->sa.sa_handler; sa 220 arch/unicore32/kernel/signal.c if (ka->sa.sa_flags & SA_SIGINFO) sa 319 arch/unicore32/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 332 arch/unicore32/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 231 arch/x86/ia32/ia32_signal.c if (ksig->ka.sa.sa_flags & SA_ONSTACK) sa 235 arch/x86/ia32/ia32_signal.c !(ksig->ka.sa.sa_flags & SA_RESTORER) && sa 236 arch/x86/ia32/ia32_signal.c ksig->ka.sa.sa_restorer) sa 237 arch/x86/ia32/ia32_signal.c sp = (unsigned long) ksig->ka.sa.sa_restorer; sa 288 arch/x86/ia32/ia32_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 289 arch/x86/ia32/ia32_signal.c restorer = ksig->ka.sa.sa_restorer; sa 314 arch/x86/ia32/ia32_signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; sa 369 arch/x86/ia32/ia32_signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) sa 370 arch/x86/ia32/ia32_signal.c restorer = ksig->ka.sa.sa_restorer; sa 393 arch/x86/ia32/ia32_signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; sa 255 arch/x86/kernel/signal.c if (ka->sa.sa_flags & SA_ONSTACK) { sa 261 arch/x86/kernel/signal.c !(ka->sa.sa_flags & SA_RESTORER) && sa 262 arch/x86/kernel/signal.c ka->sa.sa_restorer) { sa 264 arch/x86/kernel/signal.c sp = (unsigned long) ka->sa.sa_restorer; sa 342 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) sa 343 arch/x86/kernel/signal.c restorer = ksig->ka.sa.sa_restorer; sa 362 arch/x86/kernel/signal.c regs->ip = (unsigned long)ksig->ka.sa.sa_handler; sa 404 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) sa 405 arch/x86/kernel/signal.c restorer = ksig->ka.sa.sa_restorer; sa 428 arch/x86/kernel/signal.c regs->ip = (unsigned long)ksig->ka.sa.sa_handler; sa 469 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { sa 485 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 486 arch/x86/kernel/signal.c put_user_ex(ksig->ka.sa.sa_restorer, &frame->pretcode); sa 508 arch/x86/kernel/signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; sa 554 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { sa 568 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 569 arch/x86/kernel/signal.c restorer = ksig->ka.sa.sa_restorer; sa 587 arch/x86/kernel/signal.c regs->ip = (unsigned long) ksig->ka.sa.sa_handler; sa 673 arch/x86/kernel/signal.c ksig->ka.sa.sa_flags & SA_IA32_ABI; sa 684 arch/x86/kernel/signal.c ksig->ka.sa.sa_flags & SA_X32_ABI; sa 699 arch/x86/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) sa 729 arch/x86/kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_RESTART)) { sa 170 arch/x86/kernel/signal_compat.c oact->sa.sa_flags &= ~(SA_IA32_ABI | SA_X32_ABI); sa 176 arch/x86/kernel/signal_compat.c act->sa.sa_flags &= ~(SA_IA32_ABI | SA_X32_ABI); sa 179 arch/x86/kernel/signal_compat.c act->sa.sa_flags |= SA_IA32_ABI; sa 181 arch/x86/kernel/signal_compat.c act->sa.sa_flags |= SA_X32_ABI; sa 120 arch/x86/mm/pageattr-test.c struct split_state sa, sb, sc; sa 137 arch/x86/mm/pageattr-test.c failed += print_split(&sa); sa 70 arch/x86/um/os-Linux/task_size.c struct sigaction sa, old; sa 90 arch/x86/um/os-Linux/task_size.c sa.sa_handler = segfault; sa 91 arch/x86/um/os-Linux/task_size.c sigemptyset(&sa.sa_mask); sa 92 arch/x86/um/os-Linux/task_size.c sa.sa_flags = SA_NODEFER; sa 93 arch/x86/um/os-Linux/task_size.c if (sigaction(SIGSEGV, &sa, &old)) { sa 374 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) sa 375 arch/x86/um/signal.c restorer = ksig->ka.sa.sa_restorer; sa 399 arch/x86/um/signal.c PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; sa 419 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) sa 420 arch/x86/um/signal.c restorer = ksig->ka.sa.sa_restorer; sa 445 arch/x86/um/signal.c PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; sa 503 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { sa 532 arch/x86/um/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) sa 533 arch/x86/um/signal.c err |= __put_user((void *)ksig->ka.sa.sa_restorer, sa 553 arch/x86/um/signal.c PT_REGS_IP(regs) = (unsigned long) ksig->ka.sa.sa_handler; sa 343 arch/xtensa/kernel/signal.c if ((ksig->ka.sa.sa_flags & SA_ONSTACK) != 0 && sas_ss_flags(sp) == 0) { sa 356 arch/xtensa/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_SIGINFO) { sa 368 arch/xtensa/kernel/signal.c if (ksig->ka.sa.sa_flags & SA_RESTORER) { sa 369 arch/xtensa/kernel/signal.c ra = (unsigned long)ksig->ka.sa.sa_restorer; sa 390 arch/xtensa/kernel/signal.c start_thread(regs, (unsigned long) ksig->ka.sa.sa_handler, sa 447 arch/xtensa/kernel/signal.c if (!(ksig.ka.sa.sa_flags & SA_RESTART)) { sa 155 crypto/af_alg.c struct sockaddr_alg *sa = (void *)uaddr; sa 163 crypto/af_alg.c if (addr_len < sizeof(*sa)) sa 167 crypto/af_alg.c if ((sa->salg_feat & ~allowed) || (sa->salg_mask & ~allowed)) sa 170 crypto/af_alg.c sa->salg_type[sizeof(sa->salg_type) - 1] = 0; sa 171 crypto/af_alg.c sa->salg_name[sizeof(sa->salg_name) + addr_len - sizeof(*sa) - 1] = 0; sa 173 crypto/af_alg.c type = alg_get_type(sa->salg_type); sa 175 crypto/af_alg.c request_module("algif-%s", sa->salg_type); sa 176 crypto/af_alg.c type = alg_get_type(sa->salg_type); sa 182 crypto/af_alg.c private = type->bind(sa->salg_name, sa->salg_feat, sa->salg_mask); sa 484 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[(a) ^ sa] ^ se]; \ sa 492 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \ sa 500 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \ sa 579 crypto/twofish_common.c u8 sa = 0, sb = 0, sc = 0, sd = 0, se = 0, sf = 0, sg = 0, sh = 0; sa 596 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 0, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ sa 597 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 1, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ sa 598 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 2, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ sa 599 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 3, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ sa 600 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 4, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ sa 601 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 5, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ sa 602 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 6, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ sa 603 crypto/twofish_common.c CALC_S (sa, sb, sc, sd, 7, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ sa 3700 drivers/ata/libata-scsi.c u8 sa, options, bp = 0xff; sa 3716 drivers/ata/libata-scsi.c sa = cdb[1] & 0x1f; sa 3717 drivers/ata/libata-scsi.c if (sa != ZI_REPORT_ZONES) { sa 3718 drivers/ata/libata-scsi.c ata_dev_warn(qc->dev, "invalid service action %d\n", sa); sa 3783 drivers/ata/libata-scsi.c u8 all, sa; sa 3793 drivers/ata/libata-scsi.c sa = cdb[1] & 0x1f; sa 3794 drivers/ata/libata-scsi.c if ((sa != ZO_CLOSE_ZONE) && (sa != ZO_FINISH_ZONE) && sa 3795 drivers/ata/libata-scsi.c (sa != ZO_OPEN_ZONE) && (sa != ZO_RESET_WRITE_POINTER)) { sa 3828 drivers/ata/libata-scsi.c tf->auxiliary = sa | ((u16)all << 8); sa 3832 drivers/ata/libata-scsi.c tf->feature = sa; sa 4205 drivers/ata/libata-scsi.c const u16 sa = get_unaligned_be16(&cdb[8]); sa 4211 drivers/ata/libata-scsi.c if (sa == ATA_32) sa 1420 drivers/atm/firestream.c txq->sa = p; sa 1533 drivers/atm/firestream.c fs_dprintk (FS_DEBUG_ALLOC, "Free queue: %p\n", txq->sa); sa 1534 drivers/atm/firestream.c kfree (txq->sa); sa 442 drivers/atm/firestream.h struct FS_QENTRY *sa, *ea; sa 965 drivers/block/drbd/drbd_actlog.c bool sa; sa 977 drivers/block/drbd/drbd_actlog.c sa = drbd_rs_c_min_rate_throttle(device); sa 982 drivers/block/drbd/drbd_actlog.c (sa && test_bit(BME_PRIORITY, &bm_ext->flags))); sa 984 drivers/block/drbd/drbd_actlog.c if (sig || (sa && test_bit(BME_PRIORITY, &bm_ext->flags))) { sa 30 drivers/crypto/amcc/crypto4xx_alg.c static void set_dynamic_sa_command_0(struct dynamic_sa_ctl *sa, u32 save_h, sa 35 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.w = 0; sa 36 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.save_hash_state = save_h; sa 37 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.save_iv = save_iv; sa 38 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.load_hash_state = ld_h; sa 39 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.load_iv = ld_iv; sa 40 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.hdr_proc = hdr_proc; sa 41 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.hash_alg = h; sa 42 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.cipher_alg = c; sa 43 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.pad_type = pad_type & 3; sa 44 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.extend_pad = pad_type >> 2; sa 45 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.op_group = op_grp; sa 46 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.opcode = op; sa 47 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.dir = dir; sa 50 drivers/crypto/amcc/crypto4xx_alg.c static void set_dynamic_sa_command_1(struct dynamic_sa_ctl *sa, u32 cm, sa 55 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.w = 0; sa 56 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.crypto_mode31 = (cm & 4) >> 2; sa 57 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.crypto_mode9_8 = cm & 3; sa 58 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.feedback_mode = cfb, sa 59 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.sa_rev = 1; sa 60 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.hmac_muting = hmac_mc; sa 61 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.extended_seq_num = esn; sa 62 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.seq_num_mask = sn_mask; sa 63 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.mutable_bit_proc = mute; sa 64 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.copy_pad = cp_pad; sa 65 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.copy_payload = cp_pay; sa 66 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.copy_hdr = cp_hdr; sa 128 drivers/crypto/amcc/crypto4xx_alg.c struct dynamic_sa_ctl *sa; sa 147 drivers/crypto/amcc/crypto4xx_alg.c sa = ctx->sa_in; sa 149 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_0(sa, SA_NOT_SAVE_HASH, (cm == CRYPTO_MODE_ECB ? sa 158 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_1(sa, cm, SA_HASH_MODE_HASH, sa 163 drivers/crypto/amcc/crypto4xx_alg.c crypto4xx_memcpy_to_le32(get_dynamic_sa_key_field(sa), sa 165 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_contents.w = SA_AES_CONTENTS | (keylen << 2); sa 166 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.key_len = keylen >> 3; sa 169 drivers/crypto/amcc/crypto4xx_alg.c sa = ctx->sa_out; sa 170 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.dir = DIR_OUTBOUND; sa 175 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.opcode = SA_OPCODE_ENCRYPT; sa 405 drivers/crypto/amcc/crypto4xx_alg.c struct dynamic_sa_ctl *sa; sa 420 drivers/crypto/amcc/crypto4xx_alg.c sa = (struct dynamic_sa_ctl *) ctx->sa_in; sa 421 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_contents.w = SA_AES_CCM_CONTENTS | (keylen << 2); sa 423 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_0(sa, SA_SAVE_HASH, SA_NOT_SAVE_IV, sa 430 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_1(sa, CRYPTO_MODE_CTR, SA_HASH_MODE_HASH, sa 436 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.key_len = keylen >> 3; sa 438 drivers/crypto/amcc/crypto4xx_alg.c crypto4xx_memcpy_to_le32(get_dynamic_sa_key_field(sa), key, keylen); sa 441 drivers/crypto/amcc/crypto4xx_alg.c sa = (struct dynamic_sa_ctl *) ctx->sa_out; sa 443 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_0(sa, SA_SAVE_HASH, SA_NOT_SAVE_IV, sa 450 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_1(sa, CRYPTO_MODE_CTR, SA_HASH_MODE_HASH, sa 456 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.key_len = keylen >> 3; sa 467 drivers/crypto/amcc/crypto4xx_alg.c struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *)tmp_sa; sa 477 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.digest_len = crypto_aead_authsize(aead) >> 2; sa 481 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.crypto_mode9_8 = 1; sa 489 drivers/crypto/amcc/crypto4xx_alg.c sa, ctx->sa_len, req->assoclen, rctx->dst); sa 551 drivers/crypto/amcc/crypto4xx_alg.c struct dynamic_sa_ctl *sa; sa 570 drivers/crypto/amcc/crypto4xx_alg.c sa = (struct dynamic_sa_ctl *) ctx->sa_in; sa 572 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_contents.w = SA_AES_GCM_CONTENTS | (keylen << 2); sa 573 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_0(sa, SA_SAVE_HASH, SA_NOT_SAVE_IV, sa 579 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_1(sa, CRYPTO_MODE_CTR, SA_HASH_MODE_HASH, sa 585 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_1.bf.key_len = keylen >> 3; sa 587 drivers/crypto/amcc/crypto4xx_alg.c crypto4xx_memcpy_to_le32(get_dynamic_sa_key_field(sa), sa 590 drivers/crypto/amcc/crypto4xx_alg.c rc = crypto4xx_compute_gcm_hash_key_sw(get_dynamic_sa_inner_digest(sa), sa 598 drivers/crypto/amcc/crypto4xx_alg.c sa = (struct dynamic_sa_ctl *) ctx->sa_out; sa 599 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.dir = DIR_OUTBOUND; sa 600 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.opcode = SA_OPCODE_ENCRYPT_HASH; sa 652 drivers/crypto/amcc/crypto4xx_alg.c struct dynamic_sa_hash160 *sa; sa 669 drivers/crypto/amcc/crypto4xx_alg.c sa = (struct dynamic_sa_hash160 *)ctx->sa_in; sa 670 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_0(&sa->ctrl, SA_SAVE_HASH, SA_NOT_SAVE_IV, sa 675 drivers/crypto/amcc/crypto4xx_alg.c set_dynamic_sa_command_1(&sa->ctrl, 0, SA_HASH_MODE_HASH, sa 681 drivers/crypto/amcc/crypto4xx_alg.c memset(sa->inner_digest, 0, sizeof(sa->inner_digest)); sa 682 drivers/crypto/amcc/crypto4xx_alg.c memset(sa->outer_digest, 0, sizeof(sa->outer_digest)); sa 691 drivers/crypto/amcc/crypto4xx_alg.c struct dynamic_sa_ctl *sa; sa 693 drivers/crypto/amcc/crypto4xx_alg.c sa = ctx->sa_in; sa 696 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.digest_len = ds >> 2; sa 697 drivers/crypto/amcc/crypto4xx_alg.c sa->sa_command_0.bf.load_hash_state = SA_LOAD_HASH_FROM_SA; sa 201 drivers/crypto/amcc/crypto4xx_core.c pd->sa = dev->shadow_sa_pool_pa + sa 205 drivers/crypto/amcc/crypto4xx_core.c pd_uinfo->sa_va = &dev->shadow_sa_pool[i].sa; sa 491 drivers/crypto/amcc/crypto4xx_core.c struct dynamic_sa_ctl *sa = (struct dynamic_sa_ctl *) ctx->sa_in; sa 493 drivers/crypto/amcc/crypto4xx_core.c if (sa->sa_command_0.bf.hash_alg == SA_HASH_ALG_SHA1) { sa 690 drivers/crypto/amcc/crypto4xx_core.c struct dynamic_sa_ctl *sa; sa 820 drivers/crypto/amcc/crypto4xx_core.c sa = pd_uinfo->sa_va; sa 821 drivers/crypto/amcc/crypto4xx_core.c memcpy(sa, req_sa, sa_len * 4); sa 823 drivers/crypto/amcc/crypto4xx_core.c sa->sa_command_1.bf.hash_crypto_offset = (assoclen >> 2); sa 824 drivers/crypto/amcc/crypto4xx_core.c offset_to_sr_ptr = get_dynamic_sa_offset_state_ptr_field(sa); sa 825 drivers/crypto/amcc/crypto4xx_core.c *(u32 *)((unsigned long)sa + offset_to_sr_ptr) = pd_uinfo->sr_pa; sa 837 drivers/crypto/amcc/crypto4xx_core.c sa->sa_command_0.bf.gather = 1; sa 865 drivers/crypto/amcc/crypto4xx_core.c sa->sa_command_0.bf.gather = 0; sa 877 drivers/crypto/amcc/crypto4xx_core.c sa->sa_command_0.bf.scatter = 0; sa 888 drivers/crypto/amcc/crypto4xx_core.c sa->sa_command_0.bf.scatter = 1; sa 49 drivers/crypto/amcc/crypto4xx_core.h struct dynamic_sa_ctl sa; sa 158 drivers/crypto/amcc/crypto4xx_core.h const struct dynamic_sa_ctl *sa, sa 277 drivers/crypto/amcc/crypto4xx_reg_def.h u32 sa; /* get from ctx->sa_dma_addr */ sa 63 drivers/crypto/bcm/spu.c pflags = be32_to_cpu(spuh->sa.proto_flags); sa 68 drivers/crypto/bcm/spu.c cflags = be32_to_cpu(spuh->sa.cipher_flags); sa 88 drivers/crypto/bcm/spu.c ecf = be32_to_cpu(spuh->sa.ecf); sa 785 drivers/crypto/bcm/spu.c spuh->sa.proto_flags = cpu_to_be32(protocol_bits); sa 786 drivers/crypto/bcm/spu.c spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); sa 787 drivers/crypto/bcm/spu.c spuh->sa.ecf = cpu_to_be32(ecf_bits); sa 900 drivers/crypto/bcm/spu.c spuh->sa.proto_flags = cpu_to_be32(protocol_bits); sa 903 drivers/crypto/bcm/spu.c spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); sa 904 drivers/crypto/bcm/spu.c spuh->sa.ecf = cpu_to_be32(ecf_bits); sa 976 drivers/crypto/bcm/spu.c cipher_bits = be32_to_cpu(spuh->sa.cipher_flags); sa 986 drivers/crypto/bcm/spu.c spuh->sa.cipher_flags |= sa 996 drivers/crypto/bcm/spu.c spuh->sa.cipher_flags = cpu_to_be32(cipher_bits); sa 160 drivers/crypto/bcm/spum.h struct SCTX sa; sa 412 drivers/crypto/hifn_795x.c void *sa[HIFN_D_RES_RSIZE]; sa 1204 drivers/crypto/hifn_795x.c dev->sa[sa_idx] = priv; sa 1654 drivers/crypto/hifn_795x.c dev->sa[i] = NULL; sa 1724 drivers/crypto/hifn_795x.c if (dev->sa[i]) { sa 1727 drivers/crypto/hifn_795x.c hifn_process_ready(dev->sa[i], error); sa 1826 drivers/crypto/hifn_795x.c pr_info("%x.%p ", dma->resr[i].l, dev->sa[i]); sa 1827 drivers/crypto/hifn_795x.c if (dev->sa[i]) { sa 1828 drivers/crypto/hifn_795x.c hifn_process_ready(dev->sa[i], -ENODEV); sa 1920 drivers/crypto/hifn_795x.c if (dev->sa[i]) { sa 1921 drivers/crypto/hifn_795x.c hifn_process_ready(dev->sa[i], sa 2528 drivers/crypto/hifn_795x.c dev->sa[i] = NULL; sa 130 drivers/edac/i5100_edac.c static inline u32 i5100_spdcmd_create(u32 dti, u32 ckovrd, u32 sa, u32 ba, sa 135 drivers/edac/i5100_edac.c ((sa & ((1 << 3) - 1)) << 24) | sa 158 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c struct dp_mst_stream_allocation *sa = sa 162 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c sa->slot_count = mst_mgr->payloads[i].num_slots; sa 163 drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm_helpers.c sa->vcp_id = mst_mgr->proposed_vcpis[i]->vcpi; sa 413 drivers/gpu/drm/drm_blend.c const struct drm_plane_state *sa = *(struct drm_plane_state **)a; sa 416 drivers/gpu/drm/drm_blend.c if (sa->zpos != sb->zpos) sa 417 drivers/gpu/drm/drm_blend.c return sa->zpos - sb->zpos; sa 419 drivers/gpu/drm/drm_blend.c return sa->plane->base.id - sb->plane->base.id; sa 148 drivers/gpu/drm/i915/display/intel_bw.c const struct intel_sa_info *sa = &icl_sa_info; sa 169 drivers/gpu/drm/i915/display/intel_bw.c maxdebw = min(sa->deprogbwlimit * 1000, sa 171 drivers/gpu/drm/i915/display/intel_bw.c ipqdepth = min(ipqdepthpch, sa->displayrtids / num_channels); sa 178 drivers/gpu/drm/i915/display/intel_bw.c clpchgroup = (sa->deburst * deinterleave / num_channels) << i; sa 90 drivers/hwmon/s3c-hwmon.c struct sensor_device_attribute *sa = to_sensor_dev_attr(attr); sa 93 drivers/hwmon/s3c-hwmon.c ret = s3c_hwmon_read_ch(dev, adc, sa->index); sa 879 drivers/ide/ide-probe.c int sa = host->irq_flags; sa 885 drivers/ide/ide-probe.c if (request_irq(hwif->irq, irq_handler, sa, hwif->name, hwif)) sa 815 drivers/infiniband/core/roce_gid_mgmt.c struct sockaddr *sa, struct net_device *ndev) sa 842 drivers/infiniband/core/roce_gid_mgmt.c rdma_ip2gid(sa, &work->gid); sa 2304 drivers/infiniband/ulp/isert/ib_isert.c struct sockaddr *sa; sa 2307 drivers/infiniband/ulp/isert/ib_isert.c sa = (struct sockaddr *)&np->np_sockaddr; sa 2308 drivers/infiniband/ulp/isert/ib_isert.c isert_dbg("ksockaddr: %p, sa: %p\n", &np->np_sockaddr, sa); sa 2319 drivers/infiniband/ulp/isert/ib_isert.c ret = rdma_bind_addr(id, sa); sa 206 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c struct sockaddr *sa = addr; sa 209 drivers/infiniband/ulp/opa_vnic/opa_vnic_netdev.c if (!memcmp(netdev->dev_addr, sa->sa_data, ETH_ALEN)) sa 3461 drivers/infiniband/ulp/srp/ib_srp.c static int srp_parse_in(struct net *net, struct sockaddr_storage *sa, sa 3477 drivers/infiniband/ulp/srp/ib_srp.c ret = inet_pton_with_scope(net, AF_INET, addr, port_str, sa); sa 3483 drivers/infiniband/ulp/srp/ib_srp.c port_str, sa); sa 3487 drivers/infiniband/ulp/srp/ib_srp.c pr_debug("%s -> %pISpfsc\n", addr_port_str, sa); sa 3425 drivers/infiniband/ulp/srpt/ib_srpt.c struct sockaddr_storage sa; sa 3435 drivers/infiniband/ulp/srpt/ib_srpt.c &sa); sa 1309 drivers/media/usb/gspca/xirlink_cit.c static const unsigned short sa[] = { sa 1313 drivers/media/usb/gspca/xirlink_cit.c cit_PacketFormat2(gspca_dev, 0x0013, sa[val]); sa 931 drivers/net/appletalk/cops.c struct sockaddr_at *sa = (struct sockaddr_at *)&ifr->ifr_addr; sa 938 drivers/net/appletalk/cops.c cops_nodeid(dev, sa->sat_addr.s_node); sa 939 drivers/net/appletalk/cops.c aa->s_net = sa->sat_addr.s_net; sa 951 drivers/net/appletalk/cops.c sa->sat_addr.s_net = aa->s_net; sa 952 drivers/net/appletalk/cops.c sa->sat_addr.s_node = aa->s_node; sa 819 drivers/net/appletalk/ltpc.c struct sockaddr_at *sa = (struct sockaddr_at *) &ifr->ifr_addr; sa 831 drivers/net/appletalk/ltpc.c aa->s_net = sa->sat_addr.s_net; sa 835 drivers/net/appletalk/ltpc.c c.hint = sa->sat_addr.s_node; sa 853 drivers/net/appletalk/ltpc.c sa->sat_addr.s_net = aa->s_net; sa 854 drivers/net/appletalk/ltpc.c sa->sat_addr.s_node = aa->s_node; sa 1237 drivers/net/ethernet/broadcom/bgmac.c struct sockaddr *sa = addr; sa 1244 drivers/net/ethernet/broadcom/bgmac.c ether_addr_copy(net_dev->dev_addr, sa->sa_data); sa 3250 drivers/net/ethernet/brocade/bna/bnad.c struct sockaddr *sa = (struct sockaddr *)addr; sa 3255 drivers/net/ethernet/brocade/bna/bnad.c err = bnad_mac_addr_set_locked(bnad, sa->sa_data); sa 3257 drivers/net/ethernet/brocade/bna/bnad.c ether_addr_copy(netdev->dev_addr, sa->sa_data); sa 978 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c struct sockaddr sa; sa 1055 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c memcpy(sa.sa_data, netdev->dev_addr, ETH_ALEN); sa 1056 drivers/net/ethernet/cavium/octeon/octeon_mgmt.c octeon_mgmt_set_mac_address(netdev, &sa); sa 1904 drivers/net/ethernet/cortina/gemini.c struct sockaddr *sa = addr; sa 1906 drivers/net/ethernet/cortina/gemini.c memcpy(netdev->dev_addr, sa->sa_data, ETH_ALEN); sa 1711 drivers/net/ethernet/ibm/ehea/ehea_main.c static int ehea_set_mac_addr(struct net_device *dev, void *sa) sa 1714 drivers/net/ethernet/ibm/ehea/ehea_main.c struct sockaddr *mac_addr = sa; sa 1005 drivers/net/ethernet/ibm/emac/core.c static int emac_set_mac_address(struct net_device *ndev, void *sa) sa 1008 drivers/net/ethernet/ibm/emac/core.c struct sockaddr *addr = sa; sa 1916 drivers/net/ethernet/marvell/mv643xx_eth.c struct sockaddr *sa = addr; sa 1918 drivers/net/ethernet/marvell/mv643xx_eth.c if (!is_valid_ether_addr(sa->sa_data)) sa 1921 drivers/net/ethernet/marvell/mv643xx_eth.c memcpy(dev->dev_addr, sa->sa_data, ETH_ALEN); sa 602 drivers/net/ethernet/marvell/pxa168_eth.c struct sockaddr *sa = addr; sa 607 drivers/net/ethernet/marvell/pxa168_eth.c if (!is_valid_ether_addr(sa->sa_data)) sa 610 drivers/net/ethernet/marvell/pxa168_eth.c memcpy(dev->dev_addr, sa->sa_data, ETH_ALEN); sa 4803 drivers/net/ethernet/marvell/sky2.c struct sockaddr sa = { AF_UNSPEC }; sa 4808 drivers/net/ethernet/marvell/sky2.c memcpy(sa.sa_data, dev->dev_addr, ETH_ALEN); sa 4809 drivers/net/ethernet/marvell/sky2.c if (sky2_set_mac_address(dev, &sa)) sa 47 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c struct mlx5e_ipsec_sa_entry *sa; sa 52 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c sa = (struct mlx5e_ipsec_sa_entry *)x->xso.offload_handle; sa 53 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c if (!sa) sa 56 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c WARN_ON(sa->x != x); sa 57 drivers/net/ethernet/mellanox/mlx5/core/en_accel/ipsec.c return sa; sa 291 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c struct mlx5_ifc_fpga_ipsec_sa *sa; sa 311 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c sa = (struct mlx5_ifc_fpga_ipsec_sa *)&cmd_context->command; sa 312 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c if (sa->ipsec_sa_v1.sw_sa_handle != cmd_context->resp.sw_sa_handle) { sa 314 drivers/net/ethernet/mellanox/mlx5/core/fpga/ipsec.c ntohl(sa->ipsec_sa_v1.sw_sa_handle), sa 31 drivers/net/ethernet/mellanox/mlxsw/spectrum_nve_vxlan.c if (cfg->saddr.sa.sa_family != AF_INET) { sa 2376 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c if (vxlan_addr->sa.sa_family == AF_INET) { sa 2392 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_addr->sa.sa_family = AF_INET; sa 2396 drivers/net/ethernet/mellanox/mlxsw/spectrum_switchdev.c vxlan_addr->sa.sa_family = AF_INET6; sa 1040 drivers/net/ethernet/micrel/ks8851.c struct sockaddr *sa = addr; sa 1045 drivers/net/ethernet/micrel/ks8851.c if (!is_valid_ether_addr(sa->sa_data)) sa 1048 drivers/net/ethernet/micrel/ks8851.c memcpy(dev->dev_addr, sa->sa_data, ETH_ALEN); sa 3018 drivers/net/ethernet/myricom/myri10ge/myri10ge.c struct sockaddr *sa = addr; sa 3022 drivers/net/ethernet/myricom/myri10ge/myri10ge.c if (!is_valid_ether_addr(sa->sa_data)) sa 3025 drivers/net/ethernet/myricom/myri10ge/myri10ge.c status = myri10ge_update_mac_address(mgp, sa->sa_data); sa 3033 drivers/net/ethernet/myricom/myri10ge/myri10ge.c memcpy(dev->dev_addr, sa->sa_data, ETH_ALEN); sa 1210 drivers/net/ethernet/pensando/ionic/ionic_lif.c static int ionic_set_mac_address(struct net_device *netdev, void *sa) sa 1212 drivers/net/ethernet/pensando/ionic/ionic_lif.c struct sockaddr *addr = sa; sa 164 drivers/net/ethernet/seeq/sgiseeq.c struct sockaddr *sa = addr; sa 166 drivers/net/ethernet/seeq/sgiseeq.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 419 drivers/net/ethernet/sgi/ioc3-eth.c struct sockaddr *sa = addr; sa 421 drivers/net/ethernet/sgi/ioc3-eth.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 1211 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c bool en, bool ipv6, bool sa, bool inv, sa 1231 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (sa) { sa 1242 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (sa) { sa 1257 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (sa) { sa 1274 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c bool en, bool udp, bool sa, bool inv, sa 1297 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (sa) { sa 1311 drivers/net/ethernet/stmicro/stmmac/dwxgmac2_core.c if (sa) { sa 368 drivers/net/ethernet/stmicro/stmmac/hwif.h bool en, bool ipv6, bool sa, bool inv, sa 371 drivers/net/ethernet/stmicro/stmmac/hwif.h bool en, bool udp, bool sa, bool inv, sa 1118 drivers/net/ethernet/ti/davinci_emac.c struct sockaddr *sa = addr; sa 1120 drivers/net/ethernet/ti/davinci_emac.c if (!is_valid_ether_addr(sa->sa_data)) sa 1124 drivers/net/ethernet/ti/davinci_emac.c memcpy(priv->mac_addr, sa->sa_data, ndev->addr_len); sa 1125 drivers/net/ethernet/ti/davinci_emac.c memcpy(ndev->dev_addr, sa->sa_data, ndev->addr_len); sa 292 drivers/net/hamradio/6pack.c struct sockaddr_ax25 *sa = addr; sa 296 drivers/net/hamradio/6pack.c memcpy(dev->dev_addr, &sa->sax25_call, AX25_ADDR_LEN); sa 791 drivers/net/hamradio/baycom_epp.c struct sockaddr *sa = (struct sockaddr *)addr; sa 794 drivers/net/hamradio/baycom_epp.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 282 drivers/net/hamradio/bpqether.c struct sockaddr *sa = (struct sockaddr *)addr; sa 284 drivers/net/hamradio/bpqether.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 230 drivers/net/hamradio/dmascc.c static int scc_set_mac_address(struct net_device *dev, void *sa); sa 959 drivers/net/hamradio/dmascc.c static int scc_set_mac_address(struct net_device *dev, void *sa) sa 961 drivers/net/hamradio/dmascc.c memcpy(dev->dev_addr, ((struct sockaddr *) sa)->sa_data, sa 415 drivers/net/hamradio/hdlcdrv.c struct sockaddr *sa = (struct sockaddr *)addr; sa 418 drivers/net/hamradio/hdlcdrv.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 343 drivers/net/hamradio/mkiss.c struct sockaddr_ax25 *sa = addr; sa 347 drivers/net/hamradio/mkiss.c memcpy(dev->dev_addr, &sa->sax25_call, AX25_ADDR_LEN); sa 1950 drivers/net/hamradio/scc.c struct sockaddr *sa = (struct sockaddr *) addr; sa 1951 drivers/net/hamradio/scc.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 1064 drivers/net/hamradio/yam.c struct sockaddr *sa = (struct sockaddr *) addr; sa 1067 drivers/net/hamradio/yam.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 170 drivers/net/macsec.c struct macsec_rx_sa __rcu *sa[MACSEC_NUM_AN]; sa 217 drivers/net/macsec.c struct macsec_tx_sa __rcu *sa[MACSEC_NUM_AN]; sa 309 drivers/net/macsec.c struct macsec_rx_sa *sa = rcu_dereference_bh(ptr); sa 311 drivers/net/macsec.c if (!sa || !sa->active) sa 314 drivers/net/macsec.c if (!refcount_inc_not_zero(&sa->refcnt)) sa 317 drivers/net/macsec.c return sa; sa 341 drivers/net/macsec.c struct macsec_rx_sa *sa = container_of(head, struct macsec_rx_sa, rcu); sa 343 drivers/net/macsec.c crypto_free_aead(sa->key.tfm); sa 344 drivers/net/macsec.c free_percpu(sa->stats); sa 345 drivers/net/macsec.c kfree(sa); sa 348 drivers/net/macsec.c static void macsec_rxsa_put(struct macsec_rx_sa *sa) sa 350 drivers/net/macsec.c if (refcount_dec_and_test(&sa->refcnt)) sa 351 drivers/net/macsec.c call_rcu(&sa->rcu, free_rxsa); sa 356 drivers/net/macsec.c struct macsec_tx_sa *sa = rcu_dereference_bh(ptr); sa 358 drivers/net/macsec.c if (!sa || !sa->active) sa 361 drivers/net/macsec.c if (!refcount_inc_not_zero(&sa->refcnt)) sa 364 drivers/net/macsec.c return sa; sa 369 drivers/net/macsec.c struct macsec_tx_sa *sa = container_of(head, struct macsec_tx_sa, rcu); sa 371 drivers/net/macsec.c crypto_free_aead(sa->key.tfm); sa 372 drivers/net/macsec.c free_percpu(sa->stats); sa 373 drivers/net/macsec.c kfree(sa); sa 376 drivers/net/macsec.c static void macsec_txsa_put(struct macsec_tx_sa *sa) sa 378 drivers/net/macsec.c if (refcount_dec_and_test(&sa->refcnt)) sa 379 drivers/net/macsec.c call_rcu(&sa->rcu, free_txsa); sa 599 drivers/net/macsec.c struct macsec_tx_sa *sa = macsec_skb_cb(skb)->tx_sa; sa 612 drivers/net/macsec.c macsec_txsa_put(sa); sa 668 drivers/net/macsec.c tx_sa = macsec_txsa_get(tx_sc->sa[tx_sc->encoding_sa]); sa 1166 drivers/net/macsec.c rx_sa = macsec_rxsa_get(rx_sc->sa[macsec_skb_cb(skb)->assoc_num]); sa 1365 drivers/net/macsec.c struct macsec_rx_sa *sa = rtnl_dereference(rx_sc->sa[i]); sa 1367 drivers/net/macsec.c RCU_INIT_POINTER(rx_sc->sa[i], NULL); sa 1368 drivers/net/macsec.c if (sa) sa 1369 drivers/net/macsec.c clear_rx_sa(sa); sa 1514 drivers/net/macsec.c tx_sa = rtnl_dereference(tx_sc->sa[*assoc_num]); sa 1578 drivers/net/macsec.c rx_sa = rtnl_dereference(rx_sc->sa[*assoc_num]); sa 1693 drivers/net/macsec.c rx_sa = rtnl_dereference(rx_sc->sa[assoc_num]); sa 1724 drivers/net/macsec.c rcu_assign_pointer(rx_sc->sa[assoc_num], rx_sa); sa 1848 drivers/net/macsec.c tx_sa = rtnl_dereference(tx_sc->sa[assoc_num]); sa 1880 drivers/net/macsec.c rcu_assign_pointer(tx_sc->sa[assoc_num], tx_sa); sa 1920 drivers/net/macsec.c RCU_INIT_POINTER(rx_sc->sa[assoc_num], NULL); sa 1997 drivers/net/macsec.c RCU_INIT_POINTER(tx_sc->sa[assoc_num], NULL); sa 2455 drivers/net/macsec.c struct macsec_tx_sa *tx_sa = rtnl_dereference(tx_sc->sa[i]); sa 2540 drivers/net/macsec.c struct macsec_rx_sa *rx_sa = rtnl_dereference(rx_sc->sa[i]); sa 3038 drivers/net/macsec.c tx_sa = rtnl_dereference(tx_sc->sa[tx_sc->encoding_sa]); sa 3112 drivers/net/macsec.c struct macsec_tx_sa *sa = rtnl_dereference(macsec->secy.tx_sc.sa[i]); sa 3114 drivers/net/macsec.c if (sa) { sa 3115 drivers/net/macsec.c RCU_INIT_POINTER(macsec->secy.tx_sc.sa[i], NULL); sa 3116 drivers/net/macsec.c clear_tx_sa(sa); sa 1245 drivers/net/macvlan.c struct sockaddr sa; sa 1247 drivers/net/macvlan.c sa.sa_family = port->dev->type; sa 1248 drivers/net/macvlan.c memcpy(&sa.sa_data, port->perm_addr, port->dev->addr_len); sa 1249 drivers/net/macvlan.c dev_set_mac_address(port->dev, &sa, NULL); sa 37 drivers/net/netdevsim/ipsec.c struct nsim_sa *sap = &ipsec->sa[i]; sa 77 drivers/net/netdevsim/ipsec.c if (!ipsec->sa[i].used) sa 133 drivers/net/netdevsim/ipsec.c struct nsim_sa sa; sa 160 drivers/net/netdevsim/ipsec.c memset(&sa, 0, sizeof(sa)); sa 161 drivers/net/netdevsim/ipsec.c sa.used = true; sa 162 drivers/net/netdevsim/ipsec.c sa.xs = xs; sa 164 drivers/net/netdevsim/ipsec.c if (sa.xs->id.proto & IPPROTO_ESP) sa 165 drivers/net/netdevsim/ipsec.c sa.crypt = xs->ealg || xs->aead; sa 168 drivers/net/netdevsim/ipsec.c ret = nsim_ipsec_parse_proto_keys(xs, sa.key, &sa.salt); sa 175 drivers/net/netdevsim/ipsec.c sa.rx = true; sa 178 drivers/net/netdevsim/ipsec.c memcpy(sa.ipaddr, &xs->id.daddr.a6, 16); sa 180 drivers/net/netdevsim/ipsec.c memcpy(&sa.ipaddr[3], &xs->id.daddr.a4, 4); sa 184 drivers/net/netdevsim/ipsec.c memcpy(&ipsec->sa[sa_idx], &sa, sizeof(sa)); sa 202 drivers/net/netdevsim/ipsec.c if (!ipsec->sa[sa_idx].used) { sa 208 drivers/net/netdevsim/ipsec.c memset(&ipsec->sa[sa_idx], 0, sizeof(struct nsim_sa)); sa 259 drivers/net/netdevsim/ipsec.c tsa = &ipsec->sa[sa_idx]; sa 44 drivers/net/netdevsim/netdevsim.h struct nsim_sa sa[NSIM_IPSEC_MAX_SA_COUNT]; sa 94 drivers/net/ppp/pptp.c struct pptp_addr *sa) sa 99 drivers/net/ppp/pptp.c if (!sa->call_id) { sa 106 drivers/net/ppp/pptp.c sa->call_id = call_id; sa 107 drivers/net/ppp/pptp.c } else if (test_bit(sa->call_id, callid_bitmap)) { sa 111 drivers/net/ppp/pptp.c sock->proto.pptp.src_addr = *sa; sa 112 drivers/net/ppp/pptp.c set_bit(sa->call_id, callid_bitmap); sa 113 drivers/net/ppp/pptp.c rcu_assign_pointer(callid_sock[sa->call_id], sock); sa 986 drivers/net/tap.c struct sockaddr sa; sa 1108 drivers/net/tap.c if (copy_from_user(&sa, &ifr->ifr_hwaddr, sizeof(sa))) sa 1116 drivers/net/tap.c ret = dev_set_mac_address(tap->dev, &sa, NULL); sa 1231 drivers/net/usb/r8152.c static int vendor_mac_passthru_addr_read(struct r8152 *tp, struct sockaddr *sa) sa 1285 drivers/net/usb/r8152.c memcpy(sa->sa_data, buf, 6); sa 1287 drivers/net/usb/r8152.c "Using pass-thru MAC addr %pM\n", sa->sa_data); sa 1294 drivers/net/usb/r8152.c static int determine_ethernet_addr(struct r8152 *tp, struct sockaddr *sa) sa 1299 drivers/net/usb/r8152.c sa->sa_family = dev->type; sa 1302 drivers/net/usb/r8152.c ret = pla_ocp_read(tp, PLA_IDR, 8, sa->sa_data); sa 1307 drivers/net/usb/r8152.c ret = vendor_mac_passthru_addr_read(tp, sa); sa 1309 drivers/net/usb/r8152.c ret = pla_ocp_read(tp, PLA_BACKUP, 8, sa->sa_data); sa 1314 drivers/net/usb/r8152.c } else if (!is_valid_ether_addr(sa->sa_data)) { sa 1316 drivers/net/usb/r8152.c sa->sa_data); sa 1318 drivers/net/usb/r8152.c ether_addr_copy(sa->sa_data, dev->dev_addr); sa 1320 drivers/net/usb/r8152.c sa->sa_data); sa 1330 drivers/net/usb/r8152.c struct sockaddr sa; sa 1333 drivers/net/usb/r8152.c ret = determine_ethernet_addr(tp, &sa); sa 1338 drivers/net/usb/r8152.c ether_addr_copy(dev->dev_addr, sa.sa_data); sa 1340 drivers/net/usb/r8152.c ret = rtl8152_set_mac_address(dev, &sa); sa 4645 drivers/net/usb/r8152.c struct sockaddr sa; sa 4651 drivers/net/usb/r8152.c if (determine_ethernet_addr(tp, &sa) >= 0) { sa 4653 drivers/net/usb/r8152.c dev_set_mac_address (tp->netdev, &sa, NULL); sa 98 drivers/net/vxlan.c if (a->sa.sa_family != b->sa.sa_family) sa 100 drivers/net/vxlan.c if (a->sa.sa_family == AF_INET6) sa 110 drivers/net/vxlan.c ip->sa.sa_family = AF_INET6; sa 114 drivers/net/vxlan.c ip->sa.sa_family = AF_INET; sa 124 drivers/net/vxlan.c if (ip->sa.sa_family == AF_INET6) sa 144 drivers/net/vxlan.c ip->sa.sa_family = AF_INET; sa 270 drivers/net/vxlan.c ndm->ndm_family = send_ip ? rdst->remote_ip.sa.sa_family : AF_INET; sa 1064 drivers/net/vxlan.c if (remote->sa.sa_family == AF_INET) { sa 1066 drivers/net/vxlan.c ip->sa.sa_family = AF_INET; sa 1070 drivers/net/vxlan.c ip->sa.sa_family = AF_INET6; sa 1143 drivers/net/vxlan.c if (vxlan->default_dst.remote_ip.sa.sa_family != ip.sa.sa_family) sa 1297 drivers/net/vxlan.c if (src_ip->sa.sa_family == AF_INET6 && sa 1317 drivers/net/vxlan.c src_mac, &rdst->remote_ip.sa, &src_ip->sa); sa 1351 drivers/net/vxlan.c unsigned short family = dev->default_dst.remote_ip.sa.sa_family; sa 1451 drivers/net/vxlan.c if (ip->sa.sa_family == AF_INET) { sa 1485 drivers/net/vxlan.c if (ip->sa.sa_family == AF_INET) { sa 1610 drivers/net/vxlan.c saddr.sa.sa_family = AF_INET; sa 1614 drivers/net/vxlan.c saddr.sa.sa_family = AF_INET6; sa 2342 drivers/net/vxlan.c if (remote_ip->sa.sa_family == AF_INET) { sa 2344 drivers/net/vxlan.c loopback.sa.sa_family = AF_INET; sa 2348 drivers/net/vxlan.c loopback.sa.sa_family = AF_INET6; sa 2400 drivers/net/vxlan.c daddr->sa.sa_family, dst_port, sa 2468 drivers/net/vxlan.c if (dst->sa.sa_family == AF_INET) sa 2479 drivers/net/vxlan.c remote_ip.sa.sa_family = ip_tunnel_info_af(info); sa 2480 drivers/net/vxlan.c if (remote_ip.sa.sa_family == AF_INET) { sa 2506 drivers/net/vxlan.c if (dst->sa.sa_family == AF_INET) { sa 3361 drivers/net/vxlan.c if (!conf->remote_ip.sa.sa_family && !conf->saddr.sa.sa_family) { sa 3363 drivers/net/vxlan.c conf->remote_ip.sa.sa_family = AF_INET; sa 3364 drivers/net/vxlan.c conf->saddr.sa.sa_family = AF_INET; sa 3365 drivers/net/vxlan.c } else if (!conf->remote_ip.sa.sa_family) { sa 3366 drivers/net/vxlan.c conf->remote_ip.sa.sa_family = conf->saddr.sa.sa_family; sa 3367 drivers/net/vxlan.c } else if (!conf->saddr.sa.sa_family) { sa 3368 drivers/net/vxlan.c conf->saddr.sa.sa_family = conf->remote_ip.sa.sa_family; sa 3371 drivers/net/vxlan.c if (conf->saddr.sa.sa_family != conf->remote_ip.sa.sa_family) { sa 3382 drivers/net/vxlan.c if (conf->saddr.sa.sa_family == AF_INET6) { sa 3712 drivers/net/vxlan.c if (changelink && (conf->remote_ip.sa.sa_family != AF_INET)) { sa 3718 drivers/net/vxlan.c conf->remote_ip.sa.sa_family = AF_INET; sa 3725 drivers/net/vxlan.c if (changelink && (conf->remote_ip.sa.sa_family != AF_INET6)) { sa 3731 drivers/net/vxlan.c conf->remote_ip.sa.sa_family = AF_INET6; sa 3735 drivers/net/vxlan.c if (changelink && (conf->saddr.sa.sa_family != AF_INET)) { sa 3741 drivers/net/vxlan.c conf->saddr.sa.sa_family = AF_INET; sa 3748 drivers/net/vxlan.c if (changelink && (conf->saddr.sa.sa_family != AF_INET6)) { sa 3755 drivers/net/vxlan.c conf->saddr.sa.sa_family = AF_INET6; sa 4086 drivers/net/vxlan.c if (dst->remote_ip.sa.sa_family == AF_INET) { sa 4103 drivers/net/vxlan.c if (vxlan->cfg.saddr.sa.sa_family == AF_INET) { sa 249 drivers/net/wan/lapbether.c struct sockaddr *sa = addr; sa 250 drivers/net/wan/lapbether.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 1465 drivers/net/wireless/ath/ath10k/htt_rx.c u8 sa[ETH_ALEN]; sa 1490 drivers/net/wireless/ath/ath10k/htt_rx.c ether_addr_copy(sa, ieee80211_get_SA(hdr)); sa 1511 drivers/net/wireless/ath/ath10k/htt_rx.c ether_addr_copy(ieee80211_get_SA(hdr), sa); sa 1561 drivers/net/wireless/ath/ath10k/htt_rx.c u8 sa[ETH_ALEN]; sa 1583 drivers/net/wireless/ath/ath10k/htt_rx.c ether_addr_copy(sa, eth->h_source); sa 1608 drivers/net/wireless/ath/ath10k/htt_rx.c ether_addr_copy(ieee80211_get_SA(hdr), sa); sa 3533 drivers/net/wireless/ath/ath10k/mac.c u8 sa[ETH_ALEN]; sa 3541 drivers/net/wireless/ath/ath10k/mac.c ether_addr_copy(sa, ieee80211_get_SA(hdr)); sa 3549 drivers/net/wireless/ath/ath10k/mac.c ether_addr_copy(eth->h_source, sa); sa 958 drivers/net/wireless/ath/wcn36xx/hal.h u8 sa[6]; sa 915 drivers/net/wireless/ath/wil6210/txrx.c u8 *sa, *da = wil_skb_get_da(skb); sa 931 drivers/net/wireless/ath/wil6210/txrx.c sa = wil_skb_get_sa(skb); sa 932 drivers/net/wireless/ath/wil6210/txrx.c if (mcast && ether_addr_equal(sa, ndev->dev_addr)) { sa 229 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c struct sockaddr *sa = (struct sockaddr *)addr; sa 235 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c err = brcmf_fil_iovar_data_set(ifp, "cur_etheraddr", sa->sa_data, sa 240 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c brcmf_dbg(TRACE, "updated to %pM\n", sa->sa_data); sa 241 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c memcpy(ifp->mac_addr, sa->sa_data, ETH_ALEN); sa 182 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c u8 sa[ETH_ALEN]; sa 223 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c u8 sa[ETH_ALEN]; sa 623 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memcpy(create->sa, work->sa, ETH_ALEN); sa 681 drivers/net/wireless/broadcom/brcm80211/brcmfmac/msgbuf.c memcpy(create->sa, eh->h_source, ETH_ALEN); sa 1415 drivers/net/wireless/broadcom/brcm80211/brcmfmac/p2p.c memcpy(mgmt_frame->sa, e->addr, ETH_ALEN); sa 850 drivers/net/wireless/cisco/airo.c u8 sa[ETH_ALEN]; sa 3388 drivers/net/wireless/cisco/airo.c char *sa; sa 3393 drivers/net/wireless/cisco/airo.c sa = (char *) buffer + 6; sa 3397 drivers/net/wireless/cisco/airo.c sa = (char *) buffer + 10; sa 3408 drivers/net/wireless/cisco/airo.c wireless_spy_update(ai->dev, sa, &wstats); sa 3684 drivers/net/wireless/cisco/airo.c char *sa; sa 3687 drivers/net/wireless/cisco/airo.c sa = buffer + ETH_ALEN; sa 3692 drivers/net/wireless/cisco/airo.c wireless_spy_update(ai->dev, sa, &wstats); sa 3762 drivers/net/wireless/cisco/airo.c char *sa; sa 3765 drivers/net/wireless/cisco/airo.c sa = (char*)buffer + 10; sa 3776 drivers/net/wireless/cisco/airo.c wireless_spy_update(ai->dev, sa, &wstats); sa 1629 drivers/net/wireless/intel/iwlegacy/common.c memcpy(frame->sa, ta, ETH_ALEN); sa 582 drivers/net/wireless/intel/iwlwifi/dvm/scan.c memcpy(frame->sa, ta, ETH_ALEN); sa 812 drivers/net/wireless/intel/iwlwifi/mvm/scan.c get_random_mask_addr(frame->sa, mac_addr, sa 815 drivers/net/wireless/intel/iwlwifi/mvm/scan.c memcpy(frame->sa, vif->addr, ETH_ALEN); sa 13 drivers/net/wireless/intersil/hostap/hostap_80211.h u8 sa[6]; sa 1041 drivers/net/wireless/intersil/hostap/hostap_main.c memcpy(mgmt->sa, dev->dev_addr, ETH_ALEN); sa 47 drivers/net/wireless/intersil/orinoco/mic.c u8 *da, u8 *sa, u8 priority, sa 61 drivers/net/wireless/intersil/orinoco/mic.c memcpy(&hdr[ETH_ALEN], sa, ETH_ALEN); sa 20 drivers/net/wireless/intersil/orinoco/mic.h u8 *da, u8 *sa, u8 priority, sa 478 drivers/net/wireless/marvell/mwifiex/tdls.c memcpy(tf->sa, priv->curr_addr, ETH_ALEN); sa 745 drivers/net/wireless/marvell/mwifiex/tdls.c memcpy(mgmt->sa, priv->curr_addr, ETH_ALEN); sa 178 drivers/net/wireless/quantenna/qtnfmac/core.c struct sockaddr *sa = addr; sa 182 drivers/net/wireless/quantenna/qtnfmac/core.c memcpy(old_addr, sa->sa_data, sizeof(old_addr)); sa 184 drivers/net/wireless/quantenna/qtnfmac/core.c ret = eth_mac_addr(ndev, sa); sa 192 drivers/net/wireless/quantenna/qtnfmac/core.c sa->sa_data); sa 1339 drivers/net/wireless/realtek/rtlwifi/base.c struct sk_buff *rtl_make_del_ba(struct ieee80211_hw *hw, u8 *sa, sa 2437 drivers/net/wireless/realtek/rtlwifi/base.c memcpy(action_frame->sa, rtlefuse->dev_addr, ETH_ALEN); sa 2549 drivers/net/wireless/realtek/rtlwifi/base.c u8 *sa, u8 *bssid, u16 tid) sa 2563 drivers/net/wireless/realtek/rtlwifi/base.c memcpy(action_frame->sa, sa, ETH_ALEN); sa 65 drivers/net/wireless/ti/wl1251/wl12xx_80211.h u8 sa[ETH_ALEN]; sa 66 drivers/net/wireless/ti/wlcore/wl12xx_80211.h u8 sa[ETH_ALEN]; sa 67 drivers/remoteproc/imx_rproc.c u32 sa; /* system bus address */ sa 201 drivers/remoteproc/imx_rproc.c *sys = att->sa + offset; sa 268 drivers/remoteproc/imx_rproc.c att->sa, att->size); sa 273 drivers/remoteproc/imx_rproc.c priv->mem[b].sys_addr = att->sa; sa 42 drivers/s390/char/sclp_sd.c u64 sa; sa 188 drivers/s390/char/sclp_sd.c static int sclp_sd_sync(unsigned long page, u8 eq, u8 di, u64 sat, u64 sa, sa 210 drivers/s390/char/sclp_sd.c evbuf->sa = sa; sa 119 drivers/s390/char/zcore.c struct save_area *sa; sa 122 drivers/s390/char/zcore.c sa = save_area_boot_cpu(); sa 123 drivers/s390/char/zcore.c if (!sa) sa 129 drivers/s390/char/zcore.c save_area_add_regs(sa, hsa_buf); /* vx registers are saved in smp.c */ sa 174 drivers/s390/cio/chsc.h u64 sa; sa 136 drivers/s390/cio/scm.c dev_set_name(&scmdev->dev, "%016llx", (unsigned long long) sale->sa); sa 138 drivers/s390/cio/scm.c scmdev->address = sale->sa; sa 182 drivers/s390/cio/scm.c return scmdev->address == sale->sa; sa 1080 drivers/scsi/aacraid/aacraid.h #define sa_readw(AEP, CSR) readl(&((AEP)->regs.sa->CSR)) sa 1081 drivers/scsi/aacraid/aacraid.h #define sa_readl(AEP, CSR) readl(&((AEP)->regs.sa->CSR)) sa 1082 drivers/scsi/aacraid/aacraid.h #define sa_writew(AEP, CSR, value) writew(value, &((AEP)->regs.sa->CSR)) sa 1083 drivers/scsi/aacraid/aacraid.h #define sa_writel(AEP, CSR, value) writel(value, &((AEP)->regs.sa->CSR)) sa 1623 drivers/scsi/aacraid/aacraid.h struct sa_registers __iomem *sa; sa 299 drivers/scsi/aacraid/dpcsup.c (((uintptr_t)(dev->regs.sa)) + index), sa 292 drivers/scsi/aacraid/sa.c iounmap(dev->regs.sa); sa 295 drivers/scsi/aacraid/sa.c dev->base = dev->regs.sa = ioremap(dev->base_start, size); sa 157 drivers/scsi/cxlflash/common.h struct sisl_ioasa sa; /* IOASA must follow IOARCB */ sa 55 drivers/scsi/cxlflash/main.c ioasa = &(cmd->sa); sa 172 drivers/scsi/cxlflash/main.c if (unlikely(cmd->sa.ioasc)) sa 178 drivers/scsi/cxlflash/main.c __func__, scp, scp->result, cmd->sa.ioasc); sa 364 drivers/scsi/cxlflash/main.c cmd->rcb.ioasa = &cmd->sa; sa 408 drivers/scsi/cxlflash/main.c if (unlikely(cmd->sa.ioasc != 0)) { sa 410 drivers/scsi/cxlflash/main.c __func__, cmd->rcb.cdb[0], cmd->sa.ioasc); sa 529 drivers/scsi/cxlflash/main.c } else if (cmd->sa.ioasc) { sa 531 drivers/scsi/cxlflash/main.c __func__, cmd->sa.ioasc); sa 626 drivers/scsi/cxlflash/main.c cmd->sa.ioasc = 0; sa 1397 drivers/scsi/cxlflash/main.c cmd = container_of(ioasa, struct afu_cmd, sa); sa 2373 drivers/scsi/cxlflash/main.c *rcb->ioasa = cmd->sa; sa 530 drivers/scsi/fcoe/fcoe_ctlr.c int ports, u8 *sa) sa 556 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(kal->eth.h_source, sa, ETH_ALEN); sa 1907 drivers/scsi/fcoe/fcoe_ctlr.c u8 *sa; sa 1909 drivers/scsi/fcoe/fcoe_ctlr.c sa = eth_hdr(&fp->skb)->h_source; sa 1933 drivers/scsi/fcoe/fcoe_ctlr.c if (ether_addr_equal(sa, (u8[6])FC_FCOE_FLOGI_MAC)) { sa 1936 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(fip->dest_addr, sa, ETH_ALEN); sa 1942 drivers/scsi/fcoe/fcoe_ctlr.c } else if (op == ELS_FLOGI && fh->fh_r_ctl == FC_RCTL_ELS_REQ && sa) { sa 1948 drivers/scsi/fcoe/fcoe_ctlr.c memcpy(fip->dest_addr, sa, ETH_ALEN); sa 3016 drivers/scsi/hpsa.c u64 sa = 0; sa 3029 drivers/scsi/hpsa.c sa = get_unaligned_be64(buf+12); sa 3033 drivers/scsi/hpsa.c return sa; sa 3518 drivers/scsi/hpsa.c u64 sa = 0; sa 3534 drivers/scsi/hpsa.c sa = get_unaligned_be64(&physdev->LUN[i].wwid[0]); sa 3540 drivers/scsi/hpsa.c return sa; sa 3547 drivers/scsi/hpsa.c u64 sa = 0; sa 3559 drivers/scsi/hpsa.c sa = get_unaligned_be64(ssi->primary_world_wide_id); sa 3560 drivers/scsi/hpsa.c h->sas_address = sa; sa 3565 drivers/scsi/hpsa.c sa = hpsa_get_sas_address_from_report_physical(h, scsi3addr); sa 3567 drivers/scsi/hpsa.c dev->sas_address = sa; sa 351 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h #define h_copy_rdma(l, sa, sb, da, db) \ sa 352 drivers/scsi/ibmvscsi_tgt/ibmvscsi_tgt.h plpar_hcall_norets(H_COPY_RDMA, l, sa, sb, da, db) sa 315 drivers/scsi/scsi_debug.c u16 sa; /* service action */ sa 1820 drivers/scsi/scsi_debug.c put_unaligned_be16(oip->sa, arr + offset + 2); sa 1834 drivers/scsi/scsi_debug.c put_unaligned_be16(oip->sa, arr + offset + 2); sa 1883 drivers/scsi/scsi_debug.c } else if (req_sa != oip->sa) { sa 1887 drivers/scsi/scsi_debug.c if (req_sa == oip->sa) sa 5603 drivers/scsi/scsi_debug.c u16 sa; sa 5647 drivers/scsi/scsi_debug.c sa = 0x1f & cmd[1]; sa 5649 drivers/scsi/scsi_debug.c sa = get_unaligned_be16(cmd + 8); sa 5651 drivers/scsi/scsi_debug.c if (opcode == oip->opcode && sa == oip->sa) sa 108 drivers/scsi/scsi_logging.c int sa, cdb0; sa 122 drivers/scsi/scsi_logging.c sa = (cdbp[8] << 8) + cdbp[9]; sa 124 drivers/scsi/scsi_logging.c sa = cdbp[1] & 0x1f; sa 126 drivers/scsi/scsi_logging.c if (!scsi_opcode_sa_name(cdb0, sa, &cdb_name, &sa_name)) { sa 145 drivers/scsi/scsi_logging.c cdb_name, sa); sa 148 drivers/scsi/scsi_logging.c "opcode=0x%x, sa=0x%x", cdb0, sa); sa 1744 drivers/scsi/sd.c static int sd_pr_command(struct block_device *bdev, u8 sa, sa 1754 drivers/scsi/sd.c cmd[1] = sa; sa 1227 drivers/scsi/sg.c unsigned long offset, len, sa; sa 1240 drivers/scsi/sg.c sa = vma->vm_start; sa 1242 drivers/scsi/sg.c for (k = 0; k < rsv_schp->k_use_sg && sa < vma->vm_end; k++) { sa 1243 drivers/scsi/sg.c len = vma->vm_end - sa; sa 1252 drivers/scsi/sg.c sa += len; sa 1267 drivers/scsi/sg.c unsigned long req_sz, len, sa; sa 1287 drivers/scsi/sg.c sa = vma->vm_start; sa 1289 drivers/scsi/sg.c for (k = 0; k < rsv_schp->k_use_sg && sa < vma->vm_end; k++) { sa 1290 drivers/scsi/sg.c len = vma->vm_end - sa; sa 1292 drivers/scsi/sg.c sa += len; sa 723 drivers/staging/greybus/tools/loopback_test.c struct sigaction sa; sa 731 drivers/staging/greybus/tools/loopback_test.c sa.sa_handler = handler; sa 732 drivers/staging/greybus/tools/loopback_test.c sa.sa_flags = 0; sa 733 drivers/staging/greybus/tools/loopback_test.c sigemptyset(&sa.sa_mask); sa 734 drivers/staging/greybus/tools/loopback_test.c if (sigaction(SIGINT, &sa, NULL) == -1) { sa 2650 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c unsigned char *sa, *p; sa 2667 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c sa = GetAddr2Ptr(pframe); sa 2682 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c algorithm, auth_mode, sa[0], sa[1], sa[2], sa[3], sa[4], sa[5]); sa 2689 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c if (!rtw_access_ctrl(padapter, sa)) { sa 2694 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pstat = rtw_get_stainfo(pstapriv, sa); sa 2697 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c DBG_88E("going to alloc stainfo for sa=%pM\n", sa); sa 2698 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c pstat = rtw_alloc_stainfo(pstapriv, sa); sa 2806 drivers/staging/rtl8188eu/core/rtw_mlme_ext.c memcpy(pstat->hwaddr, sa, 6); sa 137 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c u8 *sa = NULL; sa 161 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c sa = padapter->mlmepriv.cur_network.network.MacAddress; sa 164 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c sa = get_sa(wlanhdr); sa 169 drivers/staging/rtl8188eu/hal/rtl8188e_rxdesc.c psta = rtw_get_stainfo(pstapriv, sa); sa 284 drivers/staging/rtl8188eu/include/wifi.h unsigned char *sa; sa 289 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr2Ptr(pframe); sa 292 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr3Ptr(pframe); sa 295 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr2Ptr(pframe); sa 298 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr4Ptr(pframe); sa 301 drivers/staging/rtl8188eu/include/wifi.h return sa; sa 306 drivers/staging/rtl8188eu/include/wifi.h unsigned char *sa; sa 311 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr3Ptr(pframe); sa 314 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr2Ptr(pframe); sa 317 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr1Ptr(pframe); sa 320 drivers/staging/rtl8188eu/include/wifi.h sa = GetAddr1Ptr(pframe); sa 323 drivers/staging/rtl8188eu/include/wifi.h sa = NULL; /* */ sa 326 drivers/staging/rtl8188eu/include/wifi.h return sa; sa 305 drivers/staging/rtl8712/wifi.h unsigned char *sa; sa 310 drivers/staging/rtl8712/wifi.h sa = GetAddr2Ptr(pframe); sa 313 drivers/staging/rtl8712/wifi.h sa = GetAddr3Ptr(pframe); sa 316 drivers/staging/rtl8712/wifi.h sa = GetAddr2Ptr(pframe); sa 319 drivers/staging/rtl8712/wifi.h sa = GetAddr4Ptr(pframe); sa 323 drivers/staging/rtl8712/wifi.h return sa; sa 328 drivers/staging/rtl8712/wifi.h unsigned char *sa; sa 333 drivers/staging/rtl8712/wifi.h sa = GetAddr3Ptr(pframe); sa 336 drivers/staging/rtl8712/wifi.h sa = GetAddr2Ptr(pframe); sa 339 drivers/staging/rtl8712/wifi.h sa = GetAddr1Ptr(pframe); sa 342 drivers/staging/rtl8712/wifi.h sa = NULL; sa 345 drivers/staging/rtl8712/wifi.h return sa; sa 887 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c unsigned char *sa, *p; sa 905 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c sa = GetAddr2Ptr(pframe); sa 940 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c algorithm, auth_mode, sa[0], sa[1], sa[2], sa[3], sa[4], sa[5]); sa 947 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c if (rtw_access_ctrl(padapter, sa) == false) { sa 952 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pstat = rtw_get_stainfo(pstapriv, sa); sa 956 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c DBG_871X("going to alloc stainfo for sa ="MAC_FMT"\n", MAC_ARG(sa)); sa 957 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c pstat = rtw_alloc_stainfo(pstapriv, sa); sa 1077 drivers/staging/rtl8723bs/core/rtw_mlme_ext.c memcpy(pstat->hwaddr, sa, 6); sa 91 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c u8 *sa = NULL; sa 121 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c sa = get_ta(wlanhdr); sa 126 drivers/staging/rtl8723bs/hal/rtl8723bs_recv.c psta = rtw_get_stainfo(pstapriv, sa); sa 397 drivers/staging/rtl8723bs/include/wifi.h unsigned char *sa; sa 402 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr2Ptr(pframe); sa 405 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr3Ptr(pframe); sa 408 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr2Ptr(pframe); sa 411 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr4Ptr(pframe); sa 415 drivers/staging/rtl8723bs/include/wifi.h return sa; sa 420 drivers/staging/rtl8723bs/include/wifi.h unsigned char *sa = NULL; sa 425 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr3Ptr(pframe); sa 428 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr2Ptr(pframe); sa 431 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr1Ptr(pframe); sa 434 drivers/staging/rtl8723bs/include/wifi.h sa = GetAddr1Ptr(pframe); sa 438 drivers/staging/rtl8723bs/include/wifi.h return sa; sa 110 drivers/staging/wilc1000/wilc_hif.c u8 sa[ETH_ALEN]; sa 3548 drivers/target/target_core_pr.c int sa, scope, type, aptpl; sa 3584 drivers/target/target_core_pr.c sa = (cdb[1] & 0x1f); sa 3601 drivers/target/target_core_pr.c if (sa != PRO_REGISTER_AND_MOVE) { sa 3622 drivers/target/target_core_pr.c if (spec_i_pt && (sa != PRO_REGISTER)) sa 3634 drivers/target/target_core_pr.c if (!spec_i_pt && (sa != PRO_REGISTER_AND_MOVE) && sa 3646 drivers/target/target_core_pr.c switch (sa) { sa 3678 drivers/target/target_core_pr.c " action: 0x%02x\n", sa); sa 923 drivers/target/target_core_xcopy.c unsigned int sa; sa 930 drivers/target/target_core_xcopy.c sa = se_cmd->t_task_cdb[1] & 0x1f; sa 931 drivers/target/target_core_xcopy.c if (sa != 0x00) { sa 1055 drivers/target/target_core_xcopy.c int sa = (cdb[1] & 0x1f), list_id = cdb[2]; sa 1059 drivers/target/target_core_xcopy.c " 0x%02x, AL: %u\n", sa, list_id, se_cmd->data_length); sa 1067 drivers/target/target_core_xcopy.c switch (sa) { sa 1075 drivers/target/target_core_xcopy.c pr_err("Unsupported SA for receive copy results: 0x%02x\n", sa); sa 18 drivers/tty/tty_jobctrl.c current->sighand->action[sig-1].sa.sa_handler == SIG_IGN); sa 861 drivers/usb/gadget/function/u_ether.c struct sockaddr sa; sa 881 drivers/usb/gadget/function/u_ether.c sa.sa_family = net->type; sa 882 drivers/usb/gadget/function/u_ether.c memcpy(sa.sa_data, dev->dev_mac, ETH_ALEN); sa 884 drivers/usb/gadget/function/u_ether.c status = dev_set_mac_address(net, &sa, NULL); sa 384 drivers/xen/pvcalls-back.c struct sockaddr *sa = (struct sockaddr *)&req->u.connect.addr; sa 388 drivers/xen/pvcalls-back.c if (req->u.connect.len < sizeof(sa->sa_family) || sa 390 drivers/xen/pvcalls-back.c sa->sa_family != AF_INET) sa 396 drivers/xen/pvcalls-back.c ret = inet_stream_connect(sock, sa, req->u.connect.len, 0); sa 4238 fs/btrfs/ioctl.c struct btrfs_ioctl_scrub_args *sa; sa 4244 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 4245 fs/btrfs/ioctl.c if (IS_ERR(sa)) sa 4246 fs/btrfs/ioctl.c return PTR_ERR(sa); sa 4248 fs/btrfs/ioctl.c if (!(sa->flags & BTRFS_SCRUB_READONLY)) { sa 4254 fs/btrfs/ioctl.c ret = btrfs_scrub_dev(fs_info, sa->devid, sa->start, sa->end, sa 4255 fs/btrfs/ioctl.c &sa->progress, sa->flags & BTRFS_SCRUB_READONLY, sa 4270 fs/btrfs/ioctl.c if (copy_to_user(arg, sa, sizeof(*sa))) sa 4273 fs/btrfs/ioctl.c if (!(sa->flags & BTRFS_SCRUB_READONLY)) sa 4276 fs/btrfs/ioctl.c kfree(sa); sa 4291 fs/btrfs/ioctl.c struct btrfs_ioctl_scrub_args *sa; sa 4297 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 4298 fs/btrfs/ioctl.c if (IS_ERR(sa)) sa 4299 fs/btrfs/ioctl.c return PTR_ERR(sa); sa 4301 fs/btrfs/ioctl.c ret = btrfs_scrub_progress(fs_info, sa->devid, &sa->progress); sa 4303 fs/btrfs/ioctl.c if (ret == 0 && copy_to_user(arg, sa, sizeof(*sa))) sa 4306 fs/btrfs/ioctl.c kfree(sa); sa 4313 fs/btrfs/ioctl.c struct btrfs_ioctl_get_dev_stats *sa; sa 4316 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 4317 fs/btrfs/ioctl.c if (IS_ERR(sa)) sa 4318 fs/btrfs/ioctl.c return PTR_ERR(sa); sa 4320 fs/btrfs/ioctl.c if ((sa->flags & BTRFS_DEV_STATS_RESET) && !capable(CAP_SYS_ADMIN)) { sa 4321 fs/btrfs/ioctl.c kfree(sa); sa 4325 fs/btrfs/ioctl.c ret = btrfs_get_dev_stats(fs_info, sa); sa 4327 fs/btrfs/ioctl.c if (ret == 0 && copy_to_user(arg, sa, sizeof(*sa))) sa 4330 fs/btrfs/ioctl.c kfree(sa); sa 4748 fs/btrfs/ioctl.c struct btrfs_ioctl_quota_ctl_args *sa; sa 4758 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 4759 fs/btrfs/ioctl.c if (IS_ERR(sa)) { sa 4760 fs/btrfs/ioctl.c ret = PTR_ERR(sa); sa 4766 fs/btrfs/ioctl.c switch (sa->cmd) { sa 4778 fs/btrfs/ioctl.c kfree(sa); sa 4790 fs/btrfs/ioctl.c struct btrfs_ioctl_qgroup_assign_args *sa; sa 4802 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 4803 fs/btrfs/ioctl.c if (IS_ERR(sa)) { sa 4804 fs/btrfs/ioctl.c ret = PTR_ERR(sa); sa 4814 fs/btrfs/ioctl.c if (sa->assign) { sa 4815 fs/btrfs/ioctl.c ret = btrfs_add_qgroup_relation(trans, sa->src, sa->dst); sa 4817 fs/btrfs/ioctl.c ret = btrfs_del_qgroup_relation(trans, sa->src, sa->dst); sa 4830 fs/btrfs/ioctl.c kfree(sa); sa 4840 fs/btrfs/ioctl.c struct btrfs_ioctl_qgroup_create_args *sa; sa 4852 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 4853 fs/btrfs/ioctl.c if (IS_ERR(sa)) { sa 4854 fs/btrfs/ioctl.c ret = PTR_ERR(sa); sa 4858 fs/btrfs/ioctl.c if (!sa->qgroupid) { sa 4869 fs/btrfs/ioctl.c if (sa->create) { sa 4870 fs/btrfs/ioctl.c ret = btrfs_create_qgroup(trans, sa->qgroupid); sa 4872 fs/btrfs/ioctl.c ret = btrfs_remove_qgroup(trans, sa->qgroupid); sa 4880 fs/btrfs/ioctl.c kfree(sa); sa 4890 fs/btrfs/ioctl.c struct btrfs_ioctl_qgroup_limit_args *sa; sa 4903 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 4904 fs/btrfs/ioctl.c if (IS_ERR(sa)) { sa 4905 fs/btrfs/ioctl.c ret = PTR_ERR(sa); sa 4915 fs/btrfs/ioctl.c qgroupid = sa->qgroupid; sa 4921 fs/btrfs/ioctl.c ret = btrfs_limit_qgroup(trans, qgroupid, &sa->lim); sa 4928 fs/btrfs/ioctl.c kfree(sa); sa 5006 fs/btrfs/ioctl.c struct btrfs_ioctl_received_subvol_args *sa) sa 5047 fs/btrfs/ioctl.c sa->rtransid = trans->transid; sa 5048 fs/btrfs/ioctl.c sa->rtime.sec = ct.tv_sec; sa 5049 fs/btrfs/ioctl.c sa->rtime.nsec = ct.tv_nsec; sa 5051 fs/btrfs/ioctl.c received_uuid_changed = memcmp(root_item->received_uuid, sa->uuid, sa 5064 fs/btrfs/ioctl.c memcpy(root_item->received_uuid, sa->uuid, BTRFS_UUID_SIZE); sa 5065 fs/btrfs/ioctl.c btrfs_set_root_stransid(root_item, sa->stransid); sa 5066 fs/btrfs/ioctl.c btrfs_set_root_rtransid(root_item, sa->rtransid); sa 5067 fs/btrfs/ioctl.c btrfs_set_stack_timespec_sec(&root_item->stime, sa->stime.sec); sa 5068 fs/btrfs/ioctl.c btrfs_set_stack_timespec_nsec(&root_item->stime, sa->stime.nsec); sa 5069 fs/btrfs/ioctl.c btrfs_set_stack_timespec_sec(&root_item->rtime, sa->rtime.sec); sa 5070 fs/btrfs/ioctl.c btrfs_set_stack_timespec_nsec(&root_item->rtime, sa->rtime.nsec); sa 5078 fs/btrfs/ioctl.c if (received_uuid_changed && !btrfs_is_empty_uuid(sa->uuid)) { sa 5079 fs/btrfs/ioctl.c ret = btrfs_uuid_tree_add(trans, sa->uuid, sa 5149 fs/btrfs/ioctl.c struct btrfs_ioctl_received_subvol_args *sa = NULL; sa 5152 fs/btrfs/ioctl.c sa = memdup_user(arg, sizeof(*sa)); sa 5153 fs/btrfs/ioctl.c if (IS_ERR(sa)) sa 5154 fs/btrfs/ioctl.c return PTR_ERR(sa); sa 5156 fs/btrfs/ioctl.c ret = _btrfs_ioctl_set_received_subvol(file, sa); sa 5161 fs/btrfs/ioctl.c ret = copy_to_user(arg, sa, sizeof(*sa)); sa 5166 fs/btrfs/ioctl.c kfree(sa); sa 609 fs/ceph/mds_client.c struct ceph_mds_session **sa; sa 612 fs/ceph/mds_client.c sa = kcalloc(newmax, sizeof(void *), GFP_NOFS); sa 613 fs/ceph/mds_client.c if (!sa) sa 616 fs/ceph/mds_client.c memcpy(sa, mdsc->sessions, sa 620 fs/ceph/mds_client.c mdsc->sessions = sa; sa 102 fs/cifs/cifs_spnego.c struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; sa 137 fs/cifs/cifs_spnego.c sprintf(dp, "ip4=%pI4", &sa->sin_addr); sa 374 fs/cifs/cifsfs.c struct sockaddr_in *sa = (struct sockaddr_in *) &server->dstaddr; sa 381 fs/cifs/cifsfs.c seq_printf(s, "%pI4", &sa->sin_addr.s_addr); sa 3089 fs/cifs/connect.c struct sockaddr_in *sa; sa 3100 fs/cifs/connect.c sa = (struct sockaddr_in *)&server->dstaddr; sa 3101 fs/cifs/connect.c sprintf(desc, "cifs:a:%pI4", &sa->sin_addr.s_addr); sa 45 fs/cifs/fscache.c const struct sockaddr *sa = (struct sockaddr *) &server->dstaddr; sa 46 fs/cifs/fscache.c const struct sockaddr_in *addr = (struct sockaddr_in *) sa; sa 47 fs/cifs/fscache.c const struct sockaddr_in6 *addr6 = (struct sockaddr_in6 *) sa; sa 57 fs/cifs/fscache.c key.hdr.family = sa->sa_family; sa 58 fs/cifs/fscache.c switch (sa->sa_family) { sa 72 fs/cifs/fscache.c cifs_dbg(VFS, "Unknown network family '%d'\n", sa->sa_family); sa 19 fs/nfs/dns_resolve.c struct sockaddr *sa, size_t salen) sa 28 fs/nfs/dns_resolve.c ret = rpc_pton(net, ip_addr, ip_len, sa, salen); sa 344 fs/nfs/dns_resolve.c size_t namelen, struct sockaddr *sa, size_t salen) sa 357 fs/nfs/dns_resolve.c memcpy(sa, &item->addr, item->addrlen); sa 35 fs/nfs/dns_resolve.h size_t namelen, struct sockaddr *sa, size_t salen); sa 125 fs/nfs/nfs4namespace.c struct sockaddr *sa, size_t salen, struct net *net) sa 129 fs/nfs/nfs4namespace.c ret = rpc_pton(net, string, len, sa, salen); sa 131 fs/nfs/nfs4namespace.c ret = nfs_dns_resolve_name(net, string, len, sa, salen); sa 981 fs/nfs/super.c struct sockaddr_in *sa = (struct sockaddr_in *)addr; sa 982 fs/nfs/super.c return sa->sin_addr.s_addr != htonl(INADDR_ANY); sa 985 fs/nfs/super.c struct in6_addr *sa = &((struct sockaddr_in6 *)addr)->sin6_addr; sa 986 fs/nfs/super.c return !ipv6_addr_any(sa); sa 51 fs/nfsd/fault_inject.c struct sockaddr_storage sa; sa 67 fs/nfsd/fault_inject.c size = rpc_pton(net, write_buf, size, (struct sockaddr *)&sa, sizeof(sa)); sa 69 fs/nfsd/fault_inject.c val = op->set_clnt(&sa, size); sa 1786 fs/nfsd/nfs4state.c struct sockaddr *sa = svc_addr(rqstp); sa 1794 fs/nfsd/nfs4state.c rpc_copy_addr((struct sockaddr *)&clp->cl_cb_conn.cb_addr, sa); sa 1795 fs/nfsd/nfs4state.c clp->cl_cb_conn.cb_addrlen = svc_addr_len(sa); sa 2600 fs/nfsd/nfs4state.c struct sockaddr *sa = svc_addr(rqstp); sa 2620 fs/nfsd/nfs4state.c memcpy(&clp->cl_addr, sa, sizeof(struct sockaddr_storage)); sa 2762 fs/nfsd/nfs4state.c struct sockaddr *sa = svc_addr(rqstp); sa 2763 fs/nfsd/nfs4state.c u32 scopeid = rpc_get_scope_id(sa); sa 2966 fs/nfsd/nfs4state.c struct sockaddr *sa = svc_addr(rqstp); sa 2970 fs/nfsd/nfs4state.c rpc_ntop(sa, addr_str, sizeof(addr_str)); sa 3259 fs/nfsd/nfs4state.c struct sockaddr *sa = svc_addr(rqstp); sa 3305 fs/nfsd/nfs4state.c !rpc_cmp_addr(sa, (struct sockaddr *) &unconf->cl_addr)) { sa 259 fs/proc/array.c if (k->sa.sa_handler == SIG_IGN) sa 261 fs/proc/array.c else if (k->sa.sa_handler != SIG_DFL) sa 2301 fs/ubifs/debug.c struct ubifs_scan_node *sa, *sb; sa 2311 fs/ubifs/debug.c sa = container_of(cur, struct ubifs_scan_node, list); sa 2314 fs/ubifs/debug.c if (sa->type != UBIFS_DATA_NODE) { sa 2315 fs/ubifs/debug.c ubifs_err(c, "bad node type %d", sa->type); sa 2316 fs/ubifs/debug.c ubifs_dump_node(c, sa->node); sa 2325 fs/ubifs/debug.c inuma = key_inum(c, &sa->key); sa 2336 fs/ubifs/debug.c blka = key_block(c, &sa->key); sa 2352 fs/ubifs/debug.c ubifs_dump_node(c, sa->node); sa 2368 fs/ubifs/debug.c struct ubifs_scan_node *sa, *sb; sa 2378 fs/ubifs/debug.c sa = container_of(cur, struct ubifs_scan_node, list); sa 2381 fs/ubifs/debug.c if (sa->type != UBIFS_INO_NODE && sa->type != UBIFS_DENT_NODE && sa 2382 fs/ubifs/debug.c sa->type != UBIFS_XENT_NODE) { sa 2383 fs/ubifs/debug.c ubifs_err(c, "bad node type %d", sa->type); sa 2384 fs/ubifs/debug.c ubifs_dump_node(c, sa->node); sa 2394 fs/ubifs/debug.c if (sa->type != UBIFS_INO_NODE && sb->type == UBIFS_INO_NODE) { sa 2399 fs/ubifs/debug.c if (sa->type == UBIFS_INO_NODE && sb->type != UBIFS_INO_NODE) sa 2402 fs/ubifs/debug.c if (sa->type == UBIFS_INO_NODE && sb->type == UBIFS_INO_NODE) { sa 2404 fs/ubifs/debug.c if (sa->len < sb->len) { sa 2415 fs/ubifs/debug.c inuma = key_inum(c, &sa->key); sa 2426 fs/ubifs/debug.c hasha = key_block(c, &sa->key); sa 2440 fs/ubifs/debug.c ubifs_dump_node(c, sa->node); sa 113 fs/ubifs/gc.c struct ubifs_scan_node *sa, *sb; sa 119 fs/ubifs/gc.c sa = list_entry(a, struct ubifs_scan_node, list); sa 122 fs/ubifs/gc.c ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DATA_KEY); sa 124 fs/ubifs/gc.c ubifs_assert(c, sa->type == UBIFS_DATA_NODE); sa 127 fs/ubifs/gc.c inuma = key_inum(c, &sa->key); sa 131 fs/ubifs/gc.c unsigned int blka = key_block(c, &sa->key); sa 157 fs/ubifs/gc.c struct ubifs_scan_node *sa, *sb; sa 163 fs/ubifs/gc.c sa = list_entry(a, struct ubifs_scan_node, list); sa 166 fs/ubifs/gc.c ubifs_assert(c, key_type(c, &sa->key) != UBIFS_DATA_KEY && sa 168 fs/ubifs/gc.c ubifs_assert(c, sa->type != UBIFS_DATA_NODE && sa 172 fs/ubifs/gc.c if (sa->type == UBIFS_INO_NODE) { sa 174 fs/ubifs/gc.c return sb->len - sa->len; sa 180 fs/ubifs/gc.c ubifs_assert(c, key_type(c, &sa->key) == UBIFS_DENT_KEY || sa 181 fs/ubifs/gc.c key_type(c, &sa->key) == UBIFS_XENT_KEY); sa 184 fs/ubifs/gc.c ubifs_assert(c, sa->type == UBIFS_DENT_NODE || sa 185 fs/ubifs/gc.c sa->type == UBIFS_XENT_NODE); sa 189 fs/ubifs/gc.c inuma = key_inum(c, &sa->key); sa 193 fs/ubifs/gc.c uint32_t hasha = key_hash(c, &sa->key); sa 202 fs/udf/directory.c struct short_ad *sa; sa 212 fs/udf/directory.c sa = (struct short_ad *)ptr; sa 213 fs/udf/directory.c if (sa->extLength == 0) sa 219 fs/udf/directory.c return sa; sa 38 fs/xfs/scrub/agheader.c error = xchk_ag_init(sc, agno, &sc->sa); sa 361 fs/xfs/scrub/agheader.c struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); sa 365 fs/xfs/scrub/agheader.c if (!sc->sa.bno_cur) sa 368 fs/xfs/scrub/agheader.c error = xfs_alloc_query_all(sc->sa.bno_cur, sa 370 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) sa 373 fs/xfs/scrub/agheader.c xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); sa 381 fs/xfs/scrub/agheader.c struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); sa 387 fs/xfs/scrub/agheader.c if (!sc->sa.cnt_cur) sa 391 fs/xfs/scrub/agheader.c error = xfs_alloc_lookup_le(sc->sa.cnt_cur, 0, -1U, &have); sa 392 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) sa 396 fs/xfs/scrub/agheader.c xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); sa 401 fs/xfs/scrub/agheader.c error = xfs_alloc_get_rec(sc->sa.cnt_cur, &agbno, &blocks, &have); sa 402 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) sa 405 fs/xfs/scrub/agheader.c xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); sa 413 fs/xfs/scrub/agheader.c struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); sa 420 fs/xfs/scrub/agheader.c if (sc->sa.rmap_cur) { sa 421 fs/xfs/scrub/agheader.c error = xfs_btree_count_blocks(sc->sa.rmap_cur, &blocks); sa 422 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 426 fs/xfs/scrub/agheader.c xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); sa 435 fs/xfs/scrub/agheader.c if ((xfs_sb_version_hasrmapbt(&mp->m_sb) && !sc->sa.rmap_cur) || sa 436 fs/xfs/scrub/agheader.c !sc->sa.bno_cur || !sc->sa.cnt_cur) sa 440 fs/xfs/scrub/agheader.c error = xfs_btree_count_blocks(sc->sa.bno_cur, &blocks); sa 441 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) sa 445 fs/xfs/scrub/agheader.c error = xfs_btree_count_blocks(sc->sa.cnt_cur, &blocks); sa 446 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.cnt_cur)) sa 451 fs/xfs/scrub/agheader.c xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); sa 459 fs/xfs/scrub/agheader.c struct xfs_agf *agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); sa 463 fs/xfs/scrub/agheader.c if (!sc->sa.refc_cur) sa 466 fs/xfs/scrub/agheader.c error = xfs_btree_count_blocks(sc->sa.refc_cur, &blocks); sa 467 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) sa 470 fs/xfs/scrub/agheader.c xchk_block_xref_set_corrupt(sc, sc->sa.agf_bp); sa 487 fs/xfs/scrub/agheader.c error = xchk_ag_btcur_init(sc, &sc->sa); sa 521 fs/xfs/scrub/agheader.c agno = sc->sa.agno = sc->sm->sm_agno; sa 522 fs/xfs/scrub/agheader.c error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, sa 523 fs/xfs/scrub/agheader.c &sc->sa.agf_bp, &sc->sa.agfl_bp); sa 526 fs/xfs/scrub/agheader.c xchk_buffer_recheck(sc, sc->sa.agf_bp); sa 528 fs/xfs/scrub/agheader.c agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); sa 533 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 538 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 542 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 546 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 550 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 555 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 559 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 565 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 569 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 581 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 586 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 588 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 590 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 631 fs/xfs/scrub/agheader.c xfs_agnumber_t agno = sc->sa.agno; sa 637 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agfl_bp); sa 672 fs/xfs/scrub/agheader.c error = xchk_ag_btcur_init(sc, &sc->sa); sa 699 fs/xfs/scrub/agheader.c agno = sc->sa.agno = sc->sm->sm_agno; sa 700 fs/xfs/scrub/agheader.c error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, sa 701 fs/xfs/scrub/agheader.c &sc->sa.agf_bp, &sc->sa.agfl_bp); sa 704 fs/xfs/scrub/agheader.c if (!sc->sa.agf_bp) sa 706 fs/xfs/scrub/agheader.c xchk_buffer_recheck(sc, sc->sa.agfl_bp); sa 714 fs/xfs/scrub/agheader.c agf = XFS_BUF_TO_AGF(sc->sa.agf_bp); sa 717 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 731 fs/xfs/scrub/agheader.c error = xfs_agfl_walk(sc->mp, XFS_BUF_TO_AGF(sc->sa.agf_bp), sa 732 fs/xfs/scrub/agheader.c sc->sa.agfl_bp, xchk_agfl_block, &sai); sa 741 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 750 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agf_bp); sa 768 fs/xfs/scrub/agheader.c struct xfs_agi *agi = XFS_BUF_TO_AGI(sc->sa.agi_bp); sa 773 fs/xfs/scrub/agheader.c if (!sc->sa.ino_cur) sa 776 fs/xfs/scrub/agheader.c error = xfs_ialloc_count_inodes(sc->sa.ino_cur, &icount, &freecount); sa 777 fs/xfs/scrub/agheader.c if (!xchk_should_check_xref(sc, &error, &sc->sa.ino_cur)) sa 781 fs/xfs/scrub/agheader.c xchk_block_xref_set_corrupt(sc, sc->sa.agi_bp); sa 798 fs/xfs/scrub/agheader.c error = xchk_ag_btcur_init(sc, &sc->sa); sa 830 fs/xfs/scrub/agheader.c agno = sc->sa.agno = sc->sm->sm_agno; sa 831 fs/xfs/scrub/agheader.c error = xchk_ag_read_headers(sc, agno, &sc->sa.agi_bp, sa 832 fs/xfs/scrub/agheader.c &sc->sa.agf_bp, &sc->sa.agfl_bp); sa 835 fs/xfs/scrub/agheader.c xchk_buffer_recheck(sc, sc->sa.agi_bp); sa 837 fs/xfs/scrub/agheader.c agi = XFS_BUF_TO_AGI(sc->sa.agi_bp); sa 842 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 847 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 851 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 856 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 860 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 868 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 873 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 877 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 883 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 887 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 892 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 894 fs/xfs/scrub/agheader.c xchk_block_set_corrupt(sc, sc->sa.agi_bp); sa 96 fs/xfs/scrub/agheader_repair.c if (!xfs_verify_agbno(mp, sc->sa.agno, agbno)) sa 190 fs/xfs/scrub/agheader_repair.c agf->agf_seqno = cpu_to_be32(sc->sa.agno); sa 191 fs/xfs/scrub/agheader_repair.c agf->agf_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); sa 199 fs/xfs/scrub/agheader_repair.c ASSERT(sc->sa.pag->pagf_init); sa 200 fs/xfs/scrub/agheader_repair.c sc->sa.pag->pagf_init = 0; sa 248 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, sa 262 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, sa 271 fs/xfs/scrub/agheader_repair.c cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); sa 284 fs/xfs/scrub/agheader_repair.c sc->sa.agno); sa 315 fs/xfs/scrub/agheader_repair.c pag = sc->sa.pag; sa 368 fs/xfs/scrub/agheader_repair.c xchk_perag_get(sc->mp, &sc->sa); sa 374 fs/xfs/scrub/agheader_repair.c XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGF_DADDR(mp)), sa 390 fs/xfs/scrub/agheader_repair.c error = xfs_alloc_read_agfl(mp, sc->tp, sc->sa.agno, &agfl_bp); sa 423 fs/xfs/scrub/agheader_repair.c sc->sa.pag->pagf_init = 0; sa 494 fs/xfs/scrub/agheader_repair.c cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); sa 501 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, sa 509 fs/xfs/scrub/agheader_repair.c cur = xfs_allocbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno, sa 561 fs/xfs/scrub/agheader_repair.c if (sc->sa.pag->pagf_init) sa 562 fs/xfs/scrub/agheader_repair.c sc->sa.pag->pagf_flcount = flcount; sa 596 fs/xfs/scrub/agheader_repair.c agfl->agfl_seqno = cpu_to_be32(sc->sa.agno); sa 609 fs/xfs/scrub/agheader_repair.c trace_xrep_agfl_insert(mp, sc->sa.agno, agbno, br->len); sa 651 fs/xfs/scrub/agheader_repair.c xchk_perag_get(sc->mp, &sc->sa); sa 659 fs/xfs/scrub/agheader_repair.c error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp); sa 670 fs/xfs/scrub/agheader_repair.c XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGFL_DADDR(mp)), sa 694 fs/xfs/scrub/agheader_repair.c sc->sa.agf_bp = agf_bp; sa 695 fs/xfs/scrub/agheader_repair.c sc->sa.agfl_bp = agfl_bp; sa 735 fs/xfs/scrub/agheader_repair.c error = xfs_alloc_read_agf(mp, sc->tp, sc->sa.agno, 0, &agf_bp); sa 775 fs/xfs/scrub/agheader_repair.c agi->agi_seqno = cpu_to_be32(sc->sa.agno); sa 776 fs/xfs/scrub/agheader_repair.c agi->agi_length = cpu_to_be32(xfs_ag_block_count(mp, sc->sa.agno)); sa 787 fs/xfs/scrub/agheader_repair.c ASSERT(sc->sa.pag->pagi_init); sa 788 fs/xfs/scrub/agheader_repair.c sc->sa.pag->pagi_init = 0; sa 820 fs/xfs/scrub/agheader_repair.c cur = xfs_inobt_init_cursor(mp, sc->tp, agi_bp, sc->sa.agno, sa 852 fs/xfs/scrub/agheader_repair.c pag = sc->sa.pag; sa 888 fs/xfs/scrub/agheader_repair.c xchk_perag_get(sc->mp, &sc->sa); sa 894 fs/xfs/scrub/agheader_repair.c XFS_AG_DADDR(mp, sc->sa.agno, XFS_AGI_DADDR(mp)), sa 918 fs/xfs/scrub/agheader_repair.c sc->sa.pag->pagi_init = 0; sa 48 fs/xfs/scrub/alloc.c pcur = &sc->sa.cnt_cur; sa 50 fs/xfs/scrub/alloc.c pcur = &sc->sa.bno_cur; sa 122 fs/xfs/scrub/alloc.c cur = which == XFS_BTNUM_BNO ? sc->sa.bno_cur : sc->sa.cnt_cur; sa 150 fs/xfs/scrub/alloc.c if (!sc->sa.bno_cur || xchk_skip_xref(sc->sm)) sa 153 fs/xfs/scrub/alloc.c error = xfs_alloc_has_record(sc->sa.bno_cur, agbno, len, &is_freesp); sa 154 fs/xfs/scrub/alloc.c if (!xchk_should_check_xref(sc, &error, &sc->sa.bno_cur)) sa 157 fs/xfs/scrub/alloc.c xchk_btree_xref_set_corrupt(sc, sc->sa.bno_cur, 0); sa 114 fs/xfs/scrub/bmap.c error = xfs_rmap_lookup_le_range(info->sc->sa.rmap_cur, agbno, sa 117 fs/xfs/scrub/bmap.c &info->sc->sa.rmap_cur)) sa 125 fs/xfs/scrub/bmap.c error = xfs_rmap_lookup_le(info->sc->sa.rmap_cur, agbno, 0, owner, sa 128 fs/xfs/scrub/bmap.c &info->sc->sa.rmap_cur)) sa 133 fs/xfs/scrub/bmap.c error = xfs_rmap_get_rec(info->sc->sa.rmap_cur, rmap, &has_rmap); sa 135 fs/xfs/scrub/bmap.c &info->sc->sa.rmap_cur)) sa 156 fs/xfs/scrub/bmap.c if (!info->sc->sa.rmap_cur || xchk_skip_xref(info->sc->sm)) sa 243 fs/xfs/scrub/bmap.c error = xchk_ag_init(info->sc, agno, &info->sc->sa); sa 266 fs/xfs/scrub/bmap.c xchk_ag_free(info->sc, &info->sc->sa); sa 376 fs/xfs/scrub/btree.c error = xchk_ag_init(bs->sc, agno, &bs->sc->sa); sa 388 fs/xfs/scrub/btree.c if (!bs->sc->sa.bno_cur && btnum == XFS_BTNUM_BNO) sa 392 fs/xfs/scrub/btree.c if (!bs->sc->sa.rmap_cur && btnum == XFS_BTNUM_RMAP) sa 396 fs/xfs/scrub/btree.c xchk_ag_free(bs->sc, &bs->sc->sa); sa 431 fs/xfs/scrub/common.c struct xchk_ag *sa) sa 433 fs/xfs/scrub/common.c if (sa->refc_cur) sa 434 fs/xfs/scrub/common.c xfs_btree_del_cursor(sa->refc_cur, XFS_BTREE_ERROR); sa 435 fs/xfs/scrub/common.c if (sa->rmap_cur) sa 436 fs/xfs/scrub/common.c xfs_btree_del_cursor(sa->rmap_cur, XFS_BTREE_ERROR); sa 437 fs/xfs/scrub/common.c if (sa->fino_cur) sa 438 fs/xfs/scrub/common.c xfs_btree_del_cursor(sa->fino_cur, XFS_BTREE_ERROR); sa 439 fs/xfs/scrub/common.c if (sa->ino_cur) sa 440 fs/xfs/scrub/common.c xfs_btree_del_cursor(sa->ino_cur, XFS_BTREE_ERROR); sa 441 fs/xfs/scrub/common.c if (sa->cnt_cur) sa 442 fs/xfs/scrub/common.c xfs_btree_del_cursor(sa->cnt_cur, XFS_BTREE_ERROR); sa 443 fs/xfs/scrub/common.c if (sa->bno_cur) sa 444 fs/xfs/scrub/common.c xfs_btree_del_cursor(sa->bno_cur, XFS_BTREE_ERROR); sa 446 fs/xfs/scrub/common.c sa->refc_cur = NULL; sa 447 fs/xfs/scrub/common.c sa->rmap_cur = NULL; sa 448 fs/xfs/scrub/common.c sa->fino_cur = NULL; sa 449 fs/xfs/scrub/common.c sa->ino_cur = NULL; sa 450 fs/xfs/scrub/common.c sa->bno_cur = NULL; sa 451 fs/xfs/scrub/common.c sa->cnt_cur = NULL; sa 458 fs/xfs/scrub/common.c struct xchk_ag *sa) sa 461 fs/xfs/scrub/common.c xfs_agnumber_t agno = sa->agno; sa 463 fs/xfs/scrub/common.c xchk_perag_get(sc->mp, sa); sa 464 fs/xfs/scrub/common.c if (sa->agf_bp && sa 465 fs/xfs/scrub/common.c xchk_ag_btree_healthy_enough(sc, sa->pag, XFS_BTNUM_BNO)) { sa 467 fs/xfs/scrub/common.c sa->bno_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, sa 469 fs/xfs/scrub/common.c if (!sa->bno_cur) sa 473 fs/xfs/scrub/common.c if (sa->agf_bp && sa 474 fs/xfs/scrub/common.c xchk_ag_btree_healthy_enough(sc, sa->pag, XFS_BTNUM_CNT)) { sa 476 fs/xfs/scrub/common.c sa->cnt_cur = xfs_allocbt_init_cursor(mp, sc->tp, sa->agf_bp, sa 478 fs/xfs/scrub/common.c if (!sa->cnt_cur) sa 483 fs/xfs/scrub/common.c if (sa->agi_bp && sa 484 fs/xfs/scrub/common.c xchk_ag_btree_healthy_enough(sc, sa->pag, XFS_BTNUM_INO)) { sa 485 fs/xfs/scrub/common.c sa->ino_cur = xfs_inobt_init_cursor(mp, sc->tp, sa->agi_bp, sa 487 fs/xfs/scrub/common.c if (!sa->ino_cur) sa 492 fs/xfs/scrub/common.c if (sa->agi_bp && xfs_sb_version_hasfinobt(&mp->m_sb) && sa 493 fs/xfs/scrub/common.c xchk_ag_btree_healthy_enough(sc, sa->pag, XFS_BTNUM_FINO)) { sa 494 fs/xfs/scrub/common.c sa->fino_cur = xfs_inobt_init_cursor(mp, sc->tp, sa->agi_bp, sa 496 fs/xfs/scrub/common.c if (!sa->fino_cur) sa 501 fs/xfs/scrub/common.c if (sa->agf_bp && xfs_sb_version_hasrmapbt(&mp->m_sb) && sa 502 fs/xfs/scrub/common.c xchk_ag_btree_healthy_enough(sc, sa->pag, XFS_BTNUM_RMAP)) { sa 503 fs/xfs/scrub/common.c sa->rmap_cur = xfs_rmapbt_init_cursor(mp, sc->tp, sa->agf_bp, sa 505 fs/xfs/scrub/common.c if (!sa->rmap_cur) sa 510 fs/xfs/scrub/common.c if (sa->agf_bp && xfs_sb_version_hasreflink(&mp->m_sb) && sa 511 fs/xfs/scrub/common.c xchk_ag_btree_healthy_enough(sc, sa->pag, XFS_BTNUM_REFC)) { sa 512 fs/xfs/scrub/common.c sa->refc_cur = xfs_refcountbt_init_cursor(mp, sc->tp, sa 513 fs/xfs/scrub/common.c sa->agf_bp, agno); sa 514 fs/xfs/scrub/common.c if (!sa->refc_cur) sa 527 fs/xfs/scrub/common.c struct xchk_ag *sa) sa 529 fs/xfs/scrub/common.c xchk_ag_btcur_free(sa); sa 530 fs/xfs/scrub/common.c if (sa->agfl_bp) { sa 531 fs/xfs/scrub/common.c xfs_trans_brelse(sc->tp, sa->agfl_bp); sa 532 fs/xfs/scrub/common.c sa->agfl_bp = NULL; sa 534 fs/xfs/scrub/common.c if (sa->agf_bp) { sa 535 fs/xfs/scrub/common.c xfs_trans_brelse(sc->tp, sa->agf_bp); sa 536 fs/xfs/scrub/common.c sa->agf_bp = NULL; sa 538 fs/xfs/scrub/common.c if (sa->agi_bp) { sa 539 fs/xfs/scrub/common.c xfs_trans_brelse(sc->tp, sa->agi_bp); sa 540 fs/xfs/scrub/common.c sa->agi_bp = NULL; sa 542 fs/xfs/scrub/common.c if (sa->pag) { sa 543 fs/xfs/scrub/common.c xfs_perag_put(sa->pag); sa 544 fs/xfs/scrub/common.c sa->pag = NULL; sa 546 fs/xfs/scrub/common.c sa->agno = NULLAGNUMBER; sa 560 fs/xfs/scrub/common.c struct xchk_ag *sa) sa 564 fs/xfs/scrub/common.c sa->agno = agno; sa 565 fs/xfs/scrub/common.c error = xchk_ag_read_headers(sc, agno, &sa->agi_bp, sa 566 fs/xfs/scrub/common.c &sa->agf_bp, &sa->agfl_bp); sa 570 fs/xfs/scrub/common.c return xchk_ag_btcur_init(sc, sa); sa 580 fs/xfs/scrub/common.c struct xchk_ag *sa) sa 582 fs/xfs/scrub/common.c if (!sa->pag) sa 583 fs/xfs/scrub/common.c sa->pag = xfs_perag_get(mp, sa->agno); sa 648 fs/xfs/scrub/common.c return xchk_ag_init(sc, sc->sm->sm_agno, &sc->sa); sa 118 fs/xfs/scrub/common.h void xchk_ag_free(struct xfs_scrub *sc, struct xchk_ag *sa); sa 120 fs/xfs/scrub/common.h struct xchk_ag *sa); sa 121 fs/xfs/scrub/common.h void xchk_perag_get(struct xfs_mount *mp, struct xchk_ag *sa); sa 125 fs/xfs/scrub/common.h void xchk_ag_btcur_free(struct xchk_ag *sa); sa 126 fs/xfs/scrub/common.h int xchk_ag_btcur_init(struct xfs_scrub *sc, struct xchk_ag *sa); sa 67 fs/xfs/scrub/ialloc.c pcur = &sc->sa.ino_cur; sa 69 fs/xfs/scrub/ialloc.c pcur = &sc->sa.fino_cur; sa 521 fs/xfs/scrub/ialloc.c if (!sc->sa.ino_cur || !sc->sa.rmap_cur || sa 522 fs/xfs/scrub/ialloc.c (xfs_sb_version_hasfinobt(&sc->mp->m_sb) && !sc->sa.fino_cur) || sa 527 fs/xfs/scrub/ialloc.c error = xfs_btree_count_blocks(sc->sa.ino_cur, &inobt_blocks); sa 531 fs/xfs/scrub/ialloc.c if (sc->sa.fino_cur) { sa 532 fs/xfs/scrub/ialloc.c error = xfs_btree_count_blocks(sc->sa.fino_cur, &finobt_blocks); sa 537 fs/xfs/scrub/ialloc.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, sa 539 fs/xfs/scrub/ialloc.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 542 fs/xfs/scrub/ialloc.c xchk_btree_set_corrupt(sc, sc->sa.ino_cur, 0); sa 559 fs/xfs/scrub/ialloc.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) sa 563 fs/xfs/scrub/ialloc.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, sa 565 fs/xfs/scrub/ialloc.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 569 fs/xfs/scrub/ialloc.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); sa 586 fs/xfs/scrub/ialloc.c cur = which == XFS_BTNUM_INO ? sc->sa.ino_cur : sc->sa.fino_cur; sa 650 fs/xfs/scrub/ialloc.c xchk_xref_inode_check(sc, agbno, len, &sc->sa.ino_cur, false); sa 651 fs/xfs/scrub/ialloc.c xchk_xref_inode_check(sc, agbno, len, &sc->sa.fino_cur, false); sa 661 fs/xfs/scrub/ialloc.c xchk_xref_inode_check(sc, agbno, len, &sc->sa.ino_cur, true); sa 429 fs/xfs/scrub/inode.c if (!sc->sa.fino_cur || xchk_skip_xref(sc->sm)) sa 438 fs/xfs/scrub/inode.c error = xfs_inobt_lookup(sc->sa.fino_cur, agino, XFS_LOOKUP_LE, sa 440 fs/xfs/scrub/inode.c if (!xchk_should_check_xref(sc, &error, &sc->sa.fino_cur) || sa 444 fs/xfs/scrub/inode.c error = xfs_inobt_get_rec(sc->sa.fino_cur, &rec, &has_record); sa 445 fs/xfs/scrub/inode.c if (!xchk_should_check_xref(sc, &error, &sc->sa.fino_cur) || sa 458 fs/xfs/scrub/inode.c xchk_btree_xref_set_corrupt(sc, sc->sa.fino_cur, 0); sa 512 fs/xfs/scrub/inode.c error = xchk_ag_init(sc, agno, &sc->sa); sa 522 fs/xfs/scrub/inode.c xchk_ag_free(sc, &sc->sa); sa 289 fs/xfs/scrub/refcount.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) sa 299 fs/xfs/scrub/refcount.c error = xfs_rmap_query_range(sc->sa.rmap_cur, &low, &high, sa 301 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 306 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); sa 381 fs/xfs/scrub/refcount.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) sa 385 fs/xfs/scrub/refcount.c error = xfs_btree_count_blocks(sc->sa.refc_cur, &refcbt_blocks); sa 386 fs/xfs/scrub/refcount.c if (!xchk_btree_process_error(sc, sc->sa.refc_cur, 0, &error)) sa 388 fs/xfs/scrub/refcount.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, sa 390 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 393 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); sa 396 fs/xfs/scrub/refcount.c error = xchk_count_rmap_ownedby_ag(sc, sc->sa.rmap_cur, sa 398 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 401 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); sa 412 fs/xfs/scrub/refcount.c error = xchk_btree(sc, sc->sa.refc_cur, xchk_refcountbt_rec, sa 434 fs/xfs/scrub/refcount.c if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) sa 438 fs/xfs/scrub/refcount.c error = xfs_refcount_lookup_le(sc->sa.refc_cur, sa 440 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) sa 443 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); sa 447 fs/xfs/scrub/refcount.c error = xfs_refcount_get_rec(sc->sa.refc_cur, &rc, &has_refcount); sa 448 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) sa 451 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); sa 458 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); sa 462 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); sa 478 fs/xfs/scrub/refcount.c if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) sa 481 fs/xfs/scrub/refcount.c error = xfs_refcount_has_record(sc->sa.refc_cur, agbno, len, &shared); sa 482 fs/xfs/scrub/refcount.c if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) sa 485 fs/xfs/scrub/refcount.c xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); sa 47 fs/xfs/scrub/repair.c xchk_ag_btcur_free(&sc->sa); sa 124 fs/xfs/scrub/repair.c if (sc->sa.agi_bp) sa 125 fs/xfs/scrub/repair.c xfs_trans_bhold(sc->tp, sc->sa.agi_bp); sa 126 fs/xfs/scrub/repair.c if (sc->sa.agf_bp) sa 127 fs/xfs/scrub/repair.c xfs_trans_bhold(sc->tp, sc->sa.agf_bp); sa 128 fs/xfs/scrub/repair.c if (sc->sa.agfl_bp) sa 129 fs/xfs/scrub/repair.c xfs_trans_bhold(sc->tp, sc->sa.agfl_bp); sa 143 fs/xfs/scrub/repair.c if (sc->sa.agi_bp) sa 144 fs/xfs/scrub/repair.c xfs_trans_bjoin(sc->tp, sc->sa.agi_bp); sa 145 fs/xfs/scrub/repair.c if (sc->sa.agf_bp) sa 146 fs/xfs/scrub/repair.c xfs_trans_bjoin(sc->tp, sc->sa.agf_bp); sa 147 fs/xfs/scrub/repair.c if (sc->sa.agfl_bp) sa 148 fs/xfs/scrub/repair.c xfs_trans_bjoin(sc->tp, sc->sa.agfl_bp); sa 296 fs/xfs/scrub/repair.c error = xfs_alloc_get_freelist(sc->tp, sc->sa.agf_bp, &bno, 1); sa 301 fs/xfs/scrub/repair.c xfs_extent_busy_reuse(sc->mp, sc->sa.agno, bno, sa 303 fs/xfs/scrub/repair.c *fsbno = XFS_AGB_TO_FSB(sc->mp, sc->sa.agno, bno); sa 305 fs/xfs/scrub/repair.c xfs_ag_resv_rmapbt_alloc(sc->mp, sc->sa.agno); sa 314 fs/xfs/scrub/repair.c args.fsbno = XFS_AGB_TO_FSB(args.mp, sc->sa.agno, 0); sa 348 fs/xfs/scrub/repair.c ASSERT(XFS_FSB_TO_AGNO(mp, fsb) == sc->sa.agno); sa 352 fs/xfs/scrub/repair.c xfs_btree_init_block(mp, bp, btnum, 0, 0, sc->sa.agno); sa 474 fs/xfs/scrub/repair.c args.agno = sc->sa.agno; sa 476 fs/xfs/scrub/repair.c args.pag = sc->sa.pag; sa 502 fs/xfs/scrub/repair.c error = xfs_rmap_alloc(sc->tp, sc->sa.agf_bp, sc->sa.agno, agbno, 1, sa 508 fs/xfs/scrub/repair.c error = xfs_alloc_put_freelist(sc->tp, sc->sa.agf_bp, sc->sa.agfl_bp, sa 512 fs/xfs/scrub/repair.c xfs_extent_busy_insert(sc->tp, sc->sa.agno, agbno, 1, sa 548 fs/xfs/scrub/repair.c agf_bp = sc->sa.agf_bp; sa 577 fs/xfs/scrub/repair.c if (agf_bp != sc->sa.agf_bp) sa 587 fs/xfs/scrub/repair.c if (agf_bp != sc->sa.agf_bp) sa 609 fs/xfs/scrub/repair.c XFS_FSB_TO_AGNO(sc->mp, fsbno) == sc->sa.agno); sa 686 fs/xfs/scrub/repair.c daddr = XFS_AGB_TO_DADDR(mp, ri->sc->sa.agno, agbno); sa 815 fs/xfs/scrub/repair.c trace_xrep_findroot_block(mp, ri->sc->sa.agno, agbno, sa 889 fs/xfs/scrub/repair.c cur = xfs_rmapbt_init_cursor(mp, sc->tp, agf_bp, sc->sa.agno); sa 46 fs/xfs/scrub/rmap.c if (!sc->sa.refc_cur || xchk_skip_xref(sc->sm)) sa 55 fs/xfs/scrub/rmap.c error = xfs_refcount_find_shared(sc->sa.refc_cur, irec->rm_startblock, sa 57 fs/xfs/scrub/rmap.c if (!xchk_should_check_xref(sc, &error, &sc->sa.refc_cur)) sa 60 fs/xfs/scrub/rmap.c xchk_btree_xref_set_corrupt(sc, sc->sa.refc_cur, 0); sa 168 fs/xfs/scrub/rmap.c return xchk_btree(sc, sc->sa.rmap_cur, xchk_rmapbt_rec, sa 184 fs/xfs/scrub/rmap.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) sa 187 fs/xfs/scrub/rmap.c error = xfs_rmap_record_exists(sc->sa.rmap_cur, bno, len, oinfo, sa 189 fs/xfs/scrub/rmap.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 192 fs/xfs/scrub/rmap.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); sa 227 fs/xfs/scrub/rmap.c if (!sc->sa.rmap_cur || xchk_skip_xref(sc->sm)) sa 230 fs/xfs/scrub/rmap.c error = xfs_rmap_has_record(sc->sa.rmap_cur, bno, len, &has_rmap); sa 231 fs/xfs/scrub/rmap.c if (!xchk_should_check_xref(sc, &error, &sc->sa.rmap_cur)) sa 234 fs/xfs/scrub/rmap.c xchk_btree_xref_set_corrupt(sc, sc->sa.rmap_cur, 0); sa 154 fs/xfs/scrub/scrub.c xchk_ag_free(sc, &sc->sa); sa 463 fs/xfs/scrub/scrub.c .sa = { sa 77 fs/xfs/scrub/scrub.h struct xchk_ag sa; sa 28 fs/xfs/xfs_attr_list.c xfs_attr_sf_sort_t *sa, *sb; sa 30 fs/xfs/xfs_attr_list.c sa = (xfs_attr_sf_sort_t *)a; sa 32 fs/xfs/xfs_attr_list.c if (sa->hash < sb->hash) { sa 34 fs/xfs/xfs_attr_list.c } else if (sa->hash > sb->hash) { sa 37 fs/xfs/xfs_attr_list.c return sa->entno - sb->entno; sa 124 include/linux/atalk.h extern struct net_device *atrtr_get_dev(struct atalk_addr *sa); sa 127 include/linux/atalk.h struct atalk_addr *sa, void *hwaddr); sa 131 include/linux/atalk.h struct atalk_addr *sa); sa 133 include/linux/atalk.h struct atalk_addr *sa); sa 905 include/linux/ieee80211.h u8 sa[ETH_ALEN]; sa 1158 include/linux/ieee80211.h u8 sa[ETH_ALEN]; sa 3680 include/linux/netdevice.h int dev_set_mac_address(struct net_device *dev, struct sockaddr *sa, sa 547 include/linux/sched/signal.h if (unlikely((ksig->ka.sa.sa_flags & SA_ONSTACK)) && ! sas_ss_flags(sp)) sa 440 include/linux/signal.h (t)->sighand->action[(signr)-1].sa.sa_handler == SIG_DFL) sa 50 include/linux/signal_types.h struct sigaction sa; sa 176 include/linux/sunrpc/addr.h static inline u32 rpc_get_scope_id(const struct sockaddr *sa) sa 178 include/linux/sunrpc/addr.h if (sa->sa_family != AF_INET6) sa 181 include/linux/sunrpc/addr.h return ((struct sockaddr_in6 *) sa)->sin6_scope_id; sa 144 include/linux/sunrpc/svc_xprt.h const struct sockaddr *sa, sa 147 include/linux/sunrpc/svc_xprt.h memcpy(&xprt->xpt_local, sa, salen); sa 151 include/linux/sunrpc/svc_xprt.h const struct sockaddr *sa, sa 154 include/linux/sunrpc/svc_xprt.h memcpy(&xprt->xpt_remote, sa, salen); sa 157 include/linux/sunrpc/svc_xprt.h "%pISpc", sa); sa 160 include/linux/sunrpc/svc_xprt.h static inline unsigned short svc_addr_port(const struct sockaddr *sa) sa 162 include/linux/sunrpc/svc_xprt.h const struct sockaddr_in *sin = (const struct sockaddr_in *)sa; sa 163 include/linux/sunrpc/svc_xprt.h const struct sockaddr_in6 *sin6 = (const struct sockaddr_in6 *)sa; sa 165 include/linux/sunrpc/svc_xprt.h switch (sa->sa_family) { sa 175 include/linux/sunrpc/svc_xprt.h static inline size_t svc_addr_len(const struct sockaddr *sa) sa 177 include/linux/sunrpc/svc_xprt.h switch (sa->sa_family) { sa 169 include/net/ieee802154_netdev.h const struct ieee802154_addr_sa *sa) sa 171 include/net/ieee802154_netdev.h a->mode = sa->addr_type; sa 172 include/net/ieee802154_netdev.h a->pan_id = cpu_to_le16(sa->pan_id); sa 176 include/net/ieee802154_netdev.h a->short_addr = cpu_to_le16(sa->short_addr); sa 179 include/net/ieee802154_netdev.h a->extended_addr = ieee802154_devaddr_from_raw(sa->hwaddr); sa 184 include/net/ieee802154_netdev.h static inline void ieee802154_addr_to_sa(struct ieee802154_addr_sa *sa, sa 187 include/net/ieee802154_netdev.h sa->addr_type = a->mode; sa 188 include/net/ieee802154_netdev.h sa->pan_id = le16_to_cpu(a->pan_id); sa 192 include/net/ieee802154_netdev.h sa->short_addr = le16_to_cpu(a->short_addr); sa 195 include/net/ieee802154_netdev.h ieee802154_devaddr_to_raw(sa->hwaddr, a->extended_addr); sa 101 include/net/llc.h int llc_mac_hdr_init(struct sk_buff *skb, const unsigned char *sa, sa 251 include/net/llc_pdu.h static inline void llc_pdu_decode_sa(struct sk_buff *skb, u8 *sa) sa 254 include/net/llc_pdu.h memcpy(sa, eth_hdr(skb)->h_source, ETH_ALEN); sa 38 include/net/phonet/phonet.h struct sock *pn_find_sock_by_sa(struct net *net, const struct sockaddr_pn *sa); sa 68 include/net/phonet/phonet.h void pn_skb_get_src_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) sa 73 include/net/phonet/phonet.h sa->spn_family = AF_PHONET; sa 74 include/net/phonet/phonet.h pn_sockaddr_set_object(sa, obj); sa 75 include/net/phonet/phonet.h pn_sockaddr_set_resource(sa, ph->pn_res); sa 76 include/net/phonet/phonet.h memset(sa->spn_zero, 0, sizeof(sa->spn_zero)); sa 80 include/net/phonet/phonet.h void pn_skb_get_dst_sockaddr(struct sk_buff *skb, struct sockaddr_pn *sa) sa 85 include/net/phonet/phonet.h sa->spn_family = AF_PHONET; sa 86 include/net/phonet/phonet.h pn_sockaddr_set_object(sa, obj); sa 87 include/net/phonet/phonet.h pn_sockaddr_set_resource(sa, ph->pn_res); sa 88 include/net/phonet/phonet.h memset(sa->spn_zero, 0, sizeof(sa->spn_zero)); sa 56 include/net/sctp/structs.h struct sockaddr sa; sa 191 include/net/vxlan.h struct sockaddr sa; sa 384 include/net/vxlan.h if (ipa->sa.sa_family == AF_INET6) sa 392 include/net/vxlan.h if (ipa->sa.sa_family == AF_INET6) sa 30 include/scsi/scsi_dbg.h scsi_opcode_sa_name(int cmd, int sa, sa 113 include/trace/events/signal.h __entry->sa_handler = (unsigned long)ka->sa.sa_handler; sa 114 include/trace/events/signal.h __entry->sa_flags = ka->sa.sa_flags; sa 198 kernel/pid_namespace.c me->sighand->action[SIGCHLD - 1].sa.sa_handler = SIG_IGN; sa 503 kernel/ptrace.c ret = (sigh->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) || sa 504 kernel/ptrace.c (sigh->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT); sa 734 kernel/sched/fair.c struct sched_avg *sa = &se->avg; sa 736 kernel/sched/fair.c memset(sa, 0, sizeof(*sa)); sa 745 kernel/sched/fair.c sa->runnable_load_avg = sa->load_avg = scale_load_down(se->load.weight); sa 784 kernel/sched/fair.c struct sched_avg *sa = &se->avg; sa 790 kernel/sched/fair.c sa->util_avg = cfs_rq->avg.util_avg * se->load.weight; sa 791 kernel/sched/fair.c sa->util_avg /= (cfs_rq->avg.load_avg + 1); sa 793 kernel/sched/fair.c if (sa->util_avg > cap) sa 794 kernel/sched/fair.c sa->util_avg = cap; sa 796 kernel/sched/fair.c sa->util_avg = cap; sa 3473 kernel/sched/fair.c struct sched_avg *sa = &cfs_rq->avg; sa 3478 kernel/sched/fair.c u32 divider = LOAD_AVG_MAX - 1024 + sa->period_contrib; sa 3488 kernel/sched/fair.c sub_positive(&sa->load_avg, r); sa 3489 kernel/sched/fair.c sub_positive(&sa->load_sum, r * divider); sa 3492 kernel/sched/fair.c sub_positive(&sa->util_avg, r); sa 3493 kernel/sched/fair.c sub_positive(&sa->util_sum, r * divider); sa 3504 kernel/sched/fair.c cfs_rq->load_last_update_time_copy = sa->last_update_time; sa 110 kernel/sched/pelt.c accumulate_sum(u64 delta, struct sched_avg *sa, sa 116 kernel/sched/pelt.c delta += sa->period_contrib; sa 123 kernel/sched/pelt.c sa->load_sum = decay_load(sa->load_sum, periods); sa 124 kernel/sched/pelt.c sa->runnable_load_sum = sa 125 kernel/sched/pelt.c decay_load(sa->runnable_load_sum, periods); sa 126 kernel/sched/pelt.c sa->util_sum = decay_load((u64)(sa->util_sum), periods); sa 133 kernel/sched/pelt.c 1024 - sa->period_contrib, delta); sa 135 kernel/sched/pelt.c sa->period_contrib = delta; sa 138 kernel/sched/pelt.c sa->load_sum += load * contrib; sa 140 kernel/sched/pelt.c sa->runnable_load_sum += runnable * contrib; sa 142 kernel/sched/pelt.c sa->util_sum += contrib << SCHED_CAPACITY_SHIFT; sa 176 kernel/sched/pelt.c ___update_load_sum(u64 now, struct sched_avg *sa, sa 181 kernel/sched/pelt.c delta = now - sa->last_update_time; sa 187 kernel/sched/pelt.c sa->last_update_time = now; sa 199 kernel/sched/pelt.c sa->last_update_time += delta << 10; sa 220 kernel/sched/pelt.c if (!accumulate_sum(delta, sa, load, runnable, running)) sa 227 kernel/sched/pelt.c ___update_load_avg(struct sched_avg *sa, unsigned long load, unsigned long runnable) sa 229 kernel/sched/pelt.c u32 divider = LOAD_AVG_MAX - 1024 + sa->period_contrib; sa 234 kernel/sched/pelt.c sa->load_avg = div_u64(load * sa->load_sum, divider); sa 235 kernel/sched/pelt.c sa->runnable_load_avg = div_u64(runnable * sa->runnable_load_sum, divider); sa 236 kernel/sched/pelt.c WRITE_ONCE(sa->util_avg, sa->util_sum / divider); sa 69 kernel/signal.c return t->sighand->action[sig - 1].sa.sa_handler; sa 528 kernel/signal.c t->sighand->action[i].sa.sa_handler = SIG_IGN; sa 543 kernel/signal.c if (force_default || ka->sa.sa_handler != SIG_IGN) sa 544 kernel/signal.c ka->sa.sa_handler = SIG_DFL; sa 545 kernel/signal.c ka->sa.sa_flags = 0; sa 547 kernel/signal.c ka->sa.sa_restorer = NULL; sa 549 kernel/signal.c sigemptyset(&ka->sa.sa_mask); sa 556 kernel/signal.c void __user *handler = tsk->sighand->action[sig-1].sa.sa_handler; sa 1318 kernel/signal.c ignored = action->sa.sa_handler == SIG_IGN; sa 1321 kernel/signal.c action->sa.sa_handler = SIG_DFL; sa 1331 kernel/signal.c if (action->sa.sa_handler == SIG_DFL && !t->ptrace) sa 1650 kernel/signal.c p->sighand->action[sig - 1].sa.sa_handler = SIG_DFL; sa 1975 kernel/signal.c (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN || sa 1976 kernel/signal.c (psig->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDWAIT))) { sa 1993 kernel/signal.c if (psig->action[SIGCHLD-1].sa.sa_handler == SIG_IGN) sa 2069 kernel/signal.c if (sighand->action[SIGCHLD-1].sa.sa_handler != SIG_IGN && sa 2070 kernel/signal.c !(sighand->action[SIGCHLD-1].sa.sa_flags & SA_NOCLDSTOP)) sa 2649 kernel/signal.c if (ka->sa.sa_handler == SIG_IGN) /* Do nothing. */ sa 2651 kernel/signal.c if (ka->sa.sa_handler != SIG_DFL) { sa 2655 kernel/signal.c if (ka->sa.sa_flags & SA_ONESHOT) sa 2656 kernel/signal.c ka->sa.sa_handler = SIG_DFL; sa 2772 kernel/signal.c sigorsets(&blocked, ¤t->blocked, &ksig->ka.sa.sa_mask); sa 2773 kernel/signal.c if (!(ksig->ka.sa.sa_flags & SA_NODEFER)) sa 3938 kernel/signal.c current->sighand->action[sig - 1].sa.sa_handler = action; sa 3976 kernel/signal.c sigdelsetmask(&act->sa.sa_mask, sa 4249 kernel/signal.c if (act && copy_from_user(&new_sa.sa, act, sizeof(new_sa.sa))) sa 4256 kernel/signal.c if (oact && copy_to_user(oact, &old_sa.sa, sizeof(old_sa.sa))) sa 4280 kernel/signal.c new_ka.sa.sa_handler = compat_ptr(handler); sa 4283 kernel/signal.c new_ka.sa.sa_restorer = compat_ptr(restorer); sa 4285 kernel/signal.c ret |= get_compat_sigset(&new_ka.sa.sa_mask, &act->sa_mask); sa 4286 kernel/signal.c ret |= get_user(new_ka.sa.sa_flags, &act->sa_flags); sa 4293 kernel/signal.c ret = put_user(ptr_to_compat(old_ka.sa.sa_handler), sa 4295 kernel/signal.c ret |= put_compat_sigset(&oact->sa_mask, &old_ka.sa.sa_mask, sa 4297 kernel/signal.c ret |= put_user(old_ka.sa.sa_flags, &oact->sa_flags); sa 4299 kernel/signal.c ret |= put_user(ptr_to_compat(old_ka.sa.sa_restorer), sa 4319 kernel/signal.c __get_user(new_ka.sa.sa_handler, &act->sa_handler) || sa 4320 kernel/signal.c __get_user(new_ka.sa.sa_restorer, &act->sa_restorer) || sa 4321 kernel/signal.c __get_user(new_ka.sa.sa_flags, &act->sa_flags) || sa 4327 kernel/signal.c siginitset(&new_ka.sa.sa_mask, mask); sa 4334 kernel/signal.c __put_user(old_ka.sa.sa_handler, &oact->sa_handler) || sa 4335 kernel/signal.c __put_user(old_ka.sa.sa_restorer, &oact->sa_restorer) || sa 4336 kernel/signal.c __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || sa 4337 kernel/signal.c __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) sa 4358 kernel/signal.c __get_user(new_ka.sa.sa_flags, &act->sa_flags) || sa 4365 kernel/signal.c new_ka.sa.sa_handler = compat_ptr(handler); sa 4366 kernel/signal.c new_ka.sa.sa_restorer = compat_ptr(restorer); sa 4367 kernel/signal.c siginitset(&new_ka.sa.sa_mask, mask); sa 4374 kernel/signal.c __put_user(ptr_to_compat(old_ka.sa.sa_handler), sa 4376 kernel/signal.c __put_user(ptr_to_compat(old_ka.sa.sa_restorer), sa 4378 kernel/signal.c __put_user(old_ka.sa.sa_flags, &oact->sa_flags) || sa 4379 kernel/signal.c __put_user(old_ka.sa.sa_mask.sig[0], &oact->sa_mask)) sa 4418 kernel/signal.c new_sa.sa.sa_handler = handler; sa 4419 kernel/signal.c new_sa.sa.sa_flags = SA_ONESHOT | SA_NOMASK; sa 4420 kernel/signal.c sigemptyset(&new_sa.sa.sa_mask); sa 4424 kernel/signal.c return ret ? ret : (unsigned long)old_sa.sa.sa_handler; sa 417 lib/test_printf.c struct sockaddr_in sa; sa 419 lib/test_printf.c sa.sin_family = AF_INET; sa 420 lib/test_printf.c sa.sin_port = cpu_to_be16(12345); sa 421 lib/test_printf.c sa.sin_addr.s_addr = cpu_to_be32(0x7f000001); sa 423 lib/test_printf.c test("127.000.000.001|127.0.0.1", "%pi4|%pI4", &sa.sin_addr, &sa.sin_addr); sa 424 lib/test_printf.c test("127.000.000.001|127.0.0.1", "%piS|%pIS", &sa, &sa); sa 425 lib/test_printf.c sa.sin_addr.s_addr = cpu_to_be32(0x01020304); sa 426 lib/test_printf.c test("001.002.003.004:12345|1.2.3.4:12345", "%piSp|%pISp", &sa, &sa); sa 1421 lib/vsprintf.c char *ip6_addr_string_sa(char *buf, char *end, const struct sockaddr_in6 *sa, sa 1429 lib/vsprintf.c const u8 *addr = (const u8 *) &sa->sin6_addr; sa 1466 lib/vsprintf.c p = number(p, pend, ntohs(sa->sin6_port), spec); sa 1470 lib/vsprintf.c p = number(p, pend, ntohl(sa->sin6_flowinfo & sa 1475 lib/vsprintf.c p = number(p, pend, sa->sin6_scope_id, spec); sa 1483 lib/vsprintf.c char *ip4_addr_string_sa(char *buf, char *end, const struct sockaddr_in *sa, sa 1489 lib/vsprintf.c const u8 *addr = (const u8 *) &sa->sin_addr.s_addr; sa 1510 lib/vsprintf.c p = number(p, pend, ntohs(sa->sin_port), spec); sa 1536 lib/vsprintf.c } *sa = ptr; sa 1538 lib/vsprintf.c switch (sa->raw.sa_family) { sa 1540 lib/vsprintf.c return ip4_addr_string_sa(buf, end, &sa->v4, spec, fmt); sa 1542 lib/vsprintf.c return ip6_addr_string_sa(buf, end, &sa->v6, spec, fmt); sa 411 net/appletalk/aarp.c void aarp_proxy_remove(struct net_device *dev, struct atalk_addr *sa) sa 413 net/appletalk/aarp.c int hash = sa->s_node % (AARP_HASH_SIZE - 1); sa 418 net/appletalk/aarp.c a = __aarp_find_entry(proxies[hash], dev, sa); sa 427 net/appletalk/aarp.c struct atalk_addr *sa) sa 429 net/appletalk/aarp.c int hash = sa->s_node % (AARP_HASH_SIZE - 1); sa 430 net/appletalk/aarp.c struct aarp_entry *a = __aarp_find_entry(proxies[hash], dev, sa); sa 432 net/appletalk/aarp.c return a ? sa : NULL; sa 442 net/appletalk/aarp.c struct sockaddr_at *sa = (struct sockaddr_at *)&atreq.ifr_addr; sa 445 net/appletalk/aarp.c sa->sat_addr.s_node = iface->address.s_node; sa 446 net/appletalk/aarp.c sa->sat_addr.s_net = ntohs(iface->address.s_net); sa 451 net/appletalk/aarp.c if (iface->address.s_net != htons(sa->sat_addr.s_net) || sa 452 net/appletalk/aarp.c iface->address.s_node != sa->sat_addr.s_node) sa 455 net/appletalk/aarp.c iface->address.s_net = htons(sa->sat_addr.s_net); sa 456 net/appletalk/aarp.c iface->address.s_node = sa->sat_addr.s_node; sa 481 net/appletalk/aarp.c int aarp_proxy_probe_network(struct atalk_iface *atif, struct atalk_addr *sa) sa 506 net/appletalk/aarp.c entry->target_addr.s_node = sa->s_node; sa 507 net/appletalk/aarp.c entry->target_addr.s_net = sa->s_net; sa 512 net/appletalk/aarp.c hash = sa->s_node % (AARP_HASH_SIZE - 1); sa 517 net/appletalk/aarp.c aarp_send_probe(atif->dev, sa); sa 543 net/appletalk/aarp.c struct atalk_addr *sa, void *hwaddr) sa 583 net/appletalk/aarp.c skb->data[0] = sa->s_node; sa 603 net/appletalk/aarp.c hash = sa->s_node % (AARP_HASH_SIZE - 1); sa 606 net/appletalk/aarp.c if (sa->s_node == ATADDR_BCAST) { sa 613 net/appletalk/aarp.c a = __aarp_find_entry(resolved[hash], dev, sa); sa 623 net/appletalk/aarp.c a = __aarp_find_entry(unresolved[hash], dev, sa); sa 642 net/appletalk/aarp.c a->target_addr = *sa; sa 720 net/appletalk/aarp.c struct atalk_addr sa, *ma, da; sa 746 net/appletalk/aarp.c sa.s_node = ea->pa_src_node; sa 747 net/appletalk/aarp.c sa.s_net = ea->pa_src_net; sa 783 net/appletalk/aarp.c a = __aarp_find_entry(unresolved[hash], dev, &sa); sa 810 net/appletalk/aarp.c sa.s_node = ea->pa_dst_node; sa 811 net/appletalk/aarp.c sa.s_net = ea->pa_dst_net; sa 814 net/appletalk/aarp.c ma = __aarp_proxy_find(dev, &sa); sa 818 net/appletalk/aarp.c da.s_node = sa.s_node; sa 819 net/appletalk/aarp.c da.s_net = sa.s_net; sa 829 net/appletalk/aarp.c a = __aarp_find_entry(resolved[sa.s_node % sa 831 net/appletalk/aarp.c skb->dev, &sa); sa 846 net/appletalk/aarp.c if (sa.s_node != ma->s_node) sa 849 net/appletalk/aarp.c if (sa.s_net && ma->s_net && sa.s_net != ma->s_net) sa 852 net/appletalk/aarp.c sa.s_node = ea->pa_src_node; sa 853 net/appletalk/aarp.c sa.s_net = ea->pa_src_net; sa 857 net/appletalk/aarp.c aarp_send_reply(dev, ma, &sa, ea->hw_src); sa 220 net/appletalk/ddp.c struct atalk_addr *sa) sa 230 net/appletalk/ddp.c iface->address = *sa; sa 475 net/appletalk/ddp.c struct net_device *atrtr_get_dev(struct atalk_addr *sa) sa 477 net/appletalk/ddp.c struct atalk_route *atr = atrtr_find(sa); sa 660 net/appletalk/ddp.c struct sockaddr_at *sa; sa 675 net/appletalk/ddp.c sa = (struct sockaddr_at *)&atreq.ifr_addr; sa 682 net/appletalk/ddp.c if (sa->sat_family != AF_APPLETALK) sa 690 net/appletalk/ddp.c nr = (struct atalk_netrange *)&sa->sat_zero[0]; sa 699 net/appletalk/ddp.c atalk_find_interface(sa->sat_addr.s_net, sa 700 net/appletalk/ddp.c sa->sat_addr.s_node)) { sa 713 net/appletalk/ddp.c if (sa->sat_addr.s_node == ATADDR_BCAST || sa 714 net/appletalk/ddp.c sa->sat_addr.s_node == 254) sa 721 net/appletalk/ddp.c atif->address.s_net = sa->sat_addr.s_net; sa 722 net/appletalk/ddp.c atif->address.s_node = sa->sat_addr.s_node; sa 725 net/appletalk/ddp.c atif = atif_add_device(dev, &sa->sat_addr); sa 744 net/appletalk/ddp.c sa = (struct sockaddr_at *)&rtdef.rt_gateway; sa 745 net/appletalk/ddp.c sa->sat_family = AF_APPLETALK; sa 746 net/appletalk/ddp.c sa->sat_addr.s_net = atif->address.s_net; sa 747 net/appletalk/ddp.c sa->sat_addr.s_node = atif->address.s_node; sa 748 net/appletalk/ddp.c sa = (struct sockaddr_at *)&rtdef.rt_dst; sa 750 net/appletalk/ddp.c sa->sat_family = AF_APPLETALK; sa 751 net/appletalk/ddp.c sa->sat_addr.s_node = ATADDR_ANYNODE; sa 759 net/appletalk/ddp.c sa->sat_addr.s_net = atif->address.s_net; sa 772 net/appletalk/ddp.c sa->sat_addr.s_net = htons(ct); sa 783 net/appletalk/ddp.c sa->sat_family = AF_APPLETALK; sa 784 net/appletalk/ddp.c sa->sat_addr = atif->address; sa 791 net/appletalk/ddp.c sa->sat_family = AF_APPLETALK; sa 792 net/appletalk/ddp.c sa->sat_addr.s_net = atif->address.s_net; sa 793 net/appletalk/ddp.c sa->sat_addr.s_node = ATADDR_BCAST; sa 800 net/appletalk/ddp.c if (sa->sat_family != AF_APPLETALK) sa 808 net/appletalk/ddp.c if (sa->sat_family != AF_APPLETALK) sa 835 net/appletalk/ddp.c if (sa->sat_addr.s_node == ATADDR_BCAST || sa 836 net/appletalk/ddp.c sa->sat_addr.s_node == 254) sa 843 net/appletalk/ddp.c if (atif_proxy_probe_device(atif, &(sa->sat_addr)) < 0) sa 857 net/appletalk/ddp.c if (sa->sat_family != AF_APPLETALK) sa 863 net/appletalk/ddp.c aarp_proxy_remove(atif->dev, &(sa->sat_addr)); sa 586 net/atm/svc.c struct sockaddr_atmsvc sa; sa 593 net/atm/svc.c if (copy_from_user(&sa, (void __user *) arg, sizeof(sa))) sa 595 net/atm/svc.c error = svc_addparty(sock, (struct sockaddr *)&sa, sizeof(sa), sa 339 net/bluetooth/rfcomm/sock.c struct sockaddr_rc sa; sa 347 net/bluetooth/rfcomm/sock.c memset(&sa, 0, sizeof(sa)); sa 348 net/bluetooth/rfcomm/sock.c len = min_t(unsigned int, sizeof(sa), addr_len); sa 349 net/bluetooth/rfcomm/sock.c memcpy(&sa, addr, len); sa 351 net/bluetooth/rfcomm/sock.c BT_DBG("sk %p %pMR", sk, &sa.rc_bdaddr); sa 367 net/bluetooth/rfcomm/sock.c if (sa.rc_channel && sa 368 net/bluetooth/rfcomm/sock.c __rfcomm_get_listen_sock_by_addr(sa.rc_channel, &sa.rc_bdaddr)) { sa 372 net/bluetooth/rfcomm/sock.c bacpy(&rfcomm_pi(sk)->src, &sa.rc_bdaddr); sa 373 net/bluetooth/rfcomm/sock.c rfcomm_pi(sk)->channel = sa.rc_channel; sa 386 net/bluetooth/rfcomm/sock.c struct sockaddr_rc *sa = (struct sockaddr_rc *) addr; sa 410 net/bluetooth/rfcomm/sock.c bacpy(&rfcomm_pi(sk)->dst, &sa->rc_bdaddr); sa 411 net/bluetooth/rfcomm/sock.c rfcomm_pi(sk)->channel = sa->rc_channel; sa 416 net/bluetooth/rfcomm/sock.c err = rfcomm_dlc_open(d, &rfcomm_pi(sk)->src, &sa->rc_bdaddr, sa 417 net/bluetooth/rfcomm/sock.c sa->rc_channel); sa 539 net/bluetooth/rfcomm/sock.c struct sockaddr_rc *sa = (struct sockaddr_rc *) addr; sa 548 net/bluetooth/rfcomm/sock.c memset(sa, 0, sizeof(*sa)); sa 549 net/bluetooth/rfcomm/sock.c sa->rc_family = AF_BLUETOOTH; sa 550 net/bluetooth/rfcomm/sock.c sa->rc_channel = rfcomm_pi(sk)->channel; sa 552 net/bluetooth/rfcomm/sock.c bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->dst); sa 554 net/bluetooth/rfcomm/sock.c bacpy(&sa->rc_bdaddr, &rfcomm_pi(sk)->src); sa 522 net/bluetooth/sco.c struct sockaddr_sco *sa = (struct sockaddr_sco *) addr; sa 530 net/bluetooth/sco.c BT_DBG("sk %p %pMR", sk, &sa->sco_bdaddr); sa 544 net/bluetooth/sco.c bacpy(&sco_pi(sk)->src, &sa->sco_bdaddr); sa 555 net/bluetooth/sco.c struct sockaddr_sco *sa = (struct sockaddr_sco *) addr; sa 574 net/bluetooth/sco.c bacpy(&sco_pi(sk)->dst, &sa->sco_bdaddr); sa 686 net/bluetooth/sco.c struct sockaddr_sco *sa = (struct sockaddr_sco *) addr; sa 694 net/bluetooth/sco.c bacpy(&sa->sco_bdaddr, &sco_pi(sk)->dst); sa 696 net/bluetooth/sco.c bacpy(&sa->sco_bdaddr, &sco_pi(sk)->src); sa 66 net/can/j1939/address-claim.c if (skcb->addr.sa == J1939_NO_ADDR) { sa 97 net/can/j1939/address-claim.c if (ecu->addr != skcb->addr.sa) sa 110 net/can/j1939/address-claim.c skcb->addr.sa = addr; sa 145 net/can/j1939/address-claim.c if (!j1939_address_is_valid(skcb->addr.sa)) { sa 168 net/can/j1939/address-claim.c if (!ecu && j1939_address_is_unicast(skcb->addr.sa)) sa 177 net/can/j1939/address-claim.c if (j1939_address_is_idle(skcb->addr.sa)) { sa 183 net/can/j1939/address-claim.c if (ecu->addr != skcb->addr.sa) sa 185 net/can/j1939/address-claim.c ecu->addr = skcb->addr.sa; sa 187 net/can/j1939/address-claim.c prev = j1939_ecu_get_by_addr_locked(priv, skcb->addr.sa); sa 215 net/can/j1939/address-claim.c } else if (j1939_address_is_unicast(skcb->addr.sa)) { sa 217 net/can/j1939/address-claim.c ecu = j1939_ecu_get_by_addr(priv, skcb->addr.sa); sa 276 net/can/j1939/bus.c int j1939_local_ecu_get(struct j1939_priv *priv, name_t name, u8 sa) sa 283 net/can/j1939/bus.c if (j1939_address_is_unicast(sa)) sa 284 net/can/j1939/bus.c priv->ents[sa].nusers++; sa 308 net/can/j1939/bus.c void j1939_local_ecu_put(struct j1939_priv *priv, name_t name, u8 sa) sa 314 net/can/j1939/bus.c if (j1939_address_is_unicast(sa)) sa 315 net/can/j1939/bus.c priv->ents[sa].nusers--; sa 95 net/can/j1939/j1939-priv.h int j1939_local_ecu_get(struct j1939_priv *priv, name_t name, u8 sa); sa 96 net/can/j1939/j1939-priv.h void j1939_local_ecu_put(struct j1939_priv *priv, name_t name, u8 sa); sa 144 net/can/j1939/j1939-priv.h u8 sa; sa 74 net/can/j1939/main.c skcb->addr.sa = cf->can_id; sa 90 net/can/j1939/main.c if (j1939_address_is_unicast(skcb->addr.sa) && sa 91 net/can/j1939/main.c priv->ents[skcb->addr.sa].nusers) sa 333 net/can/j1939/main.c skcb->addr.sa; sa 225 net/can/j1939/socket.c if (jsk->addr.sa != skcb->addr.da) sa 244 net/can/j1939/socket.c if (jsk->addr.da != skcb->addr.sa) sa 271 net/can/j1939/socket.c if ((skcb->addr.sa & f->addr_mask) != f->addr) sa 393 net/can/j1939/socket.c jsk->addr.sa = J1939_NO_ADDR; sa 453 net/can/j1939/socket.c j1939_local_ecu_put(priv, jsk->addr.src_name, jsk->addr.sa); sa 489 net/can/j1939/socket.c jsk->addr.sa = addr->can_addr.j1939.addr; sa 492 net/can/j1939/socket.c ret = j1939_local_ecu_get(priv, jsk->addr.src_name, jsk->addr.sa); sa 564 net/can/j1939/socket.c addr->can_addr.j1939.addr = jsk->addr.sa; sa 615 net/can/j1939/socket.c jsk->addr.sa); sa 822 net/can/j1939/socket.c paddr->can_addr.j1939.addr = skcb->addr.sa; sa 1113 net/can/j1939/socket.c if (!jsk->addr.src_name && jsk->addr.sa == J1939_NO_ADDR) { sa 456 net/can/j1939/transport.c } else if (se_addr->sa != sk_addr->da) { sa 463 net/can/j1939/transport.c } else if (se_addr->da != sk_addr->sa) { sa 470 net/can/j1939/transport.c } else if (se_addr->sa != sk_addr->sa) { sa 548 net/can/j1939/transport.c swap(skcb->addr.da, skcb->addr.sa); sa 1445 net/can/j1939/transport.c __func__, session, skcb->addr.sa, skcb->addr.da); sa 1597 net/can/j1939/transport.c __func__, session, skcb->addr.sa, skcb->addr.da, sa 1606 net/can/j1939/transport.c if (session->skcb.addr.sa != skcb->addr.sa || sa 1610 net/can/j1939/transport.c session->skcb.addr.sa, skcb->addr.sa, sa 1616 net/can/j1939/transport.c session->skcb.addr.sa = skcb->addr.sa; sa 1916 net/can/j1939/transport.c __func__, skcb->addr.sa); sa 8121 net/core/dev.c int dev_set_mac_address(struct net_device *dev, struct sockaddr *sa, sa 8129 net/core/dev.c if (sa->sa_family != dev->type) sa 8133 net/core/dev.c err = dev_pre_changeaddr_notify(dev, sa->sa_data, extack); sa 8136 net/core/dev.c err = ops->ndo_set_mac_address(dev, sa); sa 2461 net/core/rtnetlink.c struct sockaddr *sa; sa 2465 net/core/rtnetlink.c sizeof(*sa)); sa 2466 net/core/rtnetlink.c sa = kmalloc(len, GFP_KERNEL); sa 2467 net/core/rtnetlink.c if (!sa) { sa 2471 net/core/rtnetlink.c sa->sa_family = dev->type; sa 2472 net/core/rtnetlink.c memcpy(sa->sa_data, nla_data(tb[IFLA_ADDRESS]), sa 2474 net/core/rtnetlink.c err = dev_set_mac_address(dev, sa, extack); sa 2475 net/core/rtnetlink.c kfree(sa); sa 1177 net/decnet/af_decnet.c struct sockaddr_dn *sa = (struct sockaddr_dn *)uaddr; sa 1191 net/decnet/af_decnet.c memcpy(sa, &scp->peer, sizeof(struct sockaddr_dn)); sa 1193 net/decnet/af_decnet.c memcpy(sa, &scp->addr, sizeof(struct sockaddr_dn)); sa 729 net/iucv/af_iucv.c struct sockaddr_iucv *sa = (struct sockaddr_iucv *) addr; sa 750 net/iucv/af_iucv.c if (__iucv_get_sock_by_name(sa->siucv_name)) { sa 759 net/iucv/af_iucv.c if (!memcmp(sa->siucv_user_id, iucv_userid, 8)) sa 763 net/iucv/af_iucv.c memcpy(uid, sa->siucv_user_id, sizeof(uid)); sa 768 net/iucv/af_iucv.c memcpy(iucv->src_user_id, sa->siucv_user_id, 8); sa 770 net/iucv/af_iucv.c if (strncmp(sa->siucv_name, " ", 8) == 0) sa 773 net/iucv/af_iucv.c memcpy(iucv->src_name, sa->siucv_name, 8); sa 789 net/iucv/af_iucv.c memcpy(iucv->src_name, sa->siucv_name, 8); sa 833 net/iucv/af_iucv.c struct sockaddr_iucv *sa = (struct sockaddr_iucv *) addr; sa 839 net/iucv/af_iucv.c high_nmcpy(user_data, sa->siucv_name); sa 851 net/iucv/af_iucv.c sa->siucv_user_id, NULL, user_data, sa 880 net/iucv/af_iucv.c struct sockaddr_iucv *sa = (struct sockaddr_iucv *) addr; sa 907 net/iucv/af_iucv.c memcpy(iucv->dst_user_id, sa->siucv_user_id, 8); sa 908 net/iucv/af_iucv.c memcpy(iucv->dst_name, sa->siucv_name, 8); sa 65 net/key/af_key.c static int parse_sockaddr_pair(struct sockaddr *sa, int ext_len, sa 631 net/key/af_key.c int pfkey_sockaddr_extract(const struct sockaddr *sa, xfrm_address_t *xaddr) sa 633 net/key/af_key.c switch (sa->sa_family) { sa 636 net/key/af_key.c ((struct sockaddr_in *)sa)->sin_addr.s_addr; sa 641 net/key/af_key.c &((struct sockaddr_in6 *)sa)->sin6_addr, sa 658 net/key/af_key.c const struct sadb_sa *sa; sa 664 net/key/af_key.c sa = ext_hdrs[SADB_EXT_SA - 1]; sa 665 net/key/af_key.c if (sa == NULL) sa 694 net/key/af_key.c return xfrm_state_lookup(net, DUMMY_MARK, xaddr, sa->sadb_sa_spi, proto, family); sa 735 net/key/af_key.c struct sockaddr *sa, sa 741 net/key/af_key.c struct sockaddr_in *sin = (struct sockaddr_in *)sa; sa 751 net/key/af_key.c struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa; sa 769 net/key/af_key.c struct sadb_sa *sa; sa 839 net/key/af_key.c sa = skb_put(skb, sizeof(struct sadb_sa)); sa 840 net/key/af_key.c sa->sadb_sa_len = sizeof(struct sadb_sa)/sizeof(uint64_t); sa 841 net/key/af_key.c sa->sadb_sa_exttype = SADB_EXT_SA; sa 842 net/key/af_key.c sa->sadb_sa_spi = x->id.spi; sa 843 net/key/af_key.c sa->sadb_sa_replay = x->props.replay_window; sa 846 net/key/af_key.c sa->sadb_sa_state = x->km.dying ? sa 850 net/key/af_key.c sa->sadb_sa_state = SADB_SASTATE_LARVAL; sa 853 net/key/af_key.c sa->sadb_sa_state = SADB_SASTATE_DEAD; sa 856 net/key/af_key.c sa->sadb_sa_auth = 0; sa 859 net/key/af_key.c sa->sadb_sa_auth = (a && a->pfkey_supported) ? sa 862 net/key/af_key.c sa->sadb_sa_encrypt = 0; sa 866 net/key/af_key.c sa->sadb_sa_encrypt = (a && a->pfkey_supported) ? sa 872 net/key/af_key.c sa->sadb_sa_encrypt = (a && a->pfkey_supported) ? sa 876 net/key/af_key.c sa->sadb_sa_flags = 0; sa 878 net/key/af_key.c sa->sadb_sa_flags |= SADB_SAFLAGS_NOECN; sa 880 net/key/af_key.c sa->sadb_sa_flags |= SADB_SAFLAGS_DECAP_DSCP; sa 882 net/key/af_key.c sa->sadb_sa_flags |= SADB_SAFLAGS_NOPMTUDISC; sa 1069 net/key/af_key.c const struct sadb_sa *sa; sa 1076 net/key/af_key.c sa = ext_hdrs[SADB_EXT_SA - 1]; sa 1077 net/key/af_key.c if (!sa || sa 1110 net/key/af_key.c if (sa->sadb_sa_auth > SADB_AALG_MAX || sa 1112 net/key/af_key.c sa->sadb_sa_encrypt > SADB_X_CALG_MAX) || sa 1113 net/key/af_key.c sa->sadb_sa_encrypt > SADB_EALG_MAX) sa 1117 net/key/af_key.c sa->sadb_sa_auth != SADB_X_AALG_NULL && sa 1122 net/key/af_key.c sa->sadb_sa_encrypt != SADB_EALG_NULL && sa 1131 net/key/af_key.c x->id.spi = sa->sadb_sa_spi; sa 1132 net/key/af_key.c x->props.replay_window = min_t(unsigned int, sa->sadb_sa_replay, sa 1134 net/key/af_key.c if (sa->sadb_sa_flags & SADB_SAFLAGS_NOECN) sa 1136 net/key/af_key.c if (sa->sadb_sa_flags & SADB_SAFLAGS_DECAP_DSCP) sa 1138 net/key/af_key.c if (sa->sadb_sa_flags & SADB_SAFLAGS_NOPMTUDISC) sa 1172 net/key/af_key.c if (sa->sadb_sa_auth) { sa 1174 net/key/af_key.c struct xfrm_algo_desc *a = xfrm_aalg_get_byid(sa->sadb_sa_auth); sa 1193 net/key/af_key.c x->props.aalgo = sa->sadb_sa_auth; sa 1196 net/key/af_key.c if (sa->sadb_sa_encrypt) { sa 1198 net/key/af_key.c struct xfrm_algo_desc *a = xfrm_calg_get_byid(sa->sadb_sa_encrypt); sa 1209 net/key/af_key.c x->props.calgo = sa->sadb_sa_encrypt; sa 1212 net/key/af_key.c struct xfrm_algo_desc *a = xfrm_ealg_get_byid(sa->sadb_sa_encrypt); sa 1231 net/key/af_key.c x->props.ealgo = sa->sadb_sa_encrypt; sa 2175 net/key/af_key.c u8 *sa = (void *)(rq + 1); sa 2177 net/key/af_key.c (struct sockaddr *)sa, sa 2180 net/key/af_key.c (struct sockaddr *) (sa + socklen), sa 2241 net/key/af_key.c struct sadb_address *sa; sa 2266 net/key/af_key.c sa = ext_hdrs[SADB_EXT_ADDRESS_SRC-1]; sa 2267 net/key/af_key.c xp->family = pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.saddr); sa 2269 net/key/af_key.c xp->selector.prefixlen_s = sa->sadb_address_prefixlen; sa 2270 net/key/af_key.c xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); sa 2271 net/key/af_key.c xp->selector.sport = ((struct sockaddr_in *)(sa+1))->sin_port; sa 2275 net/key/af_key.c sa = ext_hdrs[SADB_EXT_ADDRESS_DST-1]; sa 2276 net/key/af_key.c pfkey_sadb_addr2xfrm_addr(sa, &xp->selector.daddr); sa 2277 net/key/af_key.c xp->selector.prefixlen_d = sa->sadb_address_prefixlen; sa 2282 net/key/af_key.c xp->selector.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); sa 2284 net/key/af_key.c xp->selector.dport = ((struct sockaddr_in *)(sa+1))->sin_port; sa 2355 net/key/af_key.c struct sadb_address *sa; sa 2374 net/key/af_key.c sa = ext_hdrs[SADB_EXT_ADDRESS_SRC-1]; sa 2375 net/key/af_key.c sel.family = pfkey_sadb_addr2xfrm_addr(sa, &sel.saddr); sa 2376 net/key/af_key.c sel.prefixlen_s = sa->sadb_address_prefixlen; sa 2377 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); sa 2378 net/key/af_key.c sel.sport = ((struct sockaddr_in *)(sa+1))->sin_port; sa 2382 net/key/af_key.c sa = ext_hdrs[SADB_EXT_ADDRESS_DST-1]; sa 2383 net/key/af_key.c pfkey_sadb_addr2xfrm_addr(sa, &sel.daddr); sa 2384 net/key/af_key.c sel.prefixlen_d = sa->sadb_address_prefixlen; sa 2385 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); sa 2386 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa+1))->sin_port; sa 2463 net/key/af_key.c static int parse_sockaddr_pair(struct sockaddr *sa, int ext_len, sa 2469 net/key/af_key.c if (ext_len < 2 || ext_len < pfkey_sockaddr_pair_size(sa->sa_family)) sa 2472 net/key/af_key.c af = pfkey_sockaddr_extract(sa, saddr); sa 2477 net/key/af_key.c if (pfkey_sockaddr_extract((struct sockaddr *) (((u8 *)sa) + socklen), sa 2542 net/key/af_key.c struct sadb_address *sa; sa 2582 net/key/af_key.c sa = ext_hdrs[SADB_EXT_ADDRESS_SRC - 1]; sa 2583 net/key/af_key.c sel.family = pfkey_sadb_addr2xfrm_addr(sa, &sel.saddr); sa 2584 net/key/af_key.c sel.prefixlen_s = sa->sadb_address_prefixlen; sa 2585 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); sa 2586 net/key/af_key.c sel.sport = ((struct sockaddr_in *)(sa + 1))->sin_port; sa 2591 net/key/af_key.c sa = ext_hdrs[SADB_EXT_ADDRESS_DST - 1]; sa 2592 net/key/af_key.c pfkey_sadb_addr2xfrm_addr(sa, &sel.daddr); sa 2593 net/key/af_key.c sel.prefixlen_d = sa->sadb_address_prefixlen; sa 2594 net/key/af_key.c sel.proto = pfkey_proto_to_xfrm(sa->sadb_address_proto); sa 2595 net/key/af_key.c sel.dport = ((struct sockaddr_in *)(sa + 1))->sin_port; sa 3332 net/key/af_key.c struct sadb_sa *sa; sa 3379 net/key/af_key.c sa = skb_put(skb, sizeof(struct sadb_sa)); sa 3380 net/key/af_key.c sa->sadb_sa_len = sizeof(struct sadb_sa)/sizeof(uint64_t); sa 3381 net/key/af_key.c sa->sadb_sa_exttype = SADB_EXT_SA; sa 3382 net/key/af_key.c sa->sadb_sa_spi = x->id.spi; sa 3383 net/key/af_key.c sa->sadb_sa_replay = 0; sa 3384 net/key/af_key.c sa->sadb_sa_state = 0; sa 3385 net/key/af_key.c sa->sadb_sa_auth = 0; sa 3386 net/key/af_key.c sa->sadb_sa_encrypt = 0; sa 3387 net/key/af_key.c sa->sadb_sa_flags = 0; sa 3472 net/key/af_key.c u8 *sa; sa 3485 net/key/af_key.c sa = (u8 *)(kma + 1); sa 3486 net/key/af_key.c if (!pfkey_sockaddr_fill(&k->local, 0, (struct sockaddr *)sa, family) || sa 3487 net/key/af_key.c !pfkey_sockaddr_fill(&k->remote, 0, (struct sockaddr *)(sa+socklen), family)) sa 3499 net/key/af_key.c u8 *sa; sa 3513 net/key/af_key.c sa = (u8 *) (rq + 1); sa 3514 net/key/af_key.c if (!pfkey_sockaddr_fill(src, 0, (struct sockaddr *)sa, family) || sa 3515 net/key/af_key.c !pfkey_sockaddr_fill(dst, 0, (struct sockaddr *)(sa + socklen), family)) sa 568 net/l2tp/l2tp_ppp.c static int pppol2tp_sockaddr_get_info(const void *sa, int sa_len, sa 574 net/l2tp/l2tp_ppp.c const struct sockaddr_pppol2tp *sa_v2in4 = sa; sa 590 net/l2tp/l2tp_ppp.c const struct sockaddr_pppol2tpv3 *sa_v3in4 = sa; sa 606 net/l2tp/l2tp_ppp.c const struct sockaddr_pppol2tpin6 *sa_v2in6 = sa; sa 622 net/l2tp/l2tp_ppp.c const struct sockaddr_pppol2tpv3in6 *sa_v3in6 = sa; sa 26 net/llc/llc_output.c const unsigned char *sa, const unsigned char *da) sa 33 net/llc/llc_output.c rc = dev_hard_header(skb, skb->dev, ETH_P_802_2, da, sa, sa 235 net/mac80211/agg-rx.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 79 net/mac80211/agg-tx.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 244 net/mac80211/fils_aead.c addr[0] = mgmt->sa; sa 288 net/mac80211/fils_aead.c mgmt->sa); sa 297 net/mac80211/fils_aead.c addr[0] = mgmt->sa; sa 318 net/mac80211/fils_aead.c mgmt->sa); sa 326 net/mac80211/fils_aead.c mgmt->sa); sa 424 net/mac80211/ht.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 462 net/mac80211/ht.c mgmt->sa, initiator ? "initiator" : "recipient", sa 504 net/mac80211/ht.c memcpy(action_frame->sa, sdata->dev->dev_addr, ETH_ALEN); sa 80 net/mac80211/ibss.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 948 net/mac80211/ibss.c ibss_dbg(sdata, "RX DeAuth SA=%pM DA=%pM\n", mgmt->sa, mgmt->da); sa 950 net/mac80211/ibss.c sta_info_destroy_addr(sdata, mgmt->sa); sa 967 net/mac80211/ibss.c ibss_dbg(sdata, "RX Auth SA=%pM DA=%pM\n", mgmt->sa, mgmt->da); sa 981 net/mac80211/ibss.c mgmt->sa, sdata->u.ibss.bssid, NULL, 0, 0, 0); sa 1009 net/mac80211/ibss.c sta = sta_info_get(sdata, mgmt->sa); sa 1037 net/mac80211/ibss.c mgmt->sa, supp_rates); sa 1178 net/mac80211/ibss.c mgmt->sa, mgmt->bssid, sa 1191 net/mac80211/ibss.c ieee80211_ibss_add_sta(sdata, mgmt->bssid, mgmt->sa, sa 1547 net/mac80211/ibss.c ibss_dbg(sdata, "RX ProbeReq SA=%pM DA=%pM\n", mgmt->sa, mgmt->da); sa 1563 net/mac80211/ibss.c mgmt->sa); sa 1581 net/mac80211/ibss.c memcpy(((struct ieee80211_mgmt *) skb->data)->da, mgmt->sa, ETH_ALEN); sa 1582 net/mac80211/ibss.c ibss_dbg(sdata, "Sending ProbeResp to %pM\n", mgmt->sa); sa 204 net/mac80211/iface.c struct sockaddr *sa = addr; sa 215 net/mac80211/iface.c ret = ieee80211_verify_mac(sdata, sa->sa_data, check_dup); sa 219 net/mac80211/iface.c ret = eth_mac_addr(dev, sa); sa 222 net/mac80211/iface.c memcpy(sdata->vif.addr, sa->sa_data, ETH_ALEN); sa 1254 net/mac80211/iface.c sta = sta_info_get_bss(sdata, mgmt->sa); sa 1288 net/mac80211/iface.c sta = sta_info_get_bss(sdata, mgmt->sa); sa 1325 net/mac80211/iface.c sta = sta_info_get_bss(sdata, mgmt->sa); sa 211 net/mac80211/mesh.c const u8 *sa, struct ieee80211s_hdr *mesh_hdr) sa 233 net/mac80211/mesh.c } else if ((seqnum == p->seqnum) && ether_addr_equal(sa, p->sa)) sa 243 net/mac80211/mesh.c memcpy(p->sa, sa, ETH_ALEN); sa 789 net/mac80211/mesh.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 1203 net/mac80211/mesh.c memcpy(hdr->da, mgmt->sa, ETH_ALEN); sa 1258 net/mac80211/mesh.c mesh_neighbour_update(sdata, mgmt->sa, &elems, sa 1349 net/mac80211/mesh.c memcpy(mgmt_fwd->sa, sdata->vif.addr, ETH_ALEN); sa 172 net/mac80211/mesh.h u8 sa[ETH_ALEN]; sa 196 net/mac80211/mesh.h const u8 *da, const u8 *sa); sa 126 net/mac80211/mesh_hwmp.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 262 net/mac80211/mesh_hwmp.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 396 net/mac80211/mesh_hwmp.c sta = sta_info_get(sdata, mgmt->sa); sa 512 net/mac80211/mesh_hwmp.c ta = mgmt->sa; sa 644 net/mac80211/mesh_hwmp.c target_sn, mgmt->sa, 0, ttl, sa 768 net/mac80211/mesh_hwmp.c ta = mgmt->sa; sa 838 net/mac80211/mesh_hwmp.c orig_addr, mgmt->sa, root_is_gate); sa 841 net/mac80211/mesh_hwmp.c sta = sta_info_get(sdata, mgmt->sa); sa 885 net/mac80211/mesh_hwmp.c memcpy(mpath->rann_snd_addr, mgmt->sa, ETH_ALEN); sa 921 net/mac80211/mesh_hwmp.c sta = sta_info_get(sdata, mgmt->sa); sa 251 net/mac80211/mesh_plink.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 1145 net/mac80211/mesh_plink.c sta = sta_info_get(sdata, mgmt->sa); sa 1150 net/mac80211/mesh_plink.c mgmt->sa); sa 1160 net/mac80211/mesh_plink.c sta = mesh_sta_info_get(sdata, mgmt->sa, elems, rx_status); sa 1168 net/mac80211/mesh_plink.c mgmt->sa, 0, plid, sa 112 net/mac80211/mesh_sync.c sta = sta_info_get(sdata, mgmt->sa); sa 30 net/mac80211/michael.c u8 *da, *sa, tid; sa 33 net/mac80211/michael.c sa = ieee80211_get_SA(hdr); sa 48 net/mac80211/michael.c (get_unaligned_le16(sa) << 16)); sa 49 net/mac80211/michael.c michael_block(mctx, get_unaligned_le32(&sa[2])); sa 730 net/mac80211/mlme.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 2917 net/mac80211/mlme.c mgmt->sa, auth_alg, ifmgd->auth_data->algorithm, sa 2925 net/mac80211/mlme.c mgmt->sa, status_code); sa 3040 net/mac80211/mlme.c if (!ether_addr_equal(mgmt->bssid, mgmt->sa)) { sa 3041 net/mac80211/mlme.c ieee80211_tdls_handle_disconnect(sdata, mgmt->sa, reason_code); sa 3094 net/mac80211/mlme.c if (!ether_addr_equal(mgmt->bssid, mgmt->sa)) { sa 3095 net/mac80211/mlme.c ieee80211_tdls_handle_disconnect(sdata, mgmt->sa, reason_code); sa 3100 net/mac80211/mlme.c mgmt->sa, reason_code, sa 3560 net/mac80211/mlme.c reassoc ? "Rea" : "A", mgmt->sa, sa 3579 net/mac80211/mlme.c mgmt->sa, tu, ms); sa 3591 net/mac80211/mlme.c mgmt->sa, status_code); sa 2971 net/mac80211/rx.c if (!ether_addr_equal(mgmt->sa, sdata->u.mgd.bssid) || sa 2988 net/mac80211/rx.c memcpy(resp->da, mgmt->sa, ETH_ALEN); sa 2989 net/mac80211/rx.c memcpy(resp->sa, sdata->vif.addr, ETH_ALEN); sa 3272 net/mac80211/rx.c bssid = mgmt->sa; sa 3424 net/mac80211/rx.c memcpy(nmgmt->da, nmgmt->sa, ETH_ALEN); sa 3425 net/mac80211/rx.c memcpy(nmgmt->sa, rx->sdata->vif.addr, ETH_ALEN); sa 4148 net/mac80211/rx.c u8 sa[ETH_ALEN]; sa 4278 net/mac80211/rx.c ether_addr_copy(addrs.sa, skb->data + fast_rx->sa_offs); sa 4302 net/mac80211/rx.c } else if (!ether_addr_equal(addrs.da, addrs.sa) && sa 203 net/mac80211/spectmgmt.c memcpy(msr_report->sa, sdata->vif.addr, ETH_ALEN); sa 241 net/mac80211/spectmgmt.c mgmt->sa, mgmt->bssid, sa 755 net/mac80211/tdls.c memcpy(tf->sa, sdata->vif.addr, ETH_ALEN); sa 836 net/mac80211/tdls.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 1703 net/mac80211/tdls.c sta = sta_info_get(sdata, tf->sa); sa 1706 net/mac80211/tdls.c tf->sa); sa 1758 net/mac80211/tdls.c tf->sa, params.status); sa 1869 net/mac80211/tdls.c sta = sta_info_get(sdata, tf->sa); sa 1872 net/mac80211/tdls.c tf->sa); sa 1912 net/mac80211/tdls.c tf->sa, params.chandef->chan->center_freq, sa 1575 net/mac80211/util.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 1608 net/mac80211/util.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 3497 net/mac80211/util.c memcpy(mgmt->sa, sdata->vif.addr, ETH_ALEN); sa 53 net/mac802154/iface.c struct sockaddr_ieee802154 *sa = sa 75 net/mac802154/iface.c sa->family = AF_IEEE802154; sa 76 net/mac802154/iface.c sa->addr.addr_type = IEEE802154_ADDR_SHORT; sa 77 net/mac802154/iface.c sa->addr.pan_id = pan_id; sa 78 net/mac802154/iface.c sa->addr.short_addr = short_addr; sa 91 net/mac802154/iface.c if (sa->family != AF_IEEE802154 || sa 92 net/mac802154/iface.c sa->addr.addr_type != IEEE802154_ADDR_SHORT || sa 93 net/mac802154/iface.c sa->addr.pan_id == IEEE802154_PANID_BROADCAST || sa 94 net/mac802154/iface.c sa->addr.short_addr == IEEE802154_ADDR_BROADCAST || sa 95 net/mac802154/iface.c sa->addr.short_addr == IEEE802154_ADDR_UNDEF) { sa 100 net/mac802154/iface.c wpan_dev->pan_id = cpu_to_le16(sa->addr.pan_id); sa 101 net/mac802154/iface.c wpan_dev->short_addr = cpu_to_le16(sa->addr.short_addr); sa 1450 net/netfilter/ipvs/ip_vs_sync.c static void get_mcast_sockaddr(union ipvs_sockaddr *sa, int *salen, sa 1454 net/netfilter/ipvs/ip_vs_sync.c sa->in6 = (struct sockaddr_in6) { sa 1458 net/netfilter/ipvs/ip_vs_sync.c sa->in6.sin6_addr = c->mcast_group.in6; sa 1459 net/netfilter/ipvs/ip_vs_sync.c *salen = sizeof(sa->in6); sa 1461 net/netfilter/ipvs/ip_vs_sync.c sa->in = (struct sockaddr_in) { sa 1465 net/netfilter/ipvs/ip_vs_sync.c sa->in.sin_addr = c->mcast_group.in; sa 1466 net/netfilter/ipvs/ip_vs_sync.c *salen = sizeof(sa->in); sa 100 net/netrom/nr_dev.c struct sockaddr *sa = addr; sa 103 net/netrom/nr_dev.c if (!memcmp(dev->dev_addr, sa->sa_data, dev->addr_len)) sa 107 net/netrom/nr_dev.c err = ax25_listen_register((ax25_address *)sa->sa_data, NULL); sa 114 net/netrom/nr_dev.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 219 net/packet/af_packet.c } sa; sa 1833 net/packet/af_packet.c spkt = &PACKET_SKB_CB(skb)->sa.pkt; sa 2108 net/packet/af_packet.c sll = &PACKET_SKB_CB(skb)->sa.ll; sa 2121 net/packet/af_packet.c PACKET_SKB_CB(skb)->sa.origlen = skb->len; sa 3382 net/packet/af_packet.c struct sockaddr_ll *sll = &PACKET_SKB_CB(skb)->sa.ll; sa 3385 net/packet/af_packet.c origlen = PACKET_SKB_CB(skb)->sa.origlen; sa 3403 net/packet/af_packet.c struct sockaddr_ll *sll = &PACKET_SKB_CB(skb)->sa.ll; sa 3415 net/packet/af_packet.c memcpy(msg->msg_name, &PACKET_SKB_CB(skb)->sa, copy_len); sa 364 net/phonet/af_phonet.c struct sockaddr_pn sa; sa 385 net/phonet/af_phonet.c pn_skb_get_dst_sockaddr(skb, &sa); sa 388 net/phonet/af_phonet.c if (pn_sockaddr_get_addr(&sa) == PNADDR_BROADCAST) { sa 394 net/phonet/af_phonet.c if (pn_sockaddr_get_object(&sa) == 0) { sa 395 net/phonet/af_phonet.c struct sock *sk = pn_find_sock_by_res(net, sa.spn_resource); sa 401 net/phonet/af_phonet.c if (phonet_address_lookup(net, pn_sockaddr_get_addr(&sa)) == 0) { sa 403 net/phonet/af_phonet.c struct sock *sk = pn_find_sock_by_sa(net, &sa); sa 418 net/phonet/af_phonet.c out_dev = phonet_route_output(net, pn_sockaddr_get_addr(&sa)); sa 421 net/phonet/af_phonet.c pn_sockaddr_get_addr(&sa)); sa 429 net/phonet/af_phonet.c pn_sockaddr_get_addr(&sa), sa 118 net/phonet/datagram.c struct sockaddr_pn sa; sa 130 net/phonet/datagram.c pn_skb_get_src_sockaddr(skb, &sa); sa 147 net/phonet/datagram.c __sockaddr_check_size(sizeof(sa)); sa 148 net/phonet/datagram.c memcpy(msg->msg_name, &sa, sizeof(sa)); sa 149 net/phonet/datagram.c *addr_len = sizeof(sa); sa 204 net/phonet/socket.c struct sockaddr_pn sa; sa 207 net/phonet/socket.c memset(&sa, 0, sizeof(sa)); sa 208 net/phonet/socket.c sa.spn_family = AF_PHONET; sa 209 net/phonet/socket.c err = pn_socket_bind(sock, (struct sockaddr *)&sa, sa 411 net/rds/ib.c struct sockaddr *sa; sa 427 net/rds/ib.c sa = (struct sockaddr *)&sin; sa 434 net/rds/ib.c sa = (struct sockaddr *)&sin6; sa 471 net/rds/ib.c ret = rdma_bind_addr(cm_id, sa); sa 195 net/rds/rdma_transport.c struct sockaddr *sa, sa 214 net/rds/rdma_transport.c ret = rdma_bind_addr(cm_id, sa); sa 58 net/rose/rose_dev.c struct sockaddr *sa = addr; sa 61 net/rose/rose_dev.c if (!memcmp(dev->dev_addr, sa->sa_data, dev->addr_len)) sa 65 net/rose/rose_dev.c err = rose_add_loopback_node((rose_address *)sa->sa_data); sa 72 net/rose/rose_dev.c memcpy(dev->dev_addr, sa->sa_data, dev->addr_len); sa 485 net/sctp/associola.c __func__, asoc, &peer->ipaddr.sa); sa 593 net/sctp/associola.c asoc, &addr->sa, peer_state); sa 635 net/sctp/associola.c if (addr->sa.sa_family == AF_INET6) { sa 895 net/sctp/associola.c af = sctp_get_af_specific(ss1->sa.sa_family); sa 1308 net/sctp/associola.c __func__, asoc, &asoc->peer.retran_path->ipaddr.sa); sa 397 net/sctp/bind_addr.c af = sctp_get_af_specific(addr->sa.sa_family); sa 463 net/sctp/bind_addr.c if ((((AF_INET == addr->sa.sa_family) && sa 465 net/sctp/bind_addr.c (((AF_INET6 == addr->sa.sa_family) && sa 482 net/sctp/bind_addr.c if (addr->sa.sa_family != AF_UNSPEC) sa 483 net/sctp/bind_addr.c fam = addr->sa.sa_family; sa 560 net/sctp/bind_addr.c af = sctp_get_af_specific(addr->sa.sa_family); sa 817 net/sctp/input.c if (paddr->sa.sa_family == AF_INET6) sa 1312 net/sctp/input.c if (paddr->sa.sa_family == AF_INET) sa 101 net/sctp/ipv6.c if (addr->a.sa.sa_family == AF_INET6 && sa 304 net/sctp/ipv6.c if ((laddr->a.sa.sa_family == AF_INET6) && sa 330 net/sctp/ipv6.c laddr->a.sa.sa_family != AF_INET6 || sa 482 net/sctp/ipv6.c struct sockaddr_in6 *sa = &addr->v6; sa 489 net/sctp/ipv6.c sa->sin6_port = sh->source; sa 490 net/sctp/ipv6.c sa->sin6_addr = ipv6_hdr(skb)->saddr; sa 492 net/sctp/ipv6.c sa->sin6_port = sh->dest; sa 493 net/sctp/ipv6.c sa->sin6_addr = ipv6_hdr(skb)->daddr; sa 508 net/sctp/ipv6.c if (addr->sa.sa_family == AF_INET) { sa 522 net/sctp/ipv6.c if (addr->sa.sa_family == AF_INET) { sa 563 net/sctp/ipv6.c addr->sa.sa_family = AF_INET6; sa 573 net/sctp/ipv6.c if (addr1->sa.sa_family != addr2->sa.sa_family) { sa 574 net/sctp/ipv6.c if (addr1->sa.sa_family == AF_INET && sa 575 net/sctp/ipv6.c addr2->sa.sa_family == AF_INET6 && sa 581 net/sctp/ipv6.c if (addr2->sa.sa_family == AF_INET && sa 582 net/sctp/ipv6.c addr1->sa.sa_family == AF_INET6 && sa 766 net/sctp/ipv6.c if (addr->sa.sa_family == AF_INET) sa 769 net/sctp/ipv6.c if (addr->sa.sa_family == AF_INET6 && sa 774 net/sctp/ipv6.c if (addr->sa.sa_family == AF_INET) { sa 819 net/sctp/ipv6.c if (paddr->sa.sa_family == AF_INET) { sa 895 net/sctp/ipv6.c af1 = sctp_get_af_specific(addr1->sa.sa_family); sa 896 net/sctp/ipv6.c af2 = sctp_get_af_specific(addr2->sa.sa_family); sa 909 net/sctp/ipv6.c if (addr1->sa.sa_family == AF_INET && addr2->sa.sa_family == AF_INET) sa 923 net/sctp/ipv6.c if (addr->sa.sa_family != AF_INET6) sa 924 net/sctp/ipv6.c af = sctp_get_af_specific(addr->sa.sa_family); sa 959 net/sctp/ipv6.c if (addr->sa.sa_family != AF_INET6) sa 960 net/sctp/ipv6.c af = sctp_get_af_specific(addr->sa.sa_family); sa 103 net/sctp/proc.c af = sctp_get_af_specific(addr->sa.sa_family); sa 124 net/sctp/proc.c af = sctp_get_af_specific(addr->sa.sa_family); sa 150 net/sctp/protocol.c if (addr->a.sa.sa_family == AF_INET && sa 153 net/sctp/protocol.c if (addr->a.sa.sa_family == AF_INET6 && sa 219 net/sctp/protocol.c struct sockaddr_in *sa = &addr->v4; sa 224 net/sctp/protocol.c sa->sin_port = sh->source; sa 225 net/sctp/protocol.c sa->sin_addr.s_addr = ip_hdr(skb)->saddr; sa 227 net/sctp/protocol.c sa->sin_port = sh->dest; sa 228 net/sctp/protocol.c sa->sin_addr.s_addr = ip_hdr(skb)->daddr; sa 230 net/sctp/protocol.c memset(sa->sin_zero, 0, sizeof(sa->sin_zero)); sa 294 net/sctp/protocol.c if (addr1->sa.sa_family != addr2->sa.sa_family) sa 489 net/sctp/protocol.c AF_INET != laddr->a.sa.sa_family) sa 628 net/sctp/protocol.c "entry:%p\n", __func__, &net->sctp.addr_waitq, &addrw->a.sa, sa 634 net/sctp/protocol.c if (addrw->a.sa.sa_family == AF_INET6) { sa 701 net/sctp/protocol.c if (addrw->a.sa.sa_family != addr->a.sa.sa_family) sa 703 net/sctp/protocol.c if (addrw->a.sa.sa_family == AF_INET) { sa 707 net/sctp/protocol.c } else if (addrw->a.sa.sa_family == AF_INET6) { sa 733 net/sctp/protocol.c "in wq:%p\n", __func__, addrw->state, &addrw->a.sa, sa 753 net/sctp/protocol.c __func__, addrw->state, &addrw->a.sa, &net->sctp.addr_waitq); sa 795 net/sctp/protocol.c if (addr->a.sa.sa_family == AF_INET && sa 935 net/sctp/protocol.c if (addr1->sa.sa_family != addr2->sa.sa_family) sa 2558 net/sctp/sm_make_chunk.c if (peer_addr->sa.sa_family == AF_INET6) sa 2560 net/sctp/sm_make_chunk.c else if (peer_addr->sa.sa_family == AF_INET) sa 563 net/sctp/sm_sideeffect.c __func__, asoc, &transport->ipaddr.sa); sa 1221 net/sctp/sm_statefuns.c if (from_addr.sa.sa_family == AF_INET6) { sa 339 net/sctp/socket.c if (!opt->pf->af_supported(addr->sa.sa_family, opt)) sa 342 net/sctp/socket.c if (addr->sa.sa_family == AF_INET6) { sa 352 net/sctp/socket.c af = sctp_get_af_specific(addr->sa.sa_family); sa 382 net/sctp/socket.c __func__, sk, &addr->sa, bp->port, snum, len); sa 689 net/sctp/socket.c af = sctp_get_af_specific(sa_addr->sa.sa_family); sa 819 net/sctp/socket.c asoc->asconf_addr_del_pending->sa.sa_family = sa 836 net/sctp/socket.c __func__, asoc, &asoc->asconf_addr_del_pending->sa, sa 902 net/sctp/socket.c af = sctp_get_af_specific(addr->sa.sa_family); sa 1178 net/sctp/socket.c af = sctp_get_af_specific(daddr->sa.sa_family); sa 1204 net/sctp/socket.c af = sctp_get_af_specific(daddr->sa.sa_family); sa 1686 net/sctp/socket.c af = sctp_get_af_specific(daddr->sa.sa_family); sa 1703 net/sctp/socket.c if (daddr->sa.sa_family == AF_INET6) sa 2575 net/sctp/socket.c if (trans->ipaddr.sa.sa_family == AF_INET6) { sa 2585 net/sctp/socket.c if (t->ipaddr.sa.sa_family != AF_INET6) sa 6228 net/sctp/socket.c (AF_INET6 == addr->a.sa.sa_family)) sa 6232 net/sctp/socket.c (AF_INET == addr->a.sa.sa_family)) sa 46 net/sctp/transport.c peer->af_specific = sctp_get_af_specific(addr->sa.sa_family); sa 181 net/sunrpc/svcauth_unix.c struct sockaddr sa; sa 204 net/sunrpc/svcauth_unix.c if (rpc_pton(cd->net, buf, len, &address.sa, sizeof(address)) == 0) sa 206 net/sunrpc/svcauth_unix.c switch (address.sa.sa_family) { sa 648 net/sunrpc/svcsock.c struct sockaddr *sa, int salen, sa 651 net/sunrpc/svcsock.c return svc_create_socket(serv, IPPROTO_UDP, net, sa, salen, flags); sa 1168 net/sunrpc/svcsock.c struct sockaddr *sa, int salen, sa 1171 net/sunrpc/svcsock.c return svc_create_socket(serv, IPPROTO_TCP, net, sa, salen, flags); sa 71 net/sunrpc/xprtrdma/svc_rdma_transport.c struct sockaddr *sa, int salen, sa 198 net/sunrpc/xprtrdma/svc_rdma_transport.c struct sockaddr *sa; sa 212 net/sunrpc/xprtrdma/svc_rdma_transport.c sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.dst_addr; sa 213 net/sunrpc/xprtrdma/svc_rdma_transport.c svc_xprt_set_remote(&newxprt->sc_xprt, sa, svc_addr_len(sa)); sa 220 net/sunrpc/xprtrdma/svc_rdma_transport.c sa = (struct sockaddr *)&newxprt->sc_cm_id->route.addr.src_addr; sa 221 net/sunrpc/xprtrdma/svc_rdma_transport.c svc_xprt_set_local(&newxprt->sc_xprt, sa, svc_addr_len(sa)); sa 311 net/sunrpc/xprtrdma/svc_rdma_transport.c struct sockaddr *sa, int salen, sa 319 net/sunrpc/xprtrdma/svc_rdma_transport.c if ((sa->sa_family != AF_INET) && (sa->sa_family != AF_INET6)) { sa 320 net/sunrpc/xprtrdma/svc_rdma_transport.c dprintk("svcrdma: Address family %d is not supported.\n", sa->sa_family); sa 347 net/sunrpc/xprtrdma/svc_rdma_transport.c ret = rdma_bind_addr(listen_id, sa); sa 364 net/sunrpc/xprtrdma/svc_rdma_transport.c sa = (struct sockaddr *)&cma_xprt->sc_cm_id->route.addr.src_addr; sa 365 net/sunrpc/xprtrdma/svc_rdma_transport.c svc_xprt_set_local(&cma_xprt->sc_xprt, sa, salen); sa 579 net/tipc/udp_media.c struct sockaddr_storage sa; sa 581 net/tipc/udp_media.c nla_memcpy(&sa, nla, sizeof(sa)); sa 582 net/tipc/udp_media.c if (sa.ss_family == AF_INET) { sa 583 net/tipc/udp_media.c struct sockaddr_in *ip4 = (struct sockaddr_in *)&sa; sa 591 net/tipc/udp_media.c } else if (sa.ss_family == AF_INET6) { sa 592 net/tipc/udp_media.c struct sockaddr_in6 *ip6 = (struct sockaddr_in6 *)&sa; sa 81 net/wireless/mlme.c bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); sa 100 net/wireless/mlme.c bool from_ap = !ether_addr_equal(mgmt->sa, wdev->netdev->dev_addr); sa 650 net/wireless/mlme.c if (!ether_addr_equal(mgmt->sa, mgmt->bssid)) { sa 675 net/wireless/mlme.c if (!ether_addr_equal(mgmt->sa, wdev_address(wdev))) { sa 1984 net/wireless/util.c u8 sa[ETH_ALEN]; /* STA addr */ sa 2009 net/wireless/util.c ether_addr_copy(msg->sa, addr); sa 314 samples/bpf/xdp_router_ipv4_user.c struct sockaddr_nl sa; sa 333 samples/bpf/xdp_router_ipv4_user.c memset(&sa, 0, sizeof(sa)); sa 334 samples/bpf/xdp_router_ipv4_user.c sa.nl_family = AF_NETLINK; sa 335 samples/bpf/xdp_router_ipv4_user.c if (bind(sock, (struct sockaddr *)&sa, sizeof(sa)) < 0) { sa 361 samples/bpf/xdp_router_ipv4_user.c nll = recv_msg(sa, sock); sa 454 samples/bpf/xdp_router_ipv4_user.c struct sockaddr_nl sa; sa 472 samples/bpf/xdp_router_ipv4_user.c memset(&sa, 0, sizeof(sa)); sa 473 samples/bpf/xdp_router_ipv4_user.c sa.nl_family = AF_NETLINK; sa 474 samples/bpf/xdp_router_ipv4_user.c if (bind(sock, (struct sockaddr *)&sa, sizeof(sa)) < 0) { sa 499 samples/bpf/xdp_router_ipv4_user.c nll = recv_msg(sa, sock); sa 675 scripts/kallsyms.c const struct sym_entry *sa; sa 679 scripts/kallsyms.c sa = a; sa 683 scripts/kallsyms.c if (sa->addr > sb->addr) sa 685 scripts/kallsyms.c if (sa->addr < sb->addr) sa 689 scripts/kallsyms.c wa = (sa->sym[0] == 'w') || (sa->sym[0] == 'W'); sa 695 scripts/kallsyms.c wa = may_be_linker_script_provide_symbol(sa); sa 701 scripts/kallsyms.c wa = prefix_underscores_count((const char *)sa->sym + 1); sa 707 scripts/kallsyms.c return sa->start_pos - sb->start_pos; sa 57 security/apparmor/audit.c struct common_audit_data *sa = ca; sa 61 security/apparmor/audit.c audit_log_string(ab, aa_audit_type[aad(sa)->type]); sa 64 security/apparmor/audit.c if (aad(sa)->op) { sa 66 security/apparmor/audit.c audit_log_string(ab, aad(sa)->op); sa 69 security/apparmor/audit.c if (aad(sa)->info) { sa 71 security/apparmor/audit.c audit_log_string(ab, aad(sa)->info); sa 72 security/apparmor/audit.c if (aad(sa)->error) sa 73 security/apparmor/audit.c audit_log_format(ab, " error=%d", aad(sa)->error); sa 76 security/apparmor/audit.c if (aad(sa)->label) { sa 77 security/apparmor/audit.c struct aa_label *label = aad(sa)->label; sa 96 security/apparmor/audit.c if (aad(sa)->name) { sa 98 security/apparmor/audit.c audit_log_untrustedstring(ab, aad(sa)->name); sa 107 security/apparmor/audit.c void aa_audit_msg(int type, struct common_audit_data *sa, sa 110 security/apparmor/audit.c aad(sa)->type = type; sa 111 security/apparmor/audit.c common_lsm_audit(sa, audit_pre, cb); sa 125 security/apparmor/audit.c int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, sa 131 security/apparmor/audit.c if (likely(!aad(sa)->error)) { sa 143 security/apparmor/audit.c return aad(sa)->error; sa 148 security/apparmor/audit.c aad(sa)->label = &profile->label; sa 150 security/apparmor/audit.c aa_audit_msg(type, sa, cb); sa 152 security/apparmor/audit.c if (aad(sa)->type == AUDIT_APPARMOR_KILL) sa 154 security/apparmor/audit.c sa->type == LSM_AUDIT_DATA_TASK && sa->u.tsk ? sa 155 security/apparmor/audit.c sa->u.tsk : current); sa 157 security/apparmor/audit.c if (aad(sa)->type == AUDIT_APPARMOR_ALLOWED) sa 158 security/apparmor/audit.c return complain_error(aad(sa)->error); sa 160 security/apparmor/audit.c return aad(sa)->error; sa 46 security/apparmor/capability.c struct common_audit_data *sa = va; sa 49 security/apparmor/capability.c audit_log_untrustedstring(ab, capability_names[sa->u.cap]); sa 64 security/apparmor/capability.c static int audit_caps(struct common_audit_data *sa, struct aa_profile *profile, sa 70 security/apparmor/capability.c aad(sa)->error = error; sa 102 security/apparmor/capability.c return aa_audit(type, profile, sa, audit_cb); sa 115 security/apparmor/capability.c unsigned int opts, struct common_audit_data *sa) sa 131 security/apparmor/capability.c aad(sa)->info = "optional: no audit"; sa 134 security/apparmor/capability.c return audit_caps(sa, profile, cap, error); sa 151 security/apparmor/capability.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_CAP, OP_CAPABLE); sa 153 security/apparmor/capability.c sa.u.cap = cap; sa 155 security/apparmor/capability.c profile_capable(profile, cap, opts, &sa)); sa 58 security/apparmor/file.c struct common_audit_data *sa = va; sa 61 security/apparmor/file.c if (aad(sa)->request & AA_AUDIT_FILE_MASK) { sa 63 security/apparmor/file.c audit_file_mask(ab, aad(sa)->request); sa 65 security/apparmor/file.c if (aad(sa)->denied & AA_AUDIT_FILE_MASK) { sa 67 security/apparmor/file.c audit_file_mask(ab, aad(sa)->denied); sa 69 security/apparmor/file.c if (aad(sa)->request & AA_AUDIT_FILE_MASK) { sa 73 security/apparmor/file.c from_kuid(&init_user_ns, aad(sa)->fs.ouid)); sa 76 security/apparmor/file.c if (aad(sa)->peer) { sa 78 security/apparmor/file.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, sa 80 security/apparmor/file.c } else if (aad(sa)->fs.target) { sa 82 security/apparmor/file.c audit_log_untrustedstring(ab, aad(sa)->fs.target); sa 107 security/apparmor/file.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_TASK, op); sa 109 security/apparmor/file.c sa.u.tsk = NULL; sa 110 security/apparmor/file.c aad(&sa)->request = request; sa 111 security/apparmor/file.c aad(&sa)->name = name; sa 112 security/apparmor/file.c aad(&sa)->fs.target = target; sa 113 security/apparmor/file.c aad(&sa)->peer = tlabel; sa 114 security/apparmor/file.c aad(&sa)->fs.ouid = ouid; sa 115 security/apparmor/file.c aad(&sa)->info = info; sa 116 security/apparmor/file.c aad(&sa)->error = error; sa 117 security/apparmor/file.c sa.u.tsk = NULL; sa 119 security/apparmor/file.c if (likely(!aad(&sa)->error)) { sa 126 security/apparmor/file.c aad(&sa)->request &= mask; sa 128 security/apparmor/file.c if (likely(!aad(&sa)->request)) sa 133 security/apparmor/file.c aad(&sa)->request = aad(&sa)->request & ~perms->allow; sa 134 security/apparmor/file.c AA_BUG(!aad(&sa)->request); sa 136 security/apparmor/file.c if (aad(&sa)->request & perms->kill) sa 140 security/apparmor/file.c if ((aad(&sa)->request & perms->quiet) && sa 143 security/apparmor/file.c aad(&sa)->request &= ~perms->quiet; sa 145 security/apparmor/file.c if (!aad(&sa)->request) sa 146 security/apparmor/file.c return aad(&sa)->error; sa 149 security/apparmor/file.c aad(&sa)->denied = aad(&sa)->request & ~perms->allow; sa 150 security/apparmor/file.c return aa_audit(type, profile, &sa, file_audit_cb); sa 168 security/apparmor/include/audit.h void aa_audit_msg(int type, struct common_audit_data *sa, sa 170 security/apparmor/include/audit.h int aa_audit(int type, struct aa_profile *profile, struct common_audit_data *sa, sa 92 security/apparmor/include/net.h int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, sa 97 security/apparmor/include/net.h struct common_audit_data *sa, sa 101 security/apparmor/include/net.h return aa_profile_af_perm(profile, sa, request, sk->sk_family, sa 152 security/apparmor/include/perms.h struct common_audit_data *sa); sa 154 security/apparmor/include/perms.h u32 request, struct common_audit_data *sa, sa 47 security/apparmor/ipc.c struct common_audit_data *sa = va; sa 49 security/apparmor/ipc.c if (aad(sa)->request & AA_PTRACE_PERM_MASK) { sa 51 security/apparmor/ipc.c audit_ptrace_mask(ab, aad(sa)->request); sa 53 security/apparmor/ipc.c if (aad(sa)->denied & AA_PTRACE_PERM_MASK) { sa 55 security/apparmor/ipc.c audit_ptrace_mask(ab, aad(sa)->denied); sa 59 security/apparmor/ipc.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, sa 67 security/apparmor/ipc.c struct common_audit_data *sa) sa 71 security/apparmor/ipc.c aad(sa)->peer = peer; sa 75 security/apparmor/ipc.c return aa_check_perms(profile, &perms, request, sa, audit_ptrace_cb); sa 80 security/apparmor/ipc.c struct common_audit_data *sa) sa 86 security/apparmor/ipc.c return profile_ptrace_perm(tracee, tracer, request, sa); sa 91 security/apparmor/ipc.c struct common_audit_data *sa) sa 97 security/apparmor/ipc.c return profile_ptrace_perm(tracer, tracee, request, sa); sa 103 security/apparmor/ipc.c aad(sa)->label = &tracer->label; sa 104 security/apparmor/ipc.c aad(sa)->peer = tracee; sa 105 security/apparmor/ipc.c aad(sa)->request = 0; sa 106 security/apparmor/ipc.c aad(sa)->error = aa_capable(&tracer->label, CAP_SYS_PTRACE, sa 109 security/apparmor/ipc.c return aa_audit(AUDIT_APPARMOR_AUTO, tracer, sa, audit_ptrace_cb); sa 125 security/apparmor/ipc.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, OP_PTRACE); sa 128 security/apparmor/ipc.c profile_tracer_perm(profile, tracee, request, &sa), sa 129 security/apparmor/ipc.c profile_tracee_perm(profile, tracer, xrequest, &sa)); sa 164 security/apparmor/ipc.c struct common_audit_data *sa = va; sa 166 security/apparmor/ipc.c if (aad(sa)->request & AA_SIGNAL_PERM_MASK) { sa 168 security/apparmor/ipc.c audit_signal_mask(ab, aad(sa)->request); sa 169 security/apparmor/ipc.c if (aad(sa)->denied & AA_SIGNAL_PERM_MASK) { sa 171 security/apparmor/ipc.c audit_signal_mask(ab, aad(sa)->denied); sa 174 security/apparmor/ipc.c if (aad(sa)->signal == SIGUNKNOWN) sa 176 security/apparmor/ipc.c aad(sa)->unmappedsig); sa 177 security/apparmor/ipc.c else if (aad(sa)->signal < MAXMAPPED_SIGNAME) sa 178 security/apparmor/ipc.c audit_log_format(ab, " signal=%s", sig_names[aad(sa)->signal]); sa 181 security/apparmor/ipc.c aad(sa)->signal - SIGRT_BASE); sa 183 security/apparmor/ipc.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, sa 189 security/apparmor/ipc.c struct common_audit_data *sa) sa 198 security/apparmor/ipc.c aad(sa)->peer = peer; sa 202 security/apparmor/ipc.c aad(sa)->signal); sa 205 security/apparmor/ipc.c return aa_check_perms(profile, &perms, request, sa, audit_signal_cb); sa 211 security/apparmor/ipc.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, OP_SIGNAL); sa 213 security/apparmor/ipc.c aad(&sa)->signal = map_signal_num(sig); sa 214 security/apparmor/ipc.c aad(&sa)->unmappedsig = sig; sa 216 security/apparmor/ipc.c profile_signal_perm(profile, target, MAY_WRITE, &sa), sa 217 security/apparmor/ipc.c profile_signal_perm(profile, sender, MAY_READ, &sa)); sa 127 security/apparmor/lib.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, NULL); sa 129 security/apparmor/lib.c aad(&sa)->info = str; sa 130 security/apparmor/lib.c aa_audit_msg(AUDIT_APPARMOR_STATUS, &sa, NULL); sa 264 security/apparmor/lib.c struct common_audit_data *sa = va; sa 266 security/apparmor/lib.c if (aad(sa)->request) { sa 268 security/apparmor/lib.c aa_audit_perm_mask(ab, aad(sa)->request, aa_file_perm_chrs, sa 272 security/apparmor/lib.c if (aad(sa)->denied) { sa 274 security/apparmor/lib.c aa_audit_perm_mask(ab, aad(sa)->denied, aa_file_perm_chrs, sa 279 security/apparmor/lib.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, sa 397 security/apparmor/lib.c struct common_audit_data *sa) sa 401 security/apparmor/lib.c aad(sa)->label = &profile->label; sa 402 security/apparmor/lib.c aad(sa)->peer = &target->label; sa 403 security/apparmor/lib.c aad(sa)->request = request; sa 408 security/apparmor/lib.c return aa_check_perms(profile, &perms, request, sa, aa_audit_perms_cb); sa 430 security/apparmor/lib.c u32 request, struct common_audit_data *sa, sa 439 security/apparmor/lib.c if (!request || !sa) sa 458 security/apparmor/lib.c if (!sa || !denied) sa 462 security/apparmor/lib.c if (sa) { sa 463 security/apparmor/lib.c aad(sa)->label = &profile->label; sa 464 security/apparmor/lib.c aad(sa)->request = request; sa 465 security/apparmor/lib.c aad(sa)->denied = denied; sa 466 security/apparmor/lib.c aad(sa)->error = error; sa 467 security/apparmor/lib.c aa_audit_msg(type, sa, cb); sa 608 security/apparmor/lsm.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, OP_SETPROCATTR); sa 667 security/apparmor/lsm.c aad(&sa)->label = begin_current_label_crit_section(); sa 668 security/apparmor/lsm.c aad(&sa)->info = name; sa 669 security/apparmor/lsm.c aad(&sa)->error = error = -EINVAL; sa 670 security/apparmor/lsm.c aa_audit_msg(AUDIT_APPARMOR_DENIED, &sa, NULL); sa 671 security/apparmor/lsm.c end_current_label_crit_section(aad(&sa)->label); sa 88 security/apparmor/mount.c struct common_audit_data *sa = va; sa 90 security/apparmor/mount.c if (aad(sa)->mnt.type) { sa 92 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.type); sa 94 security/apparmor/mount.c if (aad(sa)->mnt.src_name) { sa 96 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.src_name); sa 98 security/apparmor/mount.c if (aad(sa)->mnt.trans) { sa 100 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.trans); sa 102 security/apparmor/mount.c if (aad(sa)->mnt.flags) { sa 104 security/apparmor/mount.c audit_mnt_flags(ab, aad(sa)->mnt.flags); sa 107 security/apparmor/mount.c if (aad(sa)->mnt.data) { sa 109 security/apparmor/mount.c audit_log_untrustedstring(ab, aad(sa)->mnt.data); sa 137 security/apparmor/mount.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, op); sa 168 security/apparmor/mount.c aad(&sa)->name = name; sa 169 security/apparmor/mount.c aad(&sa)->mnt.src_name = src_name; sa 170 security/apparmor/mount.c aad(&sa)->mnt.type = type; sa 171 security/apparmor/mount.c aad(&sa)->mnt.trans = trans; sa 172 security/apparmor/mount.c aad(&sa)->mnt.flags = flags; sa 174 security/apparmor/mount.c aad(&sa)->mnt.data = data; sa 175 security/apparmor/mount.c aad(&sa)->info = info; sa 176 security/apparmor/mount.c aad(&sa)->error = error; sa 178 security/apparmor/mount.c return aa_audit(audit_type, profile, &sa, audit_cb); sa 73 security/apparmor/net.c struct common_audit_data *sa = va; sa 76 security/apparmor/net.c if (address_family_names[sa->u.net->family]) sa 77 security/apparmor/net.c audit_log_string(ab, address_family_names[sa->u.net->family]); sa 79 security/apparmor/net.c audit_log_format(ab, "\"unknown(%d)\"", sa->u.net->family); sa 81 security/apparmor/net.c if (sock_type_names[aad(sa)->net.type]) sa 82 security/apparmor/net.c audit_log_string(ab, sock_type_names[aad(sa)->net.type]); sa 84 security/apparmor/net.c audit_log_format(ab, "\"unknown(%d)\"", aad(sa)->net.type); sa 85 security/apparmor/net.c audit_log_format(ab, " protocol=%d", aad(sa)->net.protocol); sa 87 security/apparmor/net.c if (aad(sa)->request & NET_PERMS_MASK) { sa 89 security/apparmor/net.c aa_audit_perm_mask(ab, aad(sa)->request, NULL, 0, sa 92 security/apparmor/net.c if (aad(sa)->denied & NET_PERMS_MASK) { sa 94 security/apparmor/net.c aa_audit_perm_mask(ab, aad(sa)->denied, NULL, 0, sa 98 security/apparmor/net.c if (aad(sa)->peer) { sa 100 security/apparmor/net.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, sa 106 security/apparmor/net.c int aa_profile_af_perm(struct aa_profile *profile, struct common_audit_data *sa, sa 129 security/apparmor/net.c return aa_check_perms(profile, &perms, request, sa, audit_net_cb); sa 136 security/apparmor/net.c DEFINE_AUDIT_NET(sa, op, NULL, family, type, protocol); sa 139 security/apparmor/net.c aa_profile_af_perm(profile, &sa, request, family, sa 153 security/apparmor/net.c DEFINE_AUDIT_SK(sa, op, sk); sa 156 security/apparmor/net.c aa_profile_af_sk_perm(profile, &sa, request, sk)); sa 212 security/apparmor/net.c struct common_audit_data *sa, struct sock *sk) sa 241 security/apparmor/net.c return aa_check_perms(profile, &perms, request, sa, audit_net_cb); sa 248 security/apparmor/net.c DEFINE_AUDIT_SK(sa, op, sk); sa 252 security/apparmor/net.c &sa, sk)); sa 598 security/apparmor/policy.c struct common_audit_data *sa = va; sa 600 security/apparmor/policy.c if (aad(sa)->iface.ns) { sa 602 security/apparmor/policy.c audit_log_untrustedstring(ab, aad(sa)->iface.ns); sa 621 security/apparmor/policy.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, op); sa 623 security/apparmor/policy.c aad(&sa)->iface.ns = ns_name; sa 624 security/apparmor/policy.c aad(&sa)->name = name; sa 625 security/apparmor/policy.c aad(&sa)->info = info; sa 626 security/apparmor/policy.c aad(&sa)->error = error; sa 627 security/apparmor/policy.c aad(&sa)->label = label; sa 629 security/apparmor/policy.c aa_audit_msg(AUDIT_APPARMOR_STATUS, &sa, audit_cb); sa 79 security/apparmor/policy_unpack.c struct common_audit_data *sa = va; sa 81 security/apparmor/policy_unpack.c if (aad(sa)->iface.ns) { sa 83 security/apparmor/policy_unpack.c audit_log_untrustedstring(ab, aad(sa)->iface.ns); sa 85 security/apparmor/policy_unpack.c if (aad(sa)->name) { sa 87 security/apparmor/policy_unpack.c audit_log_untrustedstring(ab, aad(sa)->name); sa 89 security/apparmor/policy_unpack.c if (aad(sa)->iface.pos) sa 90 security/apparmor/policy_unpack.c audit_log_format(ab, " offset=%ld", aad(sa)->iface.pos); sa 109 security/apparmor/policy_unpack.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, NULL); sa 111 security/apparmor/policy_unpack.c aad(&sa)->iface.pos = e->pos - e->start; sa 112 security/apparmor/policy_unpack.c aad(&sa)->iface.ns = ns_name; sa 114 security/apparmor/policy_unpack.c aad(&sa)->name = new->base.hname; sa 116 security/apparmor/policy_unpack.c aad(&sa)->name = name; sa 117 security/apparmor/policy_unpack.c aad(&sa)->info = info; sa 118 security/apparmor/policy_unpack.c aad(&sa)->error = error; sa 120 security/apparmor/policy_unpack.c return aa_audit(AUDIT_APPARMOR_STATUS, profile, &sa, audit_cb); sa 32 security/apparmor/resource.c struct common_audit_data *sa = va; sa 35 security/apparmor/resource.c rlim_names[aad(sa)->rlim.rlim], aad(sa)->rlim.max); sa 36 security/apparmor/resource.c if (aad(sa)->peer) { sa 38 security/apparmor/resource.c aa_label_xaudit(ab, labels_ns(aad(sa)->label), aad(sa)->peer, sa 56 security/apparmor/resource.c DEFINE_AUDIT_DATA(sa, LSM_AUDIT_DATA_NONE, OP_SETRLIMIT); sa 58 security/apparmor/resource.c aad(&sa)->rlim.rlim = resource; sa 59 security/apparmor/resource.c aad(&sa)->rlim.max = value; sa 60 security/apparmor/resource.c aad(&sa)->peer = peer; sa 61 security/apparmor/resource.c aad(&sa)->info = info; sa 62 security/apparmor/resource.c aad(&sa)->error = error; sa 64 security/apparmor/resource.c return aa_audit(AUDIT_APPARMOR_AUTO, profile, &sa, audit_cb); sa 101 sound/pci/ctxfi/cthardware.h int (*src_set_sa)(void *blk, unsigned int sa); sa 84 sound/pci/ctxfi/cthw20k1.c u16 sa:1; sa 98 sound/pci/ctxfi/cthw20k1.c unsigned int sa; sa 302 sound/pci/ctxfi/cthw20k1.c static int src_set_sa(void *blk, unsigned int sa) sa 306 sound/pci/ctxfi/cthw20k1.c set_field(&ctl->sa, SRCSA_SA, sa); sa 307 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.sa = 1; sa 388 sound/pci/ctxfi/cthw20k1.c if (ctl->dirty.bf.sa) { sa 389 sound/pci/ctxfi/cthw20k1.c hw_write_20kx(hw, SRCSA+idx*0x100, ctl->sa); sa 390 sound/pci/ctxfi/cthw20k1.c ctl->dirty.bf.sa = 0; sa 84 sound/pci/ctxfi/cthw20k2.c u16 sa:1; sa 98 sound/pci/ctxfi/cthw20k2.c unsigned int sa; sa 302 sound/pci/ctxfi/cthw20k2.c static int src_set_sa(void *blk, unsigned int sa) sa 306 sound/pci/ctxfi/cthw20k2.c set_field(&ctl->sa, SRCSA_SA, sa); sa 307 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.sa = 1; sa 388 sound/pci/ctxfi/cthw20k2.c if (ctl->dirty.bf.sa) { sa 389 sound/pci/ctxfi/cthw20k2.c hw_write_20kx(hw, SRC_SA+idx*0x100, ctl->sa); sa 390 sound/pci/ctxfi/cthw20k2.c ctl->dirty.bf.sa = 0; sa 134 sound/pci/ctxfi/ctsrc.c static int src_set_sa(struct src *src, unsigned int sa) sa 139 sound/pci/ctxfi/ctsrc.c hw->src_set_sa(src->rsc.ctrl_blk, sa); sa 64 sound/pci/ctxfi/ctsrc.h int (*set_sa)(struct src *src, unsigned int sa); sa 360 sound/soc/codecs/sigmadsp.c static inline u32 sigma_action_len(struct sigma_action *sa) sa 362 sound/soc/codecs/sigmadsp.c return (sa->len_hi << 16) | le16_to_cpu(sa->len); sa 365 sound/soc/codecs/sigmadsp.c static size_t sigma_action_size(struct sigma_action *sa) sa 369 sound/soc/codecs/sigmadsp.c switch (sa->instr) { sa 373 sound/soc/codecs/sigmadsp.c payload = sigma_action_len(sa); sa 389 sound/soc/codecs/sigmadsp.c struct sigma_action *sa) sa 391 sound/soc/codecs/sigmadsp.c size_t len = sigma_action_len(sa); sa 395 sound/soc/codecs/sigmadsp.c sa->instr, sa->addr, len); sa 397 sound/soc/codecs/sigmadsp.c switch (sa->instr) { sa 408 sound/soc/codecs/sigmadsp.c data->addr = be16_to_cpu(sa->addr); sa 410 sound/soc/codecs/sigmadsp.c memcpy(data->data, sa->payload, data->length); sa 425 sound/soc/codecs/sigmadsp.c struct sigma_action *sa; sa 431 sound/soc/codecs/sigmadsp.c while (pos + sizeof(*sa) <= fw->size) { sa 432 sound/soc/codecs/sigmadsp.c sa = (struct sigma_action *)(fw->data + pos); sa 434 sound/soc/codecs/sigmadsp.c size = sigma_action_size(sa); sa 439 sound/soc/codecs/sigmadsp.c ret = process_sigma_action(sigmadsp, sa); sa 136 tools/firewire/nosy-dump.c struct subaction *sa; sa 139 tools/firewire/nosy-dump.c sa = malloc(sizeof *sa - sizeof sa->packet + length); sa 140 tools/firewire/nosy-dump.c if (!sa) sa 142 tools/firewire/nosy-dump.c sa->ack = data[length / 4 - 1]; sa 143 tools/firewire/nosy-dump.c sa->length = length; sa 144 tools/firewire/nosy-dump.c memcpy(&sa->packet, data, length); sa 146 tools/firewire/nosy-dump.c return sa; sa 150 tools/firewire/nosy-dump.c subaction_destroy(struct subaction *sa) sa 152 tools/firewire/nosy-dump.c free(sa); sa 188 tools/firewire/nosy-dump.c struct subaction *sa; sa 191 tools/firewire/nosy-dump.c sa = list_head(&t->request_list, struct subaction, link); sa 192 tools/firewire/nosy-dump.c list_remove(&sa->link); sa 193 tools/firewire/nosy-dump.c subaction_destroy(sa); sa 196 tools/firewire/nosy-dump.c sa = list_head(&t->response_list, struct subaction, link); sa 197 tools/firewire/nosy-dump.c list_remove(&sa->link); sa 198 tools/firewire/nosy-dump.c subaction_destroy(sa); sa 215 tools/firewire/nosy-dump.c struct subaction *sa; sa 239 tools/firewire/nosy-dump.c list_for_each_entry(sa, &t->request_list, link) sa 240 tools/firewire/nosy-dump.c print_packet((uint32_t *) &sa->packet, sa->length); sa 241 tools/firewire/nosy-dump.c list_for_each_entry(sa, &t->response_list, link) sa 242 tools/firewire/nosy-dump.c print_packet((uint32_t *) &sa->packet, sa->length); sa 485 tools/firewire/nosy-dump.c struct subaction *sa, *prev; sa 490 tools/firewire/nosy-dump.c sa = subaction_create(data, length); sa 491 tools/firewire/nosy-dump.c t->request = sa; sa 506 tools/firewire/nosy-dump.c if (prev->packet.common.tcode != sa->packet.common.tcode || sa 507 tools/firewire/nosy-dump.c prev->packet.common.tlabel != sa->packet.common.tlabel) { sa 513 tools/firewire/nosy-dump.c list_append(&t->request_list, &sa->link); sa 515 tools/firewire/nosy-dump.c switch (sa->ack) { sa 550 tools/firewire/nosy-dump.c struct subaction *sa, *prev; sa 559 tools/firewire/nosy-dump.c sa = subaction_create(data, length); sa 560 tools/firewire/nosy-dump.c t->response = sa; sa 572 tools/firewire/nosy-dump.c if (prev->packet.common.tcode != sa->packet.common.tcode || sa 573 tools/firewire/nosy-dump.c prev->packet.common.tlabel != sa->packet.common.tlabel) { sa 587 tools/firewire/nosy-dump.c sa->packet.common.tcode) { sa 592 tools/firewire/nosy-dump.c list_append(&t->response_list, &sa->link); sa 594 tools/firewire/nosy-dump.c switch (sa->ack) { sa 306 tools/iio/iio_generic_buffer.c struct sigaction sa = { .sa_handler = sig_handler }; sa 311 tools/iio/iio_generic_buffer.c ret = sigaction(signums[i], &sa, NULL); sa 32 tools/lib/bpf/netlink.c struct sockaddr_nl sa; sa 37 tools/lib/bpf/netlink.c memset(&sa, 0, sizeof(sa)); sa 38 tools/lib/bpf/netlink.c sa.nl_family = AF_NETLINK; sa 49 tools/lib/bpf/netlink.c if (bind(sock, (struct sockaddr *)&sa, sizeof(sa)) < 0) { sa 54 tools/lib/bpf/netlink.c addrlen = sizeof(sa); sa 55 tools/lib/bpf/netlink.c if (getsockname(sock, (struct sockaddr *)&sa, &addrlen) < 0) { sa 60 tools/lib/bpf/netlink.c if (addrlen != sizeof(sa)) { sa 65 tools/lib/bpf/netlink.c *nl_pid = sa.nl_pid; sa 786 tools/lib/subcmd/parse-options.c int sa = tolower(a->short_name), sb = tolower(b->short_name), ret; sa 788 tools/lib/subcmd/parse-options.c if (sa == 0) sa 789 tools/lib/subcmd/parse-options.c sa = 'z' + 1; sa 793 tools/lib/subcmd/parse-options.c ret = sa - sb; sa 4757 tools/lib/traceevent/event-parse.c struct sockaddr_storage *sa; sa 4794 tools/lib/traceevent/event-parse.c sa = (struct sockaddr_storage *) (data + arg->field.field->offset); sa 4796 tools/lib/traceevent/event-parse.c if (sa->ss_family == AF_INET) { sa 4797 tools/lib/traceevent/event-parse.c struct sockaddr_in *sa4 = (struct sockaddr_in *) sa; sa 4809 tools/lib/traceevent/event-parse.c } else if (sa->ss_family == AF_INET6) { sa 4810 tools/lib/traceevent/event-parse.c struct sockaddr_in6 *sa6 = (struct sockaddr_in6 *) sa; sa 108 tools/perf/arch/x86/tests/rdpmc.c struct sigaction sa; sa 111 tools/perf/arch/x86/tests/rdpmc.c sigfillset(&sa.sa_mask); sa 112 tools/perf/arch/x86/tests/rdpmc.c sa.sa_sigaction = segfault_handler; sa 113 tools/perf/arch/x86/tests/rdpmc.c sa.sa_flags = 0; sa 114 tools/perf/arch/x86/tests/rdpmc.c sigaction(SIGSEGV, &sa, NULL); sa 395 tools/perf/builtin-trace.c size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val) sa 397 tools/perf/builtin-trace.c int idx = val - sa->offset; sa 399 tools/perf/builtin-trace.c if (idx < 0 || idx >= sa->nr_entries || sa->entries[idx] == NULL) { sa 402 tools/perf/builtin-trace.c printed += scnprintf(bf + printed, size - printed, " /* %s??? */", sa->prefix); sa 406 tools/perf/builtin-trace.c return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", sa->entries[idx]); sa 435 tools/perf/builtin-trace.c struct strarray *sa = sas->entries[i]; sa 436 tools/perf/builtin-trace.c int idx = val - sa->offset; sa 438 tools/perf/builtin-trace.c if (idx >= 0 && idx < sa->nr_entries) { sa 439 tools/perf/builtin-trace.c if (sa->entries[idx] == NULL) sa 441 tools/perf/builtin-trace.c return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", sa->entries[idx]); sa 163 tools/perf/tests/bp_signal.c struct sigaction sa; sa 167 tools/perf/tests/bp_signal.c memset(&sa, 0, sizeof(struct sigaction)); sa 168 tools/perf/tests/bp_signal.c sa.sa_sigaction = (void *) sig_handler; sa 169 tools/perf/tests/bp_signal.c sa.sa_flags = SA_SIGINFO; sa 171 tools/perf/tests/bp_signal.c if (sigaction(SIGIO, &sa, NULL) < 0) { sa 176 tools/perf/tests/bp_signal.c sa.sa_sigaction = (void *) sig_handler_2; sa 177 tools/perf/tests/bp_signal.c if (sigaction(SIGUSR1, &sa, NULL) < 0) { sa 65 tools/perf/tests/bp_signal_overflow.c struct sigaction sa; sa 70 tools/perf/tests/bp_signal_overflow.c memset(&sa, 0, sizeof(struct sigaction)); sa 71 tools/perf/tests/bp_signal_overflow.c sa.sa_sigaction = (void *) sig_handler; sa 72 tools/perf/tests/bp_signal_overflow.c sa.sa_flags = SA_SIGINFO; sa 74 tools/perf/tests/bp_signal_overflow.c if (sigaction(SIGIO, &sa, NULL) < 0) { sa 29 tools/perf/trace/beauty/beauty.h size_t strarray__scnprintf(struct strarray *sa, char *bf, size_t size, const char *intfmt, bool show_prefix, int val); sa 30 tools/perf/trace/beauty/beauty.h size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags); sa 12 tools/perf/trace/beauty/pkey_alloc.c size_t strarray__scnprintf_flags(struct strarray *sa, char *bf, size_t size, bool show_prefix, unsigned long flags) sa 17 tools/perf/trace/beauty/pkey_alloc.c const char *s = sa->entries[0]; sa 19 tools/perf/trace/beauty/pkey_alloc.c return scnprintf(bf, size, "%s%s", show_prefix ? sa->prefix : "", s); sa 23 tools/perf/trace/beauty/pkey_alloc.c for (i = 1; i < sa->nr_entries; ++i) { sa 32 tools/perf/trace/beauty/pkey_alloc.c if (sa->entries[i] != NULL) sa 33 tools/perf/trace/beauty/pkey_alloc.c printed += scnprintf(bf + printed, size - printed, "%s%s", show_prefix ? sa->prefix : "", sa->entries[i]); sa 20 tools/perf/trace/beauty/sockaddr.c static size_t af_inet__scnprintf(struct sockaddr *sa, char *bf, size_t size) sa 22 tools/perf/trace/beauty/sockaddr.c struct sockaddr_in *sin = (struct sockaddr_in *)sa; sa 28 tools/perf/trace/beauty/sockaddr.c static size_t af_inet6__scnprintf(struct sockaddr *sa, char *bf, size_t size) sa 30 tools/perf/trace/beauty/sockaddr.c struct sockaddr_in6 *sin6 = (struct sockaddr_in6 *)sa; sa 43 tools/perf/trace/beauty/sockaddr.c static size_t af_local__scnprintf(struct sockaddr *sa, char *bf, size_t size) sa 45 tools/perf/trace/beauty/sockaddr.c struct sockaddr_un *sun = (struct sockaddr_un *)sa; sa 49 tools/perf/trace/beauty/sockaddr.c static size_t (*af_scnprintfs[])(struct sockaddr *sa, char *bf, size_t size) = { sa 57 tools/perf/trace/beauty/sockaddr.c struct sockaddr *sa = (struct sockaddr *)arg->augmented.args; sa 61 tools/perf/trace/beauty/sockaddr.c strarray__scnprintf(&strarray__socket_families, family, sizeof(family), "%d", arg->show_string_prefix, sa->sa_family); sa 64 tools/perf/trace/beauty/sockaddr.c if (sa->sa_family < ARRAY_SIZE(af_scnprintfs) && af_scnprintfs[sa->sa_family]) sa 65 tools/perf/trace/beauty/sockaddr.c printed += af_scnprintfs[sa->sa_family](sa, bf + printed, size - printed); sa 3011 tools/power/x86/turbostat/turbostat.c struct sigaction sa; sa 3013 tools/power/x86/turbostat/turbostat.c memset(&sa, 0, sizeof(sa)); sa 3015 tools/power/x86/turbostat/turbostat.c sa.sa_handler = &signal_handler; sa 3017 tools/power/x86/turbostat/turbostat.c if (sigaction(SIGINT, &sa, NULL) < 0) sa 3019 tools/power/x86/turbostat/turbostat.c if (sigaction(SIGUSR1, &sa, NULL) < 0) sa 25 tools/testing/selftests/bpf/progs/connect4_prog.c struct sockaddr_in sa; sa 60 tools/testing/selftests/bpf/progs/connect4_prog.c memset(&sa, 0, sizeof(sa)); sa 62 tools/testing/selftests/bpf/progs/connect4_prog.c sa.sin_family = AF_INET; sa 63 tools/testing/selftests/bpf/progs/connect4_prog.c sa.sin_port = bpf_htons(0); sa 64 tools/testing/selftests/bpf/progs/connect4_prog.c sa.sin_addr.s_addr = bpf_htonl(SRC_REWRITE_IP4); sa 66 tools/testing/selftests/bpf/progs/connect4_prog.c if (bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)) != 0) sa 33 tools/testing/selftests/bpf/progs/connect6_prog.c struct sockaddr_in6 sa; sa 79 tools/testing/selftests/bpf/progs/connect6_prog.c memset(&sa, 0, sizeof(sa)); sa 81 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_family = AF_INET6; sa 82 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_port = bpf_htons(0); sa 84 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[0] = bpf_htonl(SRC_REWRITE_IP6_0); sa 85 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[1] = bpf_htonl(SRC_REWRITE_IP6_1); sa 86 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[2] = bpf_htonl(SRC_REWRITE_IP6_2); sa 87 tools/testing/selftests/bpf/progs/connect6_prog.c sa.sin6_addr.s6_addr32[3] = bpf_htonl(SRC_REWRITE_IP6_3); sa 89 tools/testing/selftests/bpf/progs/connect6_prog.c if (bpf_bind(ctx, (struct sockaddr *)&sa, sizeof(sa)) != 0) sa 140 tools/testing/selftests/bpf/test_select_reuseport.c static void sa46_init_loopback(union sa46 *sa, sa_family_t family) sa 142 tools/testing/selftests/bpf/test_select_reuseport.c memset(sa, 0, sizeof(*sa)); sa 143 tools/testing/selftests/bpf/test_select_reuseport.c sa->family = family; sa 144 tools/testing/selftests/bpf/test_select_reuseport.c if (sa->family == AF_INET6) sa 145 tools/testing/selftests/bpf/test_select_reuseport.c sa->v6.sin6_addr = in6addr_loopback; sa 147 tools/testing/selftests/bpf/test_select_reuseport.c sa->v4.sin_addr.s_addr = htonl(INADDR_LOOPBACK); sa 150 tools/testing/selftests/bpf/test_select_reuseport.c static void sa46_init_inany(union sa46 *sa, sa_family_t family) sa 152 tools/testing/selftests/bpf/test_select_reuseport.c memset(sa, 0, sizeof(*sa)); sa 153 tools/testing/selftests/bpf/test_select_reuseport.c sa->family = family; sa 154 tools/testing/selftests/bpf/test_select_reuseport.c if (sa->family == AF_INET6) sa 155 tools/testing/selftests/bpf/test_select_reuseport.c sa->v6.sin6_addr = in6addr_any; sa 157 tools/testing/selftests/bpf/test_select_reuseport.c sa->v4.sin_addr.s_addr = INADDR_ANY; sa 121 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c struct sigaction sa; sa 148 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c sa.sa_handler = handle_signal; sa 149 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c sigemptyset(&sa.sa_mask); sa 150 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c sa.sa_flags = 0; sa 151 tools/testing/selftests/futex/functional/futex_requeue_pi_signal_restart.c if (sigaction(SIGUSR1, &sa, NULL)) { sa 543 tools/testing/selftests/mqueue/mq_perf_tests.c struct sigaction sa; sa 688 tools/testing/selftests/mqueue/mq_perf_tests.c sa.sa_sigaction = sig_action_SIGUSR1; sa 689 tools/testing/selftests/mqueue/mq_perf_tests.c sigemptyset(&sa.sa_mask); sa 690 tools/testing/selftests/mqueue/mq_perf_tests.c sigaddset(&sa.sa_mask, SIGHUP); sa 691 tools/testing/selftests/mqueue/mq_perf_tests.c sigaddset(&sa.sa_mask, SIGINT); sa 692 tools/testing/selftests/mqueue/mq_perf_tests.c sigaddset(&sa.sa_mask, SIGQUIT); sa 693 tools/testing/selftests/mqueue/mq_perf_tests.c sigaddset(&sa.sa_mask, SIGTERM); sa 694 tools/testing/selftests/mqueue/mq_perf_tests.c sa.sa_flags = SA_SIGINFO; sa 695 tools/testing/selftests/mqueue/mq_perf_tests.c if (sigaction(SIGUSR1, &sa, NULL) == -1) sa 697 tools/testing/selftests/mqueue/mq_perf_tests.c sa.sa_sigaction = sig_action; sa 698 tools/testing/selftests/mqueue/mq_perf_tests.c if (sigaction(SIGHUP, &sa, NULL) == -1) sa 700 tools/testing/selftests/mqueue/mq_perf_tests.c if (sigaction(SIGINT, &sa, NULL) == -1) sa 702 tools/testing/selftests/mqueue/mq_perf_tests.c if (sigaction(SIGQUIT, &sa, NULL) == -1) sa 704 tools/testing/selftests/mqueue/mq_perf_tests.c if (sigaction(SIGTERM, &sa, NULL) == -1) sa 172 tools/testing/selftests/net/nettest.c static void log_address(const char *desc, struct sockaddr *sa) sa 179 tools/testing/selftests/net/nettest.c if (sa->sa_family == AF_INET) { sa 180 tools/testing/selftests/net/nettest.c struct sockaddr_in *s = (struct sockaddr_in *) sa; sa 188 tools/testing/selftests/net/nettest.c } else if (sa->sa_family == AF_INET6) { sa 189 tools/testing/selftests/net/nettest.c struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; sa 505 tools/testing/selftests/net/nettest.c static int expected_addr_match(struct sockaddr *sa, void *expected, sa 511 tools/testing/selftests/net/nettest.c if (sa->sa_family == AF_INET) { sa 512 tools/testing/selftests/net/nettest.c struct sockaddr_in *s = (struct sockaddr_in *) sa; sa 522 tools/testing/selftests/net/nettest.c } else if (sa->sa_family == AF_INET6) { sa 523 tools/testing/selftests/net/nettest.c struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; sa 549 tools/testing/selftests/net/nettest.c struct sockaddr *sa; sa 554 tools/testing/selftests/net/nettest.c sa = (struct sockaddr *) &local_addr; sa 555 tools/testing/selftests/net/nettest.c if (getsockname(sd, sa, &alen) == 0) { sa 556 tools/testing/selftests/net/nettest.c log_address(desc, sa); sa 559 tools/testing/selftests/net/nettest.c rc = expected_addr_match(sa, &args->expected_laddr, sa 566 tools/testing/selftests/net/nettest.c sa = (struct sockaddr *) &remote_addr; sa 568 tools/testing/selftests/net/nettest.c if (getpeername(sd, sa, &alen) == 0) { sa 569 tools/testing/selftests/net/nettest.c log_address(desc, sa); sa 572 tools/testing/selftests/net/nettest.c rc |= expected_addr_match(sa, &args->expected_raddr, sa 723 tools/testing/selftests/net/nettest.c struct sockaddr *sa = (struct sockaddr *) addr; sa 757 tools/testing/selftests/net/nettest.c log_address("Message from:", sa); sa 772 tools/testing/selftests/net/nettest.c if (sa->sa_family == AF_INET6) { sa 773 tools/testing/selftests/net/nettest.c struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; sa 795 tools/testing/selftests/net/nettest.c struct sockaddr_in6 *s6 = (struct sockaddr_in6 *) sa; sa 193 tools/testing/selftests/networking/timestamping/txtimestamp.c char sa[INET6_ADDRSTRLEN], da[INET6_ADDRSTRLEN]; sa 197 tools/testing/selftests/networking/timestamping/txtimestamp.c saddr ? inet_ntop(family, saddr, sa, sizeof(sa)) : "unknown", sa 522 tools/testing/selftests/powerpc/alignment/alignment_handler.c struct sigaction sa; sa 539 tools/testing/selftests/powerpc/alignment/alignment_handler.c sa.sa_sigaction = sighandler; sa 540 tools/testing/selftests/powerpc/alignment/alignment_handler.c sigemptyset(&sa.sa_mask); sa 541 tools/testing/selftests/powerpc/alignment/alignment_handler.c sa.sa_flags = SA_SIGINFO; sa 542 tools/testing/selftests/powerpc/alignment/alignment_handler.c if (sigaction(SIGSEGV, &sa, NULL) == -1 sa 543 tools/testing/selftests/powerpc/alignment/alignment_handler.c || sigaction(SIGBUS, &sa, NULL) == -1 sa 544 tools/testing/selftests/powerpc/alignment/alignment_handler.c || sigaction(SIGILL, &sa, NULL) == -1) { sa 441 tools/testing/selftests/powerpc/mm/tlbie_test.c struct sigaction sa; sa 443 tools/testing/selftests/powerpc/mm/tlbie_test.c sa.sa_flags = SA_SIGINFO; sa 444 tools/testing/selftests/powerpc/mm/tlbie_test.c sa.sa_sigaction = segv_handler; sa 446 tools/testing/selftests/powerpc/mm/tlbie_test.c if (sigaction(SIGSEGV, &sa, NULL) == -1) { sa 54 tools/testing/selftests/powerpc/tm/tm-sigreturn.c struct sigaction sa; sa 60 tools/testing/selftests/powerpc/tm/tm-sigreturn.c memset(&sa, 0, sizeof(sa)); sa 61 tools/testing/selftests/powerpc/tm/tm-sigreturn.c sa.sa_handler = handler; sa 62 tools/testing/selftests/powerpc/tm/tm-sigreturn.c sigemptyset(&sa.sa_mask); sa 64 tools/testing/selftests/powerpc/tm/tm-sigreturn.c if (sigaction(SIGSEGV, &sa, NULL)) sa 263 tools/testing/selftests/powerpc/utils.c struct sigaction sa; sa 266 tools/testing/selftests/powerpc/utils.c memset(&sa, 0, sizeof(sa)); sa 267 tools/testing/selftests/powerpc/utils.c sa.sa_sigaction = sigill_handler; sa 268 tools/testing/selftests/powerpc/utils.c sa.sa_flags = SA_SIGINFO; sa 269 tools/testing/selftests/powerpc/utils.c if (sigaction(SIGILL, &sa, NULL)) sa 1111 tools/testing/selftests/rseq/param_test.c struct sigaction sa; sa 1120 tools/testing/selftests/rseq/param_test.c sa.sa_handler = test_signal_interrupt_handler; sa 1121 tools/testing/selftests/rseq/param_test.c sa.sa_mask = sigset; sa 1122 tools/testing/selftests/rseq/param_test.c sa.sa_flags = 0; sa 1123 tools/testing/selftests/rseq/param_test.c ret = sigaction(SIGUSR1, &sa, NULL); sa 33 tools/testing/selftests/x86/entry_from_vm86.c struct sigaction sa; sa 34 tools/testing/selftests/x86/entry_from_vm86.c memset(&sa, 0, sizeof(sa)); sa 35 tools/testing/selftests/x86/entry_from_vm86.c sa.sa_sigaction = handler; sa 36 tools/testing/selftests/x86/entry_from_vm86.c sa.sa_flags = SA_SIGINFO | flags; sa 37 tools/testing/selftests/x86/entry_from_vm86.c sigemptyset(&sa.sa_mask); sa 38 tools/testing/selftests/x86/entry_from_vm86.c if (sigaction(sig, &sa, 0)) sa 44 tools/testing/selftests/x86/entry_from_vm86.c struct sigaction sa; sa 45 tools/testing/selftests/x86/entry_from_vm86.c memset(&sa, 0, sizeof(sa)); sa 46 tools/testing/selftests/x86/entry_from_vm86.c sa.sa_handler = SIG_DFL; sa 47 tools/testing/selftests/x86/entry_from_vm86.c sigemptyset(&sa.sa_mask); sa 48 tools/testing/selftests/x86/entry_from_vm86.c if (sigaction(sig, &sa, 0)) sa 45 tools/testing/selftests/x86/fsgsbase.c struct sigaction sa; sa 46 tools/testing/selftests/x86/fsgsbase.c memset(&sa, 0, sizeof(sa)); sa 47 tools/testing/selftests/x86/fsgsbase.c sa.sa_sigaction = handler; sa 48 tools/testing/selftests/x86/fsgsbase.c sa.sa_flags = SA_SIGINFO | flags; sa 49 tools/testing/selftests/x86/fsgsbase.c sigemptyset(&sa.sa_mask); sa 50 tools/testing/selftests/x86/fsgsbase.c if (sigaction(sig, &sa, 0)) sa 56 tools/testing/selftests/x86/fsgsbase.c struct sigaction sa; sa 57 tools/testing/selftests/x86/fsgsbase.c memset(&sa, 0, sizeof(sa)); sa 58 tools/testing/selftests/x86/fsgsbase.c sa.sa_handler = SIG_DFL; sa 59 tools/testing/selftests/x86/fsgsbase.c sigemptyset(&sa.sa_mask); sa 60 tools/testing/selftests/x86/fsgsbase.c if (sigaction(sig, &sa, 0)) sa 28 tools/testing/selftests/x86/ioperm.c struct sigaction sa; sa 29 tools/testing/selftests/x86/ioperm.c memset(&sa, 0, sizeof(sa)); sa 30 tools/testing/selftests/x86/ioperm.c sa.sa_sigaction = handler; sa 31 tools/testing/selftests/x86/ioperm.c sa.sa_flags = SA_SIGINFO | flags; sa 32 tools/testing/selftests/x86/ioperm.c sigemptyset(&sa.sa_mask); sa 33 tools/testing/selftests/x86/ioperm.c if (sigaction(sig, &sa, 0)) sa 40 tools/testing/selftests/x86/ioperm.c struct sigaction sa; sa 41 tools/testing/selftests/x86/ioperm.c memset(&sa, 0, sizeof(sa)); sa 42 tools/testing/selftests/x86/ioperm.c sa.sa_handler = SIG_DFL; sa 43 tools/testing/selftests/x86/ioperm.c sigemptyset(&sa.sa_mask); sa 44 tools/testing/selftests/x86/ioperm.c if (sigaction(sig, &sa, 0)) sa 28 tools/testing/selftests/x86/iopl.c struct sigaction sa; sa 29 tools/testing/selftests/x86/iopl.c memset(&sa, 0, sizeof(sa)); sa 30 tools/testing/selftests/x86/iopl.c sa.sa_sigaction = handler; sa 31 tools/testing/selftests/x86/iopl.c sa.sa_flags = SA_SIGINFO | flags; sa 32 tools/testing/selftests/x86/iopl.c sigemptyset(&sa.sa_mask); sa 33 tools/testing/selftests/x86/iopl.c if (sigaction(sig, &sa, 0)) sa 512 tools/testing/selftests/x86/ldt_gdt.c struct sigaction sa; sa 513 tools/testing/selftests/x86/ldt_gdt.c memset(&sa, 0, sizeof(sa)); sa 514 tools/testing/selftests/x86/ldt_gdt.c sa.sa_sigaction = handler; sa 515 tools/testing/selftests/x86/ldt_gdt.c sa.sa_flags = SA_SIGINFO | flags; sa 516 tools/testing/selftests/x86/ldt_gdt.c sigemptyset(&sa.sa_mask); sa 517 tools/testing/selftests/x86/ldt_gdt.c if (sigaction(sig, &sa, 0)) sa 101 tools/testing/selftests/x86/mov_ss_trap.c struct sigaction sa; sa 102 tools/testing/selftests/x86/mov_ss_trap.c memset(&sa, 0, sizeof(sa)); sa 103 tools/testing/selftests/x86/mov_ss_trap.c sa.sa_sigaction = handler; sa 104 tools/testing/selftests/x86/mov_ss_trap.c sa.sa_flags = SA_SIGINFO | flags; sa 105 tools/testing/selftests/x86/mov_ss_trap.c sigemptyset(&sa.sa_mask); sa 106 tools/testing/selftests/x86/mov_ss_trap.c if (sigaction(sig, &sa, 0)) sa 99 tools/testing/selftests/x86/ptrace_syscall.c struct sigaction sa; sa 100 tools/testing/selftests/x86/ptrace_syscall.c memset(&sa, 0, sizeof(sa)); sa 101 tools/testing/selftests/x86/ptrace_syscall.c sa.sa_sigaction = handler; sa 102 tools/testing/selftests/x86/ptrace_syscall.c sa.sa_flags = SA_SIGINFO | flags; sa 103 tools/testing/selftests/x86/ptrace_syscall.c sigemptyset(&sa.sa_mask); sa 104 tools/testing/selftests/x86/ptrace_syscall.c if (sigaction(sig, &sa, 0)) sa 110 tools/testing/selftests/x86/ptrace_syscall.c struct sigaction sa; sa 111 tools/testing/selftests/x86/ptrace_syscall.c memset(&sa, 0, sizeof(sa)); sa 112 tools/testing/selftests/x86/ptrace_syscall.c sa.sa_sigaction = (void *)SIG_IGN; sa 113 tools/testing/selftests/x86/ptrace_syscall.c sa.sa_flags = flags; sa 114 tools/testing/selftests/x86/ptrace_syscall.c sigemptyset(&sa.sa_mask); sa 115 tools/testing/selftests/x86/ptrace_syscall.c if (sigaction(sig, &sa, 0)) sa 121 tools/testing/selftests/x86/ptrace_syscall.c struct sigaction sa; sa 122 tools/testing/selftests/x86/ptrace_syscall.c memset(&sa, 0, sizeof(sa)); sa 123 tools/testing/selftests/x86/ptrace_syscall.c sa.sa_handler = SIG_DFL; sa 124 tools/testing/selftests/x86/ptrace_syscall.c sigemptyset(&sa.sa_mask); sa 125 tools/testing/selftests/x86/ptrace_syscall.c if (sigaction(sig, &sa, 0)) sa 147 tools/testing/selftests/x86/sigreturn.c struct sigaction sa; sa 148 tools/testing/selftests/x86/sigreturn.c memset(&sa, 0, sizeof(sa)); sa 149 tools/testing/selftests/x86/sigreturn.c sa.sa_sigaction = handler; sa 150 tools/testing/selftests/x86/sigreturn.c sa.sa_flags = SA_SIGINFO | flags; sa 151 tools/testing/selftests/x86/sigreturn.c sigemptyset(&sa.sa_mask); sa 152 tools/testing/selftests/x86/sigreturn.c if (sigaction(sig, &sa, 0)) sa 158 tools/testing/selftests/x86/sigreturn.c struct sigaction sa; sa 159 tools/testing/selftests/x86/sigreturn.c memset(&sa, 0, sizeof(sa)); sa 160 tools/testing/selftests/x86/sigreturn.c sa.sa_handler = SIG_DFL; sa 161 tools/testing/selftests/x86/sigreturn.c sigemptyset(&sa.sa_mask); sa 162 tools/testing/selftests/x86/sigreturn.c if (sigaction(sig, &sa, 0)) sa 37 tools/testing/selftests/x86/single_step_syscall.c struct sigaction sa; sa 38 tools/testing/selftests/x86/single_step_syscall.c memset(&sa, 0, sizeof(sa)); sa 39 tools/testing/selftests/x86/single_step_syscall.c sa.sa_sigaction = handler; sa 40 tools/testing/selftests/x86/single_step_syscall.c sa.sa_flags = SA_SIGINFO | flags; sa 41 tools/testing/selftests/x86/single_step_syscall.c sigemptyset(&sa.sa_mask); sa 42 tools/testing/selftests/x86/single_step_syscall.c if (sigaction(sig, &sa, 0)) sa 45 tools/testing/selftests/x86/syscall_arg_fault.c struct sigaction sa; sa 46 tools/testing/selftests/x86/syscall_arg_fault.c memset(&sa, 0, sizeof(sa)); sa 47 tools/testing/selftests/x86/syscall_arg_fault.c sa.sa_sigaction = handler; sa 48 tools/testing/selftests/x86/syscall_arg_fault.c sa.sa_flags = SA_SIGINFO | flags; sa 49 tools/testing/selftests/x86/syscall_arg_fault.c sigemptyset(&sa.sa_mask); sa 50 tools/testing/selftests/x86/syscall_arg_fault.c if (sigaction(sig, &sa, 0)) sa 42 tools/testing/selftests/x86/syscall_nt.c struct sigaction sa; sa 43 tools/testing/selftests/x86/syscall_nt.c memset(&sa, 0, sizeof(sa)); sa 44 tools/testing/selftests/x86/syscall_nt.c sa.sa_sigaction = handler; sa 45 tools/testing/selftests/x86/syscall_nt.c sa.sa_flags = SA_SIGINFO | flags; sa 46 tools/testing/selftests/x86/syscall_nt.c sigemptyset(&sa.sa_mask); sa 47 tools/testing/selftests/x86/syscall_nt.c if (sigaction(sig, &sa, 0)) sa 45 tools/testing/selftests/x86/sysret_rip.c struct sigaction sa; sa 46 tools/testing/selftests/x86/sysret_rip.c memset(&sa, 0, sizeof(sa)); sa 47 tools/testing/selftests/x86/sysret_rip.c sa.sa_sigaction = handler; sa 48 tools/testing/selftests/x86/sysret_rip.c sa.sa_flags = SA_SIGINFO | flags; sa 49 tools/testing/selftests/x86/sysret_rip.c sigemptyset(&sa.sa_mask); sa 50 tools/testing/selftests/x86/sysret_rip.c if (sigaction(sig, &sa, 0)) sa 56 tools/testing/selftests/x86/sysret_rip.c struct sigaction sa; sa 57 tools/testing/selftests/x86/sysret_rip.c memset(&sa, 0, sizeof(sa)); sa 58 tools/testing/selftests/x86/sysret_rip.c sa.sa_handler = SIG_DFL; sa 59 tools/testing/selftests/x86/sysret_rip.c sigemptyset(&sa.sa_mask); sa 60 tools/testing/selftests/x86/sysret_rip.c if (sigaction(sig, &sa, 0)) sa 43 tools/testing/selftests/x86/test_vsyscall.c struct sigaction sa; sa 44 tools/testing/selftests/x86/test_vsyscall.c memset(&sa, 0, sizeof(sa)); sa 45 tools/testing/selftests/x86/test_vsyscall.c sa.sa_sigaction = handler; sa 46 tools/testing/selftests/x86/test_vsyscall.c sa.sa_flags = SA_SIGINFO | flags; sa 47 tools/testing/selftests/x86/test_vsyscall.c sigemptyset(&sa.sa_mask); sa 48 tools/testing/selftests/x86/test_vsyscall.c if (sigaction(sig, &sa, 0)) sa 47 tools/testing/selftests/x86/unwind_vdso.c struct sigaction sa; sa 48 tools/testing/selftests/x86/unwind_vdso.c memset(&sa, 0, sizeof(sa)); sa 49 tools/testing/selftests/x86/unwind_vdso.c sa.sa_sigaction = handler; sa 50 tools/testing/selftests/x86/unwind_vdso.c sa.sa_flags = SA_SIGINFO | flags; sa 51 tools/testing/selftests/x86/unwind_vdso.c sigemptyset(&sa.sa_mask); sa 52 tools/testing/selftests/x86/unwind_vdso.c if (sigaction(sig, &sa, 0)) sa 47 tools/testing/selftests/x86/vdso_restorer.c struct real_sigaction sa; sa 49 tools/testing/selftests/x86/vdso_restorer.c memset(&sa, 0, sizeof(sa)); sa 50 tools/testing/selftests/x86/vdso_restorer.c sa.handler = handler_with_siginfo; sa 51 tools/testing/selftests/x86/vdso_restorer.c sa.flags = SA_SIGINFO; sa 52 tools/testing/selftests/x86/vdso_restorer.c sa.restorer = NULL; /* request kernel-provided restorer */ sa 54 tools/testing/selftests/x86/vdso_restorer.c if (syscall(SYS_rt_sigaction, SIGUSR1, &sa, NULL, 8) != 0) sa 66 tools/testing/selftests/x86/vdso_restorer.c sa.flags = 0; sa 67 tools/testing/selftests/x86/vdso_restorer.c sa.handler = handler_without_siginfo; sa 68 tools/testing/selftests/x86/vdso_restorer.c if (syscall(SYS_sigaction, SIGUSR1, &sa, 0) != 0) sa 352 tools/testing/vsock/vsock_diag_test.c struct sockaddr sa; sa 367 tools/testing/vsock/vsock_diag_test.c if (bind(fd, &addr.sa, sizeof(addr.svm)) < 0) { sa 390 tools/testing/vsock/vsock_diag_test.c struct sockaddr sa; sa 410 tools/testing/vsock/vsock_diag_test.c ret = connect(fd, &addr.sa, sizeof(addr.svm)); sa 436 tools/testing/vsock/vsock_diag_test.c struct sockaddr sa; sa 446 tools/testing/vsock/vsock_diag_test.c struct sockaddr sa; sa 457 tools/testing/vsock/vsock_diag_test.c if (bind(fd, &addr.sa, sizeof(addr.svm)) < 0) { sa 471 tools/testing/vsock/vsock_diag_test.c client_fd = accept(fd, &clientaddr.sa, &clientaddr_len); sa 480 tools/testing/vsock/vsock_diag_test.c if (clientaddr.sa.sa_family != AF_VSOCK) { sa 482 tools/testing/vsock/vsock_diag_test.c clientaddr.sa.sa_family);