Home
last modified time | relevance | path

Searched full:si (Results 1 – 25 of 677) sorted by relevance

12345678910>>...28

/linux/fs/f2fs/
H A Ddebug.c34 struct f2fs_stat_info *si = F2FS_STAT(sbi); in f2fs_update_sit_info() local
55 si->bimodal = div64_u64(bimodal, dist); in f2fs_update_sit_info()
56 if (si->dirty_count) in f2fs_update_sit_info()
57 si->avg_vblocks = div_u64(total_vblocks, ndirty); in f2fs_update_sit_info()
59 si->avg_vblocks = 0; in f2fs_update_sit_info()
65 struct f2fs_stat_info *si = F2FS_STAT(sbi); in update_multidevice_stats() local
66 struct f2fs_dev_stats *dev_stats = si->dev_stats; in update_multidevice_stats()
129 struct f2fs_stat_info *si = F2FS_STAT(sbi); in update_general_status() local
134 si->main_area_segs = le32_to_cpu(raw_super->segment_count_main); in update_general_status()
135 si->main_area_sections = le32_to_cpu(raw_super->section_count); in update_general_status()
[all …]
/linux/fs/ocfs2/
H A Dslot_map.c44 static int __ocfs2_node_num_to_slot(struct ocfs2_slot_info *si,
47 static void ocfs2_invalidate_slot(struct ocfs2_slot_info *si, in ocfs2_invalidate_slot() argument
50 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_invalidate_slot()
51 si->si_slots[slot_num].sl_valid = 0; in ocfs2_invalidate_slot()
54 static void ocfs2_set_slot(struct ocfs2_slot_info *si, in ocfs2_set_slot() argument
57 BUG_ON((slot_num < 0) || (slot_num >= si->si_num_slots)); in ocfs2_set_slot()
59 si->si_slots[slot_num].sl_valid = 1; in ocfs2_set_slot()
60 si->si_slots[slot_num].sl_node_num = node_num; in ocfs2_set_slot()
64 static void ocfs2_update_slot_info_extended(struct ocfs2_slot_info *si) in ocfs2_update_slot_info_extended() argument
70 for (b = 0; b < si->si_blocks; b++) { in ocfs2_update_slot_info_extended()
[all …]
/linux/fs/xfs/scrub/
H A Dxfarray.c374 # define xfarray_sort_bump_loads(si) do { (si)->loads++; } while (0) argument
375 # define xfarray_sort_bump_stores(si) do { (si)->stores++; } while (0) argument
376 # define xfarray_sort_bump_compares(si) do { (si)->compares++; } while (0) argument
377 # define xfarray_sort_bump_heapsorts(si) do { (si)->heapsorts++; } while (0) argument
379 # define xfarray_sort_bump_loads(si) argument
380 # define xfarray_sort_bump_stores(si) argument
381 # define xfarray_sort_bump_compares(si) argument
382 # define xfarray_sort_bump_heapsorts(si) argument
388 struct xfarray_sortinfo *si, in xfarray_sort_load() argument
392 xfarray_sort_bump_loads(si); in xfarray_sort_load()
[all …]
/linux/drivers/net/ethernet/freescale/enetc/
H A Denetc_pf.c15 static void enetc_pf_get_primary_mac_addr(struct enetc_hw *hw, int si, u8 *addr) in enetc_pf_get_primary_mac_addr() argument
17 u32 upper = __raw_readl(hw->port + ENETC_PSIPMAR0(si)); in enetc_pf_get_primary_mac_addr()
18 u16 lower = __raw_readw(hw->port + ENETC_PSIPMAR1(si)); in enetc_pf_get_primary_mac_addr()
24 static void enetc_pf_set_primary_mac_addr(struct enetc_hw *hw, int si, in enetc_pf_set_primary_mac_addr() argument
30 __raw_writel(upper, hw->port + ENETC_PSIPMAR0(si)); in enetc_pf_set_primary_mac_addr()
31 __raw_writew(lower, hw->port + ENETC_PSIPMAR1(si)); in enetc_pf_set_primary_mac_addr()
56 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_enable_si_vlan_promisc()
62 enetc_set_vlan_promisc(&pf->si->hw, pf->vlan_promisc_simap); in enetc_disable_si_vlan_promisc()
65 static void enetc_set_isol_vlan(struct enetc_hw *hw, int si, u16 vlan, u8 qos) in enetc_set_isol_vlan() argument
72 enetc_port_wr(hw, ENETC_PSIVLANR(si), val); in enetc_set_isol_vlan()
[all …]
H A Denetc_msg.c22 struct enetc_si *si = (struct enetc_si *)data; in enetc_msg_psi_msix() local
23 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_psi_msix()
25 enetc_msg_disable_mr_int(&si->hw); in enetc_msg_psi_msix()
34 struct enetc_hw *hw = &pf->si->hw; in enetc_msg_task()
64 static int enetc_msg_alloc_mbx(struct enetc_si *si, int idx) in enetc_msg_alloc_mbx() argument
66 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_alloc_mbx()
67 struct device *dev = &si->pdev->dev; in enetc_msg_alloc_mbx()
68 struct enetc_hw *hw = &si->hw; in enetc_msg_alloc_mbx()
93 static void enetc_msg_free_mbx(struct enetc_si *si, int idx) in enetc_msg_free_mbx() argument
95 struct enetc_pf *pf = enetc_si_priv(si); in enetc_msg_free_mbx()
[all …]
H A Denetc.h300 int (*get_rss_table)(struct enetc_si *si, u32 *table, int count);
301 int (*set_rss_table)(struct enetc_si *si, const u32 *table, int count);
317 int num_rx_rings; /* how many rings are available in the SI */
334 static inline bool is_enetc_rev1(struct enetc_si *si) in is_enetc_rev1() argument
336 return si->pdev->revision == ENETC_REV1; in is_enetc_rev1()
339 static inline void *enetc_si_priv(const struct enetc_si *si) in enetc_si_priv() argument
341 return (char *)si + ALIGN(sizeof(struct enetc_si), ENETC_SI_ALIGN); in enetc_si_priv()
344 static inline bool enetc_si_is_pf(struct enetc_si *si) in enetc_si_is_pf() argument
346 return !!(si->hw.port); in enetc_si_is_pf()
435 struct enetc_si *si; member
[all …]
/linux/mm/
H A Dswapfile.c56 static void swap_entries_free(struct swap_info_struct *si,
59 static void swap_range_alloc(struct swap_info_struct *si,
62 static void move_cluster(struct swap_info_struct *si,
122 struct swap_info_struct *si[SWAP_NR_ORDERS]; member
128 .si = { NULL },
167 static long swap_usage_in_pages(struct swap_info_struct *si) in swap_usage_in_pages() argument
169 return atomic_long_read(&si->inuse_pages) & SWAP_USAGE_COUNTER_MASK; in swap_usage_in_pages()
182 static bool swap_only_has_cache(struct swap_info_struct *si, in swap_only_has_cache() argument
185 unsigned char *map = si->swap_map + offset; in swap_only_has_cache()
197 static bool swap_is_last_map(struct swap_info_struct *si, in swap_is_last_map() argument
[all …]
H A Dswap.h71 struct swap_info_struct *si; in __swap_type_to_info() local
73 si = READ_ONCE(swap_info[type]); /* rcu_dereference() */ in __swap_type_to_info()
74 VM_WARN_ON_ONCE(percpu_ref_is_zero(&si->users)); /* race with swapoff */ in __swap_type_to_info()
75 return si; in __swap_type_to_info()
84 struct swap_info_struct *si, pgoff_t offset) in __swap_offset_to_cluster() argument
86 VM_WARN_ON_ONCE(percpu_ref_is_zero(&si->users)); /* race with swapoff */ in __swap_offset_to_cluster()
87 VM_WARN_ON_ONCE(offset >= si->max); in __swap_offset_to_cluster()
88 return &si->cluster_info[offset / SWAPFILE_CLUSTER]; in __swap_offset_to_cluster()
98 struct swap_info_struct *si, unsigned long offset, bool irq) in __swap_cluster_lock() argument
100 struct swap_cluster_info *ci = __swap_offset_to_cluster(si, offset); in __swap_cluster_lock()
[all …]
/linux/include/linux/
H A Dscreen_info.h23 static inline u64 __screen_info_lfb_base(const struct screen_info *si) in __screen_info_lfb_base()
25 u64 lfb_base = si->lfb_base; in __screen_info_lfb_base()
27 if (si->capabilities & VIDEO_CAPABILITY_64BIT_BASE) in __screen_info_lfb_base()
28 lfb_base |= (u64)si->ext_lfb_base << 32; in __screen_info_lfb_base()
33 static inline void __screen_info_set_lfb_base(struct screen_info *si, u64 lfb_base) in __screen_info_set_lfb_base()
35 si->lfb_base = lfb_base & GENMASK_ULL(31, 0); in __screen_info_set_lfb_base()
36 si->ext_lfb_base = (lfb_base & GENMASK_ULL(63, 32)) >> 32; in __screen_info_set_lfb_base()
38 if (si->ext_lfb_base) in __screen_info_set_lfb_base()
39 si->capabilities |= VIDEO_CAPABILITY_64BIT_BASE; in __screen_info_set_lfb_base()
41 si in __screen_info_set_lfb_base()
22 __screen_info_lfb_base(const struct screen_info * si) __screen_info_lfb_base() argument
32 __screen_info_set_lfb_base(struct screen_info * si,u64 lfb_base) __screen_info_set_lfb_base() argument
43 __screen_info_lfb_size(const struct screen_info * si,unsigned int type) __screen_info_lfb_size() argument
52 __screen_info_vbe_mode_nonvga(const struct screen_info * si) __screen_info_vbe_mode_nonvga() argument
92 screen_info_video_type(const struct screen_info * si) screen_info_video_type() argument
137 screen_info_pci_dev(const struct screen_info * si) screen_info_pci_dev() argument
[all...]
/linux/arch/s390/kernel/
H A Dperf_event.c117 struct hws_qsi_info_block si; in print_debug_sf() local
120 memset(&si, 0, sizeof(si)); in print_debug_sf()
121 if (qsi(&si)) in print_debug_sf()
125 cpu, si.as, si.ad, si.min_sampl_rate, si.max_sampl_rate, in print_debug_sf()
126 si.cpu_speed); in print_debug_sf()
128 if (si.as) in print_debug_sf()
131 si.as, si.es, si.cs, si.bsdes, si.tear, si.dear); in print_debug_sf()
132 if (si.ad) in print_debug_sf()
135 si.ad, si.ed, si.cd, si.dsdes, si.tear, si.dear); in print_debug_sf()
165 struct hws_qsi_info_block si; in sl_print_sampling() local
[all …]
/linux/drivers/clk/
H A Dclk-si521xx.c60 struct si521xx *si; member
197 struct si521xx *si = si_clk->si; in si521xx_diff_prepare() local
199 regmap_set_bits(si->regmap, SI521XX_REG_OE(si_clk->reg), si_clk->bit); in si521xx_diff_prepare()
207 struct si521xx *si = si_clk->si; in si521xx_diff_unprepare() local
209 regmap_clear_bits(si->regmap, SI521XX_REG_OE(si_clk->reg), si_clk->bit); in si521xx_diff_unprepare()
220 static int si521xx_get_common_config(struct si521xx *si) in si521xx_get_common_config() argument
222 struct i2c_client *client = si->client; in si521xx_get_common_config()
228 si->pll_amplitude = SI521XX_REG_DA_AMP(SI521XX_REG_DA_AMP_DEFAULT); in si521xx_get_common_config()
239 si->pll_amplitude = SI521XX_REG_DA_AMP(amp); in si521xx_get_common_config()
245 static void si521xx_update_config(struct si521xx *si) in si521xx_update_config() argument
[all …]
/linux/drivers/video/fbdev/
H A Dvesafb.c246 struct screen_info *si; in vesafb_probe() local
260 si = dev_get_platdata(&dev->dev); in vesafb_probe()
261 if (!si) in vesafb_probe()
263 si = devm_kmemdup(&dev->dev, si, sizeof(*si), GFP_KERNEL); in vesafb_probe()
264 if (!si) in vesafb_probe()
271 if (si->orig_video_isVGA != VIDEO_TYPE_VLFB) in vesafb_probe()
274 vga_compat = !__screen_info_vbe_mode_nonvga(si); in vesafb_probe()
275 vesafb_fix.smem_start = si->lfb_base; in vesafb_probe()
276 vesafb_defined.bits_per_pixel = si->lfb_depth; in vesafb_probe()
279 vesafb_defined.xres = si->lfb_width; in vesafb_probe()
[all …]
/linux/drivers/firmware/efi/libstub/
H A Dscreen_info.c26 struct screen_info *si; in __alloc_screen_info() local
30 sizeof(*si), (void **)&si); in __alloc_screen_info()
35 memset(si, 0, sizeof(*si)); in __alloc_screen_info()
38 &screen_info_guid, si); in __alloc_screen_info()
40 return si; in __alloc_screen_info()
42 efi_bs_call(free_pool, si); in __alloc_screen_info()
46 void free_screen_info(struct screen_info *si) in free_screen_info() argument
48 if (!si) in free_screen_info()
52 efi_bs_call(free_pool, si); in free_screen_info()
/linux/drivers/video/
H A Dscreen_info_pci.c13 static bool __screen_info_relocation_is_valid(const struct screen_info *si, struct resource *pr) in __screen_info_relocation_is_valid() argument
15 u64 size = __screen_info_lfb_size(si, screen_info_video_type(si)); in __screen_info_relocation_is_valid()
29 struct screen_info *si = &screen_info; in screen_info_apply_fixups() local
35 if (__screen_info_relocation_is_valid(si, pr)) { in screen_info_apply_fixups()
40 __screen_info_set_lfb_base(si, pr->start + screen_info_lfb_offset); in screen_info_apply_fixups()
50 static int __screen_info_lfb_pci_bus_region(const struct screen_info *si, unsigned int type, in __screen_info_lfb_pci_bus_region() argument
55 base = __screen_info_lfb_base(si); in __screen_info_lfb_pci_bus_region()
59 size = __screen_info_lfb_size(si, type); in __screen_info_lfb_pci_bus_region()
78 const struct screen_info *si = &screen_info; in screen_info_fixup_lfb() local
83 type = screen_info_video_type(si); in screen_info_fixup_lfb()
[all …]
/linux/Documentation/translations/sp_SP/process/
H A Dmaintainer-kvm-x86.rst68 versiones "normales". Si todo va bien, las ramas temáticas son subidas en
94 expectativas realistas. Si está haciendo ping para la aceptación, es decir,
115 necesidad de seleccionar una rama temática específica como base. Si hay
119 La única excepción al uso de ``kvm-x86/next`` como base es si un
125 ``kvm-x86 next``. Si no está seguro de si un parche/serie es realmente
132 la prioridad número uno en KVM x86. Si todo lo demás falla, haga coincidir
156 código hace literalmente; deje que el código hable por sí mismo. Si el
168 número, especialmente en los comentarios. En su lugar, si es necesario
216 Si un parche afecta a varios temas, recorra el árbol conceptual hasta
222 en la lista si desea proponer la introducción de un nuevo tema, es decir,
[all …]
H A Dsubmitting-patches.rst12 el proceso puede en ocasiones resultar desalentador si no se está
27 Si no está familiarizado con ``git``, le recomendamos que aprenda a
38 Si no tiene a mano un repositorio con el código fuente actual del kernel,
49 pregunte al maintainer si el árbol no está listado allí.
64 evidentes. Incluso si se detectó un problema durante la revisión del
74 Cuantifique optimizaciones y beneficios/perdidas. Si asegura mejoras en
93 Resuelva solo un problema por parche. Si su descripción comienza a ser muy
109 Cambié xyzzy para que haga frotz", como si estuviera dando órdenes al
112 Si desea hacer referencia a un commit específico, no se limite a hacer
129 Si las discusiones relacionadas o cualquier otra información relativa al
[all …]
H A Dadding-syscalls.rst19 La primera cosa a considerar cuando se agrega una llamada al sistema es si
25 - Si se puede hacer que la operación se parezca a un objeto filesystem,
31 - Si la nueva funcionalidad involucra operaciones donde el kernel
41 - Si sólo está exponiendo información del runtime, un nuevo nodo en sysfs
49 - Si la operación es específica a un archivo o descriptor de archivo
58 - Si la operación es específica a un proceso o tarea particular, entonces
82 de forma segura estos flags entre versiones del kernel, revise si los flags
84 ``EINVAL``) si ocurre::
89 (Si no hay valores de flags usados aún, revise que los argumentos del flag
125 Si su nueva llamada al sistema permite al userspace hacer referencia a un
[all …]
H A Dhandling-regressions.rst14 desde el punto de vista de un usuario; si nunca ha leído ese texto, realice
34 * Para reportes enviados por correo, verificar si contiene alguna línea
35 como ``#regzbot introduced v5.13..v5.14-rc1``. Si no, mandar una
80 * Si un informe enviado a un gestor de defectos, llega a su correo,
82 la lista de antemano, si la persona que lo ha informado, lo ha enviado
90 * Para los informes enviados por email, verificar si se ha incluido un
91 comando a "regzbot", como ``#regzbot introduced 1f2e3d4c5b6a``. Si no es
137 * Si el culpable ha sido "mergeado" en un ciclo de desarrollo anterior,
183 desarrollo antes de que este acabe. Si se teme que una corrección
188 liberación si fuese necesario, por ejemplo si aparecieran múltiples
[all …]
/linux/net/core/
H A Dfilter.c7235 const struct bpf_insn *si, in bpf_tcp_sock_convert_ctx_access() argument
7246 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access()
7258 si->dst_reg, si->src_reg, \ in bpf_tcp_sock_convert_ctx_access()
7266 switch (si->off) { in bpf_tcp_sock_convert_ctx_access()
7273 *insn++ = BPF_LDX_MEM(BPF_W, si->dst_reg, si->src_reg, in bpf_tcp_sock_convert_ctx_access()
7429 const struct bpf_insn *si, in bpf_xdp_sock_convert_ctx_access() argument
7440 si->dst_reg, si->src_reg, \ in bpf_xdp_sock_convert_ctx_access()
7446 switch (si->off) { in bpf_xdp_sock_convert_ctx_access()
9505 const struct bpf_insn *si, in flow_dissector_convert_ctx_access() argument
9513 switch (si->off) { in flow_dissector_convert_ctx_access()
[all …]
/linux/drivers/input/touchscreen/
H A Dcyttsp5.c280 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_touch_record() local
285 si->tch_abs[abs].size, in cyttsp5_get_touch_record()
286 si->tch_abs[abs].max, in cyttsp5_get_touch_record()
287 xy_data + si->tch_abs[abs].ofs, in cyttsp5_get_touch_record()
288 si->tch_abs[abs].bofs); in cyttsp5_get_touch_record()
294 struct cyttsp5_sysinfo *si = &ts->sysinfo; in cyttsp5_get_mt_touches() local
317 tmp = tch->abs[CY_TCH_MAJ] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
318 tch->abs[CY_TCH_MAJ] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches()
319 tmp = tch->abs[CY_TCH_MIN] * 100 * si->sensing_conf_data.res_x; in cyttsp5_get_mt_touches()
320 tch->abs[CY_TCH_MIN] = tmp / si->sensing_conf_data.len_x; in cyttsp5_get_mt_touches()
[all …]
/linux/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
H A Dfsl,qe-si.yaml4 $id: http://devicetree.org/schemas/soc/fsl/cpm_qe/fsl,qe-si.yaml#
7 title: Freescale QUICC Engine module Serial Interface Block (SI)
13 The SI manages the routing of eight TDM lines to the QE block serial drivers,
21 - fsl,ls1043-qe-si
22 - const: fsl,t1040-qe-si
24 - fsl,t1040-qe-si
37 si@700 {
38 compatible = "fsl,t1040-qe-si";
/linux/drivers/firmware/
H A Dsysfb.c42 static struct device *sysfb_parent_dev(const struct screen_info *si);
69 struct screen_info *si = &screen_info; in sysfb_disable() local
73 parent = sysfb_parent_dev(si); in sysfb_disable()
95 const struct screen_info *si = &screen_info; in sysfb_handles_screen_info() local
97 return !!screen_info_video_type(si); in sysfb_handles_screen_info()
124 static struct device *sysfb_parent_dev(const struct screen_info *si) in sysfb_parent_dev() argument
128 pdev = screen_info_pci_dev(si); in sysfb_parent_dev()
144 struct screen_info *si = &screen_info; in sysfb_init() local
160 parent = sysfb_parent_dev(si); in sysfb_init()
167 compatible = sysfb_parse_mode(si, &mode); in sysfb_init()
[all …]
/linux/drivers/xen/
H A Dmanage.c59 struct suspend_info *si = data; in xen_suspend() local
74 si->cancelled = HYPERVISOR_suspend(xen_pv_domain() in xen_suspend()
78 xen_arch_post_suspend(si->cancelled); in xen_suspend()
79 xen_manage_runstate_time(si->cancelled ? 1 : 0); in xen_suspend()
82 if (!si->cancelled) { in xen_suspend()
95 struct suspend_info si; in do_suspend() local
129 si.cancelled = 0; in do_suspend()
135 si.cancelled = 1; in do_suspend()
137 err = stop_machine(xen_suspend, &si, cpumask_of(0)); in do_suspend()
140 if (!si.cancelled) in do_suspend()
[all …]
/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_ethtool.c258 int i, si; in aq_ethtool_get_strings() local
282 for (si = 0; si < rx_stat_cnt; si++) { in aq_ethtool_get_strings()
284 aq_ethtool_queue_rx_stat_names[si], in aq_ethtool_get_strings()
288 for (si = 0; si < tx_stat_cnt; si++) { in aq_ethtool_get_strings()
290 aq_ethtool_queue_tx_stat_names[si], in aq_ethtool_get_strings()
306 for (si = 0; si < rx_stat_cnt; si++) { in aq_ethtool_get_strings()
308 aq_ethtool_queue_rx_stat_names[si], in aq_ethtool_get_strings()
314 for (si = 0; si < tx_stat_cnt; si++) { in aq_ethtool_get_strings()
316 aq_ethtool_queue_tx_stat_names[si], in aq_ethtool_get_strings()
335 for (si = 0; in aq_ethtool_get_strings()
[all …]
/linux/Documentation/translations/it_IT/locking/
H A Dlocktypes.rst120 nuovi casi d'uso si dovrebbero usare meccanismi diversi, come mutex e
167 Sui kernel non-PREEMPT_RT le operazioni local_lock si traducono
183 cosa si applichi la protezione cosa che invece non si può fare con le
200 - Tutte le modifiche a spinlock_t si applicano anche a local_lock
232 Sui kernel non-PREEMPT_RT, spinlock_t si traduce in un raw_spinlock_t ed ha
238 Sui kernel PREEMPT_RT, spinlock_t ha un'implementazione dedicata che si basa
265 - Lo stato di un'attività si mantiene durante le acquisizioni del blocco al
266 fine di garantire che le regole basate sullo stato delle attività si possano
269 cambiare lo stato se l'attività si blocca durante l'acquisizione. Dunque,
309 Sui kernel non-PREEMPT_RT questo è un blocco ad attesa e per i suoi suffissi si
[all …]

12345678910>>...28