Searched refs:index (Results 201 - 225 of 6121) sorted by relevance

1234567891011>>

/linux-master/drivers/net/ethernet/realtek/
H A Dr8169_firmware.c91 size_t index; local
93 for (index = 0; index < pa->size; index++) {
94 u32 action = le32_to_cpu(pa->code[index]);
114 if (regno > index)
118 if (index + 2 >= pa->size)
124 if (index + 1 + regno >= pa->size)
146 size_t index; local
148 for (index
[all...]
/linux-master/drivers/md/dm-vdo/indexer/
H A Dindex-layout.h14 * The index layout describes the format of the index on the underlying storage, and is responsible
15 * for creating those structures when the index is first created. It also validates the index data
16 * when loading a saved index, and updates it when saving the index.
30 struct uds_index *index);
33 struct uds_index *index);
/linux-master/fs/squashfs/
H A Dblock.c80 struct address_space *cache_mapping, u64 index, int length,
104 * Compare these to the original required index and length to
109 if (idx == 0 && index != read_start)
111 else if (idx == page_count - 1 && index + length != read_end)
170 pgoff_t index)
177 page = find_get_page(mapping, index);
189 static int squashfs_bio_read(struct super_block *sb, u64 index, int length, argument
194 const u64 read_start = round_down(index, msblk->devblksize);
196 const u64 read_end = round_up(index + length, msblk->devblksize);
198 int offset = read_start - round_down(index, PAGE_SIZ
79 squashfs_bio_read_cached(struct bio *fullbio, struct address_space *cache_mapping, u64 index, int length, u64 read_start, u64 read_end, int page_count) argument
169 squashfs_get_cache_page(struct address_space *mapping, pgoff_t index) argument
213 pgoff_t index = (read_start >> PAGE_SHIFT) + i; local
263 squashfs_read_data(struct super_block *sb, u64 index, int length, u64 *next_index, struct squashfs_page_actor *output) argument
[all...]
/linux-master/lib/
H A Dtest_xarray.c35 static void *xa_mk_index(unsigned long index) argument
37 return xa_mk_value(index & LONG_MAX);
40 static void *xa_store_index(struct xarray *xa, unsigned long index, gfp_t gfp) argument
42 return xa_store(xa, index, xa_mk_index(index), gfp);
45 static void xa_insert_index(struct xarray *xa, unsigned long index) argument
47 XA_BUG_ON(xa, xa_insert(xa, index, xa_mk_index(index),
51 static void xa_alloc_index(struct xarray *xa, unsigned long index, gfp_t gfp) argument
55 XA_BUG_ON(xa, xa_alloc(xa, &id, xa_mk_index(index), xa_limit_32
60 xa_erase_index(struct xarray *xa, unsigned long index) argument
71 xa_store_order(struct xarray *xa, unsigned long index, unsigned order, void *entry, gfp_t gfp) argument
175 check_xa_mark_1(struct xarray *xa, unsigned long index) argument
257 unsigned long index; local
315 unsigned long index; local
482 unsigned long index; local
584 check_multi_store_1(struct xarray *xa, unsigned long index, unsigned int order) argument
609 check_multi_store_2(struct xarray *xa, unsigned long index, unsigned int order) argument
623 check_multi_store_3(struct xarray *xa, unsigned long index, unsigned int order) argument
732 check_xa_multi_store_adv_add(struct xarray *xa, unsigned long index, unsigned int order, void *p) argument
759 check_xa_multi_store_adv_del_entry(struct xarray *xa, unsigned long index, unsigned int order) argument
770 check_xa_multi_store_adv_delete(struct xarray *xa, unsigned long index, unsigned int order) argument
780 test_get_entry(struct xarray *xa, unsigned long index) argument
817 unsigned long index, base, next_index, next_next_index; local
983 unsigned long index; local
1036 unsigned long index; local
1167 unsigned long index; local
1201 unsigned long index = 1UL << i; local
1223 unsigned long index = 1UL << (order - 5); local
1250 unsigned long index = k; local
1283 unsigned long i, j, index; local
1328 unsigned long index = 0; local
1384 unsigned long offset, index; local
1417 unsigned long index = 1; local
1608 xa_store_many_order(struct xarray *xa, unsigned long index, unsigned order) argument
1631 check_create_range_1(struct xarray *xa, unsigned long index, unsigned order) argument
1662 check_create_range_4(struct xarray *xa, unsigned long index, unsigned order) argument
1694 check_create_range_5(struct xarray *xa, unsigned long index, unsigned int order) argument
1782 check_split_1(struct xarray *xa, unsigned long index, unsigned int order, unsigned int new_order) argument
1830 unsigned long index; local
1905 check_workingset(struct xarray *xa, unsigned long index) argument
1989 unsigned long index; local
[all...]
/linux-master/include/linux/
H A Dxarray.h292 * If the only non-NULL entry in the array is at index 0, @xa_head is that
351 void *xa_load(struct xarray *, unsigned long index);
352 void *xa_store(struct xarray *, unsigned long index, void *entry, gfp_t);
353 void *xa_erase(struct xarray *, unsigned long index);
356 bool xa_get_mark(struct xarray *, unsigned long index, xa_mark_t);
357 void xa_set_mark(struct xarray *, unsigned long index, xa_mark_t);
358 void xa_clear_mark(struct xarray *, unsigned long index, xa_mark_t);
359 void *xa_find(struct xarray *xa, unsigned long *index,
361 void *xa_find_after(struct xarray *xa, unsigned long *index,
426 * @index
585 xa_store_bh(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) argument
612 xa_store_irq(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) argument
638 xa_erase_bh(struct xarray *xa, unsigned long index) argument
662 xa_erase_irq(struct xarray *xa, unsigned long index) argument
688 xa_cmpxchg(struct xarray *xa, unsigned long index, void *old, void *entry, gfp_t gfp) argument
716 xa_cmpxchg_bh(struct xarray *xa, unsigned long index, void *old, void *entry, gfp_t gfp) argument
744 xa_cmpxchg_irq(struct xarray *xa, unsigned long index, void *old, void *entry, gfp_t gfp) argument
774 xa_insert(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) argument
804 xa_insert_bh(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) argument
834 xa_insert_irq(struct xarray *xa, unsigned long index, void *entry, gfp_t gfp) argument
1076 xa_reserve(struct xarray *xa, unsigned long index, gfp_t gfp) argument
1094 xa_reserve_bh(struct xarray *xa, unsigned long index, gfp_t gfp) argument
1112 xa_reserve_irq(struct xarray *xa, unsigned long index, gfp_t gfp) argument
1126 xa_release(struct xarray *xa, unsigned long index) argument
1554 xa_get_order(struct xarray *xa, unsigned long index) argument
1614 xas_set(struct xa_state *xas, unsigned long index) argument
1630 xas_advance(struct xa_state *xas, unsigned long index) argument
1644 xas_set_order(struct xa_state *xas, unsigned long index, unsigned int order) argument
[all...]
/linux-master/drivers/sbus/char/
H A Dbbc_envctrl.c108 fp->index,
132 tp->index,
147 if (tp->curr_amb_temp >= amb_temp_limits[tp->index].high_shutdown ||
148 tp->curr_amb_temp < amb_temp_limits[tp->index].low_shutdown) {
151 } else if (tp->curr_cpu_temp >= cpu_temp_limits[tp->index].high_shutdown ||
152 tp->curr_cpu_temp < cpu_temp_limits[tp->index].low_shutdown) {
159 tp->index, type, val);
175 amb_temp_limits[tp->index].high_warn) {
178 tp->index, (int) tp->curr_amb_temp);
181 amb_temp_limits[tp->index]
[all...]
/linux-master/drivers/perf/
H A Dapple_m1_cpu_pmu.c188 static u64 m1_pmu_read_hw_counter(unsigned int index) argument
190 switch (index) {
206 static void m1_pmu_write_hw_counter(u64 val, unsigned int index) argument
208 switch (index) {
224 #define get_bit_offset(index, mask) (__ffs(mask) + (index))
226 static void __m1_pmu_enable_counter(unsigned int index, bool en) argument
230 switch (index) {
232 bit = BIT(get_bit_offset(index, PMCR0_CNT_ENABLE_0_7));
235 bit = BIT(get_bit_offset(index
251 m1_pmu_enable_counter(unsigned int index) argument
256 m1_pmu_disable_counter(unsigned int index) argument
261 __m1_pmu_enable_counter_interrupt(unsigned int index, bool en) argument
286 m1_pmu_enable_counter_interrupt(unsigned int index) argument
291 m1_pmu_disable_counter_interrupt(unsigned int index) argument
296 m1_pmu_configure_counter(unsigned int index, u8 event, bool user, bool kernel) argument
[all...]
/linux-master/drivers/hid/
H A Dhid-zydacron.c115 unsigned short index; local
120 for (index = 0; index < 4; index++) {
121 key = zc->last_key[index];
124 zc->last_key[index] = 0;
135 index = 0;
139 index = 1;
143 index = 2;
147 index
[all...]
/linux-master/drivers/hwmon/
H A Dadm1025.c166 int index = to_sensor_dev_attr(attr)->index; local
168 return sprintf(buf, "%u\n", IN_FROM_REG(data->in[index],
169 in_scale[index]));
175 int index = to_sensor_dev_attr(attr)->index; local
177 return sprintf(buf, "%u\n", IN_FROM_REG(data->in_min[index],
178 in_scale[index]));
184 int index = to_sensor_dev_attr(attr)->index; local
193 int index = to_sensor_dev_attr(attr)->index; local
201 int index = to_sensor_dev_attr(attr)->index; local
209 int index = to_sensor_dev_attr(attr)->index; local
217 int index = to_sensor_dev_attr(attr)->index; local
238 int index = to_sensor_dev_attr(attr)->index; local
279 int index = to_sensor_dev_attr(attr)->index; local
301 int index = to_sensor_dev_attr(attr)->index; local
[all...]
/linux-master/fs/netfs/
H A Dmisc.c15 int netfs_xa_store_and_mark(struct xarray *xa, unsigned long index, argument
19 XA_STATE_ORDER(xas, xa, index, folio_order(folio));
48 pgoff_t index, pgoff_t to, gfp_t gfp_mask)
53 if (to + 1 == index) /* Page range is inclusive */
61 folio->index = index;
62 ret = netfs_xa_store_and_mark(buffer, index, folio,
69 index += folio_nr_pages(folio);
70 } while (index <= to && index !
46 netfs_add_folios_to_buffer(struct xarray *buffer, struct address_space *mapping, pgoff_t index, pgoff_t to, gfp_t gfp_mask) argument
[all...]
/linux-master/tools/perf/ui/browsers/
H A Dscripts.c29 int index; member in struct:script_config
52 c->names[c->index] = name;
53 if (asprintf(&c->paths[c->index],
58 c->index++;
68 if (c->index >= SCRIPT_MAX_NO)
70 c->names[c->index] = strdup(var + 7);
71 if (!c->names[c->index])
73 if (asprintf(&c->paths[c->index], "%s %s", value,
76 c->index++;
115 custom_perf = scriptc.index;
[all...]
/linux-master/drivers/scsi/isci/
H A Dremote_node_table.c65 * @remote_node_table: This is the remote node index table from which the
67 * @group_table_index: This is the index to the group table from which to
104 * @group_index: This is the bit index in the table to be modified.
106 * This method will clear the group index entry in the specified group index
136 * This method will set the group index bit entry in the specified gropu index
162 * @remote_node_index: This is the remote node index that is being returned to
195 * @remote_node_index: This is the remote node index which is to be cleared
198 * This method clears the remote node index fro
317 u32 index; local
383 u8 index; local
[all...]
/linux-master/arch/mips/pci/
H A Dmsi-octeon.c70 int index; local
124 for (index = 0; index < msi_irq_size/64; index++) {
126 if ((msi_free_irq_bitmask[index] & (search_mask << irq)) == 0) {
127 msi_free_irq_bitmask[index] |= search_mask << irq;
128 msi_multiple_irq_bitmask[index] |= (search_mask >> 1) << irq;
148 irq += index*64;
200 int index = 0; local
209 index
307 __octeon_msi_do_interrupt(int index, u64 msi_bits) argument
[all...]
/linux-master/arch/powerpc/include/asm/book3s/64/
H A Dhash-64k.h68 * real_pte_t hash index
119 #define HIDX_BITS(x, index) (x << (index << 2))
120 #define BITS_TO_HIDX(x, index) ((x >> (index << 2)) & 0xfUL)
123 static inline unsigned long __rpte_to_hidx(real_pte_t rpte, unsigned long index) argument
125 return HIDX_UNSHIFT_BY_ONE(BITS_TO_HIDX(rpte.hidx, index));
153 extern bool __rpte_sub_valid(real_pte_t rpte, unsigned long index);
158 #define pte_iterate_hashed_subpages(rpte, psize, vpn, index, shift) \
164 for (index
227 hpte_valid(unsigned char *hpte_slot_array, int index) argument
232 hpte_hash_index(unsigned char *hpte_slot_array, int index) argument
238 mark_hpte_slot_valid(unsigned char *hpte_slot_array, unsigned int index, unsigned int hidx) argument
[all...]
/linux-master/drivers/media/usb/dvb-usb/
H A Ddvb-usb-remote.c17 unsigned int index; local
21 index = ke->index;
27 for (index = 0; index < keymap_size; index++)
28 if (keymap[index].scancode == scancode)
32 if (index >= keymap_size) {
33 for (index = 0; index < keymap_siz
51 unsigned int index; local
74 unsigned int index; local
[all...]
/linux-master/drivers/media/platform/ti/omap3isp/
H A Disph3a_af.c36 int index; local
76 for (index = 0; index <= 8; index += 2) {
79 coef |= conf->iir.coeff_set0[index];
80 coef |= conf->iir.coeff_set0[index + 1] <<
88 coef |= conf->iir.coeff_set1[index];
89 coef |= conf->iir.coeff_set1[index + 1] <<
158 int index; local
199 for (index
232 int index; local
[all...]
/linux-master/drivers/gpu/drm/renesas/shmobile/
H A Dshmob_drm_plane.c25 unsigned int index; member in struct:shmob_drm_plane
102 splane->index, #reg, \
103 lcdc_read(sdev, reg(splane->index)), \
104 lcdc_read(sdev, reg(splane->index) + LCDC_SIDE_B_OFFSET))
113 lcdc_write(sdev, LDBCR, LDBCR_UPC(splane->index));
114 dev_dbg(sdev->ddev.dev, "%s(%u): %s 0x%08x\n", __func__, splane->index,
117 lcdc_write(sdev, LDBnBSIFR(splane->index), format);
119 lcdc_write(sdev, LDBnBSSZR(splane->index),
122 lcdc_write(sdev, LDBnBLOCR(splane->index),
125 lcdc_write(sdev, LDBnBSMWR(splane->index),
297 shmob_drm_plane_create(struct shmob_drm_device *sdev, enum drm_plane_type type, unsigned int index) argument
[all...]
/linux-master/arch/alpha/kernel/
H A Dcore_titan.c208 (hose->index & 1) ? TITAN_pachip1 : TITAN_pachip0;
215 if (hose->index & 2)
250 titan_init_one_pachip_port(titan_pachip_port *port, int index)
255 if (index == 0)
270 = (TITAN_MEM(index) & 0xffffffffffUL) | 0x80000000000UL;
272 = (TITAN_IO(index) & 0xffffffffffUL) | 0x80000000000UL;
274 hose->config_space_base = TITAN_CONF(index);
275 hose->index = index;
277 hose->io_space->start = TITAN_IO(index)
247 titan_init_one_pachip_port(titan_pachip_port *port, int index) argument
405 titan_kill_one_pachip_port(titan_pachip_port *port, int index) argument
[all...]
/linux-master/drivers/accessibility/speakup/
H A Di18n.c402 char *spk_msg_get(enum msg_index_t index) argument
404 return speakup_msgs[index];
543 * - index: a message number, as found in i18n.h.
547 * -EINVAL - Invalid format specifiers in formatted message or illegal index.
550 ssize_t spk_msg_set(enum msg_index_t index, char *text, size_t length) argument
555 if ((index < MSG_FIRST_INDEX) || (index >= MSG_LAST_INDEX))
562 if (index >= MSG_FORMATTED_START &&
563 index <= MSG_FORMATTED_END &&
564 !fmt_validate(speakup_default_msgs[index], newst
619 enum msg_index_t index; local
[all...]
/linux-master/drivers/char/agp/
H A Defficeon-agp.c42 * must match the PAT index for the
48 * 5:0: GATT directory index: which 1st-level entry
160 int index, freed = 0; local
162 for (index = 0; index < EFFICEON_L1_SIZE; index++) {
163 unsigned long page = efficeon_private.l1_table[index];
165 efficeon_private.l1_table[index] = 0;
170 agp_bridge->dev, EFFICEON_ATTPAGE, index);
172 EFFICEON_ATTPAGE, index);
194 int index; local
258 int index = pg_start + i; local
299 int index = pg_start + i; local
[all...]
/linux-master/drivers/video/fbdev/
H A Dsbuslib.c126 unsigned int index, count, i; local
128 if (get_user(index, &c->index) ||
152 cmap.start = index + i;
165 unsigned int index, count, i; local
168 if (get_user(index, &c->index) ||
175 if (index > cmap->len || count > cmap->len - index)
179 red = cmap->red[index
258 unsigned int index, i; local
[all...]
/linux-master/drivers/misc/bcm-vk/
H A Dbcm_vk_tty.c17 #define BAR1_TTYVK_BASE(index) (BAR1_TTYVK_BASE_OFFSET + \
18 ((index) * BAR1_TTYVK_CHAN_OFFSET * 2))
19 /* TO TTYVK channel base comes before FROM for each index */
20 #define TO_TTYK_BASE(index) BAR1_TTYVK_BASE(index)
21 #define FROM_TTYK_BASE(index) (BAR1_TTYVK_BASE(index) + \
83 /* Don't increment read index if tty app is closed */
131 int index; local
137 index
192 int index; local
[all...]
/linux-master/arch/powerpc/mm/nohash/
H A De500.c97 static void settlbcam(int index, unsigned long virt, phys_addr_t phys, argument
109 TLBCAM[index].MAS0 = MAS0_TLBSEL(1) | MAS0_ESEL(index) | MAS0_NV(index+1);
110 TLBCAM[index].MAS1 = MAS1_VALID | MAS1_IPROT | MAS1_TSIZE(tsize) | MAS1_TID(pid);
111 TLBCAM[index].MAS2 = virt & PAGE_MASK;
113 TLBCAM[index].MAS2 |= (flags & _PAGE_WRITETHRU) ? MAS2_W : 0;
114 TLBCAM[index].MAS2 |= (flags & _PAGE_NO_CACHE) ? MAS2_I : 0;
115 TLBCAM[index].MAS2 |= (flags & _PAGE_COHERENT) ? MAS2_M : 0;
116 TLBCAM[index]
[all...]
/linux-master/drivers/clk/actions/
H A Dowl-mux.c37 struct owl_mux_hw *mux_hw, u8 index)
44 reg | (index << mux_hw->shift));
49 static int owl_mux_set_parent(struct clk_hw *hw, u8 index) argument
53 return owl_mux_helper_set_parent(&mux->common, &mux->mux_hw, index);
36 owl_mux_helper_set_parent(const struct owl_clk_common *common, struct owl_mux_hw *mux_hw, u8 index) argument
/linux-master/drivers/clk/berlin/
H A Dberlin2-avpll.h18 u8 index, const char *parent_name, u8 ch_flags,

Completed in 476 milliseconds

1234567891011>>