Home
last modified time | relevance | path

Searched refs:index (Results 176 – 200 of 9956) sorted by relevance

12345678910>>...399

/openbmc/linux/fs/squashfs/
H A Dfile.c49 int index) in locate_meta_index() argument
244 index /= SQUASHFS_META_INDEXES * skip; in fill_meta_index()
246 while (offset < index) { in fill_meta_index()
254 offset = index < meta->offset + meta->entries ? index : in fill_meta_index()
348 if (res < index) { in read_blocklist()
416 if (i != page->index) in squashfs_copy_cache()
453 int index = page->index >> (msblk->block_log - PAGE_SHIFT); in squashfs_read_folio() local
455 int expected = index == file_end ? in squashfs_read_folio()
558 pgoff_t index; in squashfs_readahead() local
577 index = pages[0]->index >> shift; in squashfs_readahead()
[all …]
/openbmc/linux/drivers/video/fbdev/
H A Dsbuslib.c125 unsigned int index, count, i; in sbusfb_ioctl_helper() local
127 if (get_user(index, &c->index) || in sbusfb_ioctl_helper()
151 cmap.start = index + i; in sbusfb_ioctl_helper()
164 unsigned int index, count, i; in sbusfb_ioctl_helper() local
167 if (get_user(index, &c->index) || in sbusfb_ioctl_helper()
174 if (index > cmap->len || count > cmap->len - index) in sbusfb_ioctl_helper()
178 red = cmap->red[index + i] >> 8; in sbusfb_ioctl_helper()
244 cmap.start = c.index + i; in sbusfb_compat_ioctl()
257 unsigned int index, i; in sbusfb_compat_ioctl() local
262 index = c.index; in sbusfb_compat_ioctl()
[all …]
/openbmc/linux/drivers/char/agp/
H A Defficeon-agp.c160 int index, freed = 0; in efficeon_free_gatt_table() local
162 for (index = 0; index < EFFICEON_L1_SIZE; index++) { in efficeon_free_gatt_table()
165 efficeon_private.l1_table[index] = 0; in efficeon_free_gatt_table()
172 EFFICEON_ATTPAGE, index); in efficeon_free_gatt_table()
194 int index; in efficeon_create_gatt_table() local
208 for (index = 0 ; index < l1_pages ; index++) { in efficeon_create_gatt_table()
213 page = efficeon_private.l1_table[index]; in efficeon_create_gatt_table()
258 int index = pg_start + i; in efficeon_insert_memory() local
266 page += (index & 0x3ff); in efficeon_insert_memory()
299 int index = pg_start + i; in efficeon_remove_memory() local
[all …]
/openbmc/linux/fs/overlayfs/
H A Dnamei.c660 if (!d_is_dir(index) && d_inode(index)->i_nlink == 1) { in ovl_verify_index()
676 index, d_inode(index)->i_mode & S_IFMT, err); in ovl_verify_index()
681 index, d_inode(index)->i_mode & S_IFMT, in ovl_verify_index()
759 dput(index); in ovl_get_index_fh()
799 dput(index); in ovl_lookup_index()
812 index, d_inode(index)->i_mode & S_IFMT, in ovl_lookup_index()
839 dput(index); in ovl_lookup_index()
844 dput(index); in ovl_lookup_index()
1292 .index = index, in ovl_lookup()
1319 dput(index); in ovl_lookup()
[all …]
/openbmc/linux/include/linux/
H A Dnospec.h28 static inline unsigned long array_index_mask_nospec(unsigned long index, in array_index_mask_nospec() argument
36 OPTIMIZER_HIDE_VAR(index); in array_index_mask_nospec()
37 return ~(long)(index | (size - 1UL - index)) >> (BITS_PER_LONG - 1); in array_index_mask_nospec()
55 #define array_index_nospec(index, size) \ argument
57 typeof(index) _i = (index); \
/openbmc/linux/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_plane.c23 unsigned int index; member
118 splane->index, #reg, \ in __shmob_drm_plane_setup()
119 lcdc_read(sdev, reg(splane->index)), \ in __shmob_drm_plane_setup()
129 lcdc_write(sdev, LDBCR, LDBCR_UPC(splane->index)); in __shmob_drm_plane_setup()
133 lcdc_write(sdev, LDBnBSIFR(splane->index), format); in __shmob_drm_plane_setup()
135 lcdc_write(sdev, LDBnBSSZR(splane->index), in __shmob_drm_plane_setup()
138 lcdc_write(sdev, LDBnBLOCR(splane->index), in __shmob_drm_plane_setup()
141 lcdc_write(sdev, LDBnBSMWR(splane->index), in __shmob_drm_plane_setup()
151 LDBCR_UPF(splane->index) | LDBCR_UPD(splane->index)); in __shmob_drm_plane_setup()
218 lcdc_write(sdev, LDBnBSIFR(splane->index), 0); in shmob_drm_plane_disable()
[all …]
/openbmc/linux/drivers/tty/hvc/
H A Dhvc_console.c99 if (hp->index == index) { in hvc_get_by_index()
156 int r, donecr = 0, index = co->index; in hvc_console_print() local
177 r = cons_ops[index]->put_chars(vtermnos[index], c, i); in hvc_console_print()
194 hvc_console_flush(cons_ops[index], vtermnos[index]); in hvc_console_print()
202 *index = c->index; in hvc_console_device()
208 if (co->index < 0 || co->index >= MAX_NR_HVC_CONSOLES) in hvc_console_setup()
223 .index = -1,
275 if (index == hvc_console.index) in hvc_check_console()
289 if (index < 0 || index >= MAX_NR_HVC_CONSOLES) in hvc_instantiate()
705 if (hp->index == hvc_console.index) { in __hvc_poll()
[all …]
/openbmc/qemu/docs/
H A Dindex.rst14 about/index
15 system/index
16 user/index
17 tools/index
18 interop/index
19 specs/index
20 devel/index
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.h175 u32 index, bool enable);
177 u32 index, bool enable);
179 u32 index, bool enable);
181 u32 index, u32 divider);
183 u32 index, u32 divider);
185 u32 index, u32 divider);
187 u32 index, u32 step_time);
206 enum r600_power_level index,
213 enum r600_power_level index);
215 enum r600_power_level index);
[all …]
/openbmc/linux/arch/mips/sgi-ip27/
H A Dip27-klconfig.c20 int index, j; in find_component() local
23 index = 0; in find_component()
28 index = j; in find_component()
29 if (index == KLCF_NUM_COMPS(brd)) { in find_component()
33 index++; /* next component */ in find_component()
36 for (; index < KLCF_NUM_COMPS(brd); index++) { in find_component()
37 kli = KLCF_COMP(brd, index); in find_component()
/openbmc/qemu/tests/qemu-iotests/
H A D251120 index=0
123 filters+=" -e s/$ofs/status_fail_offset_$index/"
124 index=$((index + 1))
127 index=0
130 filters+=" -e s/$ofs/read_fail_offset_$index/"
131 index=$((index + 1))
/openbmc/linux/arch/mips/pci/
H A Dmsi-octeon.c70 int index; in arch_setup_msi_irq() local
124 for (index = 0; index < msi_irq_size/64; index++) { in arch_setup_msi_irq()
127 msi_free_irq_bitmask[index] |= search_mask << irq; in arch_setup_msi_irq()
148 irq += index*64; in arch_setup_msi_irq()
200 int index = 0; in arch_teardown_msi_irq() local
209 index = irq / 64; in arch_teardown_msi_irq()
219 (msi_multiple_irq_bitmask[index] in arch_teardown_msi_irq()
233 msi_free_irq_bitmask[index] &= ~bitmask; in arch_teardown_msi_irq()
234 msi_multiple_irq_bitmask[index] &= ~bitmask; in arch_teardown_msi_irq()
316 cvmx_write_csr(msi_rcv_reg[index], 1ull << bit); in __octeon_msi_do_interrupt()
[all …]
/openbmc/qemu/target/arm/tcg/
H A Dtranslate-a32.h53 bool mve_skip_vmov(DisasContext *s, int vn, int index, int size);
107 TCGv_i32 a32, int index, MemOp opc);
109 TCGv_i32 a32, int index, MemOp opc);
115 int index, MemOp opc);
117 int index, MemOp opc);
119 int index, MemOp opc);
121 int index, MemOp opc);
138 TCGv_i32 a32, int index) in gen_aa32_ld64() argument
140 gen_aa32_ld_i64(s, val, a32, index, MO_UQ); in gen_aa32_ld64()
144 TCGv_i32 a32, int index) in gen_aa32_st64() argument
[all …]
/openbmc/linux/drivers/video/fbdev/core/
H A Dfb_draw.h107 mask = FB_SHIFT_HIGH(p, ~(u32)0, index); in fb_shifted_pixels_mask_u32()
110 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; in fb_shifted_pixels_mask_u32()
111 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); in fb_shifted_pixels_mask_u32()
114 if(index + bswapmask < 32) in fb_shifted_pixels_mask_u32()
117 (index + bswapmask) & ~(bswapmask)); in fb_shifted_pixels_mask_u32()
123 u32 index, in fb_shifted_pixels_mask_long() argument
129 mask = FB_SHIFT_HIGH(p, ~0UL, index); in fb_shifted_pixels_mask_long()
132 mask = FB_SHIFT_LOW(p, mask, index & (bswapmask)) & mask; in fb_shifted_pixels_mask_long()
133 mask = FB_SHIFT_HIGH(p, mask, index & ~(bswapmask)); in fb_shifted_pixels_mask_long()
136 if(index + bswapmask < BITS_PER_LONG) in fb_shifted_pixels_mask_long()
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dehci-mxs.c89 int ehci_hcd_init(int index, enum usb_init_type init, in ehci_hcd_init() argument
97 if ((index < 0) || (index >= ARRAY_SIZE(mxs_port))) { in ehci_hcd_init()
98 printf("Invalid port index (index = %d)!\n", index); in ehci_hcd_init()
102 ret = board_ehci_hcd_init(index); in ehci_hcd_init()
106 port = &mxs_port[index]; in ehci_hcd_init()
135 int ehci_hcd_stop(int index) in ehci_hcd_stop() argument
143 if ((index < 0) || (index >= ARRAY_SIZE(mxs_port))) { in ehci_hcd_stop()
144 printf("Invalid port index (index = %d)!\n", index); in ehci_hcd_stop()
148 port = &mxs_port[index]; in ehci_hcd_stop()
170 board_ehci_hcd_exit(index); in ehci_hcd_stop()
/openbmc/linux/Documentation/staging/
H A Dspeculation.rst24 int load_array(int *array, unsigned int index)
26 if (index >= MAX_ARRAY_ELEMS)
29 return array[index];
34 CMP <index>, #MAX_ARRAY_ELEMS
39 LDR <returnval>, [<array>, <index>]
43 speculatively loads array[index], even if index >= MAX_ARRAY_ELEMS. This
55 val1 = load_array(arr1, index);
78 A call to array_index_nospec(index, size) returns a sanitized index
86 if (index >= MAX_ARRAY_ELEMS)
89 index = array_index_nospec(index, MAX_ARRAY_ELEMS);
[all …]
/openbmc/linux/drivers/iio/accel/
H A Dsca3300.c82 .scan_index = index, \
99 .scan_index = index, \
111 .scan_index = index, \
357 if ((index < 0) || (index >= sca_data->chip->num_avail_modes)) in sca3300_set_op_mode()
381 *index = i; in sca3300_get_op_mode()
388 unsigned int index; in sca3300_set_frequency() local
419 int index; in sca3300_write_raw() local
450 int index; in sca3300_read_raw() local
465 index = data->chip->incli_scale_map[index]; in sca3300_read_raw()
470 index = data->chip->accel_scale_map[index]; in sca3300_read_raw()
[all …]
/openbmc/u-boot/net/
H A Deth_common.c15 int eth_env_get_enetaddr_by_index(const char *base_name, int index, in eth_env_get_enetaddr_by_index() argument
19 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_get_enetaddr_by_index()
23 int eth_env_set_enetaddr_by_index(const char *base_name, int index, in eth_env_set_enetaddr_by_index() argument
27 sprintf(enetvar, index ? "%s%daddr" : "%saddr", base_name, index); in eth_env_set_enetaddr_by_index()
43 int eth_mac_skip(int index) in eth_mac_skip() argument
48 sprintf(enetvar, index ? "eth%dmacskip" : "ethmacskip", index); in eth_mac_skip()
/openbmc/linux/net/batman-adv/
H A Dhash.h81 u32 index; in batadv_hash_add() local
90 index = choose(data, hash->size); in batadv_hash_add()
91 head = &hash->table[index]; in batadv_hash_add()
92 list_lock = &hash->list_locks[index]; in batadv_hash_add()
134 u32 index; in batadv_hash_remove() local
139 index = choose(data, hash->size); in batadv_hash_remove()
140 head = &hash->table[index]; in batadv_hash_remove()
142 spin_lock_bh(&hash->list_locks[index]); in batadv_hash_remove()
152 spin_unlock_bh(&hash->list_locks[index]); in batadv_hash_remove()
/openbmc/linux/mm/
H A Dtruncate.c336 pgoff_t index; in truncate_inode_pages_range() local
362 index = start; in truncate_inode_pages_range()
363 while (index < end && find_lock_entries(mapping, &index, end - 1, in truncate_inode_pages_range()
382 end = folio->index; in truncate_inode_pages_range()
400 index = start; in truncate_inode_pages_range()
401 while (index < end) { in truncate_inode_pages_range()
406 if (index == start) in truncate_inode_pages_range()
409 index = start; in truncate_inode_pages_range()
623 pgoff_t index; in invalidate_inode_pages2_range() local
633 index = start; in invalidate_inode_pages2_range()
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gvt/
H A Dgtt.c1002 unsigned long index; in ppgtt_invalidate_spt() local
1408 int index; in sync_oos_page() local
1417 for (index = 0; index < (I915_GTT_PAGE_SIZE >> in sync_oos_page()
1666 unsigned long index; in intel_vgpu_flush_post_shadow() local
1678 &ge, index); in intel_vgpu_flush_post_shadow()
1711 index); in ppgtt_handle_guest_write_page_table_bytes()
1760 int index; in invalidate_ppgtt_mm() local
1765 for (index = 0; index < ARRAY_SIZE(mm->ppgtt_mm.shadow_pdps); index++) { in invalidate_ppgtt_mm()
1791 int index, ret; in shadow_ppgtt_mm() local
1801 for (index = 0; index < ARRAY_SIZE(mm->ppgtt_mm.guest_pdps); index++) { in shadow_ppgtt_mm()
[all …]
/openbmc/qemu/hw/usb/
H A Dhcd-dwc2.c126 if (s->hreg1[index + 2] & s->hreg1[index + 3]) { in dwc2_update_hc_irq()
247 chan = index >> 3; in dwc2_handle_packet()
315 p->index = index; in dwc2_handle_packet()
396 p->index = index; in dwc2_handle_packet()
418 assert(port->index == 0); in dwc2_attach()
683 val = s->glbreg[index]; in dwc2_glbreg_read()
811 val = s->fszreg[index]; in dwc2_fszreg_read()
857 val = s->hreg0[index]; in dwc2_hreg0_read()
980 val = s->hreg1[index]; in dwc2_hreg1_read()
1040 trace_usb_dwc2_hreg1_write(addr, hreg1nm[index & 7], index >> 3, orig, in dwc2_hreg1_write()
[all …]
/openbmc/linux/drivers/media/platform/ti/omap3isp/
H A Disph3a_af.c36 int index; in h3a_af_setup_regs() local
76 for (index = 0; index <= 8; index += 2) { in h3a_af_setup_regs()
79 coef |= conf->iir.coeff_set0[index]; in h3a_af_setup_regs()
88 coef |= conf->iir.coeff_set1[index]; in h3a_af_setup_regs()
158 int index; in h3a_af_validate_params() local
199 for (index = 0; index < OMAP3ISP_AF_NUM_COEF; index++) { in h3a_af_validate_params()
232 int index; in h3a_af_set_params() local
261 for (index = 0; index < OMAP3ISP_AF_NUM_COEF; index++) { in h3a_af_set_params()
262 if (cur_cfg->iir.coeff_set0[index] != in h3a_af_set_params()
263 user_cfg->iir.coeff_set0[index]) { in h3a_af_set_params()
[all …]
/openbmc/linux/arch/s390/kernel/
H A Dirq.c235 int index = *(loff_t *) v; in show_interrupts() local
239 if (index == 0) { in show_interrupts()
245 if (index < NR_IRQS_BASE) { in show_interrupts()
253 if (index < nr_irqs) { in show_interrupts()
254 show_msi_interrupt(p, index); in show_interrupts()
257 for (index = 0; index < NR_ARCH_IRQS; index++) { in show_interrupts()
304 int index; in register_external_irq() local
311 index = ext_hash(code); in register_external_irq()
324 int index = ext_hash(code); in unregister_external_irq() local
343 int index; in do_ext_interrupt() local
[all …]
/openbmc/linux/arch/ia64/kernel/
H A Diosapic.c556 int index; in register_intr() local
560 if (index < 0) { in register_intr()
784 int irq, index; in iosapic_unregister_intr() local
970 int index; in iosapic_alloc() local
972 for (index = 0; index < NR_IOSAPICS; index++) in iosapic_alloc()
974 return index; in iosapic_alloc()
989 int index; in iosapic_check_gsi_range() local
994 for (index = 0; index < NR_IOSAPICS; index++) { in iosapic_check_gsi_range()
1093 if (index < 0) { in iosapic_remove()
1126 int index; in map_iosapic_to_node() local
[all …]

12345678910>>...399