si 65 arch/arm/include/asm/efi.h void free_screen_info(efi_system_table_t *sys_table, struct screen_info *si); si 67 arch/arm/include/asm/efi.h static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) si 422 arch/arm/mach-footbridge/netwinder-hw.c unsigned char si[9]; si 434 arch/arm/mach-footbridge/netwinder-hw.c si[i] = 0; si 443 arch/arm/mach-footbridge/netwinder-hw.c si[i] |= bit << j; si 445 arch/arm/mach-footbridge/netwinder-hw.c dprintk("(%02X) ", si[i]); si 277 arch/arm/mach-pxa/magician.c static void toppoly_lcd_power(int on, struct fb_var_screeninfo *si) si 303 arch/arm/mach-pxa/magician.c static void samsung_lcd_power(int on, struct fb_var_screeninfo *si) si 203 arch/arm/mach-pxa/mioa701.c static void mioa701_lcd_power(int on, struct fb_var_screeninfo *si) si 587 arch/arm/mach-pxa/zeus.c static void zeus_lcd_power(int on, struct fb_var_screeninfo *si) si 110 arch/arm64/include/asm/efi.h struct screen_info *si) si 117 arch/arm64/include/asm/efi.h static inline void efifb_setup_from_dmi(struct screen_info *si, const char *opt) si 1483 arch/ia64/include/asm/pal.h unsigned long si : 1, si 103 arch/ia64/include/asm/processor.h __u64 si : 1; si 798 arch/mips/math-emu/cp1emu.c #define SIFROMREG(si, x) \ si 801 arch/mips/math-emu/cp1emu.c (si) = (int)get_fpr32(&ctx->fpr[x], 0); \ si 803 arch/mips/math-emu/cp1emu.c (si) = (int)get_fpr32(&ctx->fpr[(x) & ~1], (x) & 1); \ si 806 arch/mips/math-emu/cp1emu.c #define SITOREG(si, x) \ si 810 arch/mips/math-emu/cp1emu.c set_fpr32(&ctx->fpr[x], 0, si); \ si 814 arch/mips/math-emu/cp1emu.c set_fpr32(&ctx->fpr[(x) & ~1], (x) & 1, si); \ si 818 arch/mips/math-emu/cp1emu.c #define SIFROMHREG(si, x) ((si) = (int)get_fpr32(&ctx->fpr[x], 1)) si 820 arch/mips/math-emu/cp1emu.c #define SITOHREG(si, x) \ si 823 arch/mips/math-emu/cp1emu.c set_fpr32(&ctx->fpr[x], 1, si); \ si 42 arch/mips/sni/setup.c struct screen_info *si = &screen_info; si 48 arch/mips/sni/setup.c si->orig_x = di->CursorXPosition; si 49 arch/mips/sni/setup.c si->orig_y = di->CursorYPosition; si 50 arch/mips/sni/setup.c si->orig_video_cols = di->CursorMaxXPosition; si 51 arch/mips/sni/setup.c si->orig_video_lines = di->CursorMaxYPosition; si 52 arch/mips/sni/setup.c si->orig_video_isVGA = VIDEO_TYPE_VGAC; si 53 arch/mips/sni/setup.c si->orig_video_points = 16; si 352 arch/s390/include/uapi/asm/ptrace.h unsigned si : 2; si 69 arch/s390/kernel/lgr.c struct sysinfo_1_1_1 *si = (void *) lgr_page; si 71 arch/s390/kernel/lgr.c if (stsi(si, 1, 1, 1)) si 73 arch/s390/kernel/lgr.c cpascii(lgr_info->manufacturer, si->manufacturer, si 74 arch/s390/kernel/lgr.c sizeof(si->manufacturer)); si 75 arch/s390/kernel/lgr.c cpascii(lgr_info->type, si->type, sizeof(si->type)); si 76 arch/s390/kernel/lgr.c cpascii(lgr_info->model, si->model, sizeof(si->model)); si 77 arch/s390/kernel/lgr.c cpascii(lgr_info->sequence, si->sequence, sizeof(si->sequence)); si 78 arch/s390/kernel/lgr.c cpascii(lgr_info->plant, si->plant, sizeof(si->plant)); si 86 arch/s390/kernel/lgr.c struct sysinfo_2_2_2 *si = (void *) lgr_page; si 88 arch/s390/kernel/lgr.c if (stsi(si, 2, 2, 2)) si 90 arch/s390/kernel/lgr.c cpascii(lgr_info->name, si->name, sizeof(si->name)); si 91 arch/s390/kernel/lgr.c memcpy(&lgr_info->lpar_number, &si->lpar_number, si 100 arch/s390/kernel/lgr.c struct sysinfo_3_2_2 *si = (void *) lgr_page; si 103 arch/s390/kernel/lgr.c if (stsi(si, 3, 2, 2)) si 105 arch/s390/kernel/lgr.c for (i = 0; i < min_t(u8, si->count, VM_LEVEL_MAX); i++) { si 106 arch/s390/kernel/lgr.c cpascii(lgr_info->vm[i].name, si->vm[i].name, si 107 arch/s390/kernel/lgr.c sizeof(si->vm[i].name)); si 108 arch/s390/kernel/lgr.c cpascii(lgr_info->vm[i].cpi, si->vm[i].cpi, si 109 arch/s390/kernel/lgr.c sizeof(si->vm[i].cpi)); si 111 arch/s390/kernel/lgr.c lgr_info->vm_count = si->count; si 649 arch/s390/kernel/perf_cpum_cf_diag.c struct hws_qsi_info_block si; si 651 arch/s390/kernel/perf_cpum_cf_diag.c memset(&si, 0, sizeof(si)); si 652 arch/s390/kernel/perf_cpum_cf_diag.c if (!qsi(&si)) { si 653 arch/s390/kernel/perf_cpum_cf_diag.c cf_diag_cpu_speed = si.cpu_speed; si 319 arch/s390/kernel/perf_cpum_sf.c struct hws_qsi_info_block si; si 324 arch/s390/kernel/perf_cpum_sf.c memset(&si, 0, sizeof(si)); si 325 arch/s390/kernel/perf_cpum_sf.c if (!qsi(&si)) si 326 arch/s390/kernel/perf_cpum_sf.c CPUM_SF_SDB_DIAG_FACTOR = DIV_ROUND_UP(si.dsdes, si.bsdes); si 621 arch/s390/kernel/perf_cpum_sf.c static unsigned long hw_limit_rate(const struct hws_qsi_info_block *si, si 625 arch/s390/kernel/perf_cpum_sf.c si->min_sampl_rate, si->max_sampl_rate); si 690 arch/s390/kernel/perf_cpum_sf.c struct hws_qsi_info_block *si) si 695 arch/s390/kernel/perf_cpum_sf.c rate = freq_to_sample_rate(si, sample); si 696 arch/s390/kernel/perf_cpum_sf.c rate = hw_limit_rate(si, rate); si 702 arch/s390/kernel/perf_cpum_sf.c rate = hw_limit_rate(si, sample); si 710 arch/s390/kernel/perf_cpum_sf.c if (sample_rate_to_freq(si, rate) > si 739 arch/s390/kernel/perf_cpum_sf.c struct hws_qsi_info_block *si) si 748 arch/s390/kernel/perf_cpum_sf.c rate = getrate(attr->freq, attr->sample_freq, si); si 752 arch/s390/kernel/perf_cpum_sf.c rate = getrate(attr->freq, attr->sample_period, si); si 769 arch/s390/kernel/perf_cpum_sf.c struct hws_qsi_info_block si; si 798 arch/s390/kernel/perf_cpum_sf.c memset(&si, 0, sizeof(si)); si 801 arch/s390/kernel/perf_cpum_sf.c qsi(&si); si 807 arch/s390/kernel/perf_cpum_sf.c si = cpuhw->qsi; si 814 arch/s390/kernel/perf_cpum_sf.c if (!si.as) { si 819 arch/s390/kernel/perf_cpum_sf.c if (si.ribm & CPU_MF_SF_RIBM_NOTAV) { si 832 arch/s390/kernel/perf_cpum_sf.c if (!si.ad) { si 843 arch/s390/kernel/perf_cpum_sf.c err = __hw_perf_event_init_rate(event, &si); si 999 arch/s390/kernel/perf_cpum_sf.c struct hws_qsi_info_block si; si 1021 arch/s390/kernel/perf_cpum_sf.c if (!qsi(&si)) { si 1027 arch/s390/kernel/perf_cpum_sf.c if (si.es) { si 1028 arch/s390/kernel/perf_cpum_sf.c cpuhw->lsctl.tear = si.tear; si 1029 arch/s390/kernel/perf_cpum_sf.c cpuhw->lsctl.dear = si.dear; si 1801 arch/s390/kernel/perf_cpum_sf.c struct hws_qsi_info_block si; si 1805 arch/s390/kernel/perf_cpum_sf.c memset(&si, 0, sizeof(si)); si 1807 arch/s390/kernel/perf_cpum_sf.c if (qsi(&si)) si 1815 arch/s390/kernel/perf_cpum_sf.c si = cpuhw->qsi; si 1819 arch/s390/kernel/perf_cpum_sf.c rate = getrate(do_freq, value, &si); si 2161 arch/s390/kernel/perf_cpum_sf.c struct hws_qsi_info_block si; si 2167 arch/s390/kernel/perf_cpum_sf.c memset(&si, 0, sizeof(si)); si 2168 arch/s390/kernel/perf_cpum_sf.c if (qsi(&si)) { si 2173 arch/s390/kernel/perf_cpum_sf.c if (!si.as && !si.ad) si 2176 arch/s390/kernel/perf_cpum_sf.c if (si.bsdes != sizeof(struct hws_basic_entry)) { si 2181 arch/s390/kernel/perf_cpum_sf.c if (si.ad) { si 136 arch/s390/kernel/perf_event.c struct hws_qsi_info_block si; si 139 arch/s390/kernel/perf_event.c memset(&si, 0, sizeof(si)); si 140 arch/s390/kernel/perf_event.c if (qsi(&si)) si 144 arch/s390/kernel/perf_event.c cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, si 145 arch/s390/kernel/perf_event.c si.cpu_speed); si 147 arch/s390/kernel/perf_event.c if (si.as) si 150 arch/s390/kernel/perf_event.c si.as, si.es, si.cs, si.bsdes, si.tear, si.dear); si 151 arch/s390/kernel/perf_event.c if (si.ad) si 154 arch/s390/kernel/perf_event.c si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); si 184 arch/s390/kernel/perf_event.c struct hws_qsi_info_block si; si 186 arch/s390/kernel/perf_event.c memset(&si, 0, sizeof(si)); si 187 arch/s390/kernel/perf_event.c if (qsi(&si)) si 190 arch/s390/kernel/perf_event.c if (!si.as && !si.ad) si 194 arch/s390/kernel/perf_event.c " cpu_speed=%u\n", si.min_sampl_rate, si.max_sampl_rate, si 195 arch/s390/kernel/perf_event.c si.cpu_speed); si 196 arch/s390/kernel/perf_event.c if (si.as) si 198 arch/s390/kernel/perf_event.c " sample_size=%u\n", si.bsdes); si 199 arch/s390/kernel/perf_event.c if (si.ad) si 201 arch/s390/kernel/perf_event.c " sample_size=%u\n", si.dsdes); si 201 arch/s390/pci/pci_irq.c unsigned long si, ai; si 206 arch/s390/pci/pci_irq.c for (si = 0;;) { si 208 arch/s390/pci/pci_irq.c si = airq_iv_scan(zpci_sbv, si, airq_iv_end(zpci_sbv)); si 209 arch/s390/pci/pci_irq.c if (si == -1UL) { si 216 arch/s390/pci/pci_irq.c si = 0; si 221 arch/s390/pci/pci_irq.c aibv = zpci_ibv[si]; si 314 arch/sparc/kernel/sun4m_irq.c unsigned long afsr, afar, si; si 324 arch/sparc/kernel/sun4m_irq.c si = sbus_readl(&sun4m_irq_global->pending); si 325 arch/sparc/kernel/sun4m_irq.c printk(KERN_ERR "si=%08lx\n", si); si 326 arch/sparc/kernel/sun4m_irq.c if (si & SUN4M_INT_MODULE_ERR) si 328 arch/sparc/kernel/sun4m_irq.c if (si & SUN4M_INT_M2S_WRITE_ERR) si 330 arch/sparc/kernel/sun4m_irq.c if (si & SUN4M_INT_ECC_ERR) si 332 arch/sparc/kernel/sun4m_irq.c if (si & SUN4M_INT_VME_ERR) si 62 arch/um/include/shared/as-layout.h extern void (*sig_info[])(int, struct siginfo *si, struct uml_pt_regs *); si 28 arch/um/include/shared/kern_util.h extern void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs); si 65 arch/um/include/shared/kern_util.h extern void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs); si 284 arch/um/kernel/trap.c void relay_signal(int sig, struct siginfo *si, struct uml_pt_regs *regs) si 299 arch/um/kernel/trap.c code = si->si_code; si 300 arch/um/kernel/trap.c err = si->si_errno; si 312 arch/um/kernel/trap.c void bus_handler(int sig, struct siginfo *si, struct uml_pt_regs *regs) si 317 arch/um/kernel/trap.c relay_signal(sig, si, regs); si 32 arch/um/os-Linux/signal.c static void sig_handler_common(int sig, struct siginfo *si, mcontext_t *mc) si 48 arch/um/os-Linux/signal.c (*sig_info[sig])(sig, si, &r); si 69 arch/um/os-Linux/signal.c void sig_handler(int sig, struct siginfo *si, mcontext_t *mc) si 81 arch/um/os-Linux/signal.c sig_handler_common(sig, si, mc); si 139 arch/um/os-Linux/signal.c static void (*handlers[_NSIG])(int sig, struct siginfo *si, mcontext_t *mc) = { si 151 arch/um/os-Linux/signal.c static void hard_handler(int sig, siginfo_t *si, void *p) si 180 arch/um/os-Linux/signal.c (*handlers[sig])(sig, (struct siginfo *)si, mc); si 339 arch/um/os-Linux/skas/process.c siginfo_t si; si 403 arch/um/os-Linux/skas/process.c ptrace(PTRACE_GETSIGINFO, pid, 0, (struct siginfo *)&si); si 410 arch/um/os-Linux/skas/process.c (*sig_info[SIGSEGV])(SIGSEGV, (struct siginfo *)&si, si 419 arch/um/os-Linux/skas/process.c relay_signal(SIGTRAP, (struct siginfo *)&si, regs); si 429 arch/um/os-Linux/skas/process.c (*sig_info[sig])(sig, (struct siginfo *)&si, regs); si 49 arch/x86/boot/apm.c boot_params.apm_bios_info.cseg_len = oreg.si; si 244 arch/x86/boot/boot.h u16 si, hsi; si 262 arch/x86/boot/compressed/eboot.c setup_uga(struct screen_info *si, efi_guid_t *uga_proto, unsigned long size) si 323 arch/x86/boot/compressed/eboot.c si->orig_video_isVGA = VIDEO_TYPE_EFI; si 325 arch/x86/boot/compressed/eboot.c si->lfb_depth = 32; si 326 arch/x86/boot/compressed/eboot.c si->lfb_width = width; si 327 arch/x86/boot/compressed/eboot.c si->lfb_height = height; si 329 arch/x86/boot/compressed/eboot.c si->red_size = 8; si 330 arch/x86/boot/compressed/eboot.c si->red_pos = 16; si 331 arch/x86/boot/compressed/eboot.c si->green_size = 8; si 332 arch/x86/boot/compressed/eboot.c si->green_pos = 8; si 333 arch/x86/boot/compressed/eboot.c si->blue_size = 8; si 334 arch/x86/boot/compressed/eboot.c si->blue_pos = 0; si 335 arch/x86/boot/compressed/eboot.c si->rsvd_size = 8; si 336 arch/x86/boot/compressed/eboot.c si->rsvd_pos = 24; si 347 arch/x86/boot/compressed/eboot.c struct screen_info *si; si 354 arch/x86/boot/compressed/eboot.c si = &boot_params->screen_info; si 355 arch/x86/boot/compressed/eboot.c memset(si, 0, sizeof(*si)); si 362 arch/x86/boot/compressed/eboot.c status = efi_setup_gop(NULL, si, &graphics_proto, size); si 370 arch/x86/boot/compressed/eboot.c setup_uga(si, &uga_proto, size); si 101 arch/x86/boot/edd.c ireg.si = (size_t)&ei->params; si 56 arch/x86/entry/common.c regs->si, regs->dx, regs->r10); si 61 arch/x86/entry/common.c regs->cx, regs->dx, regs->si); si 101 arch/x86/entry/common.c sd.args[1] = regs->si; si 112 arch/x86/entry/common.c sd.args[3] = regs->si; si 343 arch/x86/entry/common.c (unsigned int)regs->dx, (unsigned int)regs->si, si 82 arch/x86/entry/vsyscall/vsyscall_64.c regs->sp, regs->ax, regs->si, regs->di); si 188 arch/x86/entry/vsyscall/vsyscall_64.c !write_ok_or_segv(regs->si, sizeof(struct timezone))) { si 207 arch/x86/entry/vsyscall/vsyscall_64.c !write_ok_or_segv(regs->si, sizeof(unsigned))) { si 206 arch/x86/events/intel/ds.c u64 si, di, bp, sp; si 214 arch/x86/events/intel/ds.c u64 si, di, bp, sp; si 226 arch/x86/events/intel/ds.c u64 si, di, bp, sp; si 255 arch/x86/events/intel/ds.c u64 si, di, bp, sp; si 1405 arch/x86/events/intel/ds.c regs->si = pebs->si; si 1488 arch/x86/events/intel/ds.c regs->si = gprs->si; si 88 arch/x86/ia32/ia32_signal.c COPY(di); COPY(si); COPY(bp); COPY(sp); COPY(bx); si 193 arch/x86/ia32/ia32_signal.c put_user_ex(regs->si, &sc->si); si 52 arch/x86/include/asm/apm.h int cx, dx, si; si 68 arch/x86/include/asm/apm.h "=S" (si) si 37 arch/x86/include/asm/asm-prototypes.h INDIRECT_THUNK(si) si 46 arch/x86/include/asm/asm.h #define _ASM_SI __ASM_REG(si) si 93 arch/x86/include/asm/asm.h #define _ASM_ARG2W si si 175 arch/x86/include/asm/efi.h extern void efifb_setup_from_dmi(struct screen_info *si, const char *opt); si 112 arch/x86/include/asm/elf.h _r->si = 0; _r->di = 0; _r->bp = 0; \ si 126 arch/x86/include/asm/elf.h pr_reg[3] = regs->si; \ si 177 arch/x86/include/asm/elf.h regs->si = regs->di = regs->bp = 0; si 222 arch/x86/include/asm/elf.h (pr_reg)[13] = (regs)->si; \ si 88 arch/x86/include/asm/kexec.h asm volatile("movl %%esi,%0" : "=m"(newregs->si)); si 102 arch/x86/include/asm/kexec.h asm volatile("movq %%rsi,%0" : "=m"(newregs->si)); si 206 arch/x86/include/asm/perf_event.h u64 flags, ip, ax, cx, dx, bx, sp, bp, si, di; si 286 arch/x86/include/asm/processor.h unsigned long si; si 30 arch/x86/include/asm/ptrace.h unsigned long si; si 75 arch/x86/include/asm/ptrace.h unsigned long si; si 317 arch/x86/include/asm/ptrace.h offsetof(struct pt_regs, si), si 50 arch/x86/include/asm/switch_to.h unsigned long si; si 125 arch/x86/include/asm/syscall.h *args++ = regs->si; si 132 arch/x86/include/asm/syscall.h *args++ = regs->si; si 149 arch/x86/include/asm/syscall.h regs->si = *args++; si 156 arch/x86/include/asm/syscall.h regs->si = *args++; si 14 arch/x86/include/asm/syscall_wrapper.h ,,regs->di,,regs->si,,regs->dx \ si 21 arch/x86/include/asm/syscall_wrapper.h ,,(unsigned int)regs->dx,,(unsigned int)regs->si \ si 73 arch/x86/include/asm/sysfb.h bool parse_mode(const struct screen_info *si, si 75 arch/x86/include/asm/sysfb.h int create_simplefb(const struct screen_info *si, si 80 arch/x86/include/asm/sysfb.h static inline bool parse_mode(const struct screen_info *si, si 86 arch/x86/include/asm/sysfb.h static inline int create_simplefb(const struct screen_info *si, si 82 arch/x86/include/asm/user_32.h unsigned long si; si 83 arch/x86/include/asm/user_64.h unsigned long si; si 113 arch/x86/include/asm/xen/interface_64.h __DECL_REG(si); si 208 arch/x86/include/uapi/asm/sigcontext.h __u32 si; si 248 arch/x86/include/uapi/asm/sigcontext.h __u64 si; si 57 arch/x86/kernel/asm-offsets.c OFFSET(IA32_SIGCONTEXT_si, sigcontext_32, si); si 30 arch/x86/kernel/asm-offsets_32.c OFFSET(PT_ESI, pt_regs, si); si 61 arch/x86/kernel/asm-offsets_64.c ENTRY(si); si 45 arch/x86/kernel/doublefault.c t->si, t->di); si 55 arch/x86/kernel/kgdb.c { "si", 4, offsetof(struct pt_regs, si) }, si 68 arch/x86/kernel/kgdb.c { "si", 8, offsetof(struct pt_regs, si) }, si 25 arch/x86/kernel/perf_regs.c PT_REGS_OFFSET(PERF_REG_X86_SI, si), si 159 arch/x86/kernel/perf_regs.c regs_user_copy->si = user_regs->si; si 77 arch/x86/kernel/process_32.c regs->si, regs->di, regs->bp, regs->sp); si 84 arch/x86/kernel/process_64.c regs->dx, regs->si, regs->di); si 80 arch/x86/kernel/ptrace.c REG_OFFSET_NAME(si), si 882 arch/x86/kernel/ptrace.c R32(esi, si); si 955 arch/x86/kernel/ptrace.c R32(esi, si); si 118 arch/x86/kernel/signal.c COPY(di); COPY(si); COPY(bp); COPY(sp); COPY(bx); si 174 arch/x86/kernel/signal.c put_user_ex(regs->si, &sc->si); si 506 arch/x86/kernel/signal.c regs->si = (unsigned long)&frame->info; si 591 arch/x86/kernel/signal.c regs->si = (unsigned long) &frame->info; si 39 arch/x86/kernel/sysfb.c struct screen_info *si = &screen_info; si 49 arch/x86/kernel/sysfb.c compatible = parse_mode(si, &mode); si 51 arch/x86/kernel/sysfb.c ret = create_simplefb(si, &mode); si 57 arch/x86/kernel/sysfb.c if (si->orig_video_isVGA == VIDEO_TYPE_EFI) si 59 arch/x86/kernel/sysfb.c else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) si 65 arch/x86/kernel/sysfb.c NULL, 0, si, sizeof(*si)); si 70 arch/x86/kernel/sysfb_efi.c void efifb_setup_from_dmi(struct screen_info *si, const char *opt) si 77 arch/x86/kernel/sysfb_efi.c si->lfb_base = efifb_dmi_list[i].base; si 78 arch/x86/kernel/sysfb_efi.c si->lfb_linelength = efifb_dmi_list[i].stride; si 79 arch/x86/kernel/sysfb_efi.c si->lfb_width = efifb_dmi_list[i].width; si 80 arch/x86/kernel/sysfb_efi.c si->lfb_height = efifb_dmi_list[i].height; si 27 arch/x86/kernel/sysfb_simplefb.c __init bool parse_mode(const struct screen_info *si, si 34 arch/x86/kernel/sysfb_simplefb.c type = si->orig_video_isVGA; si 40 arch/x86/kernel/sysfb_simplefb.c if (si->lfb_depth == f->bits_per_pixel && si 41 arch/x86/kernel/sysfb_simplefb.c si->red_size == f->red.length && si 42 arch/x86/kernel/sysfb_simplefb.c si->red_pos == f->red.offset && si 43 arch/x86/kernel/sysfb_simplefb.c si->green_size == f->green.length && si 44 arch/x86/kernel/sysfb_simplefb.c si->green_pos == f->green.offset && si 45 arch/x86/kernel/sysfb_simplefb.c si->blue_size == f->blue.length && si 46 arch/x86/kernel/sysfb_simplefb.c si->blue_pos == f->blue.offset && si 47 arch/x86/kernel/sysfb_simplefb.c si->rsvd_size == f->transp.length && si 48 arch/x86/kernel/sysfb_simplefb.c si->rsvd_pos == f->transp.offset) { si 50 arch/x86/kernel/sysfb_simplefb.c mode->width = si->lfb_width; si 51 arch/x86/kernel/sysfb_simplefb.c mode->height = si->lfb_height; si 52 arch/x86/kernel/sysfb_simplefb.c mode->stride = si->lfb_linelength; si 60 arch/x86/kernel/sysfb_simplefb.c __init int create_simplefb(const struct screen_info *si, si 73 arch/x86/kernel/sysfb_simplefb.c base = si->lfb_base; si 74 arch/x86/kernel/sysfb_simplefb.c if (si->capabilities & VIDEO_CAPABILITY_64BIT_BASE) si 75 arch/x86/kernel/sysfb_simplefb.c base |= (u64)si->ext_lfb_base << 32; si 89 arch/x86/kernel/sysfb_simplefb.c size = si->lfb_size; si 90 arch/x86/kernel/sysfb_simplefb.c if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) si 459 arch/x86/kernel/uprobes.c return ®s->si; si 829 arch/x86/kernel/uprobes.c reg_offset = offsetof(struct pt_regs, si); si 128 arch/x86/kernel/vm86_32.c put_user_ex(regs->pt.si, &user->regs.esi); si 292 arch/x86/kernel/vm86_32.c get_user_ex(vm86regs.pt.si, &user_vm86->regs.esi); si 1306 arch/x86/kvm/emulate.c unsigned si = reg_read(ctxt, VCPU_REGS_RSI); si 1324 arch/x86/kvm/emulate.c modrm_ea += bx + si; si 1330 arch/x86/kvm/emulate.c modrm_ea += bp + si; si 1336 arch/x86/kvm/emulate.c modrm_ea += si; si 3061 arch/x86/kvm/emulate.c tss->si = reg_read(ctxt, VCPU_REGS_RSI); si 3085 arch/x86/kvm/emulate.c *reg_write(ctxt, VCPU_REGS_RSI) = tss->si; si 51 arch/x86/kvm/tss.h u16 si; si 186 arch/x86/lib/insn-eval.c case offsetof(struct pt_regs, si): si 408 arch/x86/lib/insn-eval.c offsetof(struct pt_regs, si), si 515 arch/x86/lib/insn-eval.c offsetof(struct pt_regs, si), si 522 arch/x86/lib/insn-eval.c offsetof(struct pt_regs, si), si 524 arch/x86/lib/insn-eval.c offsetof(struct pt_regs, si), si 39 arch/x86/math-emu/get_address.c offsetof(struct pt_regs, si), si 349 arch/x86/math-emu/get_address.c address += FPU_info->regs->bx + FPU_info->regs->si; si 355 arch/x86/math-emu/get_address.c address += FPU_info->regs->bp + FPU_info->regs->si; si 365 arch/x86/math-emu/get_address.c address += FPU_info->regs->si; si 119 arch/x86/mm/mmio-mod.c regs->si, regs->di, regs->bp, regs->sp); si 124 arch/x86/mm/mmio-mod.c regs->si, regs->di, regs->bp, regs->sp); si 293 arch/x86/mm/pf_in.c rv = (unsigned char *)®s->si; si 356 arch/x86/mm/pf_in.c rv = ®s->si; si 229 arch/x86/oprofile/nmi_int.c int si = per_cpu(switch_index, cpu); si 236 arch/x86/oprofile/nmi_int.c si += model->num_counters; si 237 arch/x86/oprofile/nmi_int.c if ((si >= model->num_virt_counters) || (counter_config[si].count == 0)) si 240 arch/x86/oprofile/nmi_int.c per_cpu(switch_index, cpu) = si; si 175 arch/x86/um/signal.c GETREG(SI, si); si 254 arch/x86/um/signal.c PUTREG(SI, si); si 492 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[q0[(b) ^ sa] ^ se] ^ si]; \ si 500 crypto/twofish_common.c ctx->s[0][i] = mds[0][q0[q0[q1[(b) ^ sa] ^ se] ^ si] ^ sm]; \ si 580 crypto/twofish_common.c u8 si = 0, sj = 0, sk = 0, sl = 0, sm = 0, sn = 0, so = 0, sp = 0; si 615 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 16, 0x00, 0x2D, 0x01, 0x2D); /* 01 A4 02 A4 */ si 616 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 17, 0x2D, 0xA4, 0x44, 0x8A); /* A4 56 A1 55 */ si 617 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 18, 0x8A, 0xD5, 0xBF, 0xD1); /* 55 82 FC 87 */ si 618 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 19, 0xD1, 0x7F, 0x3D, 0x99); /* 87 F3 C1 5A */ si 619 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 20, 0x99, 0x46, 0x66, 0x96); /* 5A 1E 47 58 */ si 620 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 21, 0x96, 0x3C, 0x5B, 0xED); /* 58 C6 AE DB */ si 621 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 22, 0xED, 0x37, 0x4F, 0xE0); /* DB 68 3D 9E */ si 622 crypto/twofish_common.c CALC_S (si, sj, sk, sl, 23, 0xE0, 0xD0, 0x8C, 0x17); /* 9E E5 19 03 */ si 186 drivers/ata/acard-ahci.c unsigned int si, last_si = 0; si 193 drivers/ata/acard-ahci.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 202 drivers/ata/acard-ahci.c acard_sg[si].addr = cpu_to_le32(addr & 0xffffffff); si 203 drivers/ata/acard-ahci.c acard_sg[si].addr_hi = cpu_to_le32((addr >> 16) >> 16); si 204 drivers/ata/acard-ahci.c acard_sg[si].size = cpu_to_le32(sg_len); si 205 drivers/ata/acard-ahci.c last_si = si; si 210 drivers/ata/acard-ahci.c return si; si 1597 drivers/ata/libahci.c unsigned int si; si 1604 drivers/ata/libahci.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 1608 drivers/ata/libahci.c ahci_sg[si].addr = cpu_to_le32(addr & 0xffffffff); si 1609 drivers/ata/libahci.c ahci_sg[si].addr_hi = cpu_to_le32((addr >> 16) >> 16); si 1610 drivers/ata/libahci.c ahci_sg[si].flags_size = cpu_to_le32(sg_len - 1); si 1613 drivers/ata/libahci.c return si; si 2580 drivers/ata/libata-sff.c unsigned int si, pi; si 2583 drivers/ata/libata-sff.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 2631 drivers/ata/libata-sff.c unsigned int si, pi; si 2634 drivers/ata/libata-sff.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 520 drivers/ata/pata_macio.c unsigned int si, pi; si 531 drivers/ata/pata_macio.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 448 drivers/ata/pata_mpc52xx.c unsigned int read = !(qc->tf.flags & ATA_TFLAG_WRITE), si; si 457 drivers/ata/pata_mpc52xx.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 264 drivers/ata/pdc_adma.c unsigned int si; si 266 drivers/ata/pdc_adma.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 448 drivers/ata/sata_fsl.c unsigned int si; si 455 drivers/ata/sata_fsl.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 461 drivers/ata/sata_inic162x.c unsigned int si; si 470 drivers/ata/sata_inic162x.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 477 drivers/ata/sata_inic162x.c WARN_ON(!si); si 1790 drivers/ata/sata_mv.c unsigned int si; si 1793 drivers/ata/sata_mv.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 1315 drivers/ata/sata_nv.c unsigned int si; si 1319 drivers/ata/sata_nv.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 1320 drivers/ata/sata_nv.c aprd = (si < 5) ? &cpb->aprd[si] : si 1321 drivers/ata/sata_nv.c &pp->aprd[NV_ADMA_SGTBL_LEN * qc->hw_tag + (si-5)]; si 1322 drivers/ata/sata_nv.c nv_adma_fill_aprd(qc, sg, si, aprd); si 1324 drivers/ata/sata_nv.c if (si > 5) si 1972 drivers/ata/sata_nv.c unsigned int si, idx; si 1977 drivers/ata/sata_nv.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 579 drivers/ata/sata_promise.c unsigned int si, idx; si 586 drivers/ata/sata_promise.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 242 drivers/ata/sata_qstor.c unsigned int si; si 244 drivers/ata/sata_qstor.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 256 drivers/ata/sata_qstor.c VPRINTK("PRD[%u] = (0x%llX, 0x%X)\n", si, si 260 drivers/ata/sata_qstor.c return si; si 532 drivers/ata/sata_rcar.c unsigned int si; si 534 drivers/ata/sata_rcar.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 544 drivers/ata/sata_rcar.c prd[si].addr = cpu_to_le32(addr); si 545 drivers/ata/sata_rcar.c prd[si].flags_len = cpu_to_le32(sg_len); si 546 drivers/ata/sata_rcar.c VPRINTK("PRD[%u] = (0x%X, 0x%X)\n", si, addr, sg_len); si 550 drivers/ata/sata_rcar.c prd[si - 1].addr |= cpu_to_le32(SATA_RCAR_DTEND); si 298 drivers/ata/sata_sil.c unsigned int si; si 301 drivers/ata/sata_sil.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 310 drivers/ata/sata_sil.c VPRINTK("PRD[%u] = (0x%X, 0x%X)\n", si, addr, sg_len); si 774 drivers/ata/sata_sil24.c unsigned int si; si 776 drivers/ata/sata_sil24.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 445 drivers/ata/sata_sx4.c unsigned int i, si, idx, total_len = 0, sgt_len; si 459 drivers/ata/sata_sx4.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 3781 drivers/block/drbd/drbd_nl.c struct state_info *si = NULL; /* for sizeof(si->member); */ si 3851 drivers/block/drbd/drbd_nl.c err = nla_put(skb, T_uuids, sizeof(si->uuids), device->ldev->md.uuid); si 2413 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_system_interface_addr si; si 2416 drivers/char/ipmi/ipmi_msghandler.c si.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; si 2417 drivers/char/ipmi/ipmi_msghandler.c si.channel = IPMI_BMC_CHANNEL; si 2418 drivers/char/ipmi/ipmi_msghandler.c si.lun = 0; si 2427 drivers/char/ipmi/ipmi_msghandler.c (struct ipmi_addr *) &si, si 3140 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_system_interface_addr si; si 3142 drivers/char/ipmi/ipmi_msghandler.c si.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; si 3143 drivers/char/ipmi/ipmi_msghandler.c si.channel = IPMI_BMC_CHANNEL; si 3144 drivers/char/ipmi/ipmi_msghandler.c si.lun = 0; si 3152 drivers/char/ipmi/ipmi_msghandler.c (struct ipmi_addr *) &si, si 3224 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_system_interface_addr si; si 3226 drivers/char/ipmi/ipmi_msghandler.c si.addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; si 3227 drivers/char/ipmi/ipmi_msghandler.c si.channel = IPMI_BMC_CHANNEL; si 3228 drivers/char/ipmi/ipmi_msghandler.c si.lun = 0; si 3237 drivers/char/ipmi/ipmi_msghandler.c (struct ipmi_addr *) &si, si 4921 drivers/char/ipmi/ipmi_msghandler.c struct ipmi_system_interface_addr *si; si 4930 drivers/char/ipmi/ipmi_msghandler.c si = (struct ipmi_system_interface_addr *) &addr; si 4931 drivers/char/ipmi/ipmi_msghandler.c si->addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; si 4932 drivers/char/ipmi/ipmi_msghandler.c si->channel = IPMI_BMC_CHANNEL; si 4933 drivers/char/ipmi/ipmi_msghandler.c si->lun = 0; si 5029 drivers/char/ipmi/ipmi_msghandler.c si = (struct ipmi_system_interface_addr *) &addr; si 5030 drivers/char/ipmi/ipmi_msghandler.c si->addr_type = IPMI_SYSTEM_INTERFACE_ADDR_TYPE; si 5031 drivers/char/ipmi/ipmi_msghandler.c si->channel = IPMI_BMC_CHANNEL; si 5032 drivers/char/ipmi/ipmi_msghandler.c si->lun = 0; si 584 drivers/clk/st/clkgen-fsyn.c static int clk_fs660c32_get_pe(int m, int si, unsigned long *deviation, si 592 drivers/clk/st/clkgen-fsyn.c val = (uint64_t)output << si; si 603 drivers/clk/st/clkgen-fsyn.c fs_tmp.sdiv = si; si 613 drivers/clk/st/clkgen-fsyn.c fs->sdiv = si; si 623 drivers/clk/st/clkgen-fsyn.c int si; /* sdiv_reg (8 downto 0) */ si 633 drivers/clk/st/clkgen-fsyn.c for (si = 0; (si <= 8) && deviation; si++) { si 636 drivers/clk/st/clkgen-fsyn.c r1 = clk_fs660c32_get_pe(0, si, &deviation, si 638 drivers/clk/st/clkgen-fsyn.c r2 = clk_fs660c32_get_pe(31, si, &deviation, si 647 drivers/clk/st/clkgen-fsyn.c clk_fs660c32_get_pe(m, si, &deviation, si 44 drivers/dma/acpi-dma.c const struct acpi_csrt_shared_info *si; si 71 drivers/dma/acpi-dma.c si = (const struct acpi_csrt_shared_info *)&grp[1]; si 74 drivers/dma/acpi-dma.c if (si->mmio_base_low != lower_32_bits(mem) || si 75 drivers/dma/acpi-dma.c si->mmio_base_high != upper_32_bits(mem) || si 76 drivers/dma/acpi-dma.c si->gsi_interrupt != irq) si 83 drivers/dma/acpi-dma.c if (si->base_request_line == 0 && si->num_handshake_signals == 0) si 88 drivers/dma/acpi-dma.c DMA_BIT_MASK(si->dma_address_width)); si 92 drivers/dma/acpi-dma.c adma->base_request_line = si->base_request_line; si 93 drivers/dma/acpi-dma.c adma->end_request_line = si->base_request_line + si 94 drivers/dma/acpi-dma.c si->num_handshake_signals - 1; si 868 drivers/edac/cpc925_edac.c u8 si; si 871 drivers/edac/cpc925_edac.c si = (mscr & MSCR_SI_MASK) >> MSCR_SI_SHIFT; si 876 drivers/edac/cpc925_edac.c (si == 0)) { si 880 drivers/edac/cpc925_edac.c bw = CPC925_SCRUB_BLOCK_SIZE * 0xFA67 / si; si 79 drivers/firmware/arm_scmi/sensors.c struct sensors_info *si) si 94 drivers/firmware/arm_scmi/sensors.c si->num_sensors = le16_to_cpu(attr->num_sensors); si 95 drivers/firmware/arm_scmi/sensors.c si->max_requests = attr->max_requests; si 96 drivers/firmware/arm_scmi/sensors.c si->reg_addr = le32_to_cpu(attr->reg_addr_low) | si 98 drivers/firmware/arm_scmi/sensors.c si->reg_size = le32_to_cpu(attr->reg_size); si 106 drivers/firmware/arm_scmi/sensors.c struct sensors_info *si) si 132 drivers/firmware/arm_scmi/sensors.c if (desc_index + num_returned > si->num_sensors) { si 134 drivers/firmware/arm_scmi/sensors.c si->num_sensors); si 144 drivers/firmware/arm_scmi/sensors.c s = &si->sensors[desc_index + cnt]; si 222 drivers/firmware/arm_scmi/sensors.c struct sensors_info *si = handle->sensor_priv; si 223 drivers/firmware/arm_scmi/sensors.c struct scmi_sensor_info *s = si->sensors + sensor_id; si 254 drivers/firmware/arm_scmi/sensors.c struct sensors_info *si = handle->sensor_priv; si 256 drivers/firmware/arm_scmi/sensors.c return si->sensors + sensor_id; si 261 drivers/firmware/arm_scmi/sensors.c struct sensors_info *si = handle->sensor_priv; si 263 drivers/firmware/arm_scmi/sensors.c return si->num_sensors; si 63 drivers/firmware/efi/arm-init.c struct screen_info *si; si 66 drivers/firmware/efi/arm-init.c si = early_memremap_ro(screen_info_table, sizeof(*si)); si 67 drivers/firmware/efi/arm-init.c if (!si) { si 71 drivers/firmware/efi/arm-init.c screen_info = *si; si 72 drivers/firmware/efi/arm-init.c early_memunmap(si, sizeof(*si)); si 135 drivers/firmware/efi/earlycon.c struct screen_info *si; si 140 drivers/firmware/efi/earlycon.c si = &screen_info; si 141 drivers/firmware/efi/earlycon.c len = si->lfb_linelength; si 153 drivers/firmware/efi/earlycon.c linemax = (si->lfb_width - efi_x) / font->width; si 188 drivers/firmware/efi/earlycon.c if (efi_x + font->width > si->lfb_width) { si 193 drivers/firmware/efi/earlycon.c if (efi_y + font->height > si->lfb_height) { si 208 drivers/firmware/efi/earlycon.c struct screen_info *si; si 221 drivers/firmware/efi/earlycon.c si = &screen_info; si 222 drivers/firmware/efi/earlycon.c xres = si->lfb_width; si 223 drivers/firmware/efi/earlycon.c yres = si->lfb_height; si 229 drivers/firmware/efi/earlycon.c if (si->lfb_depth != 32) si 55 drivers/firmware/efi/libstub/arm-stub.c struct screen_info *si = NULL; si 61 drivers/firmware/efi/libstub/arm-stub.c si = alloc_screen_info(sys_table_arg); si 62 drivers/firmware/efi/libstub/arm-stub.c if (!si) si 64 drivers/firmware/efi/libstub/arm-stub.c efi_setup_gop(sys_table_arg, si, &gop_proto, size); si 66 drivers/firmware/efi/libstub/arm-stub.c return si; si 132 drivers/firmware/efi/libstub/arm-stub.c struct screen_info *si; si 181 drivers/firmware/efi/libstub/arm-stub.c si = setup_graphics(sys_table); si 285 drivers/firmware/efi/libstub/arm-stub.c free_screen_info(sys_table, si); si 31 drivers/firmware/efi/libstub/arm32-stub.c struct screen_info *si; si 41 drivers/firmware/efi/libstub/arm32-stub.c sizeof(*si), (void **)&si); si 47 drivers/firmware/efi/libstub/arm32-stub.c &screen_info_guid, si); si 49 drivers/firmware/efi/libstub/arm32-stub.c return si; si 51 drivers/firmware/efi/libstub/arm32-stub.c efi_call_early(free_pool, si); si 55 drivers/firmware/efi/libstub/arm32-stub.c void free_screen_info(efi_system_table_t *sys_table_arg, struct screen_info *si) si 57 drivers/firmware/efi/libstub/arm32-stub.c if (!si) si 61 drivers/firmware/efi/libstub/arm32-stub.c efi_call_early(free_pool, si); si 37 drivers/firmware/efi/libstub/gop.c setup_pixel_info(struct screen_info *si, u32 pixels_per_scan_line, si 41 drivers/firmware/efi/libstub/gop.c si->lfb_depth = 32; si 42 drivers/firmware/efi/libstub/gop.c si->lfb_linelength = pixels_per_scan_line * 4; si 43 drivers/firmware/efi/libstub/gop.c si->red_size = 8; si 44 drivers/firmware/efi/libstub/gop.c si->red_pos = 0; si 45 drivers/firmware/efi/libstub/gop.c si->green_size = 8; si 46 drivers/firmware/efi/libstub/gop.c si->green_pos = 8; si 47 drivers/firmware/efi/libstub/gop.c si->blue_size = 8; si 48 drivers/firmware/efi/libstub/gop.c si->blue_pos = 16; si 49 drivers/firmware/efi/libstub/gop.c si->rsvd_size = 8; si 50 drivers/firmware/efi/libstub/gop.c si->rsvd_pos = 24; si 52 drivers/firmware/efi/libstub/gop.c si->lfb_depth = 32; si 53 drivers/firmware/efi/libstub/gop.c si->lfb_linelength = pixels_per_scan_line * 4; si 54 drivers/firmware/efi/libstub/gop.c si->red_size = 8; si 55 drivers/firmware/efi/libstub/gop.c si->red_pos = 16; si 56 drivers/firmware/efi/libstub/gop.c si->green_size = 8; si 57 drivers/firmware/efi/libstub/gop.c si->green_pos = 8; si 58 drivers/firmware/efi/libstub/gop.c si->blue_size = 8; si 59 drivers/firmware/efi/libstub/gop.c si->blue_pos = 0; si 60 drivers/firmware/efi/libstub/gop.c si->rsvd_size = 8; si 61 drivers/firmware/efi/libstub/gop.c si->rsvd_pos = 24; si 63 drivers/firmware/efi/libstub/gop.c find_bits(pixel_info.red_mask, &si->red_pos, &si->red_size); si 64 drivers/firmware/efi/libstub/gop.c find_bits(pixel_info.green_mask, &si->green_pos, si 65 drivers/firmware/efi/libstub/gop.c &si->green_size); si 66 drivers/firmware/efi/libstub/gop.c find_bits(pixel_info.blue_mask, &si->blue_pos, &si->blue_size); si 67 drivers/firmware/efi/libstub/gop.c find_bits(pixel_info.reserved_mask, &si->rsvd_pos, si 68 drivers/firmware/efi/libstub/gop.c &si->rsvd_size); si 69 drivers/firmware/efi/libstub/gop.c si->lfb_depth = si->red_size + si->green_size + si 70 drivers/firmware/efi/libstub/gop.c si->blue_size + si->rsvd_size; si 71 drivers/firmware/efi/libstub/gop.c si->lfb_linelength = (pixels_per_scan_line * si->lfb_depth) / 8; si 73 drivers/firmware/efi/libstub/gop.c si->lfb_depth = 4; si 74 drivers/firmware/efi/libstub/gop.c si->lfb_linelength = si->lfb_width / 2; si 75 drivers/firmware/efi/libstub/gop.c si->red_size = 0; si 76 drivers/firmware/efi/libstub/gop.c si->red_pos = 0; si 77 drivers/firmware/efi/libstub/gop.c si->green_size = 0; si 78 drivers/firmware/efi/libstub/gop.c si->green_pos = 0; si 79 drivers/firmware/efi/libstub/gop.c si->blue_size = 0; si 80 drivers/firmware/efi/libstub/gop.c si->blue_pos = 0; si 81 drivers/firmware/efi/libstub/gop.c si->rsvd_size = 0; si 82 drivers/firmware/efi/libstub/gop.c si->rsvd_pos = 0; si 87 drivers/firmware/efi/libstub/gop.c setup_gop32(efi_system_table_t *sys_table_arg, struct screen_info *si, si 160 drivers/firmware/efi/libstub/gop.c si->orig_video_isVGA = VIDEO_TYPE_EFI; si 162 drivers/firmware/efi/libstub/gop.c si->lfb_width = width; si 163 drivers/firmware/efi/libstub/gop.c si->lfb_height = height; si 164 drivers/firmware/efi/libstub/gop.c si->lfb_base = fb_base; si 168 drivers/firmware/efi/libstub/gop.c si->capabilities |= VIDEO_CAPABILITY_64BIT_BASE; si 169 drivers/firmware/efi/libstub/gop.c si->ext_lfb_base = ext_lfb_base; si 172 drivers/firmware/efi/libstub/gop.c si->pages = 1; si 174 drivers/firmware/efi/libstub/gop.c setup_pixel_info(si, pixels_per_scan_line, pixel_info, pixel_format); si 176 drivers/firmware/efi/libstub/gop.c si->lfb_size = si->lfb_linelength * si->lfb_height; si 178 drivers/firmware/efi/libstub/gop.c si->capabilities |= VIDEO_CAPABILITY_SKIP_QUIRKS; si 184 drivers/firmware/efi/libstub/gop.c setup_gop64(efi_system_table_t *sys_table_arg, struct screen_info *si, si 257 drivers/firmware/efi/libstub/gop.c si->orig_video_isVGA = VIDEO_TYPE_EFI; si 259 drivers/firmware/efi/libstub/gop.c si->lfb_width = width; si 260 drivers/firmware/efi/libstub/gop.c si->lfb_height = height; si 261 drivers/firmware/efi/libstub/gop.c si->lfb_base = fb_base; si 265 drivers/firmware/efi/libstub/gop.c si->capabilities |= VIDEO_CAPABILITY_64BIT_BASE; si 266 drivers/firmware/efi/libstub/gop.c si->ext_lfb_base = ext_lfb_base; si 269 drivers/firmware/efi/libstub/gop.c si->pages = 1; si 271 drivers/firmware/efi/libstub/gop.c setup_pixel_info(si, pixels_per_scan_line, pixel_info, pixel_format); si 273 drivers/firmware/efi/libstub/gop.c si->lfb_size = si->lfb_linelength * si->lfb_height; si 275 drivers/firmware/efi/libstub/gop.c si->capabilities |= VIDEO_CAPABILITY_SKIP_QUIRKS; si 284 drivers/firmware/efi/libstub/gop.c struct screen_info *si, efi_guid_t *proto, si 302 drivers/firmware/efi/libstub/gop.c status = setup_gop64(sys_table_arg, si, proto, size, si 305 drivers/firmware/efi/libstub/gop.c status = setup_gop32(sys_table_arg, si, proto, size, si 42 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c struct sysinfo si; si 45 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c si_meminfo(&si); si 46 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_total_mem_size = si.totalram - si.totalhigh; si 47 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd.c amdgpu_amdkfd_total_mem_size *= si.mem_unit; si 101 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c struct sysinfo si; si 104 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c si_meminfo(&si); si 105 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c mem = si.totalram - si.totalhigh; si 106 drivers/gpu/drm/amd/amdgpu/amdgpu_amdkfd_gpuvm.c mem *= si.mem_unit; si 939 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c struct sysinfo si; si 952 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c si_meminfo(&si); si 953 drivers/gpu/drm/amd/amdgpu/amdgpu_device.c total_memory = (uint64_t)si.totalram * si.mem_unit; si 1753 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c struct sysinfo si; si 1755 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c si_meminfo(&si); si 1758 drivers/gpu/drm/amd/amdgpu/amdgpu_ttm.c ((uint64_t)si.totalram * si.mem_unit * 3/4)); si 2581 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c struct sysinfo si; si 2599 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c si_meminfo(&si); si 2600 drivers/gpu/drm/amd/amdgpu/amdgpu_vm.c phys_ram_gb = ((uint64_t)si.totalram * si.mem_unit + si 96 drivers/gpu/drm/amd/amdgpu/si_dpm.c struct _ATOM_PPLIB_SI_CLOCK_INFO si; si 7146 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->sclk = le16_to_cpu(clock_info->si.usEngineClockLow); si 7147 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->sclk |= clock_info->si.ucEngineClockHigh << 16; si 7148 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->mclk = le16_to_cpu(clock_info->si.usMemoryClockLow); si 7149 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->mclk |= clock_info->si.ucMemoryClockHigh << 16; si 7151 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->vddc = le16_to_cpu(clock_info->si.usVDDC); si 7152 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->vddci = le16_to_cpu(clock_info->si.usVDDCI); si 7153 drivers/gpu/drm/amd/amdgpu/si_dpm.c pl->flags = le32_to_cpu(clock_info->si.ulFlags); si 7157 drivers/gpu/drm/amd/amdgpu/si_dpm.c clock_info->si.ucPCIEGen); si 7294 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk = le16_to_cpu(clock_info->si.usEngineClockLow); si 7295 drivers/gpu/drm/amd/amdgpu/si_dpm.c sclk |= clock_info->si.ucEngineClockHigh << 16; si 7296 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk = le16_to_cpu(clock_info->si.usMemoryClockLow); si 7297 drivers/gpu/drm/amd/amdgpu/si_dpm.c mclk |= clock_info->si.ucMemoryClockHigh << 16; si 246 drivers/gpu/drm/i915/intel_csr.c const struct stepping_info *si; si 251 drivers/gpu/drm/i915/intel_csr.c si = icl_stepping_info; si 254 drivers/gpu/drm/i915/intel_csr.c si = skl_stepping_info; si 257 drivers/gpu/drm/i915/intel_csr.c si = bxt_stepping_info; si 260 drivers/gpu/drm/i915/intel_csr.c si = NULL; si 264 drivers/gpu/drm/i915/intel_csr.c return si + INTEL_REVID(dev_priv); si 336 drivers/gpu/drm/i915/intel_csr.c const struct stepping_info *si, si 347 drivers/gpu/drm/i915/intel_csr.c si->stepping == fw_info[i].stepping) { si 352 drivers/gpu/drm/i915/intel_csr.c if (si->stepping == fw_info[i].stepping && si 353 drivers/gpu/drm/i915/intel_csr.c si->substepping == fw_info[i].substepping) { si 483 drivers/gpu/drm/i915/intel_csr.c const struct stepping_info *si, si 523 drivers/gpu/drm/i915/intel_csr.c dmc_offset = find_dmc_fw_offset(fw_info, num_entries, si, si 527 drivers/gpu/drm/i915/intel_csr.c si->stepping); si 580 drivers/gpu/drm/i915/intel_csr.c const struct stepping_info *si = intel_get_stepping_info(dev_priv); si 597 drivers/gpu/drm/i915/intel_csr.c r = parse_csr_fw_package(csr, package_header, si, fw->size - readcount); si 75 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsig_find(struct nvkm_pm *pm, u8 di, u8 si, struct nvkm_perfdom **pdom) si 86 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (!dom->signal[si].name) si 88 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c return &dom->signal[si]; si 104 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c nvkm_perfsrc_find(struct nvkm_pm *pm, struct nvkm_perfsig *sig, int si) si 112 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (sig->source[i] == si) { si 120 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (tmp++ == si) si 495 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c int ret = -ENOSYS, si; si 502 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c si = (args->v0.iter & 0xffff) - 1; si 507 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (dom == NULL || si >= (int)dom->signal_nr) si 510 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (si >= 0) { si 511 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c sig = &dom->signal[si]; si 514 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c "/%s/%02x", dom->name, si); si 520 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.signal = si; si 524 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c while (++si < dom->signal_nr) { si 525 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (all || dom->signal[si].name) { si 526 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = ++si; si 548 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c int si, ret = -ENOSYS; si 556 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c si = (args->v0.iter & 0xff) - 1; si 565 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (si >= (int)source_nr) si 568 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (si >= 0) { si 569 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c src = nvkm_perfsrc_find(pm, sig, sig->source[si]); si 573 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.source = sig->source[si]; si 578 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c if (++si < source_nr) { si 579 drivers/gpu/drm/nouveau/nvkm/engine/pm/base.c args->v0.iter = ++si; si 1316 drivers/gpu/drm/radeon/atombios_crtc.c num_banks = (rdev->config.si.tile_mode_array[index] >> 20) & 0x3; si 5442 drivers/gpu/drm/radeon/ci_dpm.c struct _ATOM_PPLIB_SI_CLOCK_INFO si; si 2198 drivers/gpu/drm/radeon/radeon.h struct si_asic si; si 2044 drivers/gpu/drm/radeon/radeon_atombios.c struct _ATOM_PPLIB_SI_CLOCK_INFO si; si 2504 drivers/gpu/drm/radeon/radeon_atombios.c sclk = le16_to_cpu(clock_info->si.usEngineClockLow); si 2505 drivers/gpu/drm/radeon/radeon_atombios.c sclk |= clock_info->si.ucEngineClockHigh << 16; si 2506 drivers/gpu/drm/radeon/radeon_atombios.c mclk = le16_to_cpu(clock_info->si.usMemoryClockLow); si 2507 drivers/gpu/drm/radeon/radeon_atombios.c mclk |= clock_info->si.ucMemoryClockHigh << 16; si 2513 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(clock_info->si.usVDDC); si 2515 drivers/gpu/drm/radeon/radeon_atombios.c le16_to_cpu(clock_info->si.usVDDCI); si 292 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.tile_config; si 347 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.max_backends_per_se * si 348 drivers/gpu/drm/radeon/radeon_kms.c rdev->config.si.max_shader_engines; si 366 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.max_tile_pipes; si 386 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.backend_map; si 415 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.max_cu_per_sh; si 441 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.max_shader_engines; si 453 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.max_sh_per_se; si 489 drivers/gpu/drm/radeon/radeon_kms.c value = rdev->config.si.tile_mode_array; si 512 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.backend_enable_mask; si 549 drivers/gpu/drm/radeon/radeon_kms.c *value = rdev->config.si.active_cus; si 2495 drivers/gpu/drm/radeon/si.c u32 *tile = rdev->config.si.tile_mode_array; si 2497 drivers/gpu/drm/radeon/si.c ARRAY_SIZE(rdev->config.si.tile_mode_array); si 2500 drivers/gpu/drm/radeon/si.c switch (rdev->config.si.mem_row_size_in_kb) { si 3068 drivers/gpu/drm/radeon/si.c rdev->config.si.backend_enable_mask = enabled_rbs; si 3104 drivers/gpu/drm/radeon/si.c rdev->config.si.max_shader_engines = 2; si 3105 drivers/gpu/drm/radeon/si.c rdev->config.si.max_tile_pipes = 12; si 3106 drivers/gpu/drm/radeon/si.c rdev->config.si.max_cu_per_sh = 8; si 3107 drivers/gpu/drm/radeon/si.c rdev->config.si.max_sh_per_se = 2; si 3108 drivers/gpu/drm/radeon/si.c rdev->config.si.max_backends_per_se = 4; si 3109 drivers/gpu/drm/radeon/si.c rdev->config.si.max_texture_channel_caches = 12; si 3110 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gprs = 256; si 3111 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gs_threads = 32; si 3112 drivers/gpu/drm/radeon/si.c rdev->config.si.max_hw_contexts = 8; si 3114 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_frontend = 0x20; si 3115 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_backend = 0x100; si 3116 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_hiz_tile_fifo_size = 0x30; si 3117 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; si 3121 drivers/gpu/drm/radeon/si.c rdev->config.si.max_shader_engines = 2; si 3122 drivers/gpu/drm/radeon/si.c rdev->config.si.max_tile_pipes = 8; si 3123 drivers/gpu/drm/radeon/si.c rdev->config.si.max_cu_per_sh = 5; si 3124 drivers/gpu/drm/radeon/si.c rdev->config.si.max_sh_per_se = 2; si 3125 drivers/gpu/drm/radeon/si.c rdev->config.si.max_backends_per_se = 4; si 3126 drivers/gpu/drm/radeon/si.c rdev->config.si.max_texture_channel_caches = 8; si 3127 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gprs = 256; si 3128 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gs_threads = 32; si 3129 drivers/gpu/drm/radeon/si.c rdev->config.si.max_hw_contexts = 8; si 3131 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_frontend = 0x20; si 3132 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_backend = 0x100; si 3133 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_hiz_tile_fifo_size = 0x30; si 3134 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; si 3139 drivers/gpu/drm/radeon/si.c rdev->config.si.max_shader_engines = 1; si 3140 drivers/gpu/drm/radeon/si.c rdev->config.si.max_tile_pipes = 4; si 3141 drivers/gpu/drm/radeon/si.c rdev->config.si.max_cu_per_sh = 5; si 3142 drivers/gpu/drm/radeon/si.c rdev->config.si.max_sh_per_se = 2; si 3143 drivers/gpu/drm/radeon/si.c rdev->config.si.max_backends_per_se = 4; si 3144 drivers/gpu/drm/radeon/si.c rdev->config.si.max_texture_channel_caches = 4; si 3145 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gprs = 256; si 3146 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gs_threads = 32; si 3147 drivers/gpu/drm/radeon/si.c rdev->config.si.max_hw_contexts = 8; si 3149 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_frontend = 0x20; si 3150 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_backend = 0x40; si 3151 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_hiz_tile_fifo_size = 0x30; si 3152 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; si 3156 drivers/gpu/drm/radeon/si.c rdev->config.si.max_shader_engines = 1; si 3157 drivers/gpu/drm/radeon/si.c rdev->config.si.max_tile_pipes = 4; si 3158 drivers/gpu/drm/radeon/si.c rdev->config.si.max_cu_per_sh = 6; si 3159 drivers/gpu/drm/radeon/si.c rdev->config.si.max_sh_per_se = 1; si 3160 drivers/gpu/drm/radeon/si.c rdev->config.si.max_backends_per_se = 2; si 3161 drivers/gpu/drm/radeon/si.c rdev->config.si.max_texture_channel_caches = 4; si 3162 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gprs = 256; si 3163 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gs_threads = 16; si 3164 drivers/gpu/drm/radeon/si.c rdev->config.si.max_hw_contexts = 8; si 3166 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_frontend = 0x20; si 3167 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_backend = 0x40; si 3168 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_hiz_tile_fifo_size = 0x30; si 3169 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; si 3173 drivers/gpu/drm/radeon/si.c rdev->config.si.max_shader_engines = 1; si 3174 drivers/gpu/drm/radeon/si.c rdev->config.si.max_tile_pipes = 4; si 3175 drivers/gpu/drm/radeon/si.c rdev->config.si.max_cu_per_sh = 5; si 3176 drivers/gpu/drm/radeon/si.c rdev->config.si.max_sh_per_se = 1; si 3177 drivers/gpu/drm/radeon/si.c rdev->config.si.max_backends_per_se = 1; si 3178 drivers/gpu/drm/radeon/si.c rdev->config.si.max_texture_channel_caches = 2; si 3179 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gprs = 256; si 3180 drivers/gpu/drm/radeon/si.c rdev->config.si.max_gs_threads = 16; si 3181 drivers/gpu/drm/radeon/si.c rdev->config.si.max_hw_contexts = 8; si 3183 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_frontend = 0x20; si 3184 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_prim_fifo_size_backend = 0x40; si 3185 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_hiz_tile_fifo_size = 0x30; si 3186 drivers/gpu/drm/radeon/si.c rdev->config.si.sc_earlyz_tile_fifo_size = 0x130; si 3211 drivers/gpu/drm/radeon/si.c rdev->config.si.num_tile_pipes = rdev->config.si.max_tile_pipes; si 3212 drivers/gpu/drm/radeon/si.c rdev->config.si.mem_max_burst_length_bytes = 256; si 3214 drivers/gpu/drm/radeon/si.c rdev->config.si.mem_row_size_in_kb = (4 * (1 << (8 + tmp))) / 1024; si 3215 drivers/gpu/drm/radeon/si.c if (rdev->config.si.mem_row_size_in_kb > 4) si 3216 drivers/gpu/drm/radeon/si.c rdev->config.si.mem_row_size_in_kb = 4; si 3218 drivers/gpu/drm/radeon/si.c rdev->config.si.shader_engine_tile_size = 32; si 3219 drivers/gpu/drm/radeon/si.c rdev->config.si.num_gpus = 1; si 3220 drivers/gpu/drm/radeon/si.c rdev->config.si.multi_gpu_tile_size = 64; si 3224 drivers/gpu/drm/radeon/si.c switch (rdev->config.si.mem_row_size_in_kb) { si 3244 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config = 0; si 3245 drivers/gpu/drm/radeon/si.c switch (rdev->config.si.num_tile_pipes) { si 3247 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= (0 << 0); si 3250 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= (1 << 0); si 3253 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= (2 << 0); si 3258 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= (3 << 0); si 3263 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= 0 << 4; si 3266 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= 1 << 4; si 3270 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= 2 << 4; si 3273 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= si 3275 drivers/gpu/drm/radeon/si.c rdev->config.si.tile_config |= si 3292 drivers/gpu/drm/radeon/si.c si_setup_rb(rdev, rdev->config.si.max_shader_engines, si 3293 drivers/gpu/drm/radeon/si.c rdev->config.si.max_sh_per_se, si 3294 drivers/gpu/drm/radeon/si.c rdev->config.si.max_backends_per_se); si 3296 drivers/gpu/drm/radeon/si.c si_setup_spi(rdev, rdev->config.si.max_shader_engines, si 3297 drivers/gpu/drm/radeon/si.c rdev->config.si.max_sh_per_se, si 3298 drivers/gpu/drm/radeon/si.c rdev->config.si.max_cu_per_sh); si 3300 drivers/gpu/drm/radeon/si.c rdev->config.si.active_cus = 0; si 3301 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->config.si.max_shader_engines; i++) { si 3302 drivers/gpu/drm/radeon/si.c for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { si 3303 drivers/gpu/drm/radeon/si.c rdev->config.si.active_cus += si 3318 drivers/gpu/drm/radeon/si.c WREG32(PA_SC_FIFO_SIZE, (SC_FRONTEND_PRIM_FIFO_SIZE(rdev->config.si.sc_prim_fifo_size_frontend) | si 3319 drivers/gpu/drm/radeon/si.c SC_BACKEND_PRIM_FIFO_SIZE(rdev->config.si.sc_prim_fifo_size_backend) | si 3320 drivers/gpu/drm/radeon/si.c SC_HIZ_TILE_FIFO_SIZE(rdev->config.si.sc_hiz_tile_fifo_size) | si 3321 drivers/gpu/drm/radeon/si.c SC_EARLYZ_TILE_FIFO_SIZE(rdev->config.si.sc_earlyz_tile_fifo_size))); si 3575 drivers/gpu/drm/radeon/si.c radeon_ring_write(ring, rdev->config.si.max_hw_contexts - 1); si 5314 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->config.si.max_cu_per_sh; i ++) { si 5328 drivers/gpu/drm/radeon/si.c for (i = 0; i < rdev->config.si.max_shader_engines; i++) { si 5329 drivers/gpu/drm/radeon/si.c for (j = 0; j < rdev->config.si.max_sh_per_se; j++) { si 5333 drivers/gpu/drm/radeon/si.c for (k = 0; k < rdev->config.si.max_cu_per_sh; k++) { si 6698 drivers/gpu/drm/radeon/si_dpm.c struct _ATOM_PPLIB_SI_CLOCK_INFO si; si 6746 drivers/gpu/drm/radeon/si_dpm.c pl->sclk = le16_to_cpu(clock_info->si.usEngineClockLow); si 6747 drivers/gpu/drm/radeon/si_dpm.c pl->sclk |= clock_info->si.ucEngineClockHigh << 16; si 6748 drivers/gpu/drm/radeon/si_dpm.c pl->mclk = le16_to_cpu(clock_info->si.usMemoryClockLow); si 6749 drivers/gpu/drm/radeon/si_dpm.c pl->mclk |= clock_info->si.ucMemoryClockHigh << 16; si 6751 drivers/gpu/drm/radeon/si_dpm.c pl->vddc = le16_to_cpu(clock_info->si.usVDDC); si 6752 drivers/gpu/drm/radeon/si_dpm.c pl->vddci = le16_to_cpu(clock_info->si.usVDDCI); si 6753 drivers/gpu/drm/radeon/si_dpm.c pl->flags = le32_to_cpu(clock_info->si.ulFlags); si 6757 drivers/gpu/drm/radeon/si_dpm.c clock_info->si.ucPCIEGen); si 6889 drivers/gpu/drm/radeon/si_dpm.c sclk = le16_to_cpu(clock_info->si.usEngineClockLow); si 6890 drivers/gpu/drm/radeon/si_dpm.c sclk |= clock_info->si.ucEngineClockHigh << 16; si 6891 drivers/gpu/drm/radeon/si_dpm.c mclk = le16_to_cpu(clock_info->si.usMemoryClockLow); si 6892 drivers/gpu/drm/radeon/si_dpm.c mclk |= clock_info->si.ucMemoryClockHigh << 16; si 300 drivers/gpu/drm/ttm/ttm_memory.c const struct sysinfo *si) si 309 drivers/gpu/drm/ttm/ttm_memory.c mem = si->totalram - si->totalhigh; si 310 drivers/gpu/drm/ttm/ttm_memory.c mem *= si->mem_unit; si 332 drivers/gpu/drm/ttm/ttm_memory.c const struct sysinfo *si) si 338 drivers/gpu/drm/ttm/ttm_memory.c if (si->totalhigh == 0) si 345 drivers/gpu/drm/ttm/ttm_memory.c mem = si->totalram; si 346 drivers/gpu/drm/ttm/ttm_memory.c mem *= si->mem_unit; si 368 drivers/gpu/drm/ttm/ttm_memory.c const struct sysinfo *si) si 377 drivers/gpu/drm/ttm/ttm_memory.c mem = si->totalram; si 378 drivers/gpu/drm/ttm/ttm_memory.c mem *= si->mem_unit; si 417 drivers/gpu/drm/ttm/ttm_memory.c struct sysinfo si; si 432 drivers/gpu/drm/ttm/ttm_memory.c si_meminfo(&si); si 437 drivers/gpu/drm/ttm/ttm_memory.c ret = ttm_mem_init_kernel_zone(glob, &si); si 441 drivers/gpu/drm/ttm/ttm_memory.c ret = ttm_mem_init_highmem_zone(glob, &si); si 445 drivers/gpu/drm/ttm/ttm_memory.c ret = ttm_mem_init_dma32_zone(glob, &si); si 968 drivers/gpu/drm/virtio/virtgpu_vq.c int si, nents; si 998 drivers/gpu/drm/virtio/virtgpu_vq.c for_each_sg(obj->pages->sgl, sg, nents, si) { si 999 drivers/gpu/drm/virtio/virtgpu_vq.c ents[si].addr = cpu_to_le64(use_dma_api si 1002 drivers/gpu/drm/virtio/virtgpu_vq.c ents[si].length = cpu_to_le32(sg->length); si 1003 drivers/gpu/drm/virtio/virtgpu_vq.c ents[si].padding = 0; si 89 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si = 0, di = 0; si 92 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c (protocol | GUESTMSG_FLAG_COOKIE), si, di, si 95 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 101 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c channel->cookie_high = si; si 118 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; si 121 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = channel->cookie_high; si 125 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c 0, si, di, si 128 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 148 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long si, di, eax, ebx, ecx, edx; si 154 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = (uintptr_t) msg; si 159 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c msg_len, si, di, si 163 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 177 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = channel->cookie_high; si 181 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c word, si, di, si 184 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 203 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long si, di, eax, ebx, ecx, edx; si 208 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = channel->cookie_high; si 213 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c reply_len, si, di, si 216 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 226 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = channel->cookie_high; si 230 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c MESSAGE_STATUS_SUCCESS, si, di, si 233 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 257 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; si 265 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = channel->cookie_high; si 269 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c msg_len, si, di, si 272 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 310 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c unsigned long eax, ebx, ecx, edx, si, di; si 323 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = channel->cookie_high; si 327 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c 0, si, di, si 330 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 367 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c si = channel->cookie_high; si 371 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c MESSAGE_STATUS_SUCCESS, si, di, si 374 drivers/gpu/drm/vmwgfx/vmwgfx_msg.c eax, ebx, ecx, edx, si, di); si 59 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ si 66 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=S"(si), \ si 103 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ si 113 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=S"(si), \ si 128 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ si 138 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=S"(si), \ si 162 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ si 174 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=S"(si), \ si 189 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h eax, ebx, ecx, edx, si, di) \ si 201 drivers/gpu/drm/vmwgfx/vmwgfx_msg.h "=S"(si), \ si 608 drivers/iio/accel/bmc150-accel-core.c const struct bmc150_scale_info *si; si 612 drivers/iio/accel/bmc150-accel-core.c si = &data->chip_info->scale_table[i]; si 613 drivers/iio/accel/bmc150-accel-core.c if (si->reg_range == data->range) { si 614 drivers/iio/accel/bmc150-accel-core.c *val2 = si->scale; si 460 drivers/iio/adc/max1363.c #define MAX1363_CHAN_U(num, addr, si, bits, ev_spec, num_ev_spec) \ si 475 drivers/iio/adc/max1363.c .scan_index = si, \ si 481 drivers/iio/adc/max1363.c #define MAX1363_CHAN_B(num, num2, addr, si, bits, ev_spec, num_ev_spec) \ si 498 drivers/iio/adc/max1363.c .scan_index = si, \ si 51 drivers/iio/adc/ti-adc0832.c #define ADC0832_VOLTAGE_CHANNEL_DIFF(chan1, chan2, si) \ si 60 drivers/iio/adc/ti-adc0832.c .scan_index = si, \ si 73 drivers/iio/adc/ti-adc12138.c #define ADC12138_VOLTAGE_CHANNEL_DIFF(chan1, chan2, si) \ si 83 drivers/iio/adc/ti-adc12138.c .scan_index = si, \ si 689 drivers/iio/imu/adis16400.c #define ADIS16400_VOLTAGE_CHAN(addr, bits, name, si, chn) { \ si 698 drivers/iio/imu/adis16400.c .scan_index = (si), \ si 172 drivers/iio/industrialio-core.c *iio_find_channel_from_si(struct iio_dev *indio_dev, int si) si 177 drivers/iio/industrialio-core.c if (indio_dev->channels[i].scan_index == si) si 87 drivers/iio/light/isl29125.c static int isl29125_read_data(struct isl29125_data *data, int si) si 93 drivers/iio/light/isl29125.c data->conf1 | isl29125_regs[si].mode); si 114 drivers/iio/light/isl29125.c ret = i2c_smbus_read_word_data(data->client, isl29125_regs[si].data); si 72 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 76 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, si 77 drivers/input/touchscreen/cyttsp4_core.c si->xy_mode); si 82 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, si 83 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.mode_size, "xy_mode"); si 152 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 153 drivers/input/touchscreen/cyttsp4_core.c int rc = cyttsp4_adap_read(cd, CY_REG_BASE, sizeof(si->si_data), si 154 drivers/input/touchscreen/cyttsp4_core.c &si->si_data); si 162 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_pr_buf(cd->dev, cd->pr_buf, (u8 *)&si->si_data, si 163 drivers/input/touchscreen/cyttsp4_core.c sizeof(si->si_data), "sysinfo_data_offsets"); si 167 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.map_sz = merge_bytes(si->si_data.map_szh, si 168 drivers/input/touchscreen/cyttsp4_core.c si->si_data.map_szl); si 169 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.map_sz = merge_bytes(si->si_data.map_szh, si 170 drivers/input/touchscreen/cyttsp4_core.c si->si_data.map_szl); si 171 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.cydata_ofs = merge_bytes(si->si_data.cydata_ofsh, si 172 drivers/input/touchscreen/cyttsp4_core.c si->si_data.cydata_ofsl); si 173 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.test_ofs = merge_bytes(si->si_data.test_ofsh, si 174 drivers/input/touchscreen/cyttsp4_core.c si->si_data.test_ofsl); si 175 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.pcfg_ofs = merge_bytes(si->si_data.pcfg_ofsh, si 176 drivers/input/touchscreen/cyttsp4_core.c si->si_data.pcfg_ofsl); si 177 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.opcfg_ofs = merge_bytes(si->si_data.opcfg_ofsh, si 178 drivers/input/touchscreen/cyttsp4_core.c si->si_data.opcfg_ofsl); si 179 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.ddata_ofs = merge_bytes(si->si_data.ddata_ofsh, si 180 drivers/input/touchscreen/cyttsp4_core.c si->si_data.ddata_ofsl); si 181 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.mdata_ofs = merge_bytes(si->si_data.mdata_ofsh, si 182 drivers/input/touchscreen/cyttsp4_core.c si->si_data.mdata_ofsl); si 188 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 194 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.test_ofs <= si->si_ofs.cydata_ofs) { si 197 drivers/input/touchscreen/cyttsp4_core.c __func__, si->si_ofs.test_ofs, si->si_ofs.cydata_ofs); si 201 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.cydata_size = si->si_ofs.test_ofs - si->si_ofs.cydata_ofs; si 203 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.cydata_size); si 205 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->si_ptrs.cydata, si->si_ofs.cydata_size, GFP_KERNEL); si 211 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.cydata = p; si 213 drivers/input/touchscreen/cyttsp4_core.c read_offset = si->si_ofs.cydata_ofs; si 218 drivers/input/touchscreen/cyttsp4_core.c + sizeof(si->si_ptrs.cydata->mfgid_sz), si 219 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.cydata); si 227 drivers/input/touchscreen/cyttsp4_core.c mfgid_sz = si->si_ptrs.cydata->mfgid_sz; si 228 drivers/input/touchscreen/cyttsp4_core.c calc_mfgid_sz = si->si_ofs.cydata_size - sizeof(struct cyttsp4_cydata); si 236 drivers/input/touchscreen/cyttsp4_core.c + sizeof(si->si_ptrs.cydata->mfgid_sz); si 239 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, read_offset, si->si_ptrs.cydata->mfgid_sz, si 240 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.cydata->mfg_id); si 247 drivers/input/touchscreen/cyttsp4_core.c read_offset += si->si_ptrs.cydata->mfgid_sz; si 253 drivers/input/touchscreen/cyttsp4_core.c &si->si_ptrs.cydata->cyito_idh); si 260 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_pr_buf(cd->dev, cd->pr_buf, (u8 *)si->si_ptrs.cydata, si 261 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.cydata_size, "sysinfo_cydata"); si 267 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 271 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.pcfg_ofs <= si->si_ofs.test_ofs) { si 274 drivers/input/touchscreen/cyttsp4_core.c __func__, si->si_ofs.pcfg_ofs, si->si_ofs.test_ofs); si 278 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.test_size = si->si_ofs.pcfg_ofs - si->si_ofs.test_ofs; si 280 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->si_ptrs.test, si->si_ofs.test_size, GFP_KERNEL); si 286 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.test = p; si 288 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, si->si_ofs.test_ofs, si->si_ofs.test_size, si 289 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.test); si 297 drivers/input/touchscreen/cyttsp4_core.c (u8 *)si->si_ptrs.test, si->si_ofs.test_size, si 299 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ptrs.test->post_codel & si 303 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.test->post_codel); si 305 drivers/input/touchscreen/cyttsp4_core.c if (!(si->si_ptrs.test->post_codel & si 309 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.test->post_codel); si 311 drivers/input/touchscreen/cyttsp4_core.c if (!(si->si_ptrs.test->post_codel & si 315 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.test->post_codel); si 318 drivers/input/touchscreen/cyttsp4_core.c __func__, si->si_ptrs.test->post_codel & 0x08 ? si 320 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.test->post_codel); si 326 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 330 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.opcfg_ofs <= si->si_ofs.pcfg_ofs) { si 333 drivers/input/touchscreen/cyttsp4_core.c __func__, si->si_ofs.opcfg_ofs, si->si_ofs.pcfg_ofs); si 337 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.pcfg_size = si->si_ofs.opcfg_ofs - si->si_ofs.pcfg_ofs; si 339 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->si_ptrs.pcfg, si->si_ofs.pcfg_size, GFP_KERNEL); si 345 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.pcfg = p; si 347 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, si->si_ofs.pcfg_ofs, si->si_ofs.pcfg_size, si 348 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.pcfg); si 355 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_x = merge_bytes((si->si_ptrs.pcfg->res_xh si 356 drivers/input/touchscreen/cyttsp4_core.c & CY_PCFG_RESOLUTION_X_MASK), si->si_ptrs.pcfg->res_xl); si 357 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.x_origin = !!(si->si_ptrs.pcfg->res_xh si 359 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_y = merge_bytes((si->si_ptrs.pcfg->res_yh si 360 drivers/input/touchscreen/cyttsp4_core.c & CY_PCFG_RESOLUTION_Y_MASK), si->si_ptrs.pcfg->res_yl); si 361 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.y_origin = !!(si->si_ptrs.pcfg->res_yh si 363 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_p = merge_bytes(si->si_ptrs.pcfg->max_zh, si 364 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.pcfg->max_zl); si 367 drivers/input/touchscreen/cyttsp4_core.c (u8 *)si->si_ptrs.pcfg, si 368 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.pcfg_size, "sysinfo_pcfg_data"); si 374 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 382 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.ddata_ofs <= si->si_ofs.opcfg_ofs) { si 385 drivers/input/touchscreen/cyttsp4_core.c __func__, si->si_ofs.ddata_ofs, si->si_ofs.opcfg_ofs); si 389 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.opcfg_size = si->si_ofs.ddata_ofs - si->si_ofs.opcfg_ofs; si 391 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->si_ptrs.opcfg, si->si_ofs.opcfg_size, GFP_KERNEL); si 397 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.opcfg = p; si 399 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, si->si_ofs.opcfg_ofs, si->si_ofs.opcfg_size, si 400 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.opcfg); si 406 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.cmd_ofs = si->si_ptrs.opcfg->cmd_ofs; si 407 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.rep_ofs = si->si_ptrs.opcfg->rep_ofs; si 408 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.rep_sz = (si->si_ptrs.opcfg->rep_szh * 256) + si 409 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.opcfg->rep_szl; si 410 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.num_btns = si->si_ptrs.opcfg->num_btns; si 411 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.num_btn_regs = (si->si_ofs.num_btns + si 413 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tt_stat_ofs = si->si_ptrs.opcfg->tt_stat_ofs; si 414 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.obj_cfg0 = si->si_ptrs.opcfg->obj_cfg0; si 415 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_tchs = si->si_ptrs.opcfg->max_tchs & si 417 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_rec_size = si->si_ptrs.opcfg->tch_rec_size & si 422 drivers/input/touchscreen/cyttsp4_core.c tch = &si->si_ofs.tch_abs[abs]; si 423 drivers/input/touchscreen/cyttsp4_core.c tch_old = &si->si_ptrs.opcfg->tch_rec_old[abs]; si 432 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_rec_size = si->si_ptrs.opcfg->btn_rec_size; si 433 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_diff_ofs = si->si_ptrs.opcfg->btn_diff_ofs; si 434 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_diff_size = si->si_ptrs.opcfg->btn_diff_size; si 436 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.tch_rec_size > CY_TMA1036_TCH_REC_SIZE) { si 439 drivers/input/touchscreen/cyttsp4_core.c tch = &si->si_ofs.tch_abs[abs]; si 440 drivers/input/touchscreen/cyttsp4_core.c tch_new = &si->si_ptrs.opcfg->tch_rec_new[i]; si 453 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].ofs); si 455 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].size); si 457 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].max); si 459 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].bofs); si 462 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.mode_size = si->si_ofs.tt_stat_ofs + 1; si 463 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.data_size = si->si_ofs.max_tchs * si 464 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.opcfg->tch_rec_size; si 466 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_pr_buf(cd->dev, cd->pr_buf, (u8 *)si->si_ptrs.opcfg, si 467 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.opcfg_size, "sysinfo_opcfg_data"); si 474 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 478 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.ddata_size = si->si_ofs.mdata_ofs - si->si_ofs.ddata_ofs; si 480 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->si_ptrs.ddata, si->si_ofs.ddata_size, GFP_KERNEL); si 485 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.ddata = p; si 487 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, si->si_ofs.ddata_ofs, si->si_ofs.ddata_size, si 488 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.ddata); si 494 drivers/input/touchscreen/cyttsp4_core.c (u8 *)si->si_ptrs.ddata, si 495 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.ddata_size, "sysinfo_ddata"); si 501 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 505 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.mdata_size = si->si_ofs.map_sz - si->si_ofs.mdata_ofs; si 507 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->si_ptrs.mdata, si->si_ofs.mdata_size, GFP_KERNEL); si 512 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.mdata = p; si 514 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, si->si_ofs.mdata_ofs, si->si_ofs.mdata_size, si 515 drivers/input/touchscreen/cyttsp4_core.c si->si_ptrs.mdata); si 521 drivers/input/touchscreen/cyttsp4_core.c (u8 *)si->si_ptrs.mdata, si 522 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.mdata_size, "sysinfo_mdata"); si 528 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 535 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.num_btns) { si 536 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_keys_size = si->si_ofs.num_btns * si 539 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->btn, si->si_ofs.btn_keys_size, si 546 drivers/input/touchscreen/cyttsp4_core.c si->btn = p; si 556 drivers/input/touchscreen/cyttsp4_core.c for (btn = 0; btn < si->si_ofs.num_btns && si 560 drivers/input/touchscreen/cyttsp4_core.c si->btn[btn].key_code = key_table[btn]; si 561 drivers/input/touchscreen/cyttsp4_core.c si->btn[btn].state = CY_BTN_RELEASED; si 562 drivers/input/touchscreen/cyttsp4_core.c si->btn[btn].enabled = true; si 564 drivers/input/touchscreen/cyttsp4_core.c for (; btn < si->si_ofs.num_btns; btn++) { si 565 drivers/input/touchscreen/cyttsp4_core.c si->btn[btn].key_code = KEY_RESERVED; si 566 drivers/input/touchscreen/cyttsp4_core.c si->btn[btn].state = CY_BTN_RELEASED; si 567 drivers/input/touchscreen/cyttsp4_core.c si->btn[btn].enabled = true; si 573 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_keys_size = 0; si 574 drivers/input/touchscreen/cyttsp4_core.c kfree(si->btn); si 575 drivers/input/touchscreen/cyttsp4_core.c si->btn = NULL; si 581 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 584 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->xy_mode, si->si_ofs.mode_size, GFP_KERNEL|__GFP_ZERO); si 587 drivers/input/touchscreen/cyttsp4_core.c si->xy_mode = p; si 589 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->xy_data, si->si_ofs.data_size, GFP_KERNEL|__GFP_ZERO); si 592 drivers/input/touchscreen/cyttsp4_core.c si->xy_data = p; si 594 drivers/input/touchscreen/cyttsp4_core.c p = krealloc(si->btn_rec_data, si 595 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_rec_size * si->si_ofs.num_btns, si 599 drivers/input/touchscreen/cyttsp4_core.c si->btn_rec_data = p; si 606 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 608 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.cydata_ofs, si->si_ofs.cydata_size); si 610 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.test_ofs, si->si_ofs.test_size); si 612 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.pcfg_ofs, si->si_ofs.pcfg_size); si 614 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.opcfg_ofs, si->si_ofs.opcfg_size); si 616 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.ddata_ofs, si->si_ofs.ddata_size); si 618 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.mdata_ofs, si->si_ofs.mdata_size); si 621 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.cmd_ofs); si 623 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.rep_ofs); si 625 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.rep_sz); si 627 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.num_btns); si 629 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.num_btn_regs); si 631 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tt_stat_ofs); si 633 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_rec_size); si 635 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_tchs); si 637 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.mode_size); si 639 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.data_size); si 641 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.map_sz); si 644 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_rec_size); si 646 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_diff_ofs); si 648 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.btn_diff_size); si 651 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_x, si->si_ofs.max_x); si 653 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.x_origin, si 654 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.x_origin == CY_NORMAL_ORIGIN ? si 657 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_y, si->si_ofs.max_y); si 659 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.y_origin, si 660 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.y_origin == CY_NORMAL_ORIGIN ? si 663 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.max_p, si->si_ofs.max_p); si 666 drivers/input/touchscreen/cyttsp4_core.c si->xy_mode, si->xy_data); si 671 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 716 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_handshake(cd, si->si_data.hst_mode); si 721 drivers/input/touchscreen/cyttsp4_core.c si->ready = true; si 754 drivers/input/touchscreen/cyttsp4_core.c if (!md->si) si 759 drivers/input/touchscreen/cyttsp4_core.c md->si->si_ofs.tch_abs[CY_TCH_T].max); si 794 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = md->si; si 800 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].size, si 801 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].max, si 802 drivers/input/touchscreen/cyttsp4_core.c xy_data + si->si_ofs.tch_abs[abs].ofs, si 803 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_abs[abs].bofs); si 817 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X] = md->si->si_ofs.max_y - si 820 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_X] = md->si->si_ofs.max_x - si 825 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y] = md->si->si_ofs.max_x - si 828 drivers/input/touchscreen/cyttsp4_core.c touch->abs[CY_TCH_Y] = md->si->si_ofs.max_y - si 857 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = md->si; si 863 drivers/input/touchscreen/cyttsp4_core.c memset(ids, 0, si->si_ofs.tch_abs[CY_TCH_T].max * sizeof(int)); si 865 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_get_touch(md, &tch, si->xy_data + si 866 drivers/input/touchscreen/cyttsp4_core.c (i * si->si_ofs.tch_rec_size)); si 903 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.tch_rec_size > CY_TMA1036_TCH_REC_SIZE) { si 925 drivers/input/touchscreen/cyttsp4_core.c if (si->si_ofs.tch_rec_size > CY_TMA1036_TCH_REC_SIZE) si 946 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_final_sync(md->input, si->si_ofs.tch_abs[CY_TCH_T].max, ids); si 958 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = md->si; si 977 drivers/input/touchscreen/cyttsp4_core.c hst_mode = si->xy_mode[CY_REG_BASE]; si 978 drivers/input/touchscreen/cyttsp4_core.c rep_len = si->xy_mode[si->si_ofs.rep_ofs]; si 979 drivers/input/touchscreen/cyttsp4_core.c rep_stat = si->xy_mode[si->si_ofs.rep_ofs + 1]; si 980 drivers/input/touchscreen/cyttsp4_core.c tt_stat = si->xy_mode[si->si_ofs.tt_stat_ofs]; si 996 drivers/input/touchscreen/cyttsp4_core.c rc = cyttsp4_adap_read(cd, si->si_ofs.tt_stat_ofs + 1, si 997 drivers/input/touchscreen/cyttsp4_core.c num_cur_tch * si->si_ofs.tch_rec_size, si 998 drivers/input/touchscreen/cyttsp4_core.c si->xy_data); si 1007 drivers/input/touchscreen/cyttsp4_core.c cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_data, num_cur_tch * si 1008 drivers/input/touchscreen/cyttsp4_core.c si->si_ofs.tch_rec_size, "xy_data"); si 1020 drivers/input/touchscreen/cyttsp4_core.c if (num_cur_tch > si->si_ofs.max_tchs) { si 1022 drivers/input/touchscreen/cyttsp4_core.c __func__, num_cur_tch, si->si_ofs.max_tchs); si 1023 drivers/input/touchscreen/cyttsp4_core.c num_cur_tch = si->si_ofs.max_tchs; si 1046 drivers/input/touchscreen/cyttsp4_core.c if (!md->si) si 1717 drivers/input/touchscreen/cyttsp4_core.c struct cyttsp4_sysinfo *si = &cd->sysinfo; si 1719 drivers/input/touchscreen/cyttsp4_core.c if (!si) si 1722 drivers/input/touchscreen/cyttsp4_core.c kfree(si->si_ptrs.cydata); si 1723 drivers/input/touchscreen/cyttsp4_core.c kfree(si->si_ptrs.test); si 1724 drivers/input/touchscreen/cyttsp4_core.c kfree(si->si_ptrs.pcfg); si 1725 drivers/input/touchscreen/cyttsp4_core.c kfree(si->si_ptrs.opcfg); si 1726 drivers/input/touchscreen/cyttsp4_core.c kfree(si->si_ptrs.ddata); si 1727 drivers/input/touchscreen/cyttsp4_core.c kfree(si->si_ptrs.mdata); si 1728 drivers/input/touchscreen/cyttsp4_core.c kfree(si->btn); si 1729 drivers/input/touchscreen/cyttsp4_core.c kfree(si->xy_mode); si 1730 drivers/input/touchscreen/cyttsp4_core.c kfree(si->xy_data); si 1731 drivers/input/touchscreen/cyttsp4_core.c kfree(si->btn_rec_data); si 1906 drivers/input/touchscreen/cyttsp4_core.c max_x_tmp = md->si->si_ofs.max_x; si 1907 drivers/input/touchscreen/cyttsp4_core.c max_y_tmp = md->si->si_ofs.max_y; si 1917 drivers/input/touchscreen/cyttsp4_core.c max_p = md->si->si_ofs.max_p; si 1947 drivers/input/touchscreen/cyttsp4_core.c (md->si->si_ofs.tch_rec_size < si 1953 drivers/input/touchscreen/cyttsp4_core.c input_mt_init_slots(md->input, md->si->si_ofs.tch_abs[CY_TCH_T].max, si 1992 drivers/input/touchscreen/cyttsp4_core.c md->si = &cd->sysinfo; si 324 drivers/input/touchscreen/cyttsp4_core.h struct cyttsp4_sysinfo *si; si 107 drivers/md/persistent-data/dm-transaction-manager.c struct shadow_info *si; si 110 drivers/md/persistent-data/dm-transaction-manager.c hlist_for_each_entry(si, tm->buckets + bucket, hlist) si 111 drivers/md/persistent-data/dm-transaction-manager.c if (si->where == b) { si 127 drivers/md/persistent-data/dm-transaction-manager.c struct shadow_info *si; si 129 drivers/md/persistent-data/dm-transaction-manager.c si = kmalloc(sizeof(*si), GFP_NOIO); si 130 drivers/md/persistent-data/dm-transaction-manager.c if (si) { si 131 drivers/md/persistent-data/dm-transaction-manager.c si->where = b; si 134 drivers/md/persistent-data/dm-transaction-manager.c hlist_add_head(&si->hlist, tm->buckets + bucket); si 141 drivers/md/persistent-data/dm-transaction-manager.c struct shadow_info *si; si 149 drivers/md/persistent-data/dm-transaction-manager.c hlist_for_each_entry_safe(si, tmp, bucket, hlist) si 150 drivers/md/persistent-data/dm-transaction-manager.c kfree(si); si 34 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_source_info *si = &fimc->vid_cap.source_config; si 42 drivers/media/platform/exynos4-is/fimc-capture.c if (si->fimc_bus_type == FIMC_BUS_TYPE_ISP_WRITEBACK) { si 52 drivers/media/platform/exynos4-is/fimc-capture.c fimc_hw_set_camera_polarity(fimc, si); si 53 drivers/media/platform/exynos4-is/fimc-capture.c fimc_hw_set_camera_type(fimc, si); si 54 drivers/media/platform/exynos4-is/fimc-capture.c fimc_hw_set_camera_source(fimc, si); si 1190 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_source_info *si = NULL; si 1203 drivers/media/platform/exynos4-is/fimc-capture.c si = v4l2_get_subdev_hostdata(sd); si 1205 drivers/media/platform/exynos4-is/fimc-capture.c if (si == NULL) { si 1213 drivers/media/platform/exynos4-is/fimc-capture.c vc->source_config = *si; si 1443 drivers/media/platform/exynos4-is/fimc-capture.c struct fimc_source_info *si; si 1452 drivers/media/platform/exynos4-is/fimc-capture.c si = v4l2_get_subdev_hostdata(sd); si 1457 drivers/media/platform/exynos4-is/fimc-capture.c fimc = si ? source_to_sensor_info(si)->host : NULL; si 189 drivers/media/platform/exynos4-is/fimc-lite-reg.c struct fimc_source_info *si) si 192 drivers/media/platform/exynos4-is/fimc-lite-reg.c unsigned int flags = si->flags; si 194 drivers/media/platform/exynos4-is/fimc-lite-reg.c if (si->sensor_bus_type != FIMC_BUS_TYPE_MIPI_CSI2) { si 214 drivers/media/platform/exynos4-is/fimc-lite-reg.c flite_hw_set_camera_port(dev, si->mux_id); si 134 drivers/media/platform/exynos4-is/fimc-lite.c struct fimc_source_info *si; si 144 drivers/media/platform/exynos4-is/fimc-lite.c si = v4l2_get_subdev_hostdata(fimc->sensor); si 145 drivers/media/platform/exynos4-is/fimc-lite.c if (!si) si 150 drivers/media/platform/exynos4-is/fimc-lite.c flite_hw_set_camera_bus(fimc, si); si 794 drivers/media/platform/exynos4-is/media-dev.c struct fimc_source_info *si = NULL; si 800 drivers/media/platform/exynos4-is/media-dev.c si = v4l2_get_subdev_hostdata(sensor); si 802 drivers/media/platform/exynos4-is/media-dev.c if (si && si->fimc_bus_type == FIMC_BUS_TYPE_ISP_WRITEBACK) si 1373 drivers/media/platform/exynos4-is/media-dev.c struct fimc_sensor_info *si = NULL; si 1380 drivers/media/platform/exynos4-is/media-dev.c si = &fmd->sensor[i]; si 1382 drivers/media/platform/exynos4-is/media-dev.c if (si == NULL) si 1385 drivers/media/platform/exynos4-is/media-dev.c v4l2_set_subdev_hostdata(subdev, &si->pdata); si 1387 drivers/media/platform/exynos4-is/media-dev.c if (si->pdata.fimc_bus_type == FIMC_BUS_TYPE_ISP_WRITEBACK) si 1392 drivers/media/platform/exynos4-is/media-dev.c si->subdev = subdev; si 157 drivers/media/platform/exynos4-is/media-dev.h struct fimc_sensor_info *source_to_sensor_info(struct fimc_source_info *si) si 159 drivers/media/platform/exynos4-is/media-dev.h return container_of(si, struct fimc_sensor_info, pdata); si 534 drivers/media/tuners/r820t.c u8 ni, si, nint, vco_fine_tune, val; si 629 drivers/media/tuners/r820t.c si = nint - 4 * ni - 13; si 631 drivers/media/tuners/r820t.c rc = r820t_write_reg(priv, 0x14, ni + (si << 6)); si 1446 drivers/misc/mic/scif/scif_api.c static int scif_add_client_dev(struct device *dev, struct subsys_interface *si) si 1449 drivers/misc/mic/scif/scif_api.c container_of(si, struct scif_client, si); si 1459 drivers/misc/mic/scif/scif_api.c struct subsys_interface *si) si 1462 drivers/misc/mic/scif/scif_api.c container_of(si, struct scif_client, si); si 1472 drivers/misc/mic/scif/scif_api.c subsys_interface_unregister(&client->si); si 1478 drivers/misc/mic/scif/scif_api.c struct subsys_interface *si = &client->si; si 1480 drivers/misc/mic/scif/scif_api.c si->name = client->name; si 1481 drivers/misc/mic/scif/scif_api.c si->subsys = &scif_peer_bus; si 1482 drivers/misc/mic/scif/scif_api.c si->add_dev = scif_add_client_dev; si 1483 drivers/misc/mic/scif/scif_api.c si->remove_dev = scif_remove_client_dev; si 1485 drivers/misc/mic/scif/scif_api.c return subsys_interface_register(&client->si); si 173 drivers/mtd/nand/raw/atmel/pmecc.c s16 *si; si 372 drivers/mtd/nand/raw/atmel/pmecc.c user->si = user->partial_syn + ((2 * req->ecc.strength) + 1); si 373 drivers/mtd/nand/raw/atmel/pmecc.c user->lmu = user->si + ((2 * req->ecc.strength) + 1); si 454 drivers/mtd/nand/raw/atmel/pmecc.c s16 *si; si 461 drivers/mtd/nand/raw/atmel/pmecc.c si = user->si; si 463 drivers/mtd/nand/raw/atmel/pmecc.c memset(&si[1], 0, sizeof(s16) * ((2 * strength) - 1)); si 470 drivers/mtd/nand/raw/atmel/pmecc.c si[i] = alpha_to[i * j] ^ si[i]; si 475 drivers/mtd/nand/raw/atmel/pmecc.c if (si[j] == 0) { si 476 drivers/mtd/nand/raw/atmel/pmecc.c si[i] = 0; si 480 drivers/mtd/nand/raw/atmel/pmecc.c tmp = index_of[si[j]]; si 482 drivers/mtd/nand/raw/atmel/pmecc.c si[i] = alpha_to[tmp]; si 490 drivers/mtd/nand/raw/atmel/pmecc.c s16 *si = user->si; si 534 drivers/mtd/nand/raw/atmel/pmecc.c dmu[1] = si[1]; si 626 drivers/mtd/nand/raw/atmel/pmecc.c dmu[i + 1] = si[tmp + 3]; si 627 drivers/mtd/nand/raw/atmel/pmecc.c } else if (smu[(i + 1) * num + k] && si[tmp + 3 - k]) { si 631 drivers/mtd/nand/raw/atmel/pmecc.c b = si[2 * (i - 1) + 3 - k]; si 132 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c int i, si; si 142 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c for (si = 0; si 143 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c si < ARRAY_SIZE(aq_ethtool_queue_stat_names); si 144 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c si++) { si 146 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c aq_ethtool_queue_stat_names[si], i); si 7051 drivers/net/ethernet/broadcom/tg3.c u32 si, di, cpycnt, src_prod_idx; si 7074 drivers/net/ethernet/broadcom/tg3.c si = spr->rx_std_cons_idx; si 7095 drivers/net/ethernet/broadcom/tg3.c &spr->rx_std_buffers[si], si 7098 drivers/net/ethernet/broadcom/tg3.c for (i = 0; i < cpycnt; i++, di++, si++) { si 7100 drivers/net/ethernet/broadcom/tg3.c sbd = &spr->rx_std[si]; si 7132 drivers/net/ethernet/broadcom/tg3.c si = spr->rx_jmb_cons_idx; si 7153 drivers/net/ethernet/broadcom/tg3.c &spr->rx_jmb_buffers[si], si 7156 drivers/net/ethernet/broadcom/tg3.c for (i = 0; i < cpycnt; i++, di++, si++) { si 7158 drivers/net/ethernet/broadcom/tg3.c sbd = &spr->rx_jmb[si].std; si 967 drivers/net/ethernet/chelsio/cxgb3/sge.c const struct skb_shared_info *si; si 977 drivers/net/ethernet/chelsio/cxgb3/sge.c si = skb_shinfo(skb); si 978 drivers/net/ethernet/chelsio/cxgb3/sge.c end = &si->frags[si->nr_frags]; si 980 drivers/net/ethernet/chelsio/cxgb3/sge.c for (fp = si->frags; fp < end; fp++) { si 990 drivers/net/ethernet/chelsio/cxgb3/sge.c while (fp-- > si->frags) si 1585 drivers/net/ethernet/chelsio/cxgb3/sge.c const struct skb_shared_info *si; si 1595 drivers/net/ethernet/chelsio/cxgb3/sge.c si = skb_shinfo(skb); si 1596 drivers/net/ethernet/chelsio/cxgb3/sge.c for (i = 0; i < si->nr_frags; i++) si 1597 drivers/net/ethernet/chelsio/cxgb3/sge.c pci_unmap_page(dui->pdev, *p++, skb_frag_size(&si->frags[i]), si 245 drivers/net/ethernet/chelsio/cxgb4/sge.c const struct skb_shared_info *si; si 251 drivers/net/ethernet/chelsio/cxgb4/sge.c si = skb_shinfo(skb); si 252 drivers/net/ethernet/chelsio/cxgb4/sge.c end = &si->frags[si->nr_frags]; si 254 drivers/net/ethernet/chelsio/cxgb4/sge.c for (fp = si->frags; fp < end; fp++) { si 263 drivers/net/ethernet/chelsio/cxgb4/sge.c while (fp-- > si->frags) si 277 drivers/net/ethernet/chelsio/cxgb4/sge.c const struct skb_shared_info *si; si 281 drivers/net/ethernet/chelsio/cxgb4/sge.c si = skb_shinfo(skb); si 282 drivers/net/ethernet/chelsio/cxgb4/sge.c end = &si->frags[si->nr_frags]; si 283 drivers/net/ethernet/chelsio/cxgb4/sge.c for (fp = si->frags; fp < end; fp++) si 886 drivers/net/ethernet/chelsio/cxgb4/sge.c const struct skb_shared_info *si = skb_shinfo(skb); si 887 drivers/net/ethernet/chelsio/cxgb4/sge.c unsigned int nfrags = si->nr_frags; si 896 drivers/net/ethernet/chelsio/cxgb4/sge.c sgl->len0 = htonl(skb_frag_size(&si->frags[0])); si 911 drivers/net/ethernet/chelsio/cxgb4/sge.c for (i = (nfrags != si->nr_frags); nfrags >= 2; nfrags -= 2, to++) { si 912 drivers/net/ethernet/chelsio/cxgb4/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); si 913 drivers/net/ethernet/chelsio/cxgb4/sge.c to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); si 918 drivers/net/ethernet/chelsio/cxgb4/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); si 2927 drivers/net/ethernet/chelsio/cxgb4/sge.c const struct pkt_gl *si) si 2946 drivers/net/ethernet/chelsio/cxgb4/sge.c t4_tx_completion_handler(q, rsp, si); si 2951 drivers/net/ethernet/chelsio/cxgb4/sge.c return handle_trace_pkt(q->adap, si); si 2971 drivers/net/ethernet/chelsio/cxgb4/sge.c do_gro(rxq, si, pkt, tnl_hdr_len); si 2975 drivers/net/ethernet/chelsio/cxgb4/sge.c skb = cxgb4_pktgl_to_skb(si, RX_PKT_SKB_LEN, RX_PULL_LEN); si 2977 drivers/net/ethernet/chelsio/cxgb4/sge.c t4_pktgl_free(si); si 3010 drivers/net/ethernet/chelsio/cxgb4/sge.c si->sgetstamp); si 3074 drivers/net/ethernet/chelsio/cxgb4/sge.c static void restore_rx_bufs(const struct pkt_gl *si, struct sge_fl *q, si 3085 drivers/net/ethernet/chelsio/cxgb4/sge.c d->page = si->frags[frags].page; si 3155 drivers/net/ethernet/chelsio/cxgb4/sge.c struct pkt_gl si; si 3166 drivers/net/ethernet/chelsio/cxgb4/sge.c si.tot_len = len; si 3169 drivers/net/ethernet/chelsio/cxgb4/sge.c for (frags = 0, fp = si.frags; ; frags++, fp++) { si 3181 drivers/net/ethernet/chelsio/cxgb4/sge.c si.sgetstamp = SGE_TIMESTAMP_G( si 3191 drivers/net/ethernet/chelsio/cxgb4/sge.c si.va = page_address(si.frags[0].page) + si 3192 drivers/net/ethernet/chelsio/cxgb4/sge.c si.frags[0].offset; si 3193 drivers/net/ethernet/chelsio/cxgb4/sge.c prefetch(si.va); si 3195 drivers/net/ethernet/chelsio/cxgb4/sge.c si.nfrags = frags + 1; si 3196 drivers/net/ethernet/chelsio/cxgb4/sge.c ret = q->handler(q, q->cur_desc, &si); si 3200 drivers/net/ethernet/chelsio/cxgb4/sge.c restore_rx_bufs(&si, &rxq->fl, frags); si 281 drivers/net/ethernet/chelsio/cxgb4vf/sge.c const struct skb_shared_info *si; si 287 drivers/net/ethernet/chelsio/cxgb4vf/sge.c si = skb_shinfo(skb); si 288 drivers/net/ethernet/chelsio/cxgb4vf/sge.c end = &si->frags[si->nr_frags]; si 289 drivers/net/ethernet/chelsio/cxgb4vf/sge.c for (fp = si->frags; fp < end; fp++) { si 298 drivers/net/ethernet/chelsio/cxgb4vf/sge.c while (fp-- > si->frags) si 907 drivers/net/ethernet/chelsio/cxgb4vf/sge.c const struct skb_shared_info *si = skb_shinfo(skb); si 908 drivers/net/ethernet/chelsio/cxgb4vf/sge.c unsigned int nfrags = si->nr_frags; si 917 drivers/net/ethernet/chelsio/cxgb4vf/sge.c sgl->len0 = htonl(skb_frag_size(&si->frags[0])); si 932 drivers/net/ethernet/chelsio/cxgb4vf/sge.c for (i = (nfrags != si->nr_frags); nfrags >= 2; nfrags -= 2, to++) { si 933 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); si 934 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to->len[1] = cpu_to_be32(skb_frag_size(&si->frags[++i])); si 939 drivers/net/ethernet/chelsio/cxgb4vf/sge.c to->len[0] = cpu_to_be32(skb_frag_size(&si->frags[i])); si 357 drivers/net/ethernet/freescale/enetc/enetc.c enetc_get_tx_tstamp(&priv->si->hw, txbd, si 486 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_hw *hw = &priv->si->hw; si 728 drivers/net/ethernet/freescale/enetc/enetc.c void enetc_get_si_caps(struct enetc_si *si) si 730 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_hw *hw = &si->hw; si 735 drivers/net/ethernet/freescale/enetc/enetc.c si->num_rx_rings = (val >> 16) & 0xff; si 736 drivers/net/ethernet/freescale/enetc/enetc.c si->num_tx_rings = val & 0xff; si 739 drivers/net/ethernet/freescale/enetc/enetc.c si->num_fs_entries = ENETC_SIRFSCAPR_GET_NUM_RFS(val); si 740 drivers/net/ethernet/freescale/enetc/enetc.c si->num_fs_entries = min(si->num_fs_entries, ENETC_MAX_RFS_SIZE); si 742 drivers/net/ethernet/freescale/enetc/enetc.c si->num_rss = 0; si 746 drivers/net/ethernet/freescale/enetc/enetc.c si->num_rss = ENETC_SIRSSCAPR_GET_NUM_RSS(val); si 999 drivers/net/ethernet/freescale/enetc/enetc.c static int enetc_setup_default_rss_table(struct enetc_si *si, int num_groups) si 1004 drivers/net/ethernet/freescale/enetc/enetc.c rss_table = kmalloc_array(si->num_rss, sizeof(*rss_table), GFP_KERNEL); si 1009 drivers/net/ethernet/freescale/enetc/enetc.c for (i = 0; i < si->num_rss; i++) si 1012 drivers/net/ethernet/freescale/enetc/enetc.c enetc_set_rss_table(si, rss_table, si->num_rss); si 1021 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_si *si = priv->si; si 1022 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_hw *hw = &si->hw; si 1025 drivers/net/ethernet/freescale/enetc/enetc.c enetc_setup_cbdr(hw, &si->cbd_ring); si 1033 drivers/net/ethernet/freescale/enetc/enetc.c if (si->num_rss) { si 1034 drivers/net/ethernet/freescale/enetc/enetc.c err = enetc_setup_default_rss_table(si, priv->num_rx_rings); si 1044 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_si *si = priv->si; si 1054 drivers/net/ethernet/freescale/enetc/enetc.c priv->num_rx_rings = min_t(int, cpus, si->num_rx_rings); si 1055 drivers/net/ethernet/freescale/enetc/enetc.c priv->num_tx_rings = si->num_tx_rings; si 1059 drivers/net/ethernet/freescale/enetc/enetc.c si->cbd_ring.bd_count = ENETC_CBDR_DEFAULT_SIZE; si 1064 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_si *si = priv->si; si 1067 drivers/net/ethernet/freescale/enetc/enetc.c err = enetc_alloc_cbdr(priv->dev, &si->cbd_ring); si 1071 drivers/net/ethernet/freescale/enetc/enetc.c priv->cls_rules = kcalloc(si->num_fs_entries, sizeof(*priv->cls_rules), si 1087 drivers/net/ethernet/freescale/enetc/enetc.c enetc_clear_cbdr(&si->hw); si 1088 drivers/net/ethernet/freescale/enetc/enetc.c enetc_free_cbdr(priv->dev, &si->cbd_ring); si 1095 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_si *si = priv->si; si 1097 drivers/net/ethernet/freescale/enetc/enetc.c enetc_clear_cbdr(&si->hw); si 1098 drivers/net/ethernet/freescale/enetc/enetc.c enetc_free_cbdr(priv->dev, &si->cbd_ring); si 1180 drivers/net/ethernet/freescale/enetc/enetc.c enetc_setup_txbdr(&priv->si->hw, priv->tx_ring[i]); si 1183 drivers/net/ethernet/freescale/enetc/enetc.c enetc_setup_rxbdr(&priv->si->hw, priv->rx_ring[i]); si 1219 drivers/net/ethernet/freescale/enetc/enetc.c enetc_clear_txbdr(&priv->si->hw, priv->tx_ring[i]); si 1222 drivers/net/ethernet/freescale/enetc/enetc.c enetc_clear_rxbdr(&priv->si->hw, priv->rx_ring[i]); si 1229 drivers/net/ethernet/freescale/enetc/enetc.c struct pci_dev *pdev = priv->si->pdev; si 1237 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_hw *hw = &priv->si->hw; si 1277 drivers/net/ethernet/freescale/enetc/enetc.c struct pci_dev *pdev = priv->si->pdev; si 1294 drivers/net/ethernet/freescale/enetc/enetc.c enetc_rxbdr_wr(&priv->si->hw, i, si 1299 drivers/net/ethernet/freescale/enetc/enetc.c enetc_txbdr_wr(&priv->si->hw, i, si 1309 drivers/net/ethernet/freescale/enetc/enetc.c enetc_txbdr_wr(&priv->si->hw, i, ENETC_TBIER, 0); si 1312 drivers/net/ethernet/freescale/enetc/enetc.c enetc_rxbdr_wr(&priv->si->hw, i, ENETC_RBIER, 0); si 1452 drivers/net/ethernet/freescale/enetc/enetc.c enetc_set_bdr_prio(&priv->si->hw, tx_ring->index, 0); si 1471 drivers/net/ethernet/freescale/enetc/enetc.c enetc_set_bdr_prio(&priv->si->hw, tx_ring->index, i); si 1517 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_hw *hw = &priv->si->hw; si 1607 drivers/net/ethernet/freescale/enetc/enetc.c struct pci_dev *pdev = priv->si->pdev; si 1704 drivers/net/ethernet/freescale/enetc/enetc.c pci_free_irq_vectors(priv->si->pdev); si 1707 drivers/net/ethernet/freescale/enetc/enetc.c static void enetc_kfree_si(struct enetc_si *si) si 1709 drivers/net/ethernet/freescale/enetc/enetc.c char *p = (char *)si - si->pad; si 1714 drivers/net/ethernet/freescale/enetc/enetc.c static void enetc_detect_errata(struct enetc_si *si) si 1716 drivers/net/ethernet/freescale/enetc/enetc.c if (si->pdev->revision == ENETC_REV1) si 1717 drivers/net/ethernet/freescale/enetc/enetc.c si->errata = ENETC_ERR_TXCSUM | ENETC_ERR_VLAN_ISOL | si 1723 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_si *si, *p; si 1769 drivers/net/ethernet/freescale/enetc/enetc.c si = PTR_ALIGN(p, ENETC_SI_ALIGN); si 1770 drivers/net/ethernet/freescale/enetc/enetc.c si->pad = (char *)si - (char *)p; si 1772 drivers/net/ethernet/freescale/enetc/enetc.c pci_set_drvdata(pdev, si); si 1773 drivers/net/ethernet/freescale/enetc/enetc.c si->pdev = pdev; si 1774 drivers/net/ethernet/freescale/enetc/enetc.c hw = &si->hw; si 1788 drivers/net/ethernet/freescale/enetc/enetc.c enetc_detect_errata(si); si 1793 drivers/net/ethernet/freescale/enetc/enetc.c enetc_kfree_si(si); si 1805 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_si *si = pci_get_drvdata(pdev); si 1806 drivers/net/ethernet/freescale/enetc/enetc.c struct enetc_hw *hw = &si->hw; si 1809 drivers/net/ethernet/freescale/enetc/enetc.c enetc_kfree_si(si); si 140 drivers/net/ethernet/freescale/enetc/enetc.h static inline void *enetc_si_priv(const struct enetc_si *si) si 142 drivers/net/ethernet/freescale/enetc/enetc.h return (char *)si + ALIGN(sizeof(struct enetc_si), ENETC_SI_ALIGN); si 145 drivers/net/ethernet/freescale/enetc/enetc.h static inline bool enetc_si_is_pf(struct enetc_si *si) si 147 drivers/net/ethernet/freescale/enetc/enetc.h return !!(si->hw.port); si 181 drivers/net/ethernet/freescale/enetc/enetc.h struct enetc_si *si; si 220 drivers/net/ethernet/freescale/enetc/enetc.h void enetc_get_si_caps(struct enetc_si *si); si 239 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_set_mac_flt_entry(struct enetc_si *si, int index, si 241 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_clear_mac_flt_entry(struct enetc_si *si, int index); si 242 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, si 245 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count); si 246 drivers/net/ethernet/freescale/enetc/enetc.h int enetc_set_rss_table(struct enetc_si *si, const u32 *table, int count); si 6 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c static void enetc_clean_cbdr(struct enetc_si *si) si 8 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c struct enetc_cbdr *ring = &si->cbd_ring; si 18 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dev_warn(&si->pdev->dev, "CMD err %04x for cmd %04x\n", si 35 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c static int enetc_send_cmd(struct enetc_si *si, struct enetc_cbd *cbd) si 37 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c struct enetc_cbdr *ring = &si->cbd_ring; si 46 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c enetc_clean_cbdr(si); si 69 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c enetc_clean_cbdr(si); si 74 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_clear_mac_flt_entry(struct enetc_si *si, int index) si 84 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c return enetc_send_cmd(si, &cbd); si 87 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_set_mac_flt_entry(struct enetc_si *si, int index, si 109 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c return enetc_send_cmd(si, &cbd); si 114 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_set_fs_entry(struct enetc_si *si, struct enetc_cmd_rfse *rfse, si 129 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp = dma_alloc_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, si 132 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dev_err(&si->pdev->dev, "DMA mapping of RFS entry failed!\n"); si 143 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c err = enetc_send_cmd(si, &cbd); si 145 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dev_err(&si->pdev->dev, "FS entry add failed (%d)!", err); si 147 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dma_free_coherent(&si->pdev->dev, sizeof(*rfse) + RFSE_ALIGN, si 154 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c static int enetc_cmd_rss_table(struct enetc_si *si, u32 *table, int count, si 166 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c tmp = dma_alloc_coherent(&si->pdev->dev, count + RSSE_ALIGN, si 169 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dev_err(&si->pdev->dev, "DMA mapping of RSS table failed!\n"); si 187 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c err = enetc_send_cmd(si, &cbd); si 189 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dev_err(&si->pdev->dev, "RSS cmd failed (%d)!", err); si 195 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c dma_free_coherent(&si->pdev->dev, count + RSSE_ALIGN, tmp, dma); si 201 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_get_rss_table(struct enetc_si *si, u32 *table, int count) si 203 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c return enetc_cmd_rss_table(si, table, count, true); si 207 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c int enetc_set_rss_table(struct enetc_si *si, const u32 *table, int count) si 209 drivers/net/ethernet/freescale/enetc/enetc_cbdr.c return enetc_cmd_rss_table(si, (u32 *)table, count, false); si 35 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c struct enetc_hw *hw = &priv->si->hw; si 54 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c struct enetc_hw *hw = &priv->si->hw; si 203 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c (enetc_si_is_pf(priv->si) ? si 236 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (!enetc_si_is_pf(priv->si)) si 252 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c struct enetc_hw *hw = &priv->si->hw; si 266 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (!enetc_si_is_pf(priv->si)) si 309 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c static int enetc_set_cls_entry(struct enetc_si *si, si 342 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c netdev_warn(si->ndev, "ToS field is not supported and was ignored\n"); si 355 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c netdev_warn(si->ndev, "ToS field is not supported and was ignored\n"); si 380 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c return enetc_set_fs_entry(si, &rfse, fs->location); si 398 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rxnfc->data = priv->si->num_fs_entries; si 401 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c for (i = 0; i < priv->si->num_fs_entries; i++) si 406 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (rxnfc->fs.location >= priv->si->num_fs_entries) si 414 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c rxnfc->data = priv->si->num_fs_entries; si 417 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c for (i = 0; i < priv->si->num_fs_entries; i++) { si 441 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (rxnfc->fs.location >= priv->si->num_fs_entries) si 448 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c err = enetc_set_cls_entry(priv->si, &rxnfc->fs, true); si 455 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (rxnfc->fs.location >= priv->si->num_fs_entries) si 458 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c err = enetc_set_cls_entry(priv->si, &rxnfc->fs, false); si 475 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c return (priv->si->hw.port) ? ENETC_RSSHASH_KEY_SIZE : 0; si 483 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c return priv->si->num_rss; si 490 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c struct enetc_hw *hw = &priv->si->hw; si 504 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c err = enetc_get_rss_table(priv->si, indir, priv->si->num_rss); si 521 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c struct enetc_hw *hw = &priv->si->hw; si 530 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c err = enetc_set_rss_table(priv->si, indir, priv->si->num_rss); si 545 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c struct enetc_hw *hw = &priv->si->hw; si 626 drivers/net/ethernet/freescale/enetc/enetc_ethtool.c if (enetc_si_is_pf(priv->si)) si 151 drivers/net/ethernet/freescale/enetc/enetc_mdio.c struct device *dev = &pf->si->pdev->dev; si 166 drivers/net/ethernet/freescale/enetc/enetc_mdio.c mdio_priv->hw = &pf->si->hw; si 22 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_si *si = (struct enetc_si *)data; si 23 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_pf *pf = enetc_si_priv(si); si 25 drivers/net/ethernet/freescale/enetc/enetc_msg.c enetc_msg_disable_mr_int(&si->hw); si 34 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_hw *hw = &pf->si->hw; si 64 drivers/net/ethernet/freescale/enetc/enetc_msg.c static int enetc_msg_alloc_mbx(struct enetc_si *si, int idx) si 66 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_pf *pf = enetc_si_priv(si); si 67 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct device *dev = &si->pdev->dev; si 68 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_hw *hw = &si->hw; si 93 drivers/net/ethernet/freescale/enetc/enetc_msg.c static void enetc_msg_free_mbx(struct enetc_si *si, int idx) si 95 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_pf *pf = enetc_si_priv(si); si 96 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_hw *hw = &si->hw; si 100 drivers/net/ethernet/freescale/enetc/enetc_msg.c dma_free_coherent(&si->pdev->dev, msg->size, msg->vaddr, msg->dma); si 109 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_si *si = pf->si; si 114 drivers/net/ethernet/freescale/enetc/enetc_msg.c si->ndev->name); si 115 drivers/net/ethernet/freescale/enetc/enetc_msg.c vector = pci_irq_vector(si->pdev, ENETC_SI_INT_IDX); si 116 drivers/net/ethernet/freescale/enetc/enetc_msg.c err = request_irq(vector, enetc_msg_psi_msix, 0, pf->msg_int_name, si); si 118 drivers/net/ethernet/freescale/enetc/enetc_msg.c dev_err(&si->pdev->dev, si 124 drivers/net/ethernet/freescale/enetc/enetc_msg.c enetc_wr(&si->hw, ENETC_SIMSIVR, ENETC_SI_INT_IDX); si 130 drivers/net/ethernet/freescale/enetc/enetc_msg.c err = enetc_msg_alloc_mbx(si, i); si 136 drivers/net/ethernet/freescale/enetc/enetc_msg.c enetc_msg_enable_mr_int(&si->hw); si 142 drivers/net/ethernet/freescale/enetc/enetc_msg.c enetc_msg_free_mbx(si, i); si 144 drivers/net/ethernet/freescale/enetc/enetc_msg.c free_irq(vector, si); si 151 drivers/net/ethernet/freescale/enetc/enetc_msg.c struct enetc_si *si = pf->si; si 157 drivers/net/ethernet/freescale/enetc/enetc_msg.c enetc_msg_disable_mr_int(&si->hw); si 160 drivers/net/ethernet/freescale/enetc/enetc_msg.c enetc_msg_free_mbx(si, i); si 163 drivers/net/ethernet/freescale/enetc/enetc_msg.c free_irq(pci_irq_vector(si->pdev, ENETC_SI_INT_IDX), si); si 18 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr) si 20 drivers/net/ethernet/freescale/enetc/enetc_pf.c u32 upper = __raw_readl(hw->port + ENETC_PSIPMAR0(si)); si 21 drivers/net/ethernet/freescale/enetc/enetc_pf.c u16 lower = __raw_readw(hw->port + ENETC_PSIPMAR1(si)); si 27 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_pf_set_primary_mac_addr(struct enetc_hw *hw, int si, si 33 drivers/net/ethernet/freescale/enetc/enetc_pf.c __raw_writel(upper, hw->port + ENETC_PSIPMAR0(si)); si 34 drivers/net/ethernet/freescale/enetc/enetc_pf.c __raw_writew(lower, hw->port + ENETC_PSIPMAR1(si)); si 46 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_set_primary_mac_addr(&priv->si->hw, 0, saddr->sa_data); si 77 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); si 83 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); si 86 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_set_isol_vlan(struct enetc_hw *hw, int si, u16 vlan, u8 qos) si 93 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(hw, ENETC_PSIVLANR(si), val); si 138 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_clear_mac_ht_flt(struct enetc_si *si, int si_idx, int type) si 140 drivers/net/ethernet/freescale/enetc/enetc_pf.c bool err = si->errata & ENETC_ERR_UCMCSWP; si 143 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIUMHFR0(si_idx, err), 0); si 144 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIUMHFR1(si_idx), 0); si 146 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIMMHFR0(si_idx, err), 0); si 147 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIMMHFR1(si_idx), 0); si 151 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_set_mac_ht_flt(struct enetc_si *si, int si_idx, int type, si 154 drivers/net/ethernet/freescale/enetc/enetc_pf.c bool err = si->errata & ENETC_ERR_UCMCSWP; si 157 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIUMHFR0(si_idx, err), *hash); si 158 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIUMHFR1(si_idx), *(hash + 1)); si 160 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIMMHFR0(si_idx, err), *hash); si 161 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&si->hw, ENETC_PSIMMHFR1(si_idx), *(hash + 1)); si 168 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_si *si = pf->si; si 179 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_clear_mac_flt_entry(si, pos); si 181 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_clear_mac_ht_flt(si, 0, i); si 189 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_clear_mac_ht_flt(si, 0, UC); si 191 drivers/net/ethernet/freescale/enetc/enetc_pf.c err = enetc_set_mac_flt_entry(si, pos, f->mac_addr, si 197 drivers/net/ethernet/freescale/enetc/enetc_pf.c dev_warn(&si->pdev->dev, "fallback to HT filt (%d)\n", si 203 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_clear_mac_flt_entry(si, pos); si 205 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_set_mac_ht_flt(si, 0, i, (u32 *)f->mac_hash_table); si 212 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(priv->si); si 213 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_hw *hw = &priv->si->hw; si 306 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_set_vlan_ht_filter(&pf->si->hw, 0, (u32 *)pf->vlan_ht_filter); si 312 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(priv->si); si 330 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(priv->si); si 344 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_hw *hw = &priv->si->hw; si 368 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(priv->si); si 379 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_set_primary_mac_addr(&priv->si->hw, vf + 1, mac); si 387 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(priv->si); si 389 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (priv->si->errata & ENETC_ERR_VLAN_ISOL) si 399 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_set_isol_vlan(&priv->si->hw, vf + 1, vlan, qos); si 406 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(priv->si); si 412 drivers/net/ethernet/freescale/enetc/enetc_pf.c cfgr = enetc_port_rd(&priv->si->hw, ENETC_PSICFGR0(vf + 1)); si 414 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_wr(&priv->si->hw, ENETC_PSICFGR0(vf + 1), cfgr); si 419 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_port_setup_primary_mac_address(struct enetc_si *si) si 422 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(si); si 423 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_hw *hw = &si->hw; si 432 drivers/net/ethernet/freescale/enetc/enetc_pf.c dev_info(&si->pdev->dev, "no MAC address specified for SI%d, using %pM\n", si 438 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_port_assign_rfs_entries(struct enetc_si *si) si 440 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(si); si 441 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_hw *hw = &si->hw; si 459 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_port_si_configure(struct enetc_si *si) si 461 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(si); si 462 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_hw *hw = &si->hw; si 476 drivers/net/ethernet/freescale/enetc/enetc_pf.c dev_warn(&si->pdev->dev, "Found %d rings, expected %d!\n", si 548 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_hw *hw = &pf->si->hw; si 554 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_si_configure(pf->si); si 561 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_assign_rfs_entries(pf->si); si 564 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_port_setup_primary_mac_address(pf->si); si 583 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct device *dev = &pf->si->pdev->dev; si 597 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_set_primary_mac_addr(&pf->si->hw, vf_id + 1, addr); si 605 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct device *dev = &pf->si->pdev->dev; si 626 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_si *si = pci_get_drvdata(pdev); si 627 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(si); si 679 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_enable_rxvlan(&priv->si->hw, 0, si 683 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_enable_txvlan(&priv->si->hw, 0, si 709 drivers/net/ethernet/freescale/enetc/enetc_pf.c static void enetc_pf_netdev_setup(struct enetc_si *si, struct net_device *ndev, si 714 drivers/net/ethernet/freescale/enetc/enetc_pf.c SET_NETDEV_DEV(ndev, &si->pdev->dev); si 716 drivers/net/ethernet/freescale/enetc/enetc_pf.c priv->si = si; si 717 drivers/net/ethernet/freescale/enetc/enetc_pf.c priv->dev = &si->pdev->dev; si 718 drivers/net/ethernet/freescale/enetc/enetc_pf.c si->ndev = ndev; si 735 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (si->num_rss) si 738 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (si->errata & ENETC_ERR_TXCSUM) { si 746 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_get_primary_mac_addr(&si->hw, ndev->dev_addr); si 751 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(priv->si); si 817 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_si *si; si 832 drivers/net/ethernet/freescale/enetc/enetc_pf.c si = pci_get_drvdata(pdev); si 833 drivers/net/ethernet/freescale/enetc/enetc_pf.c if (!si->hw.port || !si->hw.global) { si 839 drivers/net/ethernet/freescale/enetc/enetc_pf.c pf = enetc_si_priv(si); si 840 drivers/net/ethernet/freescale/enetc/enetc_pf.c pf->si = si; si 845 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_get_si_caps(si); si 854 drivers/net/ethernet/freescale/enetc/enetc_pf.c enetc_pf_netdev_setup(si, ndev, &enetc_ndev_ops); si 893 drivers/net/ethernet/freescale/enetc/enetc_pf.c si->ndev = NULL; si 904 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_si *si = pci_get_drvdata(pdev); si 905 drivers/net/ethernet/freescale/enetc/enetc_pf.c struct enetc_pf *pf = enetc_si_priv(si); si 911 drivers/net/ethernet/freescale/enetc/enetc_pf.c priv = netdev_priv(si->ndev); si 912 drivers/net/ethernet/freescale/enetc/enetc_pf.c netif_info(priv, drv, si->ndev, "%s v%s remove\n", si 915 drivers/net/ethernet/freescale/enetc/enetc_pf.c unregister_netdev(si->ndev); si 924 drivers/net/ethernet/freescale/enetc/enetc_pf.c free_netdev(si->ndev); si 31 drivers/net/ethernet/freescale/enetc/enetc_pf.h struct enetc_si *si; si 27 drivers/net/ethernet/freescale/enetc/enetc_vf.c static int enetc_msg_vsi_send(struct enetc_si *si, struct enetc_msg_swbd *msg) si 32 drivers/net/ethernet/freescale/enetc/enetc_vf.c enetc_msg_vsi_write_msg(&si->hw, msg); si 35 drivers/net/ethernet/freescale/enetc/enetc_vf.c vsimsgsr = enetc_rd(&si->hw, ENETC_VSIMSGSR); si 47 drivers/net/ethernet/freescale/enetc/enetc_vf.c dev_err(&si->pdev->dev, "VSI command execute error: %d\n", si 77 drivers/net/ethernet/freescale/enetc/enetc_vf.c err = enetc_msg_vsi_send(priv->si, &msg); si 118 drivers/net/ethernet/freescale/enetc/enetc_vf.c static void enetc_vf_netdev_setup(struct enetc_si *si, struct net_device *ndev, si 123 drivers/net/ethernet/freescale/enetc/enetc_vf.c SET_NETDEV_DEV(ndev, &si->pdev->dev); si 125 drivers/net/ethernet/freescale/enetc/enetc_vf.c priv->si = si; si 126 drivers/net/ethernet/freescale/enetc/enetc_vf.c priv->dev = &si->pdev->dev; si 127 drivers/net/ethernet/freescale/enetc/enetc_vf.c si->ndev = ndev; si 143 drivers/net/ethernet/freescale/enetc/enetc_vf.c if (si->num_rss) si 146 drivers/net/ethernet/freescale/enetc/enetc_vf.c if (si->errata & ENETC_ERR_TXCSUM) { si 152 drivers/net/ethernet/freescale/enetc/enetc_vf.c enetc_get_primary_mac_addr(&si->hw, ndev->dev_addr); si 160 drivers/net/ethernet/freescale/enetc/enetc_vf.c struct enetc_si *si; si 169 drivers/net/ethernet/freescale/enetc/enetc_vf.c si = pci_get_drvdata(pdev); si 171 drivers/net/ethernet/freescale/enetc/enetc_vf.c enetc_get_si_caps(si); si 180 drivers/net/ethernet/freescale/enetc/enetc_vf.c enetc_vf_netdev_setup(si, ndev, &enetc_ndev_ops); si 214 drivers/net/ethernet/freescale/enetc/enetc_vf.c si->ndev = NULL; si 224 drivers/net/ethernet/freescale/enetc/enetc_vf.c struct enetc_si *si = pci_get_drvdata(pdev); si 227 drivers/net/ethernet/freescale/enetc/enetc_vf.c priv = netdev_priv(si->ndev); si 228 drivers/net/ethernet/freescale/enetc/enetc_vf.c netif_info(priv, drv, si->ndev, "%s v%s remove\n", si 230 drivers/net/ethernet/freescale/enetc/enetc_vf.c unregister_netdev(si->ndev); si 236 drivers/net/ethernet/freescale/enetc/enetc_vf.c free_netdev(si->ndev); si 85 drivers/net/ethernet/mellanox/mlx4/profile.c struct sysinfo si; si 104 drivers/net/ethernet/mellanox/mlx4/profile.c si_meminfo(&si); si 108 drivers/net/ethernet/mellanox/mlx4/profile.c (si.totalram << 1) >> log_mtts_per_seg))); si 1159 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c int si = -1; si 1168 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (si == -1) si 1169 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c si = i; si 1170 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c else if (si != i - 1) si 1173 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (si == -1) { si 1181 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c pmask = (unsigned char) parent_key->mask[__MASK_IDX(si)]; si 1182 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mask = (unsigned char) key->mask[__MASK_IDX(si)]; si 1183 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c if (si + 1 < __MASK_LEN) { si 1184 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c pmask |= (unsigned char) parent_key->mask[__MASK_IDX(si + 1)] << 8; si 1185 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c mask |= (unsigned char) key->mask[__MASK_IDX(si + 1)] << 8; si 1198 drivers/net/ethernet/mellanox/mlxsw/spectrum_acl_erp.c *delta_start = si * 8 + offset; si 909 drivers/net/ethernet/nxp/lpc_eth.c int si = prxstat->statusinfo; si 911 drivers/net/ethernet/nxp/lpc_eth.c if (si & RXSTATUS_OVERRUN) { si 914 drivers/net/ethernet/nxp/lpc_eth.c } else if (si & RXSTATUS_CRC) { si 917 drivers/net/ethernet/nxp/lpc_eth.c } else if (si & RXSTATUS_LENGTH) { si 920 drivers/net/ethernet/nxp/lpc_eth.c } else if (si & RXSTATUS_ERROR) { si 1016 drivers/net/ethernet/ti/davinci_cpdma.c static int cpdma_chan_submit_si(struct submit_info *si) si 1018 drivers/net/ethernet/ti/davinci_cpdma.c struct cpdma_chan *chan = si->chan; si 1020 drivers/net/ethernet/ti/davinci_cpdma.c int len = si->len; si 1043 drivers/net/ethernet/ti/davinci_cpdma.c cpdma_desc_to_port(chan, mode, si->directed); si 1045 drivers/net/ethernet/ti/davinci_cpdma.c if (si->data_dma) { si 1046 drivers/net/ethernet/ti/davinci_cpdma.c buffer = si->data_dma; si 1049 drivers/net/ethernet/ti/davinci_cpdma.c buffer = dma_map_single(ctlr->dev, si->data_virt, len, chan->dir); si 1064 drivers/net/ethernet/ti/davinci_cpdma.c writel_relaxed((uintptr_t)si->token, &desc->sw_token); si 1066 drivers/net/ethernet/ti/davinci_cpdma.c writel_relaxed(si->data_dma ? len | CPDMA_DMA_EXT_MAP : len, si 1082 drivers/net/ethernet/ti/davinci_cpdma.c struct submit_info si; si 1086 drivers/net/ethernet/ti/davinci_cpdma.c si.chan = chan; si 1087 drivers/net/ethernet/ti/davinci_cpdma.c si.token = token; si 1088 drivers/net/ethernet/ti/davinci_cpdma.c si.data_virt = data; si 1089 drivers/net/ethernet/ti/davinci_cpdma.c si.data_dma = 0; si 1090 drivers/net/ethernet/ti/davinci_cpdma.c si.len = len; si 1091 drivers/net/ethernet/ti/davinci_cpdma.c si.directed = directed; si 1099 drivers/net/ethernet/ti/davinci_cpdma.c ret = cpdma_chan_submit_si(&si); si 1107 drivers/net/ethernet/ti/davinci_cpdma.c struct submit_info si; si 1111 drivers/net/ethernet/ti/davinci_cpdma.c si.chan = chan; si 1112 drivers/net/ethernet/ti/davinci_cpdma.c si.token = token; si 1113 drivers/net/ethernet/ti/davinci_cpdma.c si.data_virt = NULL; si 1114 drivers/net/ethernet/ti/davinci_cpdma.c si.data_dma = data; si 1115 drivers/net/ethernet/ti/davinci_cpdma.c si.len = len; si 1116 drivers/net/ethernet/ti/davinci_cpdma.c si.directed = directed; si 1124 drivers/net/ethernet/ti/davinci_cpdma.c ret = cpdma_chan_submit_si(&si); si 1132 drivers/net/ethernet/ti/davinci_cpdma.c struct submit_info si; si 1136 drivers/net/ethernet/ti/davinci_cpdma.c si.chan = chan; si 1137 drivers/net/ethernet/ti/davinci_cpdma.c si.token = token; si 1138 drivers/net/ethernet/ti/davinci_cpdma.c si.data_virt = data; si 1139 drivers/net/ethernet/ti/davinci_cpdma.c si.data_dma = 0; si 1140 drivers/net/ethernet/ti/davinci_cpdma.c si.len = len; si 1141 drivers/net/ethernet/ti/davinci_cpdma.c si.directed = directed; si 1149 drivers/net/ethernet/ti/davinci_cpdma.c ret = cpdma_chan_submit_si(&si); si 1157 drivers/net/ethernet/ti/davinci_cpdma.c struct submit_info si; si 1161 drivers/net/ethernet/ti/davinci_cpdma.c si.chan = chan; si 1162 drivers/net/ethernet/ti/davinci_cpdma.c si.token = token; si 1163 drivers/net/ethernet/ti/davinci_cpdma.c si.data_virt = NULL; si 1164 drivers/net/ethernet/ti/davinci_cpdma.c si.data_dma = data; si 1165 drivers/net/ethernet/ti/davinci_cpdma.c si.len = len; si 1166 drivers/net/ethernet/ti/davinci_cpdma.c si.directed = directed; si 1174 drivers/net/ethernet/ti/davinci_cpdma.c ret = cpdma_chan_submit_si(&si); si 2842 drivers/net/wireless/ath/wil6210/cfg80211.c struct wmi_rf_sector_info *si; si 2915 drivers/net/wireless/ath/wil6210/cfg80211.c si = &reply.evt.sectors_info[i]; si 2919 drivers/net/wireless/ath/wil6210/cfg80211.c le32_to_cpu(si->etype0)) || si 2921 drivers/net/wireless/ath/wil6210/cfg80211.c le32_to_cpu(si->etype1)) || si 2923 drivers/net/wireless/ath/wil6210/cfg80211.c le32_to_cpu(si->etype2)) || si 2925 drivers/net/wireless/ath/wil6210/cfg80211.c le32_to_cpu(si->psh_hi)) || si 2927 drivers/net/wireless/ath/wil6210/cfg80211.c le32_to_cpu(si->psh_lo)) || si 2929 drivers/net/wireless/ath/wil6210/cfg80211.c le32_to_cpu(si->dtype_swch_off))) si 2962 drivers/net/wireless/ath/wil6210/cfg80211.c struct wmi_rf_sector_info *si; si 3029 drivers/net/wireless/ath/wil6210/cfg80211.c si = &cmd.sectors_info[rf_module_index]; si 3030 drivers/net/wireless/ath/wil6210/cfg80211.c si->etype0 = cpu_to_le32(nla_get_u32( si 3032 drivers/net/wireless/ath/wil6210/cfg80211.c si->etype1 = cpu_to_le32(nla_get_u32( si 3034 drivers/net/wireless/ath/wil6210/cfg80211.c si->etype2 = cpu_to_le32(nla_get_u32( si 3036 drivers/net/wireless/ath/wil6210/cfg80211.c si->psh_hi = cpu_to_le32(nla_get_u32( si 3038 drivers/net/wireless/ath/wil6210/cfg80211.c si->psh_lo = cpu_to_le32(nla_get_u32( si 3040 drivers/net/wireless/ath/wil6210/cfg80211.c si->dtype_swch_off = cpu_to_le32(nla_get_u32( si 2495 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static void brcmf_convert_sta_flags(u32 fw_sta_flags, struct station_info *si) si 2500 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c si->filled |= BIT_ULL(NL80211_STA_INFO_STA_FLAGS); si 2501 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c sfu = &si->sta_flags; si 2516 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c static void brcmf_fill_bss_param(struct brcmf_if *ifp, struct station_info *si) si 2537 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c si->filled |= BIT_ULL(NL80211_STA_INFO_BSS_PARAM); si 2538 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c si->bss_param.beacon_interval = le16_to_cpu(buf->bss_le.beacon_period); si 2539 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c si->bss_param.dtim_period = buf->bss_le.dtim_period; si 2542 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c si->bss_param.flags |= BSS_PARAM_FLAGS_CTS_PROT; si 2544 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c si->bss_param.flags |= BSS_PARAM_FLAGS_SHORT_PREAMBLE; si 2546 drivers/net/wireless/broadcom/brcm80211/brcmfmac/cfg80211.c si->bss_param.flags |= BSS_PARAM_FLAGS_SHORT_SLOT_TIME; si 315 drivers/net/wireless/realtek/rtw88/fw.c void rtw_fw_send_rssi_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si) si 318 drivers/net/wireless/realtek/rtw88/fw.c u8 rssi = ewma_rssi_read(&si->avg_rssi); si 319 drivers/net/wireless/realtek/rtw88/fw.c bool stbc_en = si->stbc_en ? true : false; si 323 drivers/net/wireless/realtek/rtw88/fw.c SET_RSSI_INFO_MACID(h2c_pkt, si->mac_id); si 330 drivers/net/wireless/realtek/rtw88/fw.c void rtw_fw_send_ra_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si) si 333 drivers/net/wireless/realtek/rtw88/fw.c bool no_update = si->updated; si 338 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_MACID(h2c_pkt, si->mac_id); si 339 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_RATE_ID(h2c_pkt, si->rate_id); si 340 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_INIT_RA_LVL(h2c_pkt, si->init_ra_lv); si 341 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_SGI_EN(h2c_pkt, si->sgi_enable); si 342 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_BW_MODE(h2c_pkt, si->bw_mode); si 343 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_LDPC(h2c_pkt, si->ldpc_en); si 345 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_VHT_EN(h2c_pkt, si->vht_enable); si 347 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_RA_MASK0(h2c_pkt, (si->ra_mask & 0xff)); si 348 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_RA_MASK1(h2c_pkt, (si->ra_mask & 0xff00) >> 8); si 349 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_RA_MASK2(h2c_pkt, (si->ra_mask & 0xff0000) >> 16); si 350 drivers/net/wireless/realtek/rtw88/fw.c SET_RA_INFO_RA_MASK3(h2c_pkt, (si->ra_mask & 0xff000000) >> 24); si 352 drivers/net/wireless/realtek/rtw88/fw.c si->init_ra_lv = 0; si 353 drivers/net/wireless/realtek/rtw88/fw.c si->updated = true; si 282 drivers/net/wireless/realtek/rtw88/fw.h void rtw_fw_send_rssi_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si); si 283 drivers/net/wireless/realtek/rtw88/fw.h void rtw_fw_send_ra_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si); si 313 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv; si 318 drivers/net/wireless/realtek/rtw88/mac80211.c si->mac_id = rtw_acquire_macid(rtwdev); si 319 drivers/net/wireless/realtek/rtw88/mac80211.c if (si->mac_id >= RTW_MAX_MAC_ID_NUM) { si 324 drivers/net/wireless/realtek/rtw88/mac80211.c si->sta = sta; si 325 drivers/net/wireless/realtek/rtw88/mac80211.c si->vif = vif; si 326 drivers/net/wireless/realtek/rtw88/mac80211.c si->init_ra_lv = 1; si 327 drivers/net/wireless/realtek/rtw88/mac80211.c ewma_rssi_init(&si->avg_rssi); si 329 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_update_sta_info(rtwdev, si); si 330 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_fw_media_status_report(rtwdev, si->mac_id, true); si 335 drivers/net/wireless/realtek/rtw88/mac80211.c sta->addr, si->mac_id); si 347 drivers/net/wireless/realtek/rtw88/mac80211.c struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv; si 351 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_release_macid(rtwdev, si->mac_id); si 352 drivers/net/wireless/realtek/rtw88/mac80211.c rtw_fw_media_status_report(rtwdev, si->mac_id, false); si 357 drivers/net/wireless/realtek/rtw88/mac80211.c sta->addr, si->mac_id); si 532 drivers/net/wireless/realtek/rtw88/main.c void rtw_update_sta_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si) si 534 drivers/net/wireless/realtek/rtw88/main.c struct ieee80211_sta *sta = si->sta; si 629 drivers/net/wireless/realtek/rtw88/main.c rssi_level = si->rssi_level; si 644 drivers/net/wireless/realtek/rtw88/main.c si->bw_mode = bw_mode; si 645 drivers/net/wireless/realtek/rtw88/main.c si->stbc_en = stbc_en; si 646 drivers/net/wireless/realtek/rtw88/main.c si->ldpc_en = ldpc_en; si 647 drivers/net/wireless/realtek/rtw88/main.c si->rf_type = rf_type; si 648 drivers/net/wireless/realtek/rtw88/main.c si->wireless_set = wireless_set; si 649 drivers/net/wireless/realtek/rtw88/main.c si->sgi_enable = is_support_sgi; si 650 drivers/net/wireless/realtek/rtw88/main.c si->vht_enable = is_vht_enable; si 651 drivers/net/wireless/realtek/rtw88/main.c si->ra_mask = ra_mask; si 652 drivers/net/wireless/realtek/rtw88/main.c si->rate_id = rate_id; si 654 drivers/net/wireless/realtek/rtw88/main.c rtw_fw_send_ra_info(rtwdev, si); si 505 drivers/net/wireless/realtek/rtw88/main.h struct rtw_sta_info *si; si 1412 drivers/net/wireless/realtek/rtw88/main.h void rtw_update_sta_info(struct rtw_dev *rtwdev, struct rtw_sta_info *si); si 201 drivers/net/wireless/realtek/rtw88/phy.c struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv; si 204 drivers/net/wireless/realtek/rtw88/phy.c rssi = ewma_rssi_read(&si->avg_rssi); si 205 drivers/net/wireless/realtek/rtw88/phy.c si->rssi_level = rtw_phy_get_rssi_level(si->rssi_level, rssi); si 207 drivers/net/wireless/realtek/rtw88/phy.c rtw_fw_send_rssi_info(rtwdev, si); si 443 drivers/net/wireless/realtek/rtw88/phy.c struct rtw_sta_info *si = (struct rtw_sta_info *)sta->drv_priv; si 445 drivers/net/wireless/realtek/rtw88/phy.c rtw_update_sta_info(rtwdev, si); si 49 drivers/net/wireless/realtek/rtw88/rx.c struct rtw_sta_info *si; si 64 drivers/net/wireless/realtek/rtw88/rx.c si = (struct rtw_sta_info *)sta->drv_priv; si 65 drivers/net/wireless/realtek/rtw88/rx.c ewma_rssi_add(&si->avg_rssi, pkt_stat->rssi); si 240 drivers/net/wireless/realtek/rtw88/tx.c struct rtw_sta_info *si; si 272 drivers/net/wireless/realtek/rtw88/tx.c si = (struct rtw_sta_info *)sta->drv_priv; si 274 drivers/net/wireless/realtek/rtw88/tx.c bw = si->bw_mode; si 275 drivers/net/wireless/realtek/rtw88/tx.c rate_id = si->rate_id; si 276 drivers/net/wireless/realtek/rtw88/tx.c stbc = si->stbc_en; si 277 drivers/net/wireless/realtek/rtw88/tx.c ldpc = si->ldpc_en; si 299 drivers/net/wireless/realtek/rtw88/tx.c struct rtw_sta_info *si; si 306 drivers/net/wireless/realtek/rtw88/tx.c si = (struct rtw_sta_info *)control->sta->drv_priv; si 307 drivers/net/wireless/realtek/rtw88/tx.c vif = si->vif; si 592 drivers/pci/switch/switchtec.c struct sys_info_regs __iomem *si = stdev->mmio_sys_info; si 602 drivers/pci/switch/switchtec.c if (ioread16(&si->cfg_running) == SWITCHTEC_CFG0_RUNNING) si 608 drivers/pci/switch/switchtec.c if (ioread16(&si->cfg_running) == SWITCHTEC_CFG1_RUNNING) si 614 drivers/pci/switch/switchtec.c if (ioread16(&si->img_running) == SWITCHTEC_IMG0_RUNNING) si 620 drivers/pci/switch/switchtec.c if (ioread16(&si->img_running) == SWITCHTEC_IMG1_RUNNING) si 2592 drivers/platform/x86/thinkpad_acpi.c unsigned int si, so; si 2604 drivers/platform/x86/thinkpad_acpi.c si = 1; si 2634 drivers/platform/x86/thinkpad_acpi.c si = so; si 2645 drivers/platform/x86/thinkpad_acpi.c hotkey_read_nvram(&s[si], poll_mask); si 2646 drivers/platform/x86/thinkpad_acpi.c if (likely(si != so)) { si 2647 drivers/platform/x86/thinkpad_acpi.c hotkey_compare_and_issue_event(&s[so], &s[si], si 2652 drivers/platform/x86/thinkpad_acpi.c so = si; si 2653 drivers/platform/x86/thinkpad_acpi.c si ^= 1; si 1858 drivers/scsi/dpt_i2o.c static void adpt_ia64_info(sysInfo_S* si) si 1863 drivers/scsi/dpt_i2o.c si->processorType = PROC_IA64; si 1868 drivers/scsi/dpt_i2o.c static void adpt_sparc_info(sysInfo_S* si) si 1873 drivers/scsi/dpt_i2o.c si->processorType = PROC_ULTRASPARC; si 1877 drivers/scsi/dpt_i2o.c static void adpt_alpha_info(sysInfo_S* si) si 1882 drivers/scsi/dpt_i2o.c si->processorType = PROC_ALPHA; si 1890 drivers/scsi/dpt_i2o.c static void adpt_i386_info(sysInfo_S* si) si 1897 drivers/scsi/dpt_i2o.c si->processorType = PROC_386; si 1900 drivers/scsi/dpt_i2o.c si->processorType = PROC_486; si 1903 drivers/scsi/dpt_i2o.c si->processorType = PROC_PENTIUM; si 1906 drivers/scsi/dpt_i2o.c si->processorType = PROC_PENTIUM; si 1920 drivers/scsi/dpt_i2o.c sysInfo_S si; si 1922 drivers/scsi/dpt_i2o.c memset(&si, 0, sizeof(si)); si 1924 drivers/scsi/dpt_i2o.c si.osType = OS_LINUX; si 1925 drivers/scsi/dpt_i2o.c si.osMajorVersion = 0; si 1926 drivers/scsi/dpt_i2o.c si.osMinorVersion = 0; si 1927 drivers/scsi/dpt_i2o.c si.osRevision = 0; si 1928 drivers/scsi/dpt_i2o.c si.busType = SI_PCI_BUS; si 1929 drivers/scsi/dpt_i2o.c si.processorFamily = DPTI_sig.dsProcessorFamily; si 1932 drivers/scsi/dpt_i2o.c adpt_i386_info(&si); si 1934 drivers/scsi/dpt_i2o.c adpt_ia64_info(&si); si 1936 drivers/scsi/dpt_i2o.c adpt_sparc_info(&si); si 1938 drivers/scsi/dpt_i2o.c adpt_alpha_info(&si); si 1940 drivers/scsi/dpt_i2o.c si.processorType = 0xff ; si 1942 drivers/scsi/dpt_i2o.c if (copy_to_user(buffer, &si, sizeof(si))){ si 297 drivers/scsi/esas2r/esas2r_ioctl.c struct atto_ioctl_smp *si = si 304 drivers/scsi/esas2r/esas2r_ioctl.c si->status = ATTO_STS_OUT_OF_RSRC; si 312 drivers/scsi/esas2r/esas2r_ioctl.c static u8 handle_smp_ioctl(struct esas2r_adapter *a, struct atto_ioctl_smp *si) si 319 drivers/scsi/esas2r/esas2r_ioctl.c bi.ioctl = si; si 321 drivers/scsi/esas2r/esas2r_ioctl.c + le32_to_cpu(si->req_length) si 322 drivers/scsi/esas2r/esas2r_ioctl.c + le32_to_cpu(si->rsp_length); si 6907 drivers/scsi/ipr.c unsigned int si; si 6925 drivers/scsi/ipr.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 6953 drivers/scsi/ipr.c unsigned int si; si 6971 drivers/scsi/ipr.c for_each_sg(qc->sg, sg, qc->n_elem, si) { si 137 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si = fc_get_scsi_internal(lport); si 140 drivers/scsi/libfc/fc_fcp.c fsp = mempool_alloc(si->scsi_pkt_pool, gfp); si 166 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si = fc_get_scsi_internal(fsp->lp); si 168 drivers/scsi/libfc/fc_fcp.c mempool_free(fsp, si->scsi_pkt_pool); si 357 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si = fc_get_scsi_internal(lport); si 363 drivers/scsi/libfc/fc_fcp.c if (si->last_can_queue_ramp_up_time && si 364 drivers/scsi/libfc/fc_fcp.c (time_before(jiffies, si->last_can_queue_ramp_up_time + si 368 drivers/scsi/libfc/fc_fcp.c if (time_before(jiffies, si->last_can_queue_ramp_down_time + si 372 drivers/scsi/libfc/fc_fcp.c si->last_can_queue_ramp_up_time = jiffies; si 375 drivers/scsi/libfc/fc_fcp.c if (can_queue >= si->max_can_queue) { si 376 drivers/scsi/libfc/fc_fcp.c can_queue = si->max_can_queue; si 377 drivers/scsi/libfc/fc_fcp.c si->last_can_queue_ramp_down_time = 0; si 399 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si = fc_get_scsi_internal(lport); si 406 drivers/scsi/libfc/fc_fcp.c if (si->last_can_queue_ramp_down_time && si 407 drivers/scsi/libfc/fc_fcp.c (time_before(jiffies, si->last_can_queue_ramp_down_time + si 411 drivers/scsi/libfc/fc_fcp.c si->last_can_queue_ramp_down_time = jiffies; si 1066 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si = fc_get_scsi_internal(lport); si 1071 drivers/scsi/libfc/fc_fcp.c spin_lock_irqsave(&si->scsi_queue_lock, flags); si 1073 drivers/scsi/libfc/fc_fcp.c list_for_each_entry(fsp, &si->scsi_pkt_queue, list) { si 1082 drivers/scsi/libfc/fc_fcp.c spin_unlock_irqrestore(&si->scsi_queue_lock, flags); si 1106 drivers/scsi/libfc/fc_fcp.c spin_lock_irqsave(&si->scsi_queue_lock, flags); si 1113 drivers/scsi/libfc/fc_fcp.c spin_unlock_irqrestore(&si->scsi_queue_lock, flags); si 1135 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si = fc_get_scsi_internal(lport); si 1146 drivers/scsi/libfc/fc_fcp.c spin_lock_irqsave(&si->scsi_queue_lock, flags); si 1147 drivers/scsi/libfc/fc_fcp.c list_add_tail(&fsp->list, &si->scsi_pkt_queue); si 1148 drivers/scsi/libfc/fc_fcp.c spin_unlock_irqrestore(&si->scsi_queue_lock, flags); si 1151 drivers/scsi/libfc/fc_fcp.c spin_lock_irqsave(&si->scsi_queue_lock, flags); si 1154 drivers/scsi/libfc/fc_fcp.c spin_unlock_irqrestore(&si->scsi_queue_lock, flags); si 1957 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si; si 1973 drivers/scsi/libfc/fc_fcp.c si = fc_get_scsi_internal(lport); si 1979 drivers/scsi/libfc/fc_fcp.c if (si->last_can_queue_ramp_down_time) si 2083 drivers/scsi/libfc/fc_fcp.c spin_lock_irqsave(&si->scsi_queue_lock, flags); si 2086 drivers/scsi/libfc/fc_fcp.c spin_unlock_irqrestore(&si->scsi_queue_lock, flags); si 2104 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si; si 2119 drivers/scsi/libfc/fc_fcp.c si = fc_get_scsi_internal(lport); si 2120 drivers/scsi/libfc/fc_fcp.c spin_lock_irqsave(&si->scsi_queue_lock, flags); si 2124 drivers/scsi/libfc/fc_fcp.c spin_unlock_irqrestore(&si->scsi_queue_lock, flags); si 2129 drivers/scsi/libfc/fc_fcp.c spin_unlock_irqrestore(&si->scsi_queue_lock, flags); si 2253 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si = fc_get_scsi_internal(lport); si 2255 drivers/scsi/libfc/fc_fcp.c if (!list_empty(&si->scsi_pkt_queue)) si 2259 drivers/scsi/libfc/fc_fcp.c mempool_destroy(si->scsi_pkt_pool); si 2260 drivers/scsi/libfc/fc_fcp.c kfree(si); si 2293 drivers/scsi/libfc/fc_fcp.c struct fc_fcp_internal *si; si 2304 drivers/scsi/libfc/fc_fcp.c si = kzalloc(sizeof(struct fc_fcp_internal), GFP_KERNEL); si 2305 drivers/scsi/libfc/fc_fcp.c if (!si) si 2307 drivers/scsi/libfc/fc_fcp.c lport->scsi_priv = si; si 2308 drivers/scsi/libfc/fc_fcp.c si->max_can_queue = lport->host->can_queue; si 2309 drivers/scsi/libfc/fc_fcp.c INIT_LIST_HEAD(&si->scsi_pkt_queue); si 2310 drivers/scsi/libfc/fc_fcp.c spin_lock_init(&si->scsi_queue_lock); si 2312 drivers/scsi/libfc/fc_fcp.c si->scsi_pkt_pool = mempool_create_slab_pool(2, scsi_pkt_cachep); si 2313 drivers/scsi/libfc/fc_fcp.c if (!si->scsi_pkt_pool) { si 2320 drivers/scsi/libfc/fc_fcp.c kfree(si); si 167 drivers/scsi/libsas/sas_ata.c unsigned int si, xfer = 0; si 204 drivers/scsi/libsas/sas_ata.c for_each_sg(qc->sg, sg, qc->n_elem, si) si 208 drivers/scsi/libsas/sas_ata.c task->num_scatter = si; si 411 drivers/scsi/libsas/sas_ata.c struct sas_internal *si = dev_to_sas_internal(task->dev); si 425 drivers/scsi/libsas/sas_ata.c res = si->dft->lldd_abort_task(task); si 238 drivers/scsi/libsas/sas_discover.c struct sas_internal *si = to_sas_internal(shost->transportt); si 255 drivers/scsi/libsas/sas_discover.c if (si->dft->lldd_port_deformed) si 256 drivers/scsi/libsas/sas_discover.c si->dft->lldd_port_deformed(phy); si 31 drivers/scsi/libsas/sas_port.c struct sas_internal *si = to_sas_internal(sas_ha->core.shost->transportt); si 33 drivers/scsi/libsas/sas_port.c if (si->dft->lldd_port_formed) si 34 drivers/scsi/libsas/sas_port.c si->dft->lldd_port_formed(phy); si 83 drivers/scsi/libsas/sas_port.c struct sas_internal *si = si 177 drivers/scsi/libsas/sas_port.c if (si->dft->lldd_port_formed) si 178 drivers/scsi/libsas/sas_port.c si->dft->lldd_port_formed(phy); si 203 drivers/scsi/libsas/sas_port.c struct sas_internal *si = si 225 drivers/scsi/libsas/sas_port.c if (si->dft->lldd_port_deformed) si 226 drivers/scsi/libsas/sas_port.c si->dft->lldd_port_deformed(phy); si 282 drivers/scsi/libsas/sas_scsi_host.c struct sas_internal *si = si 287 drivers/scsi/libsas/sas_scsi_host.c res = si->dft->lldd_abort_task(task); si 301 drivers/scsi/libsas/sas_scsi_host.c } else if (si->dft->lldd_query_task) { si 303 drivers/scsi/libsas/sas_scsi_host.c res = si->dft->lldd_query_task(task); si 2618 drivers/scsi/lpfc/lpfc_hw.h uint32_t si:1; si 2636 drivers/scsi/lpfc/lpfc_hw.h uint32_t si:1; si 3899 drivers/scsi/lpfc/lpfc_hw.h uint32_t si:1; si 3905 drivers/scsi/lpfc/lpfc_hw.h uint32_t si:1; si 1438 drivers/scsi/qla2xxx/qla_isr.c struct srb_iocb *si; si 1446 drivers/scsi/qla2xxx/qla_isr.c si = &sp->u.iocb_cmd; si 1450 drivers/scsi/qla2xxx/qla_isr.c si->u.mbx.in_mb[i] = le16_to_cpu(pkt->mb[i]); si 1452 drivers/scsi/qla2xxx/qla_isr.c res = (si->u.mbx.in_mb[0] & MBS_MASK); si 1440 drivers/scsi/scsi_transport_spi.c struct spi_internal *si = to_spi_internal(shost->transportt); si 1444 drivers/scsi/scsi_transport_spi.c if (si->f->set_signalling) si 1454 drivers/scsi/scsi_transport_spi.c (si->f->show_##name ? S_IRUGO : 0) | \ si 1455 drivers/scsi/scsi_transport_spi.c (si->f->set_##name ? S_IWUSR : 0) si 1463 drivers/scsi/scsi_transport_spi.c struct spi_internal *si = to_spi_internal(shost->transportt); si 3214 drivers/target/target_core_transport.c const struct sense_info *si; si 3221 drivers/target/target_core_transport.c si = &sense_info_table[r]; si 3223 drivers/target/target_core_transport.c si = &sense_info_table[(__force int) si 3226 drivers/target/target_core_transport.c key = si->key; si 3233 drivers/target/target_core_transport.c } else if (si->asc == 0) { si 3238 drivers/target/target_core_transport.c asc = si->asc; si 3239 drivers/target/target_core_transport.c ascq = si->ascq; si 3246 drivers/target/target_core_transport.c if (si->add_sector_info) si 139 drivers/usb/gadget/udc/bdc/bdc_cmd.c u32 mps, mbs, mul, si; si 152 drivers/usb/gadget/udc/bdc/bdc_cmd.c si = desc->bInterval; si 153 drivers/usb/gadget/udc/bdc/bdc_cmd.c si = clamp_val(si, 1, 16) - 1; si 164 drivers/usb/gadget/udc/bdc/bdc_cmd.c param2 |= si; si 178 drivers/usb/gadget/udc/bdc/bdc_cmd.c param2 |= si; si 189 drivers/usb/gadget/udc/bdc/bdc_cmd.c si += 3; si 197 drivers/usb/gadget/udc/bdc/bdc_cmd.c si = fls(desc->bInterval * 8) - 1; si 199 drivers/usb/gadget/udc/bdc/bdc_cmd.c param2 |= si; si 767 drivers/usb/misc/sisusbvga/sisusb_init.c unsigned short si, di, bx, sf; si 817 drivers/usb/misc/sisusbvga/sisusb_init.c si = 32; si 819 drivers/usb/misc/sisusbvga/sisusb_init.c di = si; si 820 drivers/usb/misc/sisusbvga/sisusb_init.c bx = si + 4; si 825 drivers/usb/misc/sisusbvga/sisusb_init.c table[si]); si 826 drivers/usb/misc/sisusbvga/sisusb_init.c si++; si 828 drivers/usb/misc/sisusbvga/sisusb_init.c si -= 2; si 831 drivers/usb/misc/sisusbvga/sisusb_init.c table[di], table[si], si 833 drivers/usb/misc/sisusbvga/sisusb_init.c si--; si 836 drivers/usb/misc/sisusbvga/sisusb_init.c si += 5; si 101 drivers/video/fbdev/efifb.c static void efifb_copy_bmp(u8 *src, u32 *dst, int width, struct screen_info *si) si 109 drivers/video/fbdev/efifb.c *dst++ = (r << si->red_pos) | si 110 drivers/video/fbdev/efifb.c (g << si->green_pos) | si 111 drivers/video/fbdev/efifb.c (b << si->blue_pos); si 123 drivers/video/fbdev/efifb.c static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) si 129 drivers/video/fbdev/efifb.c u32 expected_xoffset = (si->lfb_width - bmp_width) / 2; si 134 drivers/video/fbdev/efifb.c static bool efifb_bgrt_sanity_check(struct screen_info *si, u32 bmp_width) si 143 drivers/video/fbdev/efifb.c struct screen_info *si = &screen_info; si 168 drivers/video/fbdev/efifb.c if (si->lfb_depth != 32) { si 196 drivers/video/fbdev/efifb.c screen_pitch = si->lfb_linelength; si 202 drivers/video/fbdev/efifb.c if ((bgrt_tab.image_offset_x + bmp_width) > si->lfb_width || si 203 drivers/video/fbdev/efifb.c (bgrt_tab.image_offset_y + bmp_height) > si->lfb_height) si 206 drivers/video/fbdev/efifb.c if (!efifb_bgrt_sanity_check(si, bmp_width)) si 211 drivers/video/fbdev/efifb.c for (y = 0; y < si->lfb_height; y++, dst += si->lfb_linelength) { si 215 drivers/video/fbdev/efifb.c memset(dst, 0, 4 * si->lfb_width); si 228 drivers/video/fbdev/efifb.c (u32 *)dst + dst_x, bmp_width, si); si 230 drivers/video/fbdev/efifb.c memset((u32 *)dst + dst_x, 0, (si->lfb_width - dst_x) * 4); si 2877 drivers/video/fbdev/sis/init.c unsigned short si, di, bx, sf; si 2925 drivers/video/fbdev/sis/init.c si = 32; si 2927 drivers/video/fbdev/sis/init.c di = si; si 2928 drivers/video/fbdev/sis/init.c bx = si + 4; si 2931 drivers/video/fbdev/sis/init.c SiS_WriteDAC(SiS_Pr, DACData, sf, n, table[di], table[bx], table[si]); si 2932 drivers/video/fbdev/sis/init.c si++; si 2934 drivers/video/fbdev/sis/init.c si -= 2; si 2936 drivers/video/fbdev/sis/init.c SiS_WriteDAC(SiS_Pr, DACData, sf, n, table[di], table[si], table[bx]); si 2937 drivers/video/fbdev/sis/init.c si--; si 2940 drivers/video/fbdev/sis/init.c si += 5; si 64 drivers/xen/manage.c struct suspend_info *si = data; si 79 drivers/xen/manage.c si->cancelled = HYPERVISOR_suspend(xen_pv_domain() si 83 drivers/xen/manage.c xen_arch_post_suspend(si->cancelled); si 84 drivers/xen/manage.c xen_manage_runstate_time(si->cancelled ? 1 : 0); si 87 drivers/xen/manage.c if (!si->cancelled) { si 100 drivers/xen/manage.c struct suspend_info si; si 128 drivers/xen/manage.c si.cancelled = 0; si 134 drivers/xen/manage.c si.cancelled = 1; si 136 drivers/xen/manage.c err = stop_machine(xen_suspend, &si, cpumask_of(0)); si 139 drivers/xen/manage.c if (!si.cancelled) si 144 drivers/xen/manage.c dpm_resume_start(si.cancelled ? PMSG_THAW : PMSG_RESTORE); si 148 drivers/xen/manage.c si.cancelled = 1; si 154 drivers/xen/manage.c if (!si.cancelled) si 159 drivers/xen/manage.c dpm_resume_end(si.cancelled ? PMSG_THAW : PMSG_RESTORE); si 2362 fs/eventpoll.c struct sysinfo si; si 2364 fs/eventpoll.c si_meminfo(&si); si 2368 fs/eventpoll.c max_user_watches = (((si.totalram - si.totalhigh) / 25) << PAGE_SHIFT) / si 29 fs/f2fs/debug.c struct f2fs_stat_info *si = F2FS_STAT(sbi); si 34 fs/f2fs/debug.c si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); si 35 fs/f2fs/debug.c si->main_area_sections = le32_to_cpu(raw_super->section_count); si 36 fs/f2fs/debug.c si->main_area_zones = si->main_area_sections / si 40 fs/f2fs/debug.c si->hit_largest = atomic64_read(&sbi->read_hit_largest); si 41 fs/f2fs/debug.c si->hit_cached = atomic64_read(&sbi->read_hit_cached); si 42 fs/f2fs/debug.c si->hit_rbtree = atomic64_read(&sbi->read_hit_rbtree); si 43 fs/f2fs/debug.c si->hit_total = si->hit_largest + si->hit_cached + si->hit_rbtree; si 44 fs/f2fs/debug.c si->total_ext = atomic64_read(&sbi->total_hit_ext); si 45 fs/f2fs/debug.c si->ext_tree = atomic_read(&sbi->total_ext_tree); si 46 fs/f2fs/debug.c si->zombie_tree = atomic_read(&sbi->total_zombie_tree); si 47 fs/f2fs/debug.c si->ext_node = atomic_read(&sbi->total_ext_node); si 48 fs/f2fs/debug.c si->ndirty_node = get_pages(sbi, F2FS_DIRTY_NODES); si 49 fs/f2fs/debug.c si->ndirty_dent = get_pages(sbi, F2FS_DIRTY_DENTS); si 50 fs/f2fs/debug.c si->ndirty_meta = get_pages(sbi, F2FS_DIRTY_META); si 51 fs/f2fs/debug.c si->ndirty_data = get_pages(sbi, F2FS_DIRTY_DATA); si 52 fs/f2fs/debug.c si->ndirty_qdata = get_pages(sbi, F2FS_DIRTY_QDATA); si 53 fs/f2fs/debug.c si->ndirty_imeta = get_pages(sbi, F2FS_DIRTY_IMETA); si 54 fs/f2fs/debug.c si->ndirty_dirs = sbi->ndirty_inode[DIR_INODE]; si 55 fs/f2fs/debug.c si->ndirty_files = sbi->ndirty_inode[FILE_INODE]; si 56 fs/f2fs/debug.c si->nquota_files = sbi->nquota_files; si 57 fs/f2fs/debug.c si->ndirty_all = sbi->ndirty_inode[DIRTY_META]; si 58 fs/f2fs/debug.c si->inmem_pages = get_pages(sbi, F2FS_INMEM_PAGES); si 59 fs/f2fs/debug.c si->aw_cnt = atomic_read(&sbi->aw_cnt); si 60 fs/f2fs/debug.c si->vw_cnt = atomic_read(&sbi->vw_cnt); si 61 fs/f2fs/debug.c si->max_aw_cnt = atomic_read(&sbi->max_aw_cnt); si 62 fs/f2fs/debug.c si->max_vw_cnt = atomic_read(&sbi->max_vw_cnt); si 63 fs/f2fs/debug.c si->nr_dio_read = get_pages(sbi, F2FS_DIO_READ); si 64 fs/f2fs/debug.c si->nr_dio_write = get_pages(sbi, F2FS_DIO_WRITE); si 65 fs/f2fs/debug.c si->nr_wb_cp_data = get_pages(sbi, F2FS_WB_CP_DATA); si 66 fs/f2fs/debug.c si->nr_wb_data = get_pages(sbi, F2FS_WB_DATA); si 67 fs/f2fs/debug.c si->nr_rd_data = get_pages(sbi, F2FS_RD_DATA); si 68 fs/f2fs/debug.c si->nr_rd_node = get_pages(sbi, F2FS_RD_NODE); si 69 fs/f2fs/debug.c si->nr_rd_meta = get_pages(sbi, F2FS_RD_META); si 71 fs/f2fs/debug.c si->nr_flushed = si 73 fs/f2fs/debug.c si->nr_flushing = si 75 fs/f2fs/debug.c si->flush_list_empty = si 79 fs/f2fs/debug.c si->nr_discarded = si 81 fs/f2fs/debug.c si->nr_discarding = si 83 fs/f2fs/debug.c si->nr_discard_cmd = si 85 fs/f2fs/debug.c si->undiscard_blks = SM_I(sbi)->dcc_info->undiscard_blks; si 87 fs/f2fs/debug.c si->total_count = (int)sbi->user_block_count / sbi->blocks_per_seg; si 88 fs/f2fs/debug.c si->rsvd_segs = reserved_segments(sbi); si 89 fs/f2fs/debug.c si->overp_segs = overprovision_segments(sbi); si 90 fs/f2fs/debug.c si->valid_count = valid_user_blocks(sbi); si 91 fs/f2fs/debug.c si->discard_blks = discard_blocks(sbi); si 92 fs/f2fs/debug.c si->valid_node_count = valid_node_count(sbi); si 93 fs/f2fs/debug.c si->valid_inode_count = valid_inode_count(sbi); si 94 fs/f2fs/debug.c si->inline_xattr = atomic_read(&sbi->inline_xattr); si 95 fs/f2fs/debug.c si->inline_inode = atomic_read(&sbi->inline_inode); si 96 fs/f2fs/debug.c si->inline_dir = atomic_read(&sbi->inline_dir); si 97 fs/f2fs/debug.c si->append = sbi->im[APPEND_INO].ino_num; si 98 fs/f2fs/debug.c si->update = sbi->im[UPDATE_INO].ino_num; si 99 fs/f2fs/debug.c si->orphans = sbi->im[ORPHAN_INO].ino_num; si 100 fs/f2fs/debug.c si->utilization = utilization(sbi); si 102 fs/f2fs/debug.c si->free_segs = free_segments(sbi); si 103 fs/f2fs/debug.c si->free_secs = free_sections(sbi); si 104 fs/f2fs/debug.c si->prefree_count = prefree_segments(sbi); si 105 fs/f2fs/debug.c si->dirty_count = dirty_segments(sbi); si 107 fs/f2fs/debug.c si->node_pages = NODE_MAPPING(sbi)->nrpages; si 109 fs/f2fs/debug.c si->meta_pages = META_MAPPING(sbi)->nrpages; si 110 fs/f2fs/debug.c si->nats = NM_I(sbi)->nat_cnt; si 111 fs/f2fs/debug.c si->dirty_nats = NM_I(sbi)->dirty_nat_cnt; si 112 fs/f2fs/debug.c si->sits = MAIN_SEGS(sbi); si 113 fs/f2fs/debug.c si->dirty_sits = SIT_I(sbi)->dirty_sentries; si 114 fs/f2fs/debug.c si->free_nids = NM_I(sbi)->nid_cnt[FREE_NID]; si 115 fs/f2fs/debug.c si->avail_nids = NM_I(sbi)->available_nids; si 116 fs/f2fs/debug.c si->alloc_nids = NM_I(sbi)->nid_cnt[PREALLOC_NID]; si 117 fs/f2fs/debug.c si->bg_gc = sbi->bg_gc; si 118 fs/f2fs/debug.c si->io_skip_bggc = sbi->io_skip_bggc; si 119 fs/f2fs/debug.c si->other_skip_bggc = sbi->other_skip_bggc; si 120 fs/f2fs/debug.c si->skipped_atomic_files[BG_GC] = sbi->skipped_atomic_files[BG_GC]; si 121 fs/f2fs/debug.c si->skipped_atomic_files[FG_GC] = sbi->skipped_atomic_files[FG_GC]; si 122 fs/f2fs/debug.c si->util_free = (int)(free_user_blocks(sbi) >> sbi->log_blocks_per_seg) si 125 fs/f2fs/debug.c si->util_valid = (int)(written_block_count(sbi) >> si 129 fs/f2fs/debug.c si->util_invalid = 50 - si->util_free - si->util_valid; si 132 fs/f2fs/debug.c si->curseg[i] = curseg->segno; si 133 fs/f2fs/debug.c si->cursec[i] = GET_SEC_FROM_SEG(sbi, curseg->segno); si 134 fs/f2fs/debug.c si->curzone[i] = GET_ZONE_FROM_SEC(sbi, si->cursec[i]); si 138 fs/f2fs/debug.c si->meta_count[i] = atomic_read(&sbi->meta_count[i]); si 141 fs/f2fs/debug.c si->segment_count[i] = sbi->segment_count[i]; si 142 fs/f2fs/debug.c si->block_count[i] = sbi->block_count[i]; si 145 fs/f2fs/debug.c si->inplace_count = atomic_read(&sbi->inplace_count); si 153 fs/f2fs/debug.c struct f2fs_stat_info *si = F2FS_STAT(sbi); si 174 fs/f2fs/debug.c si->bimodal = div64_u64(bimodal, dist); si 175 fs/f2fs/debug.c if (si->dirty_count) si 176 fs/f2fs/debug.c si->avg_vblocks = div_u64(total_vblocks, ndirty); si 178 fs/f2fs/debug.c si->avg_vblocks = 0; si 186 fs/f2fs/debug.c struct f2fs_stat_info *si = F2FS_STAT(sbi); si 189 fs/f2fs/debug.c if (si->base_mem) si 193 fs/f2fs/debug.c si->base_mem = sizeof(struct f2fs_stat_info); si 196 fs/f2fs/debug.c si->base_mem += sizeof(struct f2fs_sb_info) + sbi->sb->s_blocksize; si 197 fs/f2fs/debug.c si->base_mem += 2 * sizeof(struct f2fs_inode_info); si 198 fs/f2fs/debug.c si->base_mem += sizeof(*sbi->ckpt); si 201 fs/f2fs/debug.c si->base_mem += sizeof(struct f2fs_sm_info); si 204 fs/f2fs/debug.c si->base_mem += sizeof(struct sit_info); si 205 fs/f2fs/debug.c si->base_mem += MAIN_SEGS(sbi) * sizeof(struct seg_entry); si 206 fs/f2fs/debug.c si->base_mem += f2fs_bitmap_size(MAIN_SEGS(sbi)); si 207 fs/f2fs/debug.c si->base_mem += 2 * SIT_VBLOCK_MAP_SIZE * MAIN_SEGS(sbi); si 208 fs/f2fs/debug.c si->base_mem += SIT_VBLOCK_MAP_SIZE * MAIN_SEGS(sbi); si 209 fs/f2fs/debug.c si->base_mem += SIT_VBLOCK_MAP_SIZE; si 211 fs/f2fs/debug.c si->base_mem += MAIN_SECS(sbi) * sizeof(struct sec_entry); si 212 fs/f2fs/debug.c si->base_mem += __bitmap_size(sbi, SIT_BITMAP); si 215 fs/f2fs/debug.c si->base_mem += sizeof(struct free_segmap_info); si 216 fs/f2fs/debug.c si->base_mem += f2fs_bitmap_size(MAIN_SEGS(sbi)); si 217 fs/f2fs/debug.c si->base_mem += f2fs_bitmap_size(MAIN_SECS(sbi)); si 220 fs/f2fs/debug.c si->base_mem += sizeof(struct curseg_info) * NR_CURSEG_TYPE; si 221 fs/f2fs/debug.c si->base_mem += PAGE_SIZE * NR_CURSEG_TYPE; si 224 fs/f2fs/debug.c si->base_mem += sizeof(struct dirty_seglist_info); si 225 fs/f2fs/debug.c si->base_mem += NR_DIRTY_TYPE * f2fs_bitmap_size(MAIN_SEGS(sbi)); si 226 fs/f2fs/debug.c si->base_mem += f2fs_bitmap_size(MAIN_SECS(sbi)); si 229 fs/f2fs/debug.c si->base_mem += sizeof(struct f2fs_nm_info); si 230 fs/f2fs/debug.c si->base_mem += __bitmap_size(sbi, NAT_BITMAP); si 231 fs/f2fs/debug.c si->base_mem += (NM_I(sbi)->nat_bits_blocks << F2FS_BLKSIZE_BITS); si 232 fs/f2fs/debug.c si->base_mem += NM_I(sbi)->nat_blocks * si 234 fs/f2fs/debug.c si->base_mem += NM_I(sbi)->nat_blocks / 8; si 235 fs/f2fs/debug.c si->base_mem += NM_I(sbi)->nat_blocks * sizeof(unsigned short); si 238 fs/f2fs/debug.c si->cache_mem = 0; si 242 fs/f2fs/debug.c si->cache_mem += sizeof(struct f2fs_gc_kthread); si 246 fs/f2fs/debug.c si->cache_mem += sizeof(struct flush_cmd_control); si 248 fs/f2fs/debug.c si->cache_mem += sizeof(struct discard_cmd_control); si 249 fs/f2fs/debug.c si->cache_mem += sizeof(struct discard_cmd) * si 254 fs/f2fs/debug.c si->cache_mem += (NM_I(sbi)->nid_cnt[FREE_NID] + si 257 fs/f2fs/debug.c si->cache_mem += NM_I(sbi)->nat_cnt * sizeof(struct nat_entry); si 258 fs/f2fs/debug.c si->cache_mem += NM_I(sbi)->dirty_nat_cnt * si 260 fs/f2fs/debug.c si->cache_mem += si->inmem_pages * sizeof(struct inmem_pages); si 262 fs/f2fs/debug.c si->cache_mem += sbi->im[i].ino_num * sizeof(struct ino_entry); si 263 fs/f2fs/debug.c si->cache_mem += atomic_read(&sbi->total_ext_tree) * si 265 fs/f2fs/debug.c si->cache_mem += atomic_read(&sbi->total_ext_node) * si 268 fs/f2fs/debug.c si->page_mem = 0; si 271 fs/f2fs/debug.c si->page_mem += (unsigned long long)npages << PAGE_SHIFT; si 275 fs/f2fs/debug.c si->page_mem += (unsigned long long)npages << PAGE_SHIFT; si 281 fs/f2fs/debug.c struct f2fs_stat_info *si; si 286 fs/f2fs/debug.c list_for_each_entry(si, &f2fs_stat_list, stat_list) { si 287 fs/f2fs/debug.c update_general_status(si->sbi); si 290 fs/f2fs/debug.c si->sbi->sb->s_bdev, i++, si 291 fs/f2fs/debug.c f2fs_readonly(si->sbi->sb) ? "RO": "RW", si 292 fs/f2fs/debug.c is_set_ckpt_flags(si->sbi, CP_DISABLED_FLAG) ? si 293 fs/f2fs/debug.c "Disabled": (f2fs_cp_error(si->sbi) ? "Error": "Good")); si 295 fs/f2fs/debug.c si->sit_area_segs, si->nat_area_segs); si 297 fs/f2fs/debug.c si->ssa_area_segs, si->main_area_segs); si 299 fs/f2fs/debug.c si->overp_segs, si->rsvd_segs); si 300 fs/f2fs/debug.c if (test_opt(si->sbi, DISCARD)) si 302 fs/f2fs/debug.c si->utilization, si->valid_count, si->discard_blks); si 305 fs/f2fs/debug.c si->utilization, si->valid_count); si 308 fs/f2fs/debug.c si->valid_node_count, si->valid_inode_count); si 310 fs/f2fs/debug.c si->valid_node_count - si->valid_inode_count, si 311 fs/f2fs/debug.c si->valid_count - si->valid_node_count); si 313 fs/f2fs/debug.c si->inline_xattr); si 315 fs/f2fs/debug.c si->inline_inode); si 317 fs/f2fs/debug.c si->inline_dir); si 319 fs/f2fs/debug.c si->orphans, si->append, si->update); si 321 fs/f2fs/debug.c si->main_area_segs, si->main_area_sections, si 322 fs/f2fs/debug.c si->main_area_zones); si 324 fs/f2fs/debug.c si->curseg[CURSEG_COLD_DATA], si 325 fs/f2fs/debug.c si->cursec[CURSEG_COLD_DATA], si 326 fs/f2fs/debug.c si->curzone[CURSEG_COLD_DATA]); si 328 fs/f2fs/debug.c si->curseg[CURSEG_WARM_DATA], si 329 fs/f2fs/debug.c si->cursec[CURSEG_WARM_DATA], si 330 fs/f2fs/debug.c si->curzone[CURSEG_WARM_DATA]); si 332 fs/f2fs/debug.c si->curseg[CURSEG_HOT_DATA], si 333 fs/f2fs/debug.c si->cursec[CURSEG_HOT_DATA], si 334 fs/f2fs/debug.c si->curzone[CURSEG_HOT_DATA]); si 336 fs/f2fs/debug.c si->curseg[CURSEG_HOT_NODE], si 337 fs/f2fs/debug.c si->cursec[CURSEG_HOT_NODE], si 338 fs/f2fs/debug.c si->curzone[CURSEG_HOT_NODE]); si 340 fs/f2fs/debug.c si->curseg[CURSEG_WARM_NODE], si 341 fs/f2fs/debug.c si->cursec[CURSEG_WARM_NODE], si 342 fs/f2fs/debug.c si->curzone[CURSEG_WARM_NODE]); si 344 fs/f2fs/debug.c si->curseg[CURSEG_COLD_NODE], si 345 fs/f2fs/debug.c si->cursec[CURSEG_COLD_NODE], si 346 fs/f2fs/debug.c si->curzone[CURSEG_COLD_NODE]); si 348 fs/f2fs/debug.c si->main_area_segs - si->dirty_count - si 349 fs/f2fs/debug.c si->prefree_count - si->free_segs, si 350 fs/f2fs/debug.c si->dirty_count); si 352 fs/f2fs/debug.c si->prefree_count, si->free_segs, si->free_secs); si 354 fs/f2fs/debug.c si->cp_count, si->bg_cp_count); si 355 fs/f2fs/debug.c seq_printf(s, " - cp blocks : %u\n", si->meta_count[META_CP]); si 357 fs/f2fs/debug.c si->meta_count[META_SIT]); si 359 fs/f2fs/debug.c si->meta_count[META_NAT]); si 361 fs/f2fs/debug.c si->meta_count[META_SSA]); si 363 fs/f2fs/debug.c si->call_count, si->bg_gc); si 365 fs/f2fs/debug.c si->data_segs, si->bg_data_segs); si 367 fs/f2fs/debug.c si->node_segs, si->bg_node_segs); si 368 fs/f2fs/debug.c seq_printf(s, "Try to move %d blocks (BG: %d)\n", si->tot_blks, si 369 fs/f2fs/debug.c si->bg_data_blks + si->bg_node_blks); si 370 fs/f2fs/debug.c seq_printf(s, " - data blocks : %d (%d)\n", si->data_blks, si 371 fs/f2fs/debug.c si->bg_data_blks); si 372 fs/f2fs/debug.c seq_printf(s, " - node blocks : %d (%d)\n", si->node_blks, si 373 fs/f2fs/debug.c si->bg_node_blks); si 375 fs/f2fs/debug.c si->skipped_atomic_files[BG_GC] + si 376 fs/f2fs/debug.c si->skipped_atomic_files[FG_GC], si 377 fs/f2fs/debug.c si->skipped_atomic_files[BG_GC]); si 379 fs/f2fs/debug.c si->io_skip_bggc, si->other_skip_bggc); si 382 fs/f2fs/debug.c si->hit_largest, si->hit_cached, si 383 fs/f2fs/debug.c si->hit_rbtree); si 385 fs/f2fs/debug.c !si->total_ext ? 0 : si 386 fs/f2fs/debug.c div64_u64(si->hit_total * 100, si->total_ext), si 387 fs/f2fs/debug.c si->hit_total, si->total_ext); si 389 fs/f2fs/debug.c si->ext_tree, si->zombie_tree, si->ext_node); si 392 fs/f2fs/debug.c si->nr_dio_read, si->nr_dio_write); si 394 fs/f2fs/debug.c si->nr_rd_data, si->nr_rd_node, si->nr_rd_meta); si 397 fs/f2fs/debug.c si->nr_wb_cp_data, si->nr_wb_data, si 398 fs/f2fs/debug.c si->nr_flushing, si->nr_flushed, si 399 fs/f2fs/debug.c si->flush_list_empty, si 400 fs/f2fs/debug.c si->nr_discarding, si->nr_discarded, si 401 fs/f2fs/debug.c si->nr_discard_cmd, si->undiscard_blks); si 404 fs/f2fs/debug.c si->inmem_pages, si->aw_cnt, si->max_aw_cnt, si 405 fs/f2fs/debug.c si->vw_cnt, si->max_vw_cnt); si 407 fs/f2fs/debug.c si->ndirty_node, si->node_pages); si 409 fs/f2fs/debug.c si->ndirty_dent, si->ndirty_dirs, si->ndirty_all); si 411 fs/f2fs/debug.c si->ndirty_data, si->ndirty_files); si 413 fs/f2fs/debug.c si->ndirty_qdata, si->nquota_files); si 415 fs/f2fs/debug.c si->ndirty_meta, si->meta_pages); si 417 fs/f2fs/debug.c si->ndirty_imeta); si 419 fs/f2fs/debug.c si->dirty_nats, si->nats, si->dirty_sits, si->sits); si 421 fs/f2fs/debug.c si->free_nids, si->avail_nids, si->alloc_nids); si 426 fs/f2fs/debug.c for (j = 0; j < si->util_valid; j++) si 430 fs/f2fs/debug.c for (j = 0; j < si->util_invalid; j++) si 434 fs/f2fs/debug.c for (j = 0; j < si->util_free; j++) si 437 fs/f2fs/debug.c seq_printf(s, "IPU: %u blocks\n", si->inplace_count); si 439 fs/f2fs/debug.c si->block_count[SSR], si->segment_count[SSR]); si 441 fs/f2fs/debug.c si->block_count[LFS], si->segment_count[LFS]); si 444 fs/f2fs/debug.c update_sit_info(si->sbi); si 446 fs/f2fs/debug.c si->bimodal, si->avg_vblocks); si 449 fs/f2fs/debug.c update_mem_info(si->sbi); si 451 fs/f2fs/debug.c (si->base_mem + si->cache_mem + si->page_mem) >> 10); si 453 fs/f2fs/debug.c si->base_mem >> 10); si 455 fs/f2fs/debug.c si->cache_mem >> 10); si 457 fs/f2fs/debug.c si->page_mem >> 10); si 468 fs/f2fs/debug.c struct f2fs_stat_info *si; si 471 fs/f2fs/debug.c si = f2fs_kzalloc(sbi, sizeof(struct f2fs_stat_info), GFP_KERNEL); si 472 fs/f2fs/debug.c if (!si) si 475 fs/f2fs/debug.c si->all_area_segs = le32_to_cpu(raw_super->segment_count); si 476 fs/f2fs/debug.c si->sit_area_segs = le32_to_cpu(raw_super->segment_count_sit); si 477 fs/f2fs/debug.c si->nat_area_segs = le32_to_cpu(raw_super->segment_count_nat); si 478 fs/f2fs/debug.c si->ssa_area_segs = le32_to_cpu(raw_super->segment_count_ssa); si 479 fs/f2fs/debug.c si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); si 480 fs/f2fs/debug.c si->main_area_sections = le32_to_cpu(raw_super->section_count); si 481 fs/f2fs/debug.c si->main_area_zones = si->main_area_sections / si 483 fs/f2fs/debug.c si->sbi = sbi; si 484 fs/f2fs/debug.c sbi->stat_info = si; si 504 fs/f2fs/debug.c list_add_tail(&si->stat_list, &f2fs_stat_list); si 512 fs/f2fs/debug.c struct f2fs_stat_info *si = F2FS_STAT(sbi); si 515 fs/f2fs/debug.c list_del(&si->stat_list); si 518 fs/f2fs/debug.c kvfree(si); si 3316 fs/f2fs/f2fs.h #define stat_inc_cp_count(si) ((si)->cp_count++) si 3317 fs/f2fs/f2fs.h #define stat_inc_bg_cp_count(si) ((si)->bg_cp_count++) si 3318 fs/f2fs/f2fs.h #define stat_inc_call_count(si) ((si)->call_count++) si 3399 fs/f2fs/f2fs.h struct f2fs_stat_info *si = F2FS_STAT(sbi); \ si 3400 fs/f2fs/f2fs.h si->tot_segs++; \ si 3402 fs/f2fs/f2fs.h si->data_segs++; \ si 3403 fs/f2fs/f2fs.h si->bg_data_segs += (gc_type == BG_GC) ? 1 : 0; \ si 3405 fs/f2fs/f2fs.h si->node_segs++; \ si 3406 fs/f2fs/f2fs.h si->bg_node_segs += (gc_type == BG_GC) ? 1 : 0; \ si 3410 fs/f2fs/f2fs.h #define stat_inc_tot_blk_count(si, blks) \ si 3411 fs/f2fs/f2fs.h ((si)->tot_blks += (blks)) si 3415 fs/f2fs/f2fs.h struct f2fs_stat_info *si = F2FS_STAT(sbi); \ si 3416 fs/f2fs/f2fs.h stat_inc_tot_blk_count(si, blks); \ si 3417 fs/f2fs/f2fs.h si->data_blks += (blks); \ si 3418 fs/f2fs/f2fs.h si->bg_data_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ si 3423 fs/f2fs/f2fs.h struct f2fs_stat_info *si = F2FS_STAT(sbi); \ si 3424 fs/f2fs/f2fs.h stat_inc_tot_blk_count(si, blks); \ si 3425 fs/f2fs/f2fs.h si->node_blks += (blks); \ si 3426 fs/f2fs/f2fs.h si->bg_node_blks += ((gc_type) == BG_GC) ? (blks) : 0; \ si 3434 fs/f2fs/f2fs.h #define stat_inc_cp_count(si) do { } while (0) si 3435 fs/f2fs/f2fs.h #define stat_inc_bg_cp_count(si) do { } while (0) si 3436 fs/f2fs/f2fs.h #define stat_inc_call_count(si) do { } while (0) si 3437 fs/f2fs/f2fs.h #define stat_inc_bggc_count(si) do { } while (0) si 3463 fs/f2fs/f2fs.h #define stat_inc_tot_blk_count(si, blks) do { } while (0) si 738 fs/fcntl.c kernel_siginfo_t si; si 746 fs/fcntl.c clear_siginfo(&si); si 747 fs/fcntl.c si.si_signo = signum; si 748 fs/fcntl.c si.si_errno = 0; si 749 fs/fcntl.c si.si_code = reason; si 759 fs/fcntl.c si.si_code = SI_SIGIO; si 766 fs/fcntl.c si.si_band = ~0L; si 768 fs/fcntl.c si.si_band = mangle_poll(band_table[reason - POLL_IN]); si 769 fs/fcntl.c si.si_fd = fd; si 770 fs/fcntl.c if (!do_send_sig_info(signum, &si, p, type)) si 161 fs/jfs/jfs_dtree.c static int dtCompare(struct component_name * key, dtpage_t * p, int si); si 163 fs/jfs/jfs_dtree.c static int ciCompare(struct component_name * key, dtpage_t * p, int si, si 175 fs/jfs/jfs_dtree.c static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp, si 1332 fs/jfs/jfs_dtree.c int skip, nextindex, half, left, nxt, off, si; si 1509 fs/jfs/jfs_dtree.c si = stbl[nxt]; si 1512 fs/jfs/jfs_dtree.c ldtentry = (struct ldtentry *) & sp->slot[si]; si 1521 fs/jfs/jfs_dtree.c idtentry = (struct idtentry *) & sp->slot[si]; si 3580 fs/jfs/jfs_dtree.c int si) si 3607 fs/jfs/jfs_dtree.c ih = (struct idtentry *) & p->slot[si]; si 3608 fs/jfs/jfs_dtree.c si = ih->next; si 3625 fs/jfs/jfs_dtree.c t = (struct dtslot *) & p->slot[si]; si 3635 fs/jfs/jfs_dtree.c si = t->next; si 3656 fs/jfs/jfs_dtree.c int si, /* entry slot index */ si 3690 fs/jfs/jfs_dtree.c lh = (struct ldtentry *) & p->slot[si]; si 3691 fs/jfs/jfs_dtree.c si = lh->next; si 3703 fs/jfs/jfs_dtree.c ih = (struct idtentry *) & p->slot[si]; si 3704 fs/jfs/jfs_dtree.c si = ih->next; si 3728 fs/jfs/jfs_dtree.c t = (struct dtslot *) & p->slot[si]; si 3745 fs/jfs/jfs_dtree.c si = t->next; si 3832 fs/jfs/jfs_dtree.c int si; si 3843 fs/jfs/jfs_dtree.c si = stbl[i]; si 3845 fs/jfs/jfs_dtree.c lh = (struct ldtentry *) & p->slot[si]; si 3846 fs/jfs/jfs_dtree.c si = lh->next; si 3854 fs/jfs/jfs_dtree.c ih = (struct idtentry *) & p->slot[si]; si 3855 fs/jfs/jfs_dtree.c si = ih->next; si 3872 fs/jfs/jfs_dtree.c while (si >= 0) { si 3874 fs/jfs/jfs_dtree.c t = &p->slot[si]; si 3880 fs/jfs/jfs_dtree.c si = t->next; si 4051 fs/jfs/jfs_dtree.c static void dtMoveEntry(dtpage_t * sp, int si, dtpage_t * dp, si 4080 fs/jfs/jfs_dtree.c slv->offset = sstbl[si]; si 4087 fs/jfs/jfs_dtree.c for (di = 0; si < sp->header.nextindex; si++, di++) { si 4088 fs/jfs/jfs_dtree.c ssi = sstbl[si]; si 4257 fs/jfs/jfs_dtree.c int si, freecnt; si 4276 fs/jfs/jfs_dtree.c si = ((struct ldtentry *) t)->next; si 4278 fs/jfs/jfs_dtree.c si = ((struct idtentry *) t)->next; si 4279 fs/jfs/jfs_dtree.c t->next = si; si 4286 fs/jfs/jfs_dtree.c while (si >= 0) { si 4288 fs/jfs/jfs_dtree.c if (si != xsi + 1) { si 4301 fs/jfs/jfs_dtree.c lv->offset = si; si 4306 fs/jfs/jfs_dtree.c xsi = si; si 4309 fs/jfs/jfs_dtree.c t = &p->slot[si]; si 4311 fs/jfs/jfs_dtree.c si = t->next; si 4328 fs/jfs/jfs_dtree.c si = p->header.nextindex; si 4329 fs/jfs/jfs_dtree.c if (fi < si - 1) si 4330 fs/jfs/jfs_dtree.c memmove(&stbl[fi], &stbl[fi + 1], si - fi - 1); si 4352 fs/jfs/jfs_dtree.c int si, freecnt; si 4372 fs/jfs/jfs_dtree.c si = ((struct idtentry *) t)->next; si 4377 fs/jfs/jfs_dtree.c fsi = si; si 4381 fs/jfs/jfs_dtree.c while (si >= 0) { si 4383 fs/jfs/jfs_dtree.c if (si != xsi + 1) { si 4396 fs/jfs/jfs_dtree.c lv->offset = si; si 4401 fs/jfs/jfs_dtree.c xsi = si; si 4404 fs/jfs/jfs_dtree.c t = &p->slot[si]; si 4406 fs/jfs/jfs_dtree.c si = t->next; si 4433 fs/jfs/jfs_dtree.c int si; si 4452 fs/jfs/jfs_dtree.c si = t->next; si 4455 fs/jfs/jfs_dtree.c while (si < m && si >= 0) { si 4457 fs/jfs/jfs_dtree.c if (si != xsi + 1) { si 4470 fs/jfs/jfs_dtree.c lv->offset = si; si 4475 fs/jfs/jfs_dtree.c xsi = si; si 4477 fs/jfs/jfs_dtree.c t = &p->slot[si]; si 4478 fs/jfs/jfs_dtree.c si = t->next; si 228 fs/jfs/jfs_txnmgr.c struct sysinfo si; si 235 fs/jfs/jfs_txnmgr.c si_meminfo(&si); si 236 fs/jfs/jfs_txnmgr.c if (si.totalram > (256 * 1024)) /* 1 GB */ si 239 fs/jfs/jfs_txnmgr.c nTxLock = si.totalram >> 2; si 817 fs/nilfs2/sufile.c struct nilfs_suinfo *si = buf; si 842 fs/nilfs2/sufile.c memset(si, 0, sisz * n); si 843 fs/nilfs2/sufile.c si = (void *)si + sisz * n; si 851 fs/nilfs2/sufile.c j++, su = (void *)su + susz, si = (void *)si + sisz) { si 852 fs/nilfs2/sufile.c si->sui_lastmod = le64_to_cpu(su->su_lastmod); si 853 fs/nilfs2/sufile.c si->sui_nblocks = le32_to_cpu(su->su_nblocks); si 854 fs/nilfs2/sufile.c si->sui_flags = le32_to_cpu(su->su_flags) & si 857 fs/nilfs2/sufile.c si->sui_flags |= si 530 fs/ntfs/inode.c STANDARD_INFORMATION *si; si 631 fs/ntfs/inode.c si = (STANDARD_INFORMATION*)((u8*)a + si 644 fs/ntfs/inode.c vi->i_mtime = ntfs2utc(si->last_data_change_time); si 650 fs/ntfs/inode.c vi->i_ctime = ntfs2utc(si->last_mft_change_time); si 655 fs/ntfs/inode.c vi->i_atime = ntfs2utc(si->last_access_time); si 2937 fs/ntfs/inode.c STANDARD_INFORMATION *si; si 2971 fs/ntfs/inode.c si = (STANDARD_INFORMATION*)((u8*)ctx->attr + si 2975 fs/ntfs/inode.c if (si->last_data_change_time != nt) { si 2978 fs/ntfs/inode.c sle64_to_cpu(si->last_data_change_time), si 2980 fs/ntfs/inode.c si->last_data_change_time = nt; si 2984 fs/ntfs/inode.c if (si->last_mft_change_time != nt) { si 2987 fs/ntfs/inode.c sle64_to_cpu(si->last_mft_change_time), si 2989 fs/ntfs/inode.c si->last_mft_change_time = nt; si 2993 fs/ntfs/inode.c if (si->last_access_time != nt) { si 2996 fs/ntfs/inode.c (long long)sle64_to_cpu(si->last_access_time), si 2998 fs/ntfs/inode.c si->last_access_time = nt; si 520 fs/ntfs/runlist.c int di, si; /* Current index into @[ds]rl. */ si 563 fs/ntfs/runlist.c si = di = 0; si 566 fs/ntfs/runlist.c while (srl[si].length && srl[si].lcn < LCN_HOLE) si 567 fs/ntfs/runlist.c si++; si 570 fs/ntfs/runlist.c BUG_ON(!srl[si].length); si 573 fs/ntfs/runlist.c sstart = si; si 587 fs/ntfs/runlist.c if ((drl[di].vcn == srl[si].vcn) && (drl[di].lcn >= 0) && si 588 fs/ntfs/runlist.c (srl[si].lcn >= 0)) { si 594 fs/ntfs/runlist.c for (send = si; srl[send].length; send++) si 242 fs/ocfs2/namei.c struct ocfs2_security_xattr_info si = { si 314 fs/ocfs2/namei.c status = ocfs2_init_security_get(inode, dir, &dentry->d_name, &si); si 317 fs/ocfs2/namei.c si.enable = 0; si 326 fs/ocfs2/namei.c &si, &want_clusters, si 412 fs/ocfs2/namei.c if (si.enable) { si 413 fs/ocfs2/namei.c status = ocfs2_init_security_set(handle, inode, new_fe_bh, &si, si 458 fs/ocfs2/namei.c kfree(si.value); si 1800 fs/ocfs2/namei.c struct ocfs2_security_xattr_info si = { si 1869 fs/ocfs2/namei.c status = ocfs2_init_security_get(inode, dir, &dentry->d_name, &si); si 1872 fs/ocfs2/namei.c si.enable = 0; si 1880 fs/ocfs2/namei.c if (si.enable) { si 1881 fs/ocfs2/namei.c status = ocfs2_calc_security_init(dir, &si, &want_clusters, si 1982 fs/ocfs2/namei.c if (si.enable) { si 1983 fs/ocfs2/namei.c status = ocfs2_init_security_set(handle, inode, new_fe_bh, &si, si 2029 fs/ocfs2/namei.c kfree(si.value); si 46 fs/ocfs2/slot_map.c static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si, si 49 fs/ocfs2/slot_map.c static void ocfs2_invalidate_slot(struct ocfs2_slot_info *si, si 52 fs/ocfs2/slot_map.c BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); si 53 fs/ocfs2/slot_map.c si->si_slots[slot_num].sl_valid = 0; si 56 fs/ocfs2/slot_map.c static void ocfs2_set_slot(struct ocfs2_slot_info *si, si 59 fs/ocfs2/slot_map.c BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); si 61 fs/ocfs2/slot_map.c si->si_slots[slot_num].sl_valid = 1; si 62 fs/ocfs2/slot_map.c si->si_slots[slot_num].sl_node_num = node_num; si 66 fs/ocfs2/slot_map.c static void ocfs2_update_slot_info_extended(struct ocfs2_slot_info *si) si 72 fs/ocfs2/slot_map.c for (b = 0; b < si->si_blocks; b++) { si 73 fs/ocfs2/slot_map.c se = (struct ocfs2_slot_map_extended *)si->si_bh[b]->b_data; si 75 fs/ocfs2/slot_map.c (i < si->si_slots_per_block) && si 76 fs/ocfs2/slot_map.c (slotno < si->si_num_slots); si 79 fs/ocfs2/slot_map.c ocfs2_set_slot(si, slotno, si 82 fs/ocfs2/slot_map.c ocfs2_invalidate_slot(si, slotno); si 91 fs/ocfs2/slot_map.c static void ocfs2_update_slot_info_old(struct ocfs2_slot_info *si) si 96 fs/ocfs2/slot_map.c sm = (struct ocfs2_slot_map *)si->si_bh[0]->b_data; si 98 fs/ocfs2/slot_map.c for (i = 0; i < si->si_num_slots; i++) { si 100 fs/ocfs2/slot_map.c ocfs2_invalidate_slot(si, i); si 102 fs/ocfs2/slot_map.c ocfs2_set_slot(si, i, le16_to_cpu(sm->sm_slots[i])); si 106 fs/ocfs2/slot_map.c static void ocfs2_update_slot_info(struct ocfs2_slot_info *si) si 112 fs/ocfs2/slot_map.c if (si->si_extended) si 113 fs/ocfs2/slot_map.c ocfs2_update_slot_info_extended(si); si 115 fs/ocfs2/slot_map.c ocfs2_update_slot_info_old(si); si 121 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si = osb->slot_info; si 123 fs/ocfs2/slot_map.c if (si == NULL) si 126 fs/ocfs2/slot_map.c BUG_ON(si->si_blocks == 0); si 127 fs/ocfs2/slot_map.c BUG_ON(si->si_bh == NULL); si 129 fs/ocfs2/slot_map.c trace_ocfs2_refresh_slot_info(si->si_blocks); si 136 fs/ocfs2/slot_map.c ret = ocfs2_read_blocks(INODE_CACHE(si->si_inode), -1, si->si_blocks, si 137 fs/ocfs2/slot_map.c si->si_bh, OCFS2_BH_IGNORE_CACHE, NULL); si 140 fs/ocfs2/slot_map.c ocfs2_update_slot_info(si); si 149 fs/ocfs2/slot_map.c static void ocfs2_update_disk_slot_extended(struct ocfs2_slot_info *si, si 153 fs/ocfs2/slot_map.c int blkind = slot_num / si->si_slots_per_block; si 154 fs/ocfs2/slot_map.c int slotno = slot_num % si->si_slots_per_block; si 157 fs/ocfs2/slot_map.c BUG_ON(blkind >= si->si_blocks); si 159 fs/ocfs2/slot_map.c se = (struct ocfs2_slot_map_extended *)si->si_bh[blkind]->b_data; si 160 fs/ocfs2/slot_map.c se->se_slots[slotno].es_valid = si->si_slots[slot_num].sl_valid; si 161 fs/ocfs2/slot_map.c if (si->si_slots[slot_num].sl_valid) si 163 fs/ocfs2/slot_map.c cpu_to_le32(si->si_slots[slot_num].sl_node_num); si 164 fs/ocfs2/slot_map.c *bh = si->si_bh[blkind]; si 167 fs/ocfs2/slot_map.c static void ocfs2_update_disk_slot_old(struct ocfs2_slot_info *si, si 174 fs/ocfs2/slot_map.c sm = (struct ocfs2_slot_map *)si->si_bh[0]->b_data; si 175 fs/ocfs2/slot_map.c for (i = 0; i < si->si_num_slots; i++) { si 176 fs/ocfs2/slot_map.c if (si->si_slots[i].sl_valid) si 178 fs/ocfs2/slot_map.c cpu_to_le16(si->si_slots[i].sl_node_num); si 182 fs/ocfs2/slot_map.c *bh = si->si_bh[0]; si 186 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si, si 193 fs/ocfs2/slot_map.c if (si->si_extended) si 194 fs/ocfs2/slot_map.c ocfs2_update_disk_slot_extended(si, slot_num, &bh); si 196 fs/ocfs2/slot_map.c ocfs2_update_disk_slot_old(si, slot_num, &bh); si 199 fs/ocfs2/slot_map.c status = ocfs2_write_block(osb, bh, INODE_CACHE(si->si_inode)); si 235 fs/ocfs2/slot_map.c static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si, si 240 fs/ocfs2/slot_map.c for(i = 0; i < si->si_num_slots; i++) { si 241 fs/ocfs2/slot_map.c if (si->si_slots[i].sl_valid && si 242 fs/ocfs2/slot_map.c (node_num == si->si_slots[i].sl_node_num)) { si 251 fs/ocfs2/slot_map.c static int __ocfs2_find_empty_slot(struct ocfs2_slot_info *si, si 256 fs/ocfs2/slot_map.c if ((preferred >= 0) && (preferred < si->si_num_slots)) { si 257 fs/ocfs2/slot_map.c if (!si->si_slots[preferred].sl_valid) { si 263 fs/ocfs2/slot_map.c for(i = 0; i < si->si_num_slots; i++) { si 264 fs/ocfs2/slot_map.c if (!si->si_slots[i].sl_valid) { si 276 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si = osb->slot_info; si 279 fs/ocfs2/slot_map.c slot = __ocfs2_node_num_to_slot(si, node_num); si 288 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si = osb->slot_info; si 295 fs/ocfs2/slot_map.c if (!si->si_slots[slot_num].sl_valid) si 298 fs/ocfs2/slot_map.c *node_num = si->si_slots[slot_num].sl_node_num; si 302 fs/ocfs2/slot_map.c static void __ocfs2_free_slot_info(struct ocfs2_slot_info *si) si 306 fs/ocfs2/slot_map.c if (si == NULL) si 309 fs/ocfs2/slot_map.c iput(si->si_inode); si 310 fs/ocfs2/slot_map.c if (si->si_bh) { si 311 fs/ocfs2/slot_map.c for (i = 0; i < si->si_blocks; i++) { si 312 fs/ocfs2/slot_map.c if (si->si_bh[i]) { si 313 fs/ocfs2/slot_map.c brelse(si->si_bh[i]); si 314 fs/ocfs2/slot_map.c si->si_bh[i] = NULL; si 317 fs/ocfs2/slot_map.c kfree(si->si_bh); si 320 fs/ocfs2/slot_map.c kfree(si); si 325 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si = osb->slot_info; si 327 fs/ocfs2/slot_map.c if (si == NULL) si 331 fs/ocfs2/slot_map.c ocfs2_invalidate_slot(si, slot_num); si 338 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si) si 346 fs/ocfs2/slot_map.c status = ocfs2_slot_map_physical_size(osb, si->si_inode, &bytes); si 350 fs/ocfs2/slot_map.c blocks = ocfs2_blocks_for_bytes(si->si_inode->i_sb, bytes); si 352 fs/ocfs2/slot_map.c si->si_blocks = blocks; si 353 fs/ocfs2/slot_map.c if (!si->si_blocks) si 356 fs/ocfs2/slot_map.c if (si->si_extended) si 357 fs/ocfs2/slot_map.c si->si_slots_per_block = si 361 fs/ocfs2/slot_map.c si->si_slots_per_block = osb->sb->s_blocksize / sizeof(__le16); si 364 fs/ocfs2/slot_map.c BUG_ON((osb->max_slots / si->si_slots_per_block) > blocks); si 366 fs/ocfs2/slot_map.c trace_ocfs2_map_slot_buffers(bytes, si->si_blocks); si 368 fs/ocfs2/slot_map.c si->si_bh = kcalloc(si->si_blocks, sizeof(struct buffer_head *), si 370 fs/ocfs2/slot_map.c if (!si->si_bh) { si 376 fs/ocfs2/slot_map.c for (i = 0; i < si->si_blocks; i++) { si 377 fs/ocfs2/slot_map.c status = ocfs2_extent_map_get_blocks(si->si_inode, i, si 387 fs/ocfs2/slot_map.c status = ocfs2_read_blocks(INODE_CACHE(si->si_inode), blkno, si 394 fs/ocfs2/slot_map.c si->si_bh[i] = bh; si 405 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si; si 407 fs/ocfs2/slot_map.c si = kzalloc(struct_size(si, si_slots, osb->max_slots), GFP_KERNEL); si 408 fs/ocfs2/slot_map.c if (!si) { si 414 fs/ocfs2/slot_map.c si->si_extended = ocfs2_uses_extended_slot_map(osb); si 415 fs/ocfs2/slot_map.c si->si_num_slots = osb->max_slots; si 425 fs/ocfs2/slot_map.c si->si_inode = inode; si 426 fs/ocfs2/slot_map.c status = ocfs2_map_slot_buffers(osb, si); si 432 fs/ocfs2/slot_map.c osb->slot_info = (struct ocfs2_slot_info *)si; si 435 fs/ocfs2/slot_map.c __ocfs2_free_slot_info(si); si 442 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si = osb->slot_info; si 445 fs/ocfs2/slot_map.c __ocfs2_free_slot_info(si); si 452 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si; si 454 fs/ocfs2/slot_map.c si = osb->slot_info; si 457 fs/ocfs2/slot_map.c ocfs2_update_slot_info(si); si 463 fs/ocfs2/slot_map.c slot = __ocfs2_node_num_to_slot(si, osb->node_num); si 467 fs/ocfs2/slot_map.c slot = __ocfs2_find_empty_slot(si, osb->preferred_slot); si 478 fs/ocfs2/slot_map.c ocfs2_set_slot(si, slot, osb->node_num); si 484 fs/ocfs2/slot_map.c status = ocfs2_update_disk_slot(osb, si, osb->slot_num); si 492 fs/ocfs2/slot_map.c ocfs2_invalidate_slot(si, osb->slot_num); si 504 fs/ocfs2/slot_map.c struct ocfs2_slot_info *si = osb->slot_info; si 506 fs/ocfs2/slot_map.c if (!si) si 510 fs/ocfs2/slot_map.c ocfs2_update_slot_info(si); si 513 fs/ocfs2/slot_map.c ocfs2_invalidate_slot(si, osb->slot_num); si 517 fs/ocfs2/slot_map.c status = ocfs2_update_disk_slot(osb, si, slot_num); si 579 fs/ocfs2/xattr.c struct ocfs2_security_xattr_info *si, si 586 fs/ocfs2/xattr.c int s_size = ocfs2_xattr_entry_real_size(strlen(si->name), si 587 fs/ocfs2/xattr.c si->value_len); si 605 fs/ocfs2/xattr.c if (si->value_len > OCFS2_XATTR_INLINE_SIZE) { si 607 fs/ocfs2/xattr.c si->value_len); si 619 fs/ocfs2/xattr.c struct ocfs2_security_xattr_info *si, si 628 fs/ocfs2/xattr.c if (si->enable) si 629 fs/ocfs2/xattr.c s_size = ocfs2_xattr_entry_real_size(strlen(si->name), si 630 fs/ocfs2/xattr.c si->value_len); si 681 fs/ocfs2/xattr.c if (si->enable && si->value_len > OCFS2_XATTR_INLINE_SIZE) { si 683 fs/ocfs2/xattr.c si->value_len); si 7279 fs/ocfs2/xattr.c struct ocfs2_security_xattr_info *si) si 7284 fs/ocfs2/xattr.c if (si) si 7286 fs/ocfs2/xattr.c &si->name, &si->value, si 7287 fs/ocfs2/xattr.c &si->value_len); si 7296 fs/ocfs2/xattr.c struct ocfs2_security_xattr_info *si, si 7302 fs/ocfs2/xattr.c si->name, si->value, si->value_len, 0, si 176 fs/sysv/inode.c struct sysv_inode_info * si; si 212 fs/sysv/inode.c si = SYSV_I(inode); si 215 fs/sysv/inode.c (u8 *)&si->i_data[block]); si 217 fs/sysv/inode.c si->i_dir_start_lookup = 0; si 220 fs/sysv/inode.c old_decode_dev(fs32_to_cpu(sbi, si->i_data[0]))); si 237 fs/sysv/inode.c struct sysv_inode_info * si; si 262 fs/sysv/inode.c si = SYSV_I(inode); si 264 fs/sysv/inode.c si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); si 266 fs/sysv/inode.c write3byte(sbi, (u8 *)&si->i_data[block], si 308 fs/sysv/inode.c struct sysv_inode_info *si; si 310 fs/sysv/inode.c si = kmem_cache_alloc(sysv_inode_cachep, GFP_KERNEL); si 311 fs/sysv/inode.c if (!si) si 313 fs/sysv/inode.c return &si->vfs_inode; si 323 fs/sysv/inode.c struct sysv_inode_info *si = (struct sysv_inode_info *)p; si 325 fs/sysv/inode.c inode_init_once(&si->vfs_inode); si 2449 fs/unicode/mkutf8data.c unsigned int si = unichar - sb; si 2450 fs/unicode/mkutf8data.c unsigned int li = si / nc; si 2451 fs/unicode/mkutf8data.c unsigned int vi = (si % nc) / tc; si 2452 fs/unicode/mkutf8data.c unsigned int ti = si % tc; si 2664 fs/unicode/mkutf8data.c unsigned int si; si 2671 fs/unicode/mkutf8data.c si = utf8decode(str) - SB; si 2672 fs/unicode/mkutf8data.c li = si / NC; si 2673 fs/unicode/mkutf8data.c vi = (si % NC) / TC; si 2674 fs/unicode/mkutf8data.c ti = si % TC; si 277 fs/unicode/utf8-norm.c unsigned int si; si 284 fs/unicode/utf8-norm.c si = utf8decode3(str) - SB; si 285 fs/unicode/utf8-norm.c li = si / NC; si 286 fs/unicode/utf8-norm.c vi = (si % NC) / TC; si 287 fs/unicode/utf8-norm.c ti = si % TC; si 1070 include/linux/bpf.h const struct bpf_insn *si, si 1088 include/linux/bpf.h const struct bpf_insn *si, si 1102 include/linux/bpf.h const struct bpf_insn *si, si 1111 include/linux/bpf.h const struct bpf_insn *si, si 1124 include/linux/bpf.h const struct bpf_insn *si, si 1139 include/linux/bpf.h const struct bpf_insn *si, si 1621 include/linux/efi.h struct screen_info *si, efi_guid_t *proto, si 573 include/linux/iio/iio.h *iio_find_channel_from_si(struct iio_dev *indio_dev, int si); si 164 include/linux/iio/imu/adis.h #define ADIS_VOLTAGE_CHAN(addr, si, chan, name, info_all, bits) { \ si 173 include/linux/iio/imu/adis.h .scan_index = (si), \ si 182 include/linux/iio/imu/adis.h #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ si 183 include/linux/iio/imu/adis.h ADIS_VOLTAGE_CHAN(addr, si, 0, "supply", info_all, bits) si 185 include/linux/iio/imu/adis.h #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ si 186 include/linux/iio/imu/adis.h ADIS_VOLTAGE_CHAN(addr, si, 1, NULL, info_all, bits) si 188 include/linux/iio/imu/adis.h #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ si 197 include/linux/iio/imu/adis.h .scan_index = (si), \ si 206 include/linux/iio/imu/adis.h #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ si 215 include/linux/iio/imu/adis.h .scan_index = (si), \ si 224 include/linux/iio/imu/adis.h #define ADIS_ACCEL_CHAN(mod, addr, si, info_sep, info_all, bits) \ si 225 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_ACCEL, mod, addr, si, info_sep, info_all, bits) si 227 include/linux/iio/imu/adis.h #define ADIS_GYRO_CHAN(mod, addr, si, info_sep, info_all, bits) \ si 228 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_ANGL_VEL, mod, addr, si, info_sep, info_all, bits) si 230 include/linux/iio/imu/adis.h #define ADIS_INCLI_CHAN(mod, addr, si, info_sep, info_all, bits) \ si 231 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_INCLI, mod, addr, si, info_sep, info_all, bits) si 233 include/linux/iio/imu/adis.h #define ADIS_ROT_CHAN(mod, addr, si, info_sep, info_all, bits) \ si 234 include/linux/iio/imu/adis.h ADIS_MOD_CHAN(IIO_ROT, mod, addr, si, info_sep, info_all, bits) si 158 include/linux/scif.h struct subsys_interface si; si 477 include/linux/swap.h static inline void put_swap_device(struct swap_info_struct *si) si 1463 include/net/sctp/structs.h struct sctp_stream_interleave *si; si 1488 include/net/sctp/structs.h return stream->si->data_chunk_len; si 1493 include/net/sctp/structs.h return stream->si->data_chunk_len - sizeof(struct sctp_chunkhdr); si 1498 include/net/sctp/structs.h return stream->si->ftsn_chunk_len; si 1503 include/net/sctp/structs.h return stream->si->ftsn_chunk_len - sizeof(struct sctp_chunkhdr); si 1541 include/net/xfrm.h void xfrm_sad_getinfo(struct net *net, struct xfrmk_sadinfo *si); si 1542 include/net/xfrm.h void xfrm_spd_getinfo(struct net *net, struct xfrmk_spdinfo *si); si 81 include/uapi/linux/nilfs2_api.h nilfs_suinfo_##name(const struct nilfs_suinfo *si) \ si 83 include/uapi/linux/nilfs2_api.h return si->sui_flags & (1UL << NILFS_SUINFO_##flag); \ si 90 include/uapi/linux/nilfs2_api.h static inline int nilfs_suinfo_clean(const struct nilfs_suinfo *si) si 92 include/uapi/linux/nilfs2_api.h return !si->sui_flags; si 1342 kernel/bpf/cgroup.c const struct bpf_insn *si, si 1349 kernel/bpf/cgroup.c switch (si->off) { si 1352 kernel/bpf/cgroup.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, si 1367 kernel/bpf/cgroup.c if (si->src_reg == treg || si->dst_reg == treg) si 1369 kernel/bpf/cgroup.c if (si->src_reg == treg || si->dst_reg == treg) si 1372 kernel/bpf/cgroup.c BPF_DW, si->dst_reg, treg, si 1376 kernel/bpf/cgroup.c treg, si->dst_reg, si 1379 kernel/bpf/cgroup.c BPF_SIZEOF(u32), treg, si->src_reg, si 1383 kernel/bpf/cgroup.c BPF_DW, treg, si->dst_reg, si 1388 kernel/bpf/cgroup.c si->dst_reg, si->src_reg, si 1390 kernel/bpf/cgroup.c read_size = bpf_size_to_bytes(BPF_SIZE(si->code)); si 1392 kernel/bpf/cgroup.c BPF_SIZE(si->code), si->dst_reg, si->dst_reg, si 1495 kernel/bpf/cgroup.c si->dst_reg, si->src_reg, \ si 1499 kernel/bpf/cgroup.c const struct bpf_insn *si, si 1506 kernel/bpf/cgroup.c switch (si->off) { si 1007 kernel/ptrace.c kernel_siginfo_t siginfo, *si; si 1136 kernel/ptrace.c si = child->last_siginfo; si 1137 kernel/ptrace.c if (likely(si && (si->si_code >> 8) == PTRACE_EVENT_STOP)) { si 1146 kernel/trace/bpf_trace.c const struct bpf_insn *si, si 1152 kernel/trace/bpf_trace.c switch (si->off) { si 1155 kernel/trace/bpf_trace.c data), si->dst_reg, si->src_reg, si 1157 kernel/trace/bpf_trace.c *insn++ = BPF_LDX_MEM(BPF_DW, si->dst_reg, si->dst_reg, si 1163 kernel/trace/bpf_trace.c data), si->dst_reg, si->src_reg, si 1165 kernel/trace/bpf_trace.c *insn++ = BPF_LDX_MEM(BPF_DW, si->dst_reg, si->dst_reg, si 1171 kernel/trace/bpf_trace.c regs), si->dst_reg, si->src_reg, si 1173 kernel/trace/bpf_trace.c *insn++ = BPF_LDX_MEM(BPF_SIZEOF(long), si->dst_reg, si->dst_reg, si 1174 kernel/trace/bpf_trace.c si->off); si 97 lib/uuid.c static const u8 si[16] = {0,2,4,6,9,11,14,16,19,21,24,26,28,30,32,34}; si 104 lib/uuid.c int hi = hex_to_bin(uuid[si[i] + 0]); si 105 lib/uuid.c int lo = hex_to_bin(uuid[si[i] + 1]); si 117 mm/frontswap.c struct swap_info_struct *si; si 124 mm/frontswap.c plist_for_each_entry(si, &swap_active_head, list) { si 125 mm/frontswap.c if (!WARN_ON(!si->frontswap_map)) si 126 mm/frontswap.c set_bit(si->type, a); si 146 mm/frontswap.c plist_for_each_entry(si, &swap_active_head, list) { si 147 mm/frontswap.c if (si->frontswap_map) si 148 mm/frontswap.c set_bit(si->type, b); si 374 mm/frontswap.c struct swap_info_struct *si = NULL; si 377 mm/frontswap.c plist_for_each_entry(si, &swap_active_head, list) si 378 mm/frontswap.c totalpages += atomic_read(&si->frontswap_pages); si 386 mm/frontswap.c struct swap_info_struct *si = NULL; si 392 mm/frontswap.c plist_for_each_entry(si, &swap_active_head, list) { si 393 mm/frontswap.c si_frontswap_pages = atomic_read(&si->frontswap_pages); si 407 mm/frontswap.c *swapid = si->type; si 2788 mm/memory.c struct swap_info_struct *si = swp_swap_info(entry); si 2790 mm/memory.c if (si->flags & SWP_SYNCHRONOUS_IO && si 71 mm/mincore.c struct swap_info_struct *si; si 74 mm/mincore.c si = get_swap_device(swp); si 75 mm/mincore.c if (si) { si 78 mm/mincore.c put_swap_device(si); si 229 mm/slub.c static inline void stat(const struct kmem_cache *s, enum stat_item si) si 236 mm/slub.c raw_cpu_inc(s->cpu_slab->stat[si]); si 5361 mm/slub.c static int show_stat(struct kmem_cache *s, char *buf, enum stat_item si) si 5372 mm/slub.c unsigned x = per_cpu_ptr(s->cpu_slab, cpu)->stat[si]; si 5390 mm/slub.c static void clear_stat(struct kmem_cache *s, enum stat_item si) si 5395 mm/slub.c per_cpu_ptr(s->cpu_slab, cpu)->stat[si] = 0; si 5398 mm/slub.c #define STAT_ATTR(si, text) \ si 5401 mm/slub.c return show_stat(s, buf, si); \ si 5408 mm/slub.c clear_stat(s, si); \ si 76 mm/swap_state.c struct swap_info_struct *si; si 85 mm/swap_state.c si = get_swap_device(entry); si 86 mm/swap_state.c if (!si) si 92 mm/swap_state.c put_swap_device(si); si 314 mm/swap_state.c struct swap_info_struct *si; si 316 mm/swap_state.c si = get_swap_device(entry); si 317 mm/swap_state.c if (!si) si 320 mm/swap_state.c put_swap_device(si); si 364 mm/swap_state.c struct swap_info_struct *si; si 374 mm/swap_state.c si = get_swap_device(entry); si 375 mm/swap_state.c if (!si) si 379 mm/swap_state.c put_swap_device(si); si 547 mm/swap_state.c struct swap_info_struct *si = swp_swap_info(entry); si 558 mm/swap_state.c if (likely(si->flags & (SWP_BLKDEV | SWP_FS))) { si 559 mm/swap_state.c struct inode *inode = si->swap_file->f_mapping->host; si 570 mm/swap_state.c if (end_offset >= si->max) si 571 mm/swap_state.c end_offset = si->max - 1; si 127 mm/swapfile.c static int __try_to_reclaim_swap(struct swap_info_struct *si, si 130 mm/swapfile.c swp_entry_t entry = swp_entry(si->type, offset); si 171 mm/swapfile.c static int discard_swap(struct swap_info_struct *si) si 179 mm/swapfile.c se = first_se(si); si 183 mm/swapfile.c err = blkdev_issue_discard(si->bdev, start_block, si 194 mm/swapfile.c err = blkdev_issue_discard(si->bdev, start_block, si 228 mm/swapfile.c static void discard_swap_cluster(struct swap_info_struct *si, si 231 mm/swapfile.c struct swap_extent *se = offset_to_swap_extent(si, start_page); si 245 mm/swapfile.c if (blkdev_issue_discard(si->bdev, start_block, si 338 mm/swapfile.c static inline struct swap_cluster_info *lock_cluster(struct swap_info_struct *si, si 343 mm/swapfile.c ci = si->cluster_info; si 362 mm/swapfile.c struct swap_info_struct *si, unsigned long offset) si 367 mm/swapfile.c ci = lock_cluster(si, offset); si 370 mm/swapfile.c spin_lock(&si->lock); si 375 mm/swapfile.c static inline void unlock_cluster_or_swap_info(struct swap_info_struct *si, si 381 mm/swapfile.c spin_unlock(&si->lock); si 440 mm/swapfile.c static void swap_cluster_schedule_discard(struct swap_info_struct *si, si 449 mm/swapfile.c memset(si->swap_map + idx * SWAPFILE_CLUSTER, si 452 mm/swapfile.c cluster_list_add_tail(&si->discard_clusters, si->cluster_info, idx); si 454 mm/swapfile.c schedule_work(&si->discard_work); si 457 mm/swapfile.c static void __free_cluster(struct swap_info_struct *si, unsigned long idx) si 459 mm/swapfile.c struct swap_cluster_info *ci = si->cluster_info; si 462 mm/swapfile.c cluster_list_add_tail(&si->free_clusters, ci, idx); si 469 mm/swapfile.c static void swap_do_scheduled_discard(struct swap_info_struct *si) si 474 mm/swapfile.c info = si->cluster_info; si 476 mm/swapfile.c while (!cluster_list_empty(&si->discard_clusters)) { si 477 mm/swapfile.c idx = cluster_list_del_first(&si->discard_clusters, info); si 478 mm/swapfile.c spin_unlock(&si->lock); si 480 mm/swapfile.c discard_swap_cluster(si, idx * SWAPFILE_CLUSTER, si 483 mm/swapfile.c spin_lock(&si->lock); si 484 mm/swapfile.c ci = lock_cluster(si, idx * SWAPFILE_CLUSTER); si 485 mm/swapfile.c __free_cluster(si, idx); si 486 mm/swapfile.c memset(si->swap_map + idx * SWAPFILE_CLUSTER, si 494 mm/swapfile.c struct swap_info_struct *si; si 496 mm/swapfile.c si = container_of(work, struct swap_info_struct, discard_work); si 498 mm/swapfile.c spin_lock(&si->lock); si 499 mm/swapfile.c swap_do_scheduled_discard(si); si 500 mm/swapfile.c spin_unlock(&si->lock); si 503 mm/swapfile.c static void alloc_cluster(struct swap_info_struct *si, unsigned long idx) si 505 mm/swapfile.c struct swap_cluster_info *ci = si->cluster_info; si 507 mm/swapfile.c VM_BUG_ON(cluster_list_first(&si->free_clusters) != idx); si 508 mm/swapfile.c cluster_list_del_first(&si->free_clusters, ci); si 512 mm/swapfile.c static void free_cluster(struct swap_info_struct *si, unsigned long idx) si 514 mm/swapfile.c struct swap_cluster_info *ci = si->cluster_info + idx; si 522 mm/swapfile.c if ((si->flags & (SWP_WRITEOK | SWP_PAGE_DISCARD)) == si 524 mm/swapfile.c swap_cluster_schedule_discard(si, idx); si 528 mm/swapfile.c __free_cluster(si, idx); si 576 mm/swapfile.c scan_swap_map_ssd_cluster_conflict(struct swap_info_struct *si, si 583 mm/swapfile.c conflict = !cluster_list_empty(&si->free_clusters) && si 584 mm/swapfile.c offset != cluster_list_first(&si->free_clusters) && si 585 mm/swapfile.c cluster_is_free(&si->cluster_info[offset]); si 590 mm/swapfile.c percpu_cluster = this_cpu_ptr(si->percpu_cluster); si 599 mm/swapfile.c static bool scan_swap_map_try_ssd_cluster(struct swap_info_struct *si, si 608 mm/swapfile.c cluster = this_cpu_ptr(si->percpu_cluster); si 610 mm/swapfile.c if (!cluster_list_empty(&si->free_clusters)) { si 611 mm/swapfile.c cluster->index = si->free_clusters.head; si 614 mm/swapfile.c } else if (!cluster_list_empty(&si->discard_clusters)) { si 619 mm/swapfile.c swap_do_scheduled_discard(si); si 620 mm/swapfile.c *scan_base = *offset = si->cluster_next; si 633 mm/swapfile.c max = min_t(unsigned long, si->max, si 639 mm/swapfile.c ci = lock_cluster(si, tmp); si 641 mm/swapfile.c if (!si->swap_map[tmp]) { si 673 mm/swapfile.c static void swap_range_alloc(struct swap_info_struct *si, unsigned long offset, si 678 mm/swapfile.c if (offset == si->lowest_bit) si 679 mm/swapfile.c si->lowest_bit += nr_entries; si 680 mm/swapfile.c if (end == si->highest_bit) si 681 mm/swapfile.c si->highest_bit -= nr_entries; si 682 mm/swapfile.c si->inuse_pages += nr_entries; si 683 mm/swapfile.c if (si->inuse_pages == si->pages) { si 684 mm/swapfile.c si->lowest_bit = si->max; si 685 mm/swapfile.c si->highest_bit = 0; si 686 mm/swapfile.c del_from_avail_list(si); si 702 mm/swapfile.c static void swap_range_free(struct swap_info_struct *si, unsigned long offset, si 708 mm/swapfile.c if (offset < si->lowest_bit) si 709 mm/swapfile.c si->lowest_bit = offset; si 710 mm/swapfile.c if (end > si->highest_bit) { si 711 mm/swapfile.c bool was_full = !si->highest_bit; si 713 mm/swapfile.c si->highest_bit = end; si 714 mm/swapfile.c if (was_full && (si->flags & SWP_WRITEOK)) si 715 mm/swapfile.c add_to_avail_list(si); si 718 mm/swapfile.c si->inuse_pages -= nr_entries; si 719 mm/swapfile.c if (si->flags & SWP_BLKDEV) si 721 mm/swapfile.c si->bdev->bd_disk->fops->swap_slot_free_notify; si 725 mm/swapfile.c frontswap_invalidate_page(si->type, offset); si 727 mm/swapfile.c swap_slot_free_notify(si->bdev, offset); si 732 mm/swapfile.c static int scan_swap_map_slots(struct swap_info_struct *si, si 757 mm/swapfile.c si->flags += SWP_SCANNING; si 758 mm/swapfile.c scan_base = offset = si->cluster_next; si 761 mm/swapfile.c if (si->cluster_info) { si 762 mm/swapfile.c if (scan_swap_map_try_ssd_cluster(si, &offset, &scan_base)) si 768 mm/swapfile.c if (unlikely(!si->cluster_nr--)) { si 769 mm/swapfile.c if (si->pages - si->inuse_pages < SWAPFILE_CLUSTER) { si 770 mm/swapfile.c si->cluster_nr = SWAPFILE_CLUSTER - 1; si 774 mm/swapfile.c spin_unlock(&si->lock); si 782 mm/swapfile.c scan_base = offset = si->lowest_bit; si 786 mm/swapfile.c for (; last_in_cluster <= si->highest_bit; offset++) { si 787 mm/swapfile.c if (si->swap_map[offset]) si 790 mm/swapfile.c spin_lock(&si->lock); si 792 mm/swapfile.c si->cluster_next = offset; si 793 mm/swapfile.c si->cluster_nr = SWAPFILE_CLUSTER - 1; si 803 mm/swapfile.c spin_lock(&si->lock); si 804 mm/swapfile.c si->cluster_nr = SWAPFILE_CLUSTER - 1; si 808 mm/swapfile.c if (si->cluster_info) { si 809 mm/swapfile.c while (scan_swap_map_ssd_cluster_conflict(si, offset)) { si 813 mm/swapfile.c if (!scan_swap_map_try_ssd_cluster(si, &offset, si 818 mm/swapfile.c if (!(si->flags & SWP_WRITEOK)) si 820 mm/swapfile.c if (!si->highest_bit) si 822 mm/swapfile.c if (offset > si->highest_bit) si 823 mm/swapfile.c scan_base = offset = si->lowest_bit; si 825 mm/swapfile.c ci = lock_cluster(si, offset); si 827 mm/swapfile.c if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { si 830 mm/swapfile.c spin_unlock(&si->lock); si 831 mm/swapfile.c swap_was_freed = __try_to_reclaim_swap(si, offset, TTRS_ANYWAY); si 832 mm/swapfile.c spin_lock(&si->lock); si 839 mm/swapfile.c if (si->swap_map[offset]) { si 846 mm/swapfile.c si->swap_map[offset] = usage; si 847 mm/swapfile.c inc_cluster_info_page(si, si->cluster_info, offset); si 850 mm/swapfile.c swap_range_alloc(si, offset, 1); si 851 mm/swapfile.c si->cluster_next = offset + 1; si 852 mm/swapfile.c slots[n_ret++] = swp_entry(si->type, offset); si 855 mm/swapfile.c if ((n_ret == nr) || (offset >= si->highest_bit)) si 864 mm/swapfile.c spin_unlock(&si->lock); si 866 mm/swapfile.c spin_lock(&si->lock); si 871 mm/swapfile.c if (si->cluster_info) { si 872 mm/swapfile.c if (scan_swap_map_try_ssd_cluster(si, &offset, &scan_base)) si 881 mm/swapfile.c if (si->cluster_nr && !si->swap_map[offset]) { si 882 mm/swapfile.c --si->cluster_nr; si 887 mm/swapfile.c si->flags -= SWP_SCANNING; si 891 mm/swapfile.c spin_unlock(&si->lock); si 892 mm/swapfile.c while (++offset <= si->highest_bit) { si 893 mm/swapfile.c if (!si->swap_map[offset]) { si 894 mm/swapfile.c spin_lock(&si->lock); si 897 mm/swapfile.c if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { si 898 mm/swapfile.c spin_lock(&si->lock); si 906 mm/swapfile.c offset = si->lowest_bit; si 908 mm/swapfile.c if (!si->swap_map[offset]) { si 909 mm/swapfile.c spin_lock(&si->lock); si 912 mm/swapfile.c if (vm_swap_full() && si->swap_map[offset] == SWAP_HAS_CACHE) { si 913 mm/swapfile.c spin_lock(&si->lock); si 922 mm/swapfile.c spin_lock(&si->lock); si 925 mm/swapfile.c si->flags -= SWP_SCANNING; si 929 mm/swapfile.c static int swap_alloc_cluster(struct swap_info_struct *si, swp_entry_t *slot) si 945 mm/swapfile.c if (cluster_list_empty(&si->free_clusters)) si 948 mm/swapfile.c idx = cluster_list_first(&si->free_clusters); si 950 mm/swapfile.c ci = lock_cluster(si, offset); si 951 mm/swapfile.c alloc_cluster(si, idx); si 954 mm/swapfile.c map = si->swap_map + offset; si 958 mm/swapfile.c swap_range_alloc(si, offset, SWAPFILE_CLUSTER); si 959 mm/swapfile.c *slot = swp_entry(si->type, offset); si 964 mm/swapfile.c static void swap_free_cluster(struct swap_info_struct *si, unsigned long idx) si 969 mm/swapfile.c ci = lock_cluster(si, offset); si 970 mm/swapfile.c memset(si->swap_map + offset, 0, SWAPFILE_CLUSTER); si 972 mm/swapfile.c free_cluster(si, idx); si 974 mm/swapfile.c swap_range_free(si, offset, SWAPFILE_CLUSTER); si 977 mm/swapfile.c static unsigned long scan_swap_map(struct swap_info_struct *si, si 983 mm/swapfile.c n_ret = scan_swap_map_slots(si, usage, 1, &entry); si 995 mm/swapfile.c struct swap_info_struct *si, *next; si 1019 mm/swapfile.c plist_for_each_entry_safe(si, next, &swap_avail_heads[node], avail_lists[node]) { si 1021 mm/swapfile.c plist_requeue(&si->avail_lists[node], &swap_avail_heads[node]); si 1023 mm/swapfile.c spin_lock(&si->lock); si 1024 mm/swapfile.c if (!si->highest_bit || !(si->flags & SWP_WRITEOK)) { si 1026 mm/swapfile.c if (plist_node_empty(&si->avail_lists[node])) { si 1027 mm/swapfile.c spin_unlock(&si->lock); si 1030 mm/swapfile.c WARN(!si->highest_bit, si 1032 mm/swapfile.c si->type); si 1033 mm/swapfile.c WARN(!(si->flags & SWP_WRITEOK), si 1035 mm/swapfile.c si->type); si 1036 mm/swapfile.c __del_from_avail_list(si); si 1037 mm/swapfile.c spin_unlock(&si->lock); si 1041 mm/swapfile.c if (!(si->flags & SWP_FS)) si 1042 mm/swapfile.c n_ret = swap_alloc_cluster(si, swp_entries); si 1044 mm/swapfile.c n_ret = scan_swap_map_slots(si, SWAP_HAS_CACHE, si 1046 mm/swapfile.c spin_unlock(&si->lock); si 1050 mm/swapfile.c si->type); si 1082 mm/swapfile.c struct swap_info_struct *si = swap_type_to_swap_info(type); si 1085 mm/swapfile.c if (!si) si 1088 mm/swapfile.c spin_lock(&si->lock); si 1089 mm/swapfile.c if (si->flags & SWP_WRITEOK) { si 1092 mm/swapfile.c offset = scan_swap_map(si, 1); si 1094 mm/swapfile.c spin_unlock(&si->lock); si 1099 mm/swapfile.c spin_unlock(&si->lock); si 1251 mm/swapfile.c struct swap_info_struct *si; si 1256 mm/swapfile.c si = swp_swap_info(entry); si 1257 mm/swapfile.c if (!si) si 1261 mm/swapfile.c if (!(si->flags & SWP_VALID)) si 1264 mm/swapfile.c if (offset >= si->max) si 1267 mm/swapfile.c return si; si 1330 mm/swapfile.c struct swap_info_struct *si; si 1336 mm/swapfile.c si = _swap_info_get(entry); si 1337 mm/swapfile.c if (!si) si 1340 mm/swapfile.c ci = lock_cluster_or_swap_info(si, offset); si 1343 mm/swapfile.c map = si->swap_map + offset; si 1352 mm/swapfile.c unlock_cluster_or_swap_info(si, ci); si 1353 mm/swapfile.c spin_lock(&si->lock); si 1355 mm/swapfile.c swap_free_cluster(si, idx); si 1356 mm/swapfile.c spin_unlock(&si->lock); si 1361 mm/swapfile.c if (!__swap_entry_free_locked(si, offset + i, SWAP_HAS_CACHE)) { si 1362 mm/swapfile.c unlock_cluster_or_swap_info(si, ci); si 1366 mm/swapfile.c lock_cluster_or_swap_info(si, offset); si 1369 mm/swapfile.c unlock_cluster_or_swap_info(si, ci); si 1375 mm/swapfile.c struct swap_info_struct *si; si 1379 mm/swapfile.c si = _swap_info_get(entry); si 1380 mm/swapfile.c if (!si) si 1382 mm/swapfile.c ci = lock_cluster(si, offset); si 1450 mm/swapfile.c struct swap_info_struct *si; si 1454 mm/swapfile.c si = get_swap_device(entry); si 1455 mm/swapfile.c if (si) { si 1456 mm/swapfile.c count = swap_count(si->swap_map[offset]); si 1457 mm/swapfile.c put_swap_device(si); si 1462 mm/swapfile.c static int swap_swapcount(struct swap_info_struct *si, swp_entry_t entry) si 1468 mm/swapfile.c ci = lock_cluster_or_swap_info(si, offset); si 1469 mm/swapfile.c count = swap_count(si->swap_map[offset]); si 1470 mm/swapfile.c unlock_cluster_or_swap_info(si, ci); si 1482 mm/swapfile.c struct swap_info_struct *si; si 1484 mm/swapfile.c si = get_swap_device(entry); si 1485 mm/swapfile.c if (si) { si 1486 mm/swapfile.c count = swap_swapcount(si, entry); si 1487 mm/swapfile.c put_swap_device(si); si 1538 mm/swapfile.c static bool swap_page_trans_huge_swapped(struct swap_info_struct *si, si 1542 mm/swapfile.c unsigned char *map = si->swap_map; si 1548 mm/swapfile.c ci = lock_cluster_or_swap_info(si, offset); si 1561 mm/swapfile.c unlock_cluster_or_swap_info(si, ci); si 1568 mm/swapfile.c struct swap_info_struct *si; si 1575 mm/swapfile.c si = _swap_info_get(entry); si 1576 mm/swapfile.c if (si) si 1577 mm/swapfile.c return swap_page_trans_huge_swapped(si, entry); si 1586 mm/swapfile.c struct swap_info_struct *si; si 1610 mm/swapfile.c si = _swap_info_get(entry); si 1611 mm/swapfile.c if (si) { si 1612 mm/swapfile.c map = si->swap_map; si 1617 mm/swapfile.c ci = lock_cluster(si, offset); si 1809 mm/swapfile.c struct swap_info_struct *si = swap_type_to_swap_info(type); si 1811 mm/swapfile.c if (!si || !(si->flags & SWP_WRITEOK)) si 1917 mm/swapfile.c struct swap_info_struct *si; si 1922 mm/swapfile.c si = swap_info[type]; si 1935 mm/swapfile.c if (frontswap && !frontswap_test(si, offset)) si 1939 mm/swapfile.c swap_map = &si->swap_map[offset]; si 2092 mm/swapfile.c static unsigned int find_next_to_unuse(struct swap_info_struct *si, si 2104 mm/swapfile.c for (i = prev + 1; i < si->max; i++) { si 2105 mm/swapfile.c count = READ_ONCE(si->swap_map[i]); si 2107 mm/swapfile.c if (!frontswap || frontswap_test(si, i)) si 2113 mm/swapfile.c if (i == si->max) si 2130 mm/swapfile.c struct swap_info_struct *si = swap_info[type]; si 2135 mm/swapfile.c if (!si->inuse_pages) si 2151 mm/swapfile.c while (si->inuse_pages && si 2180 mm/swapfile.c while (si->inuse_pages && si 2182 mm/swapfile.c (i = find_next_to_unuse(si, i, frontswap)) != 0) { si 2222 mm/swapfile.c if (si->inuse_pages) { si 2567 mm/swapfile.c struct swap_info_struct *si = p; si 2570 mm/swapfile.c plist_for_each_entry_continue(si, &swap_active_head, list) { si 2571 mm/swapfile.c si->prio++; si 2572 mm/swapfile.c si->list.prio--; si 2574 mm/swapfile.c if (si->avail_lists[nid].prio != 1) si 2575 mm/swapfile.c si->avail_lists[nid].prio--; si 2711 mm/swapfile.c struct swap_info_struct *si; si 2720 mm/swapfile.c for (type = 0; (si = swap_type_to_swap_info(type)); type++) { si 2721 mm/swapfile.c if (!(si->flags & SWP_USED) || !si->swap_map) si 2724 mm/swapfile.c return si; si 2732 mm/swapfile.c struct swap_info_struct *si = v; si 2738 mm/swapfile.c type = si->type + 1; si 2740 mm/swapfile.c for (; (si = swap_type_to_swap_info(type)); type++) { si 2741 mm/swapfile.c if (!(si->flags & SWP_USED) || !si->swap_map) si 2744 mm/swapfile.c return si; si 2757 mm/swapfile.c struct swap_info_struct *si = v; si 2761 mm/swapfile.c if (si == SEQ_START_TOKEN) { si 2766 mm/swapfile.c file = si->swap_file; si 2772 mm/swapfile.c si->pages << (PAGE_SHIFT - 10), si 2773 mm/swapfile.c si->inuse_pages << (PAGE_SHIFT - 10), si 2774 mm/swapfile.c si->prio); si 3088 mm/swapfile.c static bool swap_discardable(struct swap_info_struct *si) si 3090 mm/swapfile.c struct request_queue *q = bdev_get_queue(si->bdev); si 3356 mm/swapfile.c struct swap_info_struct *si = swap_info[type]; si 3358 mm/swapfile.c if ((si->flags & SWP_USED) && !(si->flags & SWP_WRITEOK)) si 3359 mm/swapfile.c nr_to_be_unused += si->inuse_pages; si 3523 mm/swapfile.c struct swap_info_struct *si; si 3538 mm/swapfile.c si = get_swap_device(entry); si 3539 mm/swapfile.c if (!si) { si 3546 mm/swapfile.c spin_lock(&si->lock); si 3550 mm/swapfile.c ci = lock_cluster(si, offset); si 3552 mm/swapfile.c count = si->swap_map[offset] & ~SWAP_HAS_CACHE; si 3573 mm/swapfile.c head = vmalloc_to_page(si->swap_map + offset); si 3576 mm/swapfile.c spin_lock(&si->cont_lock); si 3585 mm/swapfile.c si->flags |= SWP_CONTINUED; si 3613 mm/swapfile.c spin_unlock(&si->cont_lock); si 3616 mm/swapfile.c spin_unlock(&si->lock); si 3617 mm/swapfile.c put_swap_device(si); si 3633 mm/swapfile.c static bool swap_count_continued(struct swap_info_struct *si, si 3641 mm/swapfile.c head = vmalloc_to_page(si->swap_map + offset); si 3647 mm/swapfile.c spin_lock(&si->cont_lock); si 3713 mm/swapfile.c spin_unlock(&si->cont_lock); si 3721 mm/swapfile.c static void free_swap_count_continuations(struct swap_info_struct *si) si 3725 mm/swapfile.c for (offset = 0; offset < si->max; offset += PAGE_SIZE) { si 3727 mm/swapfile.c head = vmalloc_to_page(si->swap_map + offset); si 3743 mm/swapfile.c struct swap_info_struct *si, *next; si 3758 mm/swapfile.c plist_for_each_entry_safe(si, next, &swap_avail_heads[node], si 3760 mm/swapfile.c if (si->bdev) { si 3761 mm/swapfile.c blkcg_schedule_throttle(bdev_get_queue(si->bdev), si 5572 net/core/filter.c const struct bpf_insn *si, si 5583 net/core/filter.c si->dst_reg, si->src_reg, \ si 5595 net/core/filter.c si->dst_reg, si->src_reg, \ si 5604 net/core/filter.c switch (si->off) { si 5611 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 5763 net/core/filter.c const struct bpf_insn *si, si 5774 net/core/filter.c si->dst_reg, si->src_reg, \ si 5778 net/core/filter.c switch (si->off) { si 7190 net/core/filter.c const struct bpf_insn *si, si 7198 net/core/filter.c switch (si->off) { si 7201 net/core/filter.c si->dst_reg, si->src_reg, si 7207 net/core/filter.c si->dst_reg, si->src_reg, si 7213 net/core/filter.c si->dst_reg, si->src_reg, si 7222 net/core/filter.c const struct bpf_insn *si, si 7229 net/core/filter.c switch (si->off) { si 7231 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7237 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, si 7243 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, si 7250 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7254 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7260 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7267 net/core/filter.c si->dst_reg, si->src_reg, si 7269 net/core/filter.c *insn++ = BPF_JMP_IMM(BPF_JEQ, si->dst_reg, 0, 1); si 7270 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7276 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7283 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7287 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7294 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_B, si->dst_reg, si->src_reg, si 7296 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_AND, si->dst_reg, PKT_TYPE_MAX); si 7298 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, 5); si 7304 net/core/filter.c *insn++ = BPF_JMP_IMM(BPF_JGE, si->src_reg, NO_QUEUE_MAPPING, 1); si 7305 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_H, si->dst_reg, si->src_reg, si 7310 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, si 7319 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_B, si->dst_reg, si->src_reg, si 7322 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, PKT_VLAN_PRESENT_BIT); si 7324 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_AND, si->dst_reg, 1); si 7328 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, si 7341 net/core/filter.c off = si->off; si 7346 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_SIZE(si->code), si->dst_reg, si 7347 net/core/filter.c si->src_reg, off); si 7349 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_SIZE(si->code), si->dst_reg, si 7350 net/core/filter.c si->src_reg, off); si 7356 net/core/filter.c off = si->off; si 7362 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_H, si->dst_reg, si 7363 net/core/filter.c si->src_reg, off); si 7365 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si 7366 net/core/filter.c si->src_reg, off); si 7371 net/core/filter.c si->dst_reg, si->src_reg, si 7376 net/core/filter.c off = si->off; si 7380 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_SIZEOF(void *), si->dst_reg, si 7381 net/core/filter.c si->src_reg, off); si 7385 net/core/filter.c off = si->off; si 7389 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_SIZEOF(void *), si->dst_reg, si 7390 net/core/filter.c si->src_reg, off); si 7396 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_H, si->dst_reg, si->src_reg, si 7400 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, si 7406 net/core/filter.c *insn++ = BPF_MOV64_REG(si->dst_reg, si->dst_reg); si 7408 net/core/filter.c *insn++ = BPF_MOV64_IMM(si->dst_reg, 0); si 7414 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7417 net/core/filter.c *insn++ = BPF_JMP_IMM(BPF_JGE, si->dst_reg, MIN_NAPI_ID, 1); si 7418 net/core/filter.c *insn++ = BPF_MOV64_IMM(si->dst_reg, 0); si 7421 net/core/filter.c *insn++ = BPF_MOV64_IMM(si->dst_reg, 0); si 7428 net/core/filter.c si->dst_reg, si->src_reg, si 7430 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 7439 net/core/filter.c si->dst_reg, si->src_reg, si 7441 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7451 net/core/filter.c si->dst_reg, si->src_reg, si 7453 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7464 net/core/filter.c off = si->off; si 7468 net/core/filter.c si->dst_reg, si->src_reg, si 7470 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7475 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 7484 net/core/filter.c off = si->off; si 7488 net/core/filter.c si->dst_reg, si->src_reg, si 7490 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7495 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 7503 net/core/filter.c si->dst_reg, si->src_reg, si 7505 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 7510 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_LSH, si->dst_reg, 16); si 7518 net/core/filter.c si->dst_reg, si->src_reg, si 7520 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 7530 net/core/filter.c si->dst_reg, si->src_reg, si 7536 net/core/filter.c si->dst_reg, si->src_reg, si 7546 net/core/filter.c BPF_REG_AX, si->src_reg, si 7549 net/core/filter.c si->dst_reg, si->src_reg, si 7551 net/core/filter.c *insn++ = BPF_ALU64_REG(BPF_ADD, si->dst_reg, BPF_REG_AX); si 7554 net/core/filter.c si->dst_reg, si->src_reg, si 7558 net/core/filter.c si->dst_reg, si->dst_reg, si 7566 net/core/filter.c off = si->off; si 7571 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, off); si 7576 net/core/filter.c si->dst_reg, si->src_reg, si 7585 net/core/filter.c const struct bpf_insn *si, si 7592 net/core/filter.c switch (si->off) { si 7597 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7600 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7608 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7611 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7619 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7622 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7629 net/core/filter.c si->dst_reg, si->src_reg, si 7639 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7641 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_AND, si->dst_reg, SK_FL_TYPE_MASK); si 7642 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, SK_FL_TYPE_SHIFT); si 7648 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 7650 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_AND, si->dst_reg, SK_FL_PROTO_MASK); si 7651 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, SK_FL_PROTO_SHIFT); si 7657 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, si 7666 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, si 7675 net/core/filter.c off = si->off; si 7678 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, si 7687 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 7693 net/core/filter.c off = si->off; si 7696 net/core/filter.c BPF_SIZE(si->code), si->dst_reg, si->src_reg, si 7703 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 7711 net/core/filter.c si->dst_reg, si->src_reg, si 7721 net/core/filter.c si->dst_reg, si->src_reg, si 7731 net/core/filter.c si->dst_reg, si->src_reg, si 7743 net/core/filter.c const struct bpf_insn *si, si 7749 net/core/filter.c switch (si->off) { si 7752 net/core/filter.c si->dst_reg, si->src_reg, si 7754 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7759 net/core/filter.c return bpf_convert_ctx_access(type, si, insn_buf, prog, si 7767 net/core/filter.c const struct bpf_insn *si, si 7773 net/core/filter.c switch (si->off) { si 7776 net/core/filter.c si->dst_reg, si->src_reg, si 7781 net/core/filter.c si->dst_reg, si->src_reg, si 7786 net/core/filter.c si->dst_reg, si->src_reg, si 7791 net/core/filter.c si->dst_reg, si->src_reg, si 7794 net/core/filter.c si->dst_reg, si->dst_reg, si 7796 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7801 net/core/filter.c si->dst_reg, si->src_reg, si 7803 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 7824 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_FIELD_SIZEOF(S, F), si->dst_reg, \ si 7825 net/core/filter.c si->src_reg, offsetof(S, F)); \ si 7827 net/core/filter.c SIZE, si->dst_reg, si->dst_reg, \ si 7850 net/core/filter.c if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \ si 7852 net/core/filter.c if (si->src_reg == tmp_reg || si->dst_reg == tmp_reg) \ si 7854 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_DW, si->dst_reg, tmp_reg, \ si 7857 net/core/filter.c si->dst_reg, offsetof(S, F)); \ si 7858 net/core/filter.c *insn++ = BPF_STX_MEM(SIZE, tmp_reg, si->src_reg, \ si 7862 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_DW, tmp_reg, si->dst_reg, \ si 7883 net/core/filter.c const struct bpf_insn *si, si 7890 net/core/filter.c switch (si->off) { si 7899 net/core/filter.c sin_addr, BPF_SIZE(si->code), 0, tmp_reg); si 7903 net/core/filter.c off = si->off; si 7907 net/core/filter.c sin6_addr.s6_addr32[0], BPF_SIZE(si->code), off, si 7937 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_AND, si->dst_reg, SK_FL_TYPE_MASK); si 7938 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, SK_FL_TYPE_SHIFT); si 7945 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_AND, si->dst_reg, SK_FL_PROTO_MASK); si 7946 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, si 7954 net/core/filter.c s_addr, BPF_SIZE(si->code), 0, tmp_reg); si 7959 net/core/filter.c off = si->off; si 7964 net/core/filter.c s6_addr32[0], BPF_SIZE(si->code), off, tmp_reg); si 7968 net/core/filter.c si->dst_reg, si->src_reg, si 7977 net/core/filter.c const struct bpf_insn *si, si 7993 net/core/filter.c si->dst_reg, si->src_reg, \ si 7996 net/core/filter.c *insn++ = BPF_JMP_IMM(BPF_JEQ, si->dst_reg, 0, 2); \ si 7999 net/core/filter.c si->dst_reg, si->src_reg, \ si 8003 net/core/filter.c si->dst_reg, si->dst_reg, \ si 8024 net/core/filter.c if (si->dst_reg == reg || si->src_reg == reg) \ si 8026 net/core/filter.c if (si->dst_reg == reg || si->src_reg == reg) \ si 8028 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_DW, si->dst_reg, reg, \ si 8034 net/core/filter.c reg, si->dst_reg, \ si 8040 net/core/filter.c reg, si->dst_reg, \ si 8043 net/core/filter.c reg, si->src_reg, \ si 8045 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_DW, reg, si->dst_reg, \ si 8061 net/core/filter.c switch (si->off) { si 8070 net/core/filter.c off = si->off; si 8074 net/core/filter.c *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, si 8077 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, si 8086 net/core/filter.c si->dst_reg, si->src_reg, si 8088 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 8097 net/core/filter.c si->dst_reg, si->src_reg, si 8099 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8109 net/core/filter.c si->dst_reg, si->src_reg, si 8111 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8122 net/core/filter.c off = si->off; si 8126 net/core/filter.c si->dst_reg, si->src_reg, si 8128 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8133 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 8143 net/core/filter.c off = si->off; si 8147 net/core/filter.c si->dst_reg, si->src_reg, si 8149 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8154 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 8163 net/core/filter.c si->dst_reg, si->src_reg, si 8165 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 8168 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_LSH, si->dst_reg, 16); si 8177 net/core/filter.c si->dst_reg, si->src_reg, si 8179 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 8187 net/core/filter.c si->dst_reg, si->src_reg, si 8197 net/core/filter.c si->dst_reg, si->src_reg, si 8199 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_B, si->dst_reg, si->dst_reg, si 8211 net/core/filter.c si->dst_reg, si->src_reg, si 8213 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8294 net/core/filter.c si->dst_reg, si->src_reg, si 8297 net/core/filter.c *insn++ = BPF_JMP_IMM(BPF_JEQ, si->dst_reg, 0, 1); si 8300 net/core/filter.c si->dst_reg, si->src_reg, si 8308 net/core/filter.c const struct bpf_insn *si, si 8315 net/core/filter.c switch (si->off) { si 8317 net/core/filter.c off = si->off; si 8321 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_SIZEOF(void *), si->dst_reg, si 8322 net/core/filter.c si->src_reg, off); si 8325 net/core/filter.c return bpf_convert_ctx_access(type, si, insn_buf, prog, si 8333 net/core/filter.c const struct bpf_insn *si, si 8345 net/core/filter.c switch (si->off) { si 8348 net/core/filter.c si->dst_reg, si->src_reg, si 8353 net/core/filter.c si->dst_reg, si->src_reg, si 8361 net/core/filter.c si->dst_reg, si->src_reg, si 8363 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 8372 net/core/filter.c si->dst_reg, si->src_reg, si 8374 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8384 net/core/filter.c si->dst_reg, si->src_reg, si 8386 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8397 net/core/filter.c off = si->off; si 8401 net/core/filter.c si->dst_reg, si->src_reg, si 8403 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8408 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 8418 net/core/filter.c off = si->off; si 8422 net/core/filter.c si->dst_reg, si->src_reg, si 8424 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->dst_reg, si 8429 net/core/filter.c *insn++ = BPF_MOV32_IMM(si->dst_reg, 0); si 8438 net/core/filter.c si->dst_reg, si->src_reg, si 8440 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 8443 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_LSH, si->dst_reg, 16); si 8452 net/core/filter.c si->dst_reg, si->src_reg, si 8454 net/core/filter.c *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->dst_reg, si 8460 net/core/filter.c si->dst_reg, si->src_reg, si 8864 net/core/filter.c si->dst_reg, si->src_reg, \ si 8883 net/core/filter.c const struct bpf_insn *si, si 8890 net/core/filter.c switch (si->off) { si 8907 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_AND, si->dst_reg, SK_FL_PROTO_MASK); si 8908 net/core/filter.c *insn++ = BPF_ALU32_IMM(BPF_RSH, si->dst_reg, si 76 net/ipv4/inetpeer.c struct sysinfo si; si 79 net/ipv4/inetpeer.c si_meminfo(&si); si 84 net/ipv4/inetpeer.c if (si.totalram <= (32768*1024)/PAGE_SIZE) si 86 net/ipv4/inetpeer.c if (si.totalram <= (16384*1024)/PAGE_SIZE) si 88 net/ipv4/inetpeer.c if (si.totalram <= (8192*1024)/PAGE_SIZE) si 824 net/l2tp/l2tp_netlink.c int si = cb->args[1]; si 833 net/l2tp/l2tp_netlink.c session = l2tp_session_get_nth(tunnel, si); si 838 net/l2tp/l2tp_netlink.c si = 0; si 851 net/l2tp/l2tp_netlink.c si++; si 856 net/l2tp/l2tp_netlink.c cb->args[1] = si; si 1044 net/rds/ib_recv.c struct sysinfo si; si 1048 net/rds/ib_recv.c si_meminfo(&si); si 1049 net/rds/ib_recv.c rds_ib_sysctl_max_recv_allocation = si.totalram / 3 * PAGE_SIZE / RDS_FRAG_SIZE; si 848 net/sctp/associola.c asoc->stream.si->enqueue_event(&asoc->ulpq, event); si 1003 net/sctp/auth.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 110 net/sctp/chunk.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 264 net/sctp/chunk.c chunk = asoc->stream.si->make_datafrag(asoc, sinfo, len, frag, si 754 net/sctp/output.c asoc->stream.si->assign_number(chunk); si 573 net/sctp/outqueue.c q->asoc->stream.si->generate_ftsn(q, q->asoc->ctsn_ack_point); si 1365 net/sctp/outqueue.c asoc->stream.si->generate_ftsn(q, sack_ctsn); si 91 net/sctp/sm_make_chunk.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 620 net/sctp/sm_sideeffect.c asoc->stream.si->abort_pd(&asoc->ulpq, GFP_ATOMIC); si 965 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 1039 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 1049 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 1061 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 1333 net/sctp/sm_sideeffect.c asoc->stream.si->report_ftsn(&asoc->ulpq, cmd->obj.u32); si 1337 net/sctp/sm_sideeffect.c asoc->stream.si->handle_ftsn(&asoc->ulpq, si 1447 net/sctp/sm_sideeffect.c asoc->stream.si->ulpevent_data(&asoc->ulpq, si 1457 net/sctp/sm_sideeffect.c asoc->stream.si->enqueue_event(&asoc->ulpq, si 1703 net/sctp/sm_sideeffect.c asoc->stream.si->start_pd(&asoc->ulpq, GFP_ATOMIC); si 1707 net/sctp/sm_sideeffect.c asoc->stream.si->renege_events(&asoc->ulpq, si 4089 net/sctp/sm_statefuns.c if (!asoc->stream.si->validate_ftsn(chunk)) si 4156 net/sctp/sm_statefuns.c if (!asoc->stream.si->validate_ftsn(chunk)) si 6517 net/sctp/sm_statefuns.c if (!asoc->stream.si->validate_data(chunk)) si 2259 net/sctp/socket.c asoc->stream.si->enqueue_event(&asoc->ulpq, event); si 4448 net/sctp/socket.c asoc->stream.si->enqueue_event(&asoc->ulpq, event); si 9008 net/sctp/socket.c asoc->stream.si->enqueue_event(&asoc->ulpq, ev); si 725 net/sctp/stream.c asoc->stream.si->report_ftsn(&asoc->ulpq, max_tsn_seen); si 1002 net/sctp/stream.c asoc->stream.si->report_ftsn(&asoc->ulpq, mtsn); si 1361 net/sctp/stream_interleave.c stream->si = asoc->peer.intl_capable ? &sctp_stream_interleave_1 si 655 net/xfrm/xfrm_policy.c void xfrm_spd_getinfo(struct net *net, struct xfrmk_spdinfo *si) si 657 net/xfrm/xfrm_policy.c si->incnt = net->xfrm.policy_count[XFRM_POLICY_IN]; si 658 net/xfrm/xfrm_policy.c si->outcnt = net->xfrm.policy_count[XFRM_POLICY_OUT]; si 659 net/xfrm/xfrm_policy.c si->fwdcnt = net->xfrm.policy_count[XFRM_POLICY_FWD]; si 660 net/xfrm/xfrm_policy.c si->inscnt = net->xfrm.policy_count[XFRM_POLICY_IN+XFRM_POLICY_MAX]; si 661 net/xfrm/xfrm_policy.c si->outscnt = net->xfrm.policy_count[XFRM_POLICY_OUT+XFRM_POLICY_MAX]; si 662 net/xfrm/xfrm_policy.c si->fwdscnt = net->xfrm.policy_count[XFRM_POLICY_FWD+XFRM_POLICY_MAX]; si 663 net/xfrm/xfrm_policy.c si->spdhcnt = net->xfrm.policy_idx_hmask; si 664 net/xfrm/xfrm_policy.c si->spdhmcnt = xfrm_policy_hashmax; si 841 net/xfrm/xfrm_state.c void xfrm_sad_getinfo(struct net *net, struct xfrmk_sadinfo *si) si 844 net/xfrm/xfrm_state.c si->sadcnt = net->xfrm.state_num; si 845 net/xfrm/xfrm_state.c si->sadhcnt = net->xfrm.state_hmask + 1; si 846 net/xfrm/xfrm_state.c si->sadhmcnt = xfrm_state_hashmax; si 1107 net/xfrm/xfrm_user.c struct xfrmk_spdinfo si; si 1122 net/xfrm/xfrm_user.c xfrm_spd_getinfo(net, &si); si 1123 net/xfrm/xfrm_user.c spc.incnt = si.incnt; si 1124 net/xfrm/xfrm_user.c spc.outcnt = si.outcnt; si 1125 net/xfrm/xfrm_user.c spc.fwdcnt = si.fwdcnt; si 1126 net/xfrm/xfrm_user.c spc.inscnt = si.inscnt; si 1127 net/xfrm/xfrm_user.c spc.outscnt = si.outscnt; si 1128 net/xfrm/xfrm_user.c spc.fwdscnt = si.fwdscnt; si 1129 net/xfrm/xfrm_user.c sph.spdhcnt = si.spdhcnt; si 1130 net/xfrm/xfrm_user.c sph.spdhmcnt = si.spdhmcnt; si 1232 net/xfrm/xfrm_user.c struct xfrmk_sadinfo si; si 1244 net/xfrm/xfrm_user.c xfrm_sad_getinfo(net, &si); si 1246 net/xfrm/xfrm_user.c sh.sadhmcnt = si.sadhmcnt; si 1247 net/xfrm/xfrm_user.c sh.sadhcnt = si.sadhcnt; si 1249 net/xfrm/xfrm_user.c err = nla_put_u32(skb, XFRMA_SAD_CNT, si.sadcnt); si 548 sound/pci/au88x0/au88x0_eq.c int si = 0; si 554 sound/pci/au88x0/au88x0_eq.c if (vortex_Eqlzr_GetLeftGain(vortex, si, &gains[si])) si 557 sound/pci/au88x0/au88x0_eq.c (vortex, si, &gains[si + eq->this10])) si 559 sound/pci/au88x0/au88x0_eq.c si++; si 561 sound/pci/au88x0/au88x0_eq.c while (eq->this10 > si) ; si 562 sound/pci/au88x0/au88x0_eq.c *cnt = si * 2; si 99 sound/soc/codecs/rt5677-spi.c u32 w, i, si; si 104 sound/soc/codecs/rt5677-spi.c si = w + word_size - i - 1; si 105 sound/soc/codecs/rt5677-spi.c dst[w + i] = si < srclen ? src[si] : 0; si 352 tools/arch/s390/include/uapi/asm/ptrace.h unsigned si : 2; si 446 tools/lib/bpf/libbpf.c size_t pi, si; si 453 tools/lib/bpf/libbpf.c for (si = 0; si < symbols->d_size / sizeof(GElf_Sym) && !name; si 454 tools/lib/bpf/libbpf.c si++) { si 457 tools/lib/bpf/libbpf.c if (!gelf_getsym(symbols, si, &sym)) si 748 tools/lib/bpf/libbpf.c size_t si; si 753 tools/lib/bpf/libbpf.c for (si = 0; si < symbols->d_size / sizeof(GElf_Sym); si++) { si 756 tools/lib/bpf/libbpf.c if (!gelf_getsym(symbols, si, &sym)) si 79 tools/perf/arch/x86/util/perf_regs.c SDT_NAME_REG(esi, si), si 80 tools/perf/arch/x86/util/perf_regs.c SDT_NAME_REG(rsi, si), si 81 tools/perf/arch/x86/util/perf_regs.c SDT_NAME_REG(sil, si), si 374 tools/testing/selftests/bpf/bpf_helpers.h #define PT_REGS_PARM2(x) ((x)->si) si 11 tools/testing/selftests/filesystems/dnotify_test.c static void handler(int sig, siginfo_t *si, void *data) si 13 tools/testing/selftests/filesystems/dnotify_test.c event_fd = si->si_fd; si 43 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c siginfo_t si; si 45 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) si 47 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c if (si.si_pid != chld) si 49 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c if (si.si_code != CLD_TRAPPED) si 50 tools/testing/selftests/powerpc/ptrace/ptrace-syscall.c errx(1, "got unexpected event type %d\n", si.si_code); si 89 tools/testing/selftests/powerpc/signal/sigfuz.c static void trap_signal_handler(int signo, siginfo_t *si, void *uc) si 193 tools/testing/selftests/powerpc/signal/sigfuz.c static void seg_signal_handler(int signo, siginfo_t *si, void *uc) si 49 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c void usr_signal_handler(int signo, siginfo_t *si, void *uc) si 99 tools/testing/selftests/powerpc/tm/tm-signal-context-force-tm.c void seg_signal_handler(int signo, siginfo_t *si, void *uc) si 20 tools/testing/selftests/powerpc/tm/tm-signal-sigreturn-nt.c void trap_signal_handler(int signo, siginfo_t *si, void *uc) si 61 tools/testing/selftests/powerpc/tm/tm-trap.c void trap_signal_handler(int signo, siginfo_t *si, void *uc) si 179 tools/testing/selftests/powerpc/tm/tm-trap.c void usr1_signal_handler(int signo, siginfo_t *si, void *not_used) si 36 tools/testing/selftests/sigaltstack/sas.c void my_usr1(int sig, siginfo_t *si, void *u) si 79 tools/testing/selftests/sigaltstack/sas.c void my_usr2(int sig, siginfo_t *si, void *u) si 11 tools/testing/selftests/x86/check_initial_reg_state.c unsigned long ax, bx, cx, dx, si, di, bp, sp, flags; si 63 tools/testing/selftests/x86/check_initial_reg_state.c if (ax || bx || cx || dx || si || di || bp si 74 tools/testing/selftests/x86/check_initial_reg_state.c SHOW(si); si 64 tools/testing/selftests/x86/fsgsbase.c static void sigsegv(int sig, siginfo_t *si, void *ctx_void) si 74 tools/testing/selftests/x86/fsgsbase.c segv_addr = (unsigned long)si->si_addr; si 82 tools/testing/selftests/x86/fsgsbase.c static void sigill(int sig, siginfo_t *si, void *ctx_void) si 50 tools/testing/selftests/x86/ioperm.c static void sigsegv(int sig, siginfo_t *si, void *ctx_void) si 40 tools/testing/selftests/x86/iopl.c static void sigsegv(int sig, siginfo_t *si, void *ctx_void) si 117 tools/testing/selftests/x86/mov_ss_trap.c static void sigtrap(int sig, siginfo_t *si, void *ctx_void) si 126 tools/testing/selftests/x86/mov_ss_trap.c static void handle_and_return(int sig, siginfo_t *si, void *ctx_void) si 134 tools/testing/selftests/x86/mov_ss_trap.c static void handle_and_longjmp(int sig, siginfo_t *si, void *ctx_void) si 260 tools/testing/selftests/x86/protection_keys.c void signal_handler(int signum, siginfo_t *si, void *vucontext) si 283 tools/testing/selftests/x86/protection_keys.c trapno, ip, si_code_str(si->si_code), si->si_code); si 295 tools/testing/selftests/x86/protection_keys.c dprintf1("siginfo: %p\n", si); si 306 tools/testing/selftests/x86/protection_keys.c if ((si->si_code == SEGV_MAPERR) || si 307 tools/testing/selftests/x86/protection_keys.c (si->si_code == SEGV_ACCERR) || si 308 tools/testing/selftests/x86/protection_keys.c (si->si_code == SEGV_BNDERR)) { si 313 tools/testing/selftests/x86/protection_keys.c si_pkey_ptr = (u32 *)(((u8 *)si) + si_pkey_offset); si 86 tools/testing/selftests/x86/ptrace_syscall.c siginfo_t si; si 87 tools/testing/selftests/x86/ptrace_syscall.c if (waitid(P_PID, chld, &si, WEXITED|WSTOPPED) != 0) si 89 tools/testing/selftests/x86/ptrace_syscall.c if (si.si_pid != chld) si 91 tools/testing/selftests/x86/ptrace_syscall.c if (si.si_code != CLD_TRAPPED) si 92 tools/testing/selftests/x86/ptrace_syscall.c errx(1, "got unexpected event type %d\n", si.si_code); si 93 tools/testing/selftests/x86/ptrace_syscall.c return si; si 135 tools/testing/selftests/x86/ptrace_syscall.c static void empty_handler(int sig, siginfo_t *si, void *ctx_void) si 51 tools/testing/selftests/x86/syscall_nt.c static void sigtrap(int sig, siginfo_t *si, void *ctx_void)