/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 582 int next_index; in increase_dsc_bpp() local 602 next_index = -1; in increase_dsc_bpp() 608 next_index = i; in increase_dsc_bpp() 613 if (next_index == -1) in increase_dsc_bpp() 623 if (initial_slack[next_index] > fair_pbn_alloc) { in increase_dsc_bpp() 624 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp() 626 params[next_index].port->mgr, in increase_dsc_bpp() 627 params[next_index].port, in increase_dsc_bpp() 628 vars[next_index].pbn, in increase_dsc_bpp() 632 vars[next_index] in increase_dsc_bpp() 678 int next_index; try_disable_dsc() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 901 int next_index; in increase_dsc_bpp() local 921 next_index = -1; in increase_dsc_bpp() 927 next_index = i; in increase_dsc_bpp() 932 if (next_index == -1) in increase_dsc_bpp() 943 if (initial_slack[next_index] > fair_pbn_alloc) { in increase_dsc_bpp() 944 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp() 946 params[next_index].port->mgr, in increase_dsc_bpp() 947 params[next_index].port, in increase_dsc_bpp() 948 vars[next_index].pbn); in increase_dsc_bpp() 954 vars[next_index] in increase_dsc_bpp() 1004 int next_index; try_disable_dsc() local [all...] |
/kernel/linux/linux-5.10/drivers/misc/ibmasm/ |
H A D | event.c | 53 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()
|
/kernel/linux/linux-6.6/drivers/misc/ibmasm/ |
H A D | event.c | 53 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()
|
/kernel/linux/linux-6.6/fs/squashfs/ |
H A D | page_actor.c | 71 (actor->next_index != actor->page[actor->next_page]->index)) { in handle_next_page() 72 actor->next_index++; in handle_next_page() 78 actor->next_index++; in handle_next_page() 128 actor->next_index = page[0]->index & ~((1 << (msblk->block_log - PAGE_SHIFT)) - 1); in squashfs_page_actor_init_special()
|
H A D | block.c | 264 u64 *next_index, struct squashfs_page_actor *output) in squashfs_read_data() 330 if (next_index) in squashfs_read_data() 331 *next_index = index + length; in squashfs_read_data() 263 squashfs_read_data(struct super_block *sb, u64 index, int length, u64 *next_index, struct squashfs_page_actor *output) squashfs_read_data() argument
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | radix-tree.h | 93 * @next_index: one beyond the last index for this chunk 106 unsigned long next_index; member 286 * Set index to zero to bypass next_index overflow protection. in radix_tree_iter_init() 290 iter->next_index = start; in radix_tree_iter_init() 303 * @iter->next_index. It returns a pointer to the chunk's first slot. 305 * its end (next_index), and constructs a bit mask for tagged iterating (tags). 340 iter->next_index = iter->index; in radix_tree_iter_retry() 373 return iter->next_index - iter->index; in radix_tree_chunk_size() 392 * b) we are doing non-tagged iteration, and iter->index and iter->next_index 426 iter->next_index in radix_tree_next_slot() [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | radix-tree.h | 95 * @next_index: one beyond the last index for this chunk 108 unsigned long next_index; member 288 * Set index to zero to bypass next_index overflow protection. in radix_tree_iter_init() 292 iter->next_index = start; in radix_tree_iter_init() 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; in radix_tree_iter_retry() 375 return iter->next_index - iter->index; in radix_tree_chunk_size() 394 * b) we are doing non-tagged iteration, and iter->index and iter->next_index 428 iter->next_index in radix_tree_next_slot() [all...] |
/kernel/linux/linux-5.10/arch/x86/kernel/ |
H A D | process_64.c | 294 unsigned short next_index, in load_seg_legacy() 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() 292 load_seg_legacy(unsigned short prev_index, unsigned long prev_base, unsigned short next_index, unsigned long next_base, enum which_selector which) load_seg_legacy() argument
|
/kernel/linux/linux-6.6/drivers/net/ethernet/google/gve/ |
H A D | gve_tx_dqo.c | 963 s16 prev_index, next_index; in remove_from_list() local 966 next_index = pkt->next; in remove_from_list() 970 list->head = next_index; in remove_from_list() 972 tx->dqo.pending_packets[prev_index].next = next_index; in remove_from_list() 974 if (next_index == -1) { in remove_from_list() 978 tx->dqo.pending_packets[next_index].prev = prev_index; in remove_from_list() 1104 s16 next_index; in remove_miss_completions() local 1106 next_index = tx->dqo_compl.miss_completions.head; in remove_miss_completions() 1107 while (next_index != -1) { in remove_miss_completions() 1108 pending_packet = &tx->dqo.pending_packets[next_index]; in remove_miss_completions() 1151 s16 next_index; remove_timed_out_completions() local [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/ |
H A D | ast_cursor.c | 192 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()
|
/kernel/linux/linux-5.10/drivers/net/bonding/ |
H A D | bond_alb.c | 106 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 in rlb_delete_table_entry_dst() local 771 u32 next_index = bond_info->rx_hashtbl[index].src_next; rlb_src_unlink() local 832 u32 next_index = entry->src_next; rlb_purge_src_ip() local 892 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; rlb_clear_vlan() local [all...] |
/kernel/linux/linux-6.6/drivers/net/bonding/ |
H A D | bond_alb.c | 106 u32 next_index = tx_hash_table[index].next; in __tlb_clear_slave() local 109 index = next_index; in __tlb_clear_slave() 206 u32 next_index = slave_info->head; in __tlb_choose_channel() local 209 hash_table[hash_index].next = next_index; in __tlb_choose_channel() 212 if (next_index != TLB_NULL_INDEX) in __tlb_choose_channel() 213 hash_table[next_index].prev = hash_index; in __tlb_choose_channel() 385 u32 index, next_index; in rlb_clear_slave() local 392 for (; index != RLB_NULL_INDEX; index = next_index) { in rlb_clear_slave() 393 next_index = rx_hash_table[index].used_next; in rlb_clear_slave() 769 u32 next_index in rlb_delete_table_entry_dst() local 784 u32 next_index = bond_info->rx_hashtbl[index].src_next; rlb_src_unlink() local 845 u32 next_index = entry->src_next; rlb_purge_src_ip() local 906 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; rlb_clear_vlan() local [all...] |
/kernel/linux/linux-6.6/arch/x86/kernel/ |
H A D | process_64.c | 296 unsigned short next_index, in load_seg_legacy() 300 if (likely(next_index <= 3)) { in load_seg_legacy() 312 loadseg(which, next_index); in load_seg_legacy() 326 if (likely(prev_index | next_index | prev_base)) in load_seg_legacy() 327 loadseg(which, next_index); in load_seg_legacy() 330 if (prev_index != next_index) in load_seg_legacy() 331 loadseg(which, next_index); in load_seg_legacy() 340 loadseg(which, next_index); in load_seg_legacy() 294 load_seg_legacy(unsigned short prev_index, unsigned long prev_base, unsigned short next_index, unsigned long next_base, enum which_selector which) load_seg_legacy() argument
|
/kernel/linux/linux-5.10/arch/arm/mach-omap2/ |
H A D | cpuidle34xx.c | 176 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-6.6/arch/arm/mach-omap2/ |
H A D | cpuidle34xx.c | 176 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/fs/squashfs/ |
H A D | block.c | 143 u64 *next_index, struct squashfs_page_actor *output) in squashfs_read_data() 208 if (next_index) in squashfs_read_data() 209 *next_index = index + length; in squashfs_read_data() 142 squashfs_read_data(struct super_block *sb, u64 index, int length, u64 *next_index, struct squashfs_page_actor *output) squashfs_read_data() argument
|
/kernel/linux/linux-5.10/drivers/crypto/bcm/ |
H A D | util.c | 33 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-6.6/drivers/crypto/bcm/ |
H A D | util.c | 33 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/lib/ |
H A D | radix-tree.c | 219 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() 1137 iter->next_index = iter->index; in radix_tree_iter_resume() 1162 * Catch next_index overflow after ~0UL. iter->index never overflows in radix_tree_next_chunk() 1164 * And we cannot overflow iter->next_index in a single step, in radix_tree_next_chunk() 1170 index = iter->next_index; in radix_tree_next_chunk() 1184 iter->next_index = maxindex + 1; in radix_tree_next_chunk() 1228 iter->next_index = (index | node_maxindex(node)) + 1; in radix_tree_next_chunk() 1395 iter->index = iter->next_index; in radix_tree_iter_delete() 1479 unsigned long maxindex, start = iter->next_index; in idr_get_free() [all...] |
/kernel/linux/linux-6.6/lib/ |
H A D | radix-tree.c | 221 static unsigned long next_index(unsigned long index, in next_index() function 1132 iter->next_index = __radix_tree_iter_add(iter, BITS_PER_LONG); in set_iter_tags() 1140 iter->next_index = iter->index; in radix_tree_iter_resume() 1165 * Catch next_index overflow after ~0UL. iter->index never overflows in radix_tree_next_chunk() 1167 * And we cannot overflow iter->next_index in a single step, in radix_tree_next_chunk() 1173 index = iter->next_index; in radix_tree_next_chunk() 1187 iter->next_index = maxindex + 1; in radix_tree_next_chunk() 1231 iter->next_index = (index | node_maxindex(node)) + 1; in radix_tree_next_chunk() 1398 iter->index = iter->next_index; in radix_tree_iter_delete() 1482 unsigned long maxindex, start = iter->next_index; in idr_get_free() [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_incore.h | 36 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()
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_incore.h | 36 uint next_index; /* next available directory entry index */ member 212 return (JFS_IP(inode)->next_index <= (MAX_INLINE_DIRTABLE_ENTRY + 1)); in jfs_dirtable_inline()
|
/kernel/linux/linux-5.10/fs/hmdfs/ |
H A D | file_cloud.c | 193 unsigned long next_index; in hmdfs_readpages_cloud() local 205 next_index = 0; in hmdfs_readpages_cloud() 216 if (cnt && (cnt >= limit || page->index != next_index)) { in hmdfs_readpages_cloud() 222 next_index = page->index + 1; in hmdfs_readpages_cloud()
|
/kernel/linux/linux-6.6/fs/hmdfs/ |
H A D | file_cloud.c | 193 unsigned long next_index; in hmdfs_readahead() local 205 next_index = 0; in hmdfs_readahead() 215 if (cnt && (cnt >= limit || page->index != next_index)) { in hmdfs_readahead() 221 next_index = page->index + 1; in hmdfs_readahead()
|