Home
last modified time | relevance | path

Searched refs:next_index (Results 1 – 25 of 31) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/
Damdgpu_dm_mst_types.c563 int next_index; in increase_dsc_bpp() local
583 next_index = -1; in increase_dsc_bpp()
589 next_index = i; in increase_dsc_bpp()
594 if (next_index == -1) in increase_dsc_bpp()
604 if (initial_slack[next_index] > fair_pbn_alloc) { in increase_dsc_bpp()
605 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp()
607 params[next_index].port->mgr, in increase_dsc_bpp()
608 params[next_index].port, in increase_dsc_bpp()
609 vars[next_index].pbn, in increase_dsc_bpp()
613 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp()
[all …]
/kernel/linux/linux-5.10/drivers/misc/ibmasm/
Devent.c53 event = &buffer->events[buffer->next_index]; in ibmasm_receive_event()
59 buffer->next_index = (buffer->next_index + 1) % IBMASM_NUM_EVENTS; in ibmasm_receive_event()
95 index = buffer->next_index; in ibmasm_get_next_event()
146 buffer->next_index = 0; in ibmasm_event_buffer_init()
Dibmasm.h116 unsigned int next_index; member
/kernel/linux/linux-5.10/include/linux/
Dradix-tree.h106 unsigned long next_index; member
290 iter->next_index = start; in radix_tree_iter_init()
340 iter->next_index = iter->index; in radix_tree_iter_retry()
373 return iter->next_index - iter->index; in radix_tree_chunk_size()
426 iter->next_index = 0; in radix_tree_next_slot()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_alb.c106 u32 next_index = tx_hash_table[index].next; in __tlb_clear_slave() local
108 index = next_index; in __tlb_clear_slave()
205 u32 next_index = slave_info->head; in __tlb_choose_channel() local
208 hash_table[hash_index].next = next_index; in __tlb_choose_channel()
211 if (next_index != TLB_NULL_INDEX) in __tlb_choose_channel()
212 hash_table[next_index].prev = hash_index; in __tlb_choose_channel()
383 u32 index, next_index; in rlb_clear_slave() local
390 for (; index != RLB_NULL_INDEX; index = next_index) { in rlb_clear_slave()
391 next_index = rx_hash_table[index].used_next; in rlb_clear_slave()
756 u32 next_index = bond_info->rx_hashtbl[index].used_next; in rlb_delete_table_entry_dst() local
[all …]
/kernel/linux/linux-5.10/arch/x86/kernel/
Dprocess_64.c294 unsigned short next_index, in load_seg_legacy() argument
298 if (likely(next_index <= 3)) { in load_seg_legacy()
310 loadseg(which, next_index); in load_seg_legacy()
324 if (likely(prev_index | next_index | prev_base)) in load_seg_legacy()
325 loadseg(which, next_index); in load_seg_legacy()
328 if (prev_index != next_index) in load_seg_legacy()
329 loadseg(which, next_index); in load_seg_legacy()
338 loadseg(which, next_index); in load_seg_legacy()
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/
Dast_cursor.c192 dst = ast->cursor.vaddr[ast->cursor.next_index]; in ast_cursor_blit()
224 gbo = ast->cursor.gbo[ast->cursor.next_index]; in ast_cursor_page_flip()
232 ++ast->cursor.next_index; in ast_cursor_page_flip()
233 ast->cursor.next_index %= ARRAY_SIZE(ast->cursor.gbo); in ast_cursor_page_flip()
260 dst = ast->cursor.vaddr[ast->cursor.next_index]; in ast_cursor_show()
Dast_drv.h136 unsigned int next_index; member
/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dcpuidle34xx.c176 int next_index = 0; /* C1 is the default value */ in next_valid_state() local
202 next_index = idx; in next_valid_state()
207 return next_index; in next_valid_state()
/kernel/linux/linux-5.10/lib/
Dradix-tree.c219 static unsigned long next_index(unsigned long index, in next_index() function
1129 iter->next_index = __radix_tree_iter_add(iter, BITS_PER_LONG); in set_iter_tags()
1138 iter->next_index = iter->index; in radix_tree_iter_resume()
1171 index = iter->next_index; in radix_tree_next_chunk()
1185 iter->next_index = maxindex + 1; in radix_tree_next_chunk()
1229 iter->next_index = (index | node_maxindex(node)) + 1; in radix_tree_next_chunk()
1396 iter->index = iter->next_index; in radix_tree_iter_delete()
1480 unsigned long maxindex, start = iter->next_index; in idr_get_free()
1520 start = next_index(start, node, offset); in idr_get_free()
1537 iter->next_index = 1 + min(max, (start | node_maxindex(node))); in idr_get_free()
[all …]
/kernel/linux/linux-5.10/fs/squashfs/
Dblock.c143 u64 *next_index, struct squashfs_page_actor *output) in squashfs_read_data() argument
208 if (next_index) in squashfs_read_data()
209 *next_index = index + length; in squashfs_read_data()
Dsquashfs_fs_sb.h33 u64 next_index; member
Dsymlink.c86 block = entry->next_index; in squashfs_symlink_readpage()
Dcache.c111 &entry->next_index, entry->actor); in squashfs_cache_get()
360 *block = entry->next_index; in squashfs_read_metadata()
/kernel/linux/linux-5.10/drivers/crypto/bcm/
Dutil.c33 unsigned int next_index; in spu_sg_at_offset() local
35 next_index = sg->length; in spu_sg_at_offset()
36 while (next_index <= skip) { in spu_sg_at_offset()
38 index = next_index; in spu_sg_at_offset()
41 next_index += sg->length; in spu_sg_at_offset()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_incore.h36 uint next_index; /* next available directory entry index */ member
204 return (JFS_IP(inode)->next_index <= (MAX_INLINE_DIRTABLE_ENTRY + 1)); in jfs_dirtable_inline()
Djfs_dtree.c254 if (index >= jfs_ip->next_index) { in find_index()
339 if (jfs_ip->next_index < 2) { in add_index()
341 jfs_ip->next_index); in add_index()
342 jfs_ip->next_index = 2; in add_index()
345 index = jfs_ip->next_index++; in add_index()
473 jfs_ip->next_index--; in add_index()
837 if (JFS_IP(ip)->next_index == DIREND) { in dtInsert()
2085 u32 table_index, next_index; in dtDelete() local
2115 next_index = -1; in dtDelete()
2121 next_index = -1; in dtDelete()
[all …]
Djfs_inode.c109 jfs_inode->next_index = 0; in ialloc()
/kernel/linux/linux-5.10/drivers/infiniband/sw/rxe/
Drxe_req.c55 wqe_index = next_index(qp->sq.queue, wqe_index)) { in req_retry()
550 qp->req.wqe_index = next_index(qp->sq.queue, qp->req.wqe_index); in update_state()
631 qp->req.wqe_index = next_index(qp->sq.queue, in rxe_requester()
677 qp->req.wqe_index = next_index(qp->sq.queue, in rxe_requester()
Drxe_queue.h72 static inline int next_index(struct rxe_queue *q, int index) in next_index() function
/kernel/linux/linux-5.10/arch/mips/include/asm/octeon/
Dcvmx-pow.h834 uint64_t next_index:11; member
854 uint64_t next_index:11;
870 uint64_t next_index:11; member
878 uint64_t next_index:11;
/kernel/linux/linux-5.10/drivers/scsi/bnx2i/
Dbnx2i_hwi.c142 u16 next_index = 0; in bnx2i_arm_cq_event_coalescing() local
162 next_index = 1; in bnx2i_arm_cq_event_coalescing()
164 next_index = num_active_cmds >> ep->ec_shift; in bnx2i_arm_cq_event_coalescing()
165 if (next_index > num_active_cmds - event_coal_min) in bnx2i_arm_cq_event_coalescing()
166 next_index = num_active_cmds - event_coal_min; in bnx2i_arm_cq_event_coalescing()
168 if (!next_index) in bnx2i_arm_cq_event_coalescing()
169 next_index = 1; in bnx2i_arm_cq_event_coalescing()
170 cq_index = ep->qp.cqe_exp_seq_sn + next_index - 1; in bnx2i_arm_cq_event_coalescing()
178 return next_index; in bnx2i_arm_cq_event_coalescing()
/kernel/linux/linux-5.10/drivers/scsi/libfc/
Dfc_exch.c62 u16 next_index; member
454 pool->next_index = index; in fc_exch_delete()
850 index = pool->next_index; in fc_exch_em_alloc()
854 if (index == pool->next_index) in fc_exch_em_alloc()
857 pool->next_index = index == mp->pool_max_index ? 0 : index + 1; in fc_exch_em_alloc()
1963 pool->next_index = 0; in fc_exch_pool_reset()
2525 pool->next_index = 0; in fc_exch_mgr_alloc()
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_qm.c56 uint32_t next_index; in xfs_qm_dquot_walk() local
63 next_index = 0; in xfs_qm_dquot_walk()
73 next_index, XFS_DQ_LOOKUP_BATCH); in xfs_qm_dquot_walk()
82 next_index = dqp->q_id + 1; in xfs_qm_dquot_walk()
101 if (!next_index) in xfs_qm_dquot_walk()
/kernel/linux/linux-5.10/fs/gfs2/
Ddir.c2101 u32 index = 0, next_index; in gfs2_dir_exhash_dealloc() local
2121 next_index = (index & ~(len - 1)) + len; in gfs2_dir_exhash_dealloc()
2122 last = ((next_index >= hsize) ? 1 : 0); in gfs2_dir_exhash_dealloc()
2128 index = next_index; in gfs2_dir_exhash_dealloc()

12