Searched refs:next_index (Results 1 - 25 of 33) sorted by relevance

12

/linux-master/fs/squashfs/
H A Dpage_actor.c71 (actor->next_index != actor->page[actor->next_page]->index)) {
72 actor->next_index++;
78 actor->next_index++;
128 actor->next_index = page[0]->index & ~((1 << (msblk->block_log - PAGE_SHIFT)) - 1);
H A Dpage_actor.h25 pgoff_t next_index; member in struct:squashfs_page_actor
H A Dsquashfs_fs_sb.h33 u64 next_index; member in struct:squashfs_cache_entry
H A Dsymlink.c87 block = entry->next_index;
H A Dblock.c264 u64 *next_index, struct squashfs_page_actor *output)
330 if (next_index)
331 *next_index = index + length;
263 squashfs_read_data(struct super_block *sb, u64 index, int length, u64 *next_index, struct squashfs_page_actor *output) argument
H A Dcache.c111 &entry->next_index, entry->actor);
360 *block = entry->next_index;
/linux-master/drivers/misc/ibmasm/
H A Devent.c53 event = &buffer->events[buffer->next_index];
59 buffer->next_index = (buffer->next_index + 1) % IBMASM_NUM_EVENTS;
95 index = buffer->next_index;
146 buffer->next_index = 0;
H A Dibmasm.h116 unsigned int next_index; member in struct:event_buffer
/linux-master/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c908 int next_index; local
928 next_index = -1;
934 next_index = i;
939 if (next_index == -1)
950 if (initial_slack[next_index] > fair_pbn_alloc) {
951 vars[next_index].pbn += fair_pbn_alloc;
953 params[next_index].port->mgr,
954 params[next_index].port,
955 vars[next_index].pbn);
961 vars[next_index]
1011 int next_index; local
[all...]
/linux-master/include/linux/
H A Dradix-tree.h95 * @next_index: one beyond the last index for this chunk
108 unsigned long next_index; member in struct:radix_tree_iter
288 * Set index to zero to bypass next_index overflow protection.
292 iter->next_index = start;
305 * @iter->next_index. It returns a pointer to the chunk's first slot.
307 * its end (next_index), and constructs a bit mask for tagged iterating (tags).
342 iter->next_index = iter->index;
375 return iter->next_index - iter->index;
394 * b) we are doing non-tagged iteration, and iter->index and iter->next_index
428 iter->next_index
[all...]
/linux-master/drivers/net/bonding/
H A Dbond_alb.c106 u32 next_index = tx_hash_table[index].next; local
109 index = next_index;
206 u32 next_index = slave_info->head; local
209 hash_table[hash_index].next = next_index;
212 if (next_index != TLB_NULL_INDEX)
213 hash_table[next_index].prev = hash_index;
385 u32 index, next_index; local
392 for (; index != RLB_NULL_INDEX; index = next_index) {
393 next_index = rx_hash_table[index].used_next;
769 u32 next_index local
784 u32 next_index = bond_info->rx_hashtbl[index].src_next; local
845 u32 next_index = entry->src_next; local
906 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; local
[all...]
/linux-master/arch/x86/kernel/
H A Dprocess_64.c320 unsigned short next_index,
324 if (likely(next_index <= 3)) {
336 loadseg(which, next_index);
350 if (likely(prev_index | next_index | prev_base))
351 loadseg(which, next_index);
354 if (prev_index != next_index)
355 loadseg(which, next_index);
364 loadseg(which, next_index);
318 load_seg_legacy(unsigned short prev_index, unsigned long prev_base, unsigned short next_index, unsigned long next_base, enum which_selector which) argument
/linux-master/fs/jfs/
H A Djfs_incore.h36 uint next_index; /* next available directory entry index */ member in struct:jfs_inode_info
212 return (JFS_IP(inode)->next_index <= (MAX_INLINE_DIRTABLE_ENTRY + 1));
H A Djfs_inode.c109 jfs_inode->next_index = 0;
H A Djfs_dtree.c254 if (index >= jfs_ip->next_index) {
255 jfs_warn("find_entry called with index >= next_index");
339 if (jfs_ip->next_index < 2) {
340 jfs_warn("add_index: next_index = %d. Resetting!",
341 jfs_ip->next_index);
342 jfs_ip->next_index = 2;
345 index = jfs_ip->next_index++;
473 jfs_ip->next_index--;
842 if (JFS_IP(ip)->next_index == DIREND) {
2090 u32 table_index, next_index; local
[all...]
/linux-master/drivers/net/ethernet/google/gve/
H A Dgve_tx_dqo.c1010 s16 prev_index, next_index; local
1013 next_index = pkt->next;
1017 list->head = next_index;
1019 tx->dqo.pending_packets[prev_index].next = next_index;
1021 if (next_index == -1) {
1025 tx->dqo.pending_packets[next_index].prev = prev_index;
1151 s16 next_index; local
1153 next_index = tx->dqo_compl.miss_completions.head;
1154 while (next_index != -1) {
1155 pending_packet = &tx->dqo.pending_packets[next_index];
1198 s16 next_index; local
[all...]
/linux-master/arch/arm/mach-omap2/
H A Dcpuidle34xx.c176 int next_index = 0; /* C1 is the default value */ local
202 next_index = idx;
207 return next_index;
/linux-master/drivers/crypto/bcm/
H A Dutil.c33 unsigned int next_index; local
35 next_index = sg->length;
36 while (next_index <= skip) {
38 index = next_index;
41 next_index += sg->length;
/linux-master/lib/
H A Dradix-tree.c221 static unsigned long next_index(unsigned long index, function
1132 iter->next_index = __radix_tree_iter_add(iter, BITS_PER_LONG);
1140 iter->next_index = iter->index;
1165 * Catch next_index overflow after ~0UL. iter->index never overflows
1167 * And we cannot overflow iter->next_index in a single step,
1173 index = iter->next_index;
1187 iter->next_index = maxindex + 1;
1231 iter->next_index = (index | node_maxindex(node)) + 1;
1398 iter->index = iter->next_index;
1482 unsigned long maxindex, start = iter->next_index;
[all...]
H A Dtest_xarray.c817 unsigned long index, base, next_index, next_next_index; local
822 next_index = round_down(base + nrpages, nrpages);
823 next_next_index = round_down(next_index + nrpages, nrpages);
830 XA_BUG_ON(xa, test_get_entry(xa, next_index) != NULL);
833 check_xa_multi_store_adv_add(xa, next_index, 0, &some_val_2);
834 XA_BUG_ON(xa, test_get_entry(xa, next_index) != &some_val_2);
837 check_xa_multi_store_adv_delete(xa, next_index, 0);
840 check_xa_multi_store_adv_add(xa, next_index, order, &some_val_2);
843 XA_BUG_ON(xa, test_get_entry(xa, next_index + i) != &some_val_2);
845 check_xa_multi_store_adv_delete(xa, next_index, orde
[all...]
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-pow.h834 uint64_t next_index:11; member in struct:__anon35::__anon43
854 uint64_t next_index:11;
870 uint64_t next_index:11; member in struct:__anon35::__anon44
878 uint64_t next_index:11;
/linux-master/fs/xfs/
H A Dxfs_qm.c60 uint32_t next_index; local
67 next_index = 0;
77 next_index, XFS_DQ_LOOKUP_BATCH);
86 next_index = dqp->q_id + 1;
105 if (!next_index)
/linux-master/drivers/scsi/bnx2i/
H A Dbnx2i_hwi.c142 u16 next_index = 0; local
162 next_index = 1;
164 next_index = num_active_cmds >> ep->ec_shift;
165 if (next_index > num_active_cmds - event_coal_min)
166 next_index = num_active_cmds - event_coal_min;
168 if (!next_index)
169 next_index = 1;
170 cq_index = ep->qp.cqe_exp_seq_sn + next_index - 1;
178 return next_index;
/linux-master/drivers/scsi/libfc/
H A Dfc_exch.c47 * @next_index: Next possible free exchange index
61 u16 next_index; member in struct:fc_exch_pool
453 pool->next_index = index;
848 index = pool->next_index;
852 if (index == pool->next_index)
855 pool->next_index = index == mp->pool_max_index ? 0 : index + 1;
1962 pool->next_index = 0;
2524 pool->next_index = 0;
/linux-master/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c147 int next_index, i; local
151 next_index = incr_ring(intf->tx_spb_index, DESC_RING_COUNT);
152 if (next_index == intf->tx_spb_clean_index)

Completed in 227 milliseconds

12