Home
last modified time | relevance | path

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

12345678910>>...12

/Linux-v4.19/fs/f2fs/
Ddebug.c32 struct f2fs_stat_info *si = F2FS_STAT(sbi); in update_general_status() local
36 si->hit_largest = atomic64_read(&sbi->read_hit_largest); in update_general_status()
37 si->hit_cached = atomic64_read(&sbi->read_hit_cached); in update_general_status()
38 si->hit_rbtree = atomic64_read(&sbi->read_hit_rbtree); in update_general_status()
39 si->hit_total = si->hit_largest + si->hit_cached + si->hit_rbtree; in update_general_status()
40 si->total_ext = atomic64_read(&sbi->total_hit_ext); in update_general_status()
41 si->ext_tree = atomic_read(&sbi->total_ext_tree); in update_general_status()
42 si->zombie_tree = atomic_read(&sbi->total_zombie_tree); in update_general_status()
43 si->ext_node = atomic_read(&sbi->total_ext_node); in update_general_status()
44 si->ndirty_node = get_pages(sbi, F2FS_DIRTY_NODES); in update_general_status()
[all …]
/Linux-v4.19/fs/ocfs2/
Dslot_map.c62 static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si,
65 static void ocfs2_invalidate_slot(struct ocfs2_slot_info *si, in ocfs2_invalidate_slot() argument
68 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot()
69 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot()
72 static void ocfs2_set_slot(struct ocfs2_slot_info *si, in ocfs2_set_slot() argument
75 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot()
77 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot()
78 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot()
82 static void ocfs2_update_slot_info_extended(struct ocfs2_slot_info *si) in ocfs2_update_slot_info_extended() argument
88 for (b = 0; b < si->si_blocks; b++) { in ocfs2_update_slot_info_extended()
[all …]
/Linux-v4.19/drivers/firmware/efi/libstub/
Dgop.c39 setup_pixel_info(struct screen_info *si, u32 pixels_per_scan_line, in setup_pixel_info() argument
43 si->lfb_depth = 32; in setup_pixel_info()
44 si->lfb_linelength = pixels_per_scan_line * 4; in setup_pixel_info()
45 si->red_size = 8; in setup_pixel_info()
46 si->red_pos = 0; in setup_pixel_info()
47 si->green_size = 8; in setup_pixel_info()
48 si->green_pos = 8; in setup_pixel_info()
49 si->blue_size = 8; in setup_pixel_info()
50 si->blue_pos = 16; in setup_pixel_info()
51 si->rsvd_size = 8; in setup_pixel_info()
[all …]
Darm32-stub.c35 struct screen_info *si; in alloc_screen_info() local
45 sizeof(*si), (void **)&si); in alloc_screen_info()
51 &screen_info_guid, si); in alloc_screen_info()
53 return si; in alloc_screen_info()
55 efi_call_early(free_pool, si); in alloc_screen_info()
59 void free_screen_info(efi_system_table_t *sys_table_arg, struct screen_info *si) in free_screen_info() argument
61 if (!si) in free_screen_info()
65 efi_call_early(free_pool, si); in free_screen_info()
/Linux-v4.19/drivers/input/touchscreen/
Dcyttsp4_core.c82 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs() local
86 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs()
87 si->xy_mode); in cyttsp4_load_status_regs()
92 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs()
93 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs()
162 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_si_data_offsets() local
163 int rc = cyttsp4_adap_read(cd, CY_REG_BASE, sizeof(si->si_data), in cyttsp4_si_data_offsets()
164 &si->si_data); in cyttsp4_si_data_offsets()
172 cyttsp4_pr_buf(cd->dev, cd->pr_buf, (u8 *)&si->si_data, in cyttsp4_si_data_offsets()
173 sizeof(si->si_data), "sysinfo_data_offsets"); in cyttsp4_si_data_offsets()
[all …]
/Linux-v4.19/arch/s390/kernel/
Dperf_event.c135 struct hws_qsi_info_block si; in print_debug_sf() local
138 memset(&si, 0, sizeof(si)); in print_debug_sf()
139 if (qsi(&si)) in print_debug_sf()
143 cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, in print_debug_sf()
144 si.cpu_speed); in print_debug_sf()
146 if (si.as) in print_debug_sf()
149 si.as, si.es, si.cs, si.bsdes, si.tear, si.dear); in print_debug_sf()
150 if (si.ad) in print_debug_sf()
153 si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); in print_debug_sf()
183 struct hws_qsi_info_block si; in sl_print_sampling() local
[all …]
Dlgr.c69 struct sysinfo_1_1_1 *si = (void *) lgr_page; in lgr_stsi_1_1_1() local
71 if (stsi(si, 1, 1, 1)) in lgr_stsi_1_1_1()
73 cpascii(lgr_info->manufacturer, si->manufacturer, in lgr_stsi_1_1_1()
74 sizeof(si->manufacturer)); in lgr_stsi_1_1_1()
75 cpascii(lgr_info->type, si->type, sizeof(si->type)); in lgr_stsi_1_1_1()
76 cpascii(lgr_info->model, si->model, sizeof(si->model)); in lgr_stsi_1_1_1()
77 cpascii(lgr_info->sequence, si->sequence, sizeof(si->sequence)); in lgr_stsi_1_1_1()
78 cpascii(lgr_info->plant, si->plant, sizeof(si->plant)); in lgr_stsi_1_1_1()
86 struct sysinfo_2_2_2 *si = (void *) lgr_page; in lgr_stsi_2_2_2() local
88 if (stsi(si, 2, 2, 2)) in lgr_stsi_2_2_2()
[all …]
/Linux-v4.19/mm/
Dswapfile.c108 __try_to_reclaim_swap(struct swap_info_struct *si, unsigned long offset) in __try_to_reclaim_swap() argument
110 swp_entry_t entry = swp_entry(si->type, offset); in __try_to_reclaim_swap()
136 static int discard_swap(struct swap_info_struct *si) in discard_swap() argument
144 se = &si->first_swap_extent; in discard_swap()
148 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
155 list_for_each_entry(se, &si->first_swap_extent.list, list) { in discard_swap()
159 err = blkdev_issue_discard(si->bdev, start_block, in discard_swap()
173 static void discard_swap_cluster(struct swap_info_struct *si, in discard_swap_cluster() argument
176 struct swap_extent *se = si->curr_swap_extent; in discard_swap_cluster()
192 si->curr_swap_extent = se; in discard_swap_cluster()
[all …]
Dfrontswap.c118 struct swap_info_struct *si; in frontswap_register_ops() local
125 plist_for_each_entry(si, &swap_active_head, list) { in frontswap_register_ops()
126 if (!WARN_ON(!si->frontswap_map)) in frontswap_register_ops()
127 set_bit(si->type, a); in frontswap_register_ops()
147 plist_for_each_entry(si, &swap_active_head, list) { in frontswap_register_ops()
148 if (si->frontswap_map) in frontswap_register_ops()
149 set_bit(si->type, b); in frontswap_register_ops()
375 struct swap_info_struct *si = NULL; in __frontswap_curr_pages() local
378 plist_for_each_entry(si, &swap_active_head, list) in __frontswap_curr_pages()
379 totalpages += atomic_read(&si->frontswap_pages); in __frontswap_curr_pages()
[all …]
/Linux-v4.19/arch/x86/kernel/
Dsysfb_simplefb.c31 __init bool parse_mode(const struct screen_info *si, in parse_mode() argument
38 type = si->orig_video_isVGA; in parse_mode()
44 if (si->lfb_depth == f->bits_per_pixel && in parse_mode()
45 si->red_size == f->red.length && in parse_mode()
46 si->red_pos == f->red.offset && in parse_mode()
47 si->green_size == f->green.length && in parse_mode()
48 si->green_pos == f->green.offset && in parse_mode()
49 si->blue_size == f->blue.length && in parse_mode()
50 si->blue_pos == f->blue.offset && in parse_mode()
51 si->rsvd_size == f->transp.length && in parse_mode()
[all …]
Dsysfb.c43 struct screen_info *si = &screen_info; in sysfb_init() local
53 compatible = parse_mode(si, &mode); in sysfb_init()
55 ret = create_simplefb(si, &mode); in sysfb_init()
61 if (si->orig_video_isVGA == VIDEO_TYPE_EFI) in sysfb_init()
63 else if (si->orig_video_isVGA == VIDEO_TYPE_VLFB) in sysfb_init()
69 NULL, 0, si, sizeof(*si)); in sysfb_init()
/Linux-v4.19/drivers/gpu/drm/vmwgfx/
Dvmwgfx_msg.c92 unsigned long eax, ebx, ecx, edx, si = 0, di = 0; in vmw_open_channel() local
95 (protocol | GUESTMSG_FLAG_COOKIE), si, di, in vmw_open_channel()
98 eax, ebx, ecx, edx, si, di); in vmw_open_channel()
104 channel->cookie_high = si; in vmw_open_channel()
121 unsigned long eax, ebx, ecx, edx, si, di; in vmw_close_channel() local
124 si = channel->cookie_high; in vmw_close_channel()
128 0, si, di, in vmw_close_channel()
131 eax, ebx, ecx, edx, si, di); in vmw_close_channel()
151 unsigned long eax, ebx, ecx, edx, si, di, bp; in vmw_send_msg() local
160 si = channel->cookie_high; in vmw_send_msg()
[all …]
Dvmwgfx_msg.h58 eax, ebx, ecx, edx, si, di) \ argument
65 "=S"(si), \
102 eax, ebx, ecx, edx, si, di) \ argument
112 "=S"(si), \
127 eax, ebx, ecx, edx, si, di) \ argument
137 "=S"(si), \
161 eax, ebx, ecx, edx, si, di) \ argument
173 "=S"(si), \
188 eax, ebx, ecx, edx, si, di) \ argument
200 "=S"(si), \
/Linux-v4.19/fs/exofs/
Dore.c306 ore_calc_stripe_info(layout, offset, length, &ios->si); in ore_get_rw_state()
307 ios->length = ios->si.length; in ore_get_rw_state()
541 u64 length, struct ore_striping_info *si) in ore_calc_stripe_info() argument
569 div_u64_rem(file_offset, stripe_unit, &si->unit_off); in ore_calc_stripe_info()
571 si->obj_offset = si->unit_off + (N * stripe_unit) + in ore_calc_stripe_info()
573 si->cur_comp = C - first_dev; in ore_calc_stripe_info()
574 si->cur_pg = si->unit_off / PAGE_SIZE; in ore_calc_stripe_info()
581 si->par_dev = (group_width + group_width - parity - RxP) % in ore_calc_stripe_info()
583 si->dev = (group_width + group_width + C - RxP) % in ore_calc_stripe_info()
585 si->bytes_in_stripe = U; in ore_calc_stripe_info()
[all …]
Dore_raid.c291 struct ore_striping_info *si, struct page *page) in _ore_add_stripe_page() argument
297 _1ps = &sp2d->_1p_stripes[si->cur_pg]; in _ore_add_stripe_page()
298 _1ps->pages[si->cur_comp] = page; in _ore_add_stripe_page()
301 si->cur_pg = (si->cur_pg + 1) % sp2d->pages_in_unit; in _ore_add_stripe_page()
372 static int _add_to_r4w(struct ore_io_state *ios, struct ore_striping_info *si, in _add_to_r4w() argument
378 unsigned first_dev = si->dev - (si->dev % in _add_to_r4w()
380 unsigned comp = si->dev - first_dev; in _add_to_r4w()
402 per_dev->offset = si->obj_offset; in _add_to_r4w()
403 per_dev->dev = si->dev; in _add_to_r4w()
404 } else if (si->obj_offset != (per_dev->offset + per_dev->length)) { in _add_to_r4w()
[all …]
/Linux-v4.19/include/linux/iio/imu/
Dadis.h161 #define ADIS_VOLTAGE_CHAN(addr, si, chan, name, info_all, bits) { \ argument
170 .scan_index = (si), \
179 #define ADIS_SUPPLY_CHAN(addr, si, info_all, bits) \ argument
180 ADIS_VOLTAGE_CHAN(addr, si, 0, "supply", info_all, bits)
182 #define ADIS_AUX_ADC_CHAN(addr, si, info_all, bits) \ argument
183 ADIS_VOLTAGE_CHAN(addr, si, 1, NULL, info_all, bits)
185 #define ADIS_TEMP_CHAN(addr, si, info_all, bits) { \ argument
194 .scan_index = (si), \
203 #define ADIS_MOD_CHAN(_type, mod, addr, si, info_sep, info_all, bits) { \ argument
212 .scan_index = (si), \
[all …]
/Linux-v4.19/arch/mips/sgi-ip27/
Dip27-irq-pci.c68 struct slice_data *si = cpu_data[cpu].data; in alloc_level() local
76 si->level_to_irq[level] = irq; in alloc_level()
86 struct slice_data *si = cpu_data[cpu].data; in find_level() local
89 if (si->level_to_irq[i] == irq) { in find_level()
102 struct slice_data *si = cpu_data[cpu].data; in intr_connect_level() local
104 set_bit(bit, si->irq_enable_mask); in intr_connect_level()
107 REMOTE_HUB_S(nasid, PI_INT_MASK0_A, si->irq_enable_mask[0]); in intr_connect_level()
108 REMOTE_HUB_S(nasid, PI_INT_MASK1_A, si->irq_enable_mask[1]); in intr_connect_level()
110 REMOTE_HUB_S(nasid, PI_INT_MASK0_B, si->irq_enable_mask[0]); in intr_connect_level()
111 REMOTE_HUB_S(nasid, PI_INT_MASK1_B, si->irq_enable_mask[1]); in intr_connect_level()
[all …]
Dip27-irq.c123 struct slice_data *si = cpu_data[cpu].data; in ip27_do_irq_mask0() local
125 irq = si->level_to_irq[swlevel]; in ip27_do_irq_mask0()
138 struct slice_data *si = cpu_data[cpu].data; in ip27_do_irq_mask1() local
150 irq = si->level_to_irq[swlevel]; in ip27_do_irq_mask1()
192 struct slice_data *si = cpu_data[cpu].data; in install_ipi() local
198 __set_bit(resched, si->irq_enable_mask); in install_ipi()
203 __set_bit(call, si->irq_enable_mask); in install_ipi()
207 LOCAL_HUB_S(PI_INT_MASK0_A, si->irq_enable_mask[0]); in install_ipi()
208 LOCAL_HUB_S(PI_INT_MASK1_A, si->irq_enable_mask[1]); in install_ipi()
210 LOCAL_HUB_S(PI_INT_MASK0_B, si->irq_enable_mask[0]); in install_ipi()
[all …]
/Linux-v4.19/net/core/
Dfilter.c5740 const struct bpf_insn *si, in bpf_convert_ctx_access() argument
5747 switch (si->off) { in bpf_convert_ctx_access()
5749 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
5755 *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
5761 *insn++ = BPF_LDX_MEM(BPF_H, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
5768 *insn++ = BPF_STX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
5772 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
5778 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
5785 si->dst_reg, si->src_reg, in bpf_convert_ctx_access()
5787 *insn++ = BPF_JMP_IMM(BPF_JEQ, si->dst_reg, 0, 1); in bpf_convert_ctx_access()
[all …]
/Linux-v4.19/drivers/xen/
Dmanage.c63 struct suspend_info *si = data; in xen_suspend() local
78 si->cancelled = HYPERVISOR_suspend(xen_pv_domain() in xen_suspend()
82 xen_arch_post_suspend(si->cancelled); in xen_suspend()
83 xen_manage_runstate_time(si->cancelled ? 1 : 0); in xen_suspend()
86 if (!si->cancelled) { in xen_suspend()
99 struct suspend_info si; in do_suspend() local
127 si.cancelled = 0; in do_suspend()
133 si.cancelled = 1; in do_suspend()
135 err = stop_machine(xen_suspend, &si, cpumask_of(0)); in do_suspend()
138 if (!si.cancelled) in do_suspend()
[all …]
/Linux-v4.19/arch/x86/platform/efi/
Dearly_printk.c129 struct screen_info *si; in early_efi_write() local
134 si = &boot_params.screen_info; in early_efi_write()
135 len = si->lfb_linelength; in early_efi_write()
147 linemax = (si->lfb_width - efi_x) / font->width; in early_efi_write()
182 if (efi_x >= si->lfb_width) { in early_efi_write()
187 if (efi_y + font->height > si->lfb_height) { in early_efi_write()
201 struct screen_info *si; in early_efi_setup() local
205 si = &boot_params.screen_info; in early_efi_setup()
206 xres = si->lfb_width; in early_efi_setup()
207 yres = si->lfb_height; in early_efi_setup()
[all …]
/Linux-v4.19/drivers/firmware/arm_scmi/
Dsensors.c76 struct sensors_info *si) in scmi_sensor_attributes_get() argument
91 si->num_sensors = le16_to_cpu(attr->num_sensors); in scmi_sensor_attributes_get()
92 si->max_requests = attr->max_requests; in scmi_sensor_attributes_get()
93 si->reg_addr = le32_to_cpu(attr->reg_addr_low) | in scmi_sensor_attributes_get()
95 si->reg_size = le32_to_cpu(attr->reg_size); in scmi_sensor_attributes_get()
103 struct sensors_info *si) in scmi_sensor_description_get() argument
129 if (desc_index + num_returned > si->num_sensors) { in scmi_sensor_description_get()
131 si->num_sensors); in scmi_sensor_description_get()
140 s = &si->sensors[desc_index + cnt]; in scmi_sensor_description_get()
237 struct sensors_info *si = handle->sensor_priv; in scmi_sensor_info_get() local
[all …]
/Linux-v4.19/fs/sysv/
Dinode.c176 struct sysv_inode_info * si; in sysv_iget() local
212 si = SYSV_I(inode); in sysv_iget()
215 (u8 *)&si->i_data[block]); in sysv_iget()
217 si->i_dir_start_lookup = 0; in sysv_iget()
220 old_decode_dev(fs32_to_cpu(sbi, si->i_data[0]))); in sysv_iget()
237 struct sysv_inode_info * si; in __sysv_write_inode() local
262 si = SYSV_I(inode); in __sysv_write_inode()
264 si->i_data[0] = cpu_to_fs32(sbi, old_encode_dev(inode->i_rdev)); in __sysv_write_inode()
266 write3byte(sbi, (u8 *)&si->i_data[block], in __sysv_write_inode()
308 struct sysv_inode_info *si; in sysv_alloc_inode() local
[all …]
/Linux-v4.19/arch/mips/sni/
Dsetup.c42 struct screen_info *si = &screen_info; in sni_display_setup() local
48 si->orig_x = di->CursorXPosition; in sni_display_setup()
49 si->orig_y = di->CursorYPosition; in sni_display_setup()
50 si->orig_video_cols = di->CursorMaxXPosition; in sni_display_setup()
51 si->orig_video_lines = di->CursorMaxYPosition; in sni_display_setup()
52 si->orig_video_isVGA = VIDEO_TYPE_VGAC; in sni_display_setup()
53 si->orig_video_points = 16; in sni_display_setup()
/Linux-v4.19/arch/ia64/kernel/
Dsignal.c113 struct siginfo si; in ia64_rt_sigreturn() local
156 clear_siginfo(&si); in ia64_rt_sigreturn()
157 si.si_signo = SIGSEGV; in ia64_rt_sigreturn()
158 si.si_errno = 0; in ia64_rt_sigreturn()
159 si.si_code = SI_KERNEL; in ia64_rt_sigreturn()
160 si.si_pid = task_pid_vnr(current); in ia64_rt_sigreturn()
161 si.si_uid = from_kuid_munged(current_user_ns(), current_uid()); in ia64_rt_sigreturn()
162 si.si_addr = sc; in ia64_rt_sigreturn()
163 force_sig_info(SIGSEGV, &si, current); in ia64_rt_sigreturn()
238 struct siginfo si; in force_sigsegv_info() local
[all …]

12345678910>>...12