/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_mst_types.c | 908 int next_index; in increase_dsc_bpp() local 928 next_index = -1; in increase_dsc_bpp() 934 next_index = i; in increase_dsc_bpp() 939 if (next_index == -1) in increase_dsc_bpp() 950 if (initial_slack[next_index] > fair_pbn_alloc) { in increase_dsc_bpp() 951 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp() 953 params[next_index].port->mgr, in increase_dsc_bpp() 954 params[next_index].port, in increase_dsc_bpp() 955 vars[next_index].pbn); in increase_dsc_bpp() 961 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp() [all …]
|
/openbmc/linux/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()
|
H A D | ibmasm.h | 116 unsigned int next_index; member
|
/openbmc/linux/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() argument 330 if (next_index) in squashfs_read_data() 331 *next_index = index + length; in squashfs_read_data()
|
H A D | page_actor.h | 25 pgoff_t next_index; member
|
H A D | squashfs_fs_sb.h | 33 u64 next_index; member
|
H A D | symlink.c | 87 block = entry->next_index; in squashfs_symlink_read_folio()
|
H A D | cache.c | 111 &entry->next_index, entry->actor); in squashfs_cache_get() 360 *block = entry->next_index; in squashfs_read_metadata()
|
/openbmc/linux/include/linux/ |
H A D | radix-tree.h | 108 unsigned long next_index; member 292 iter->next_index = start; in radix_tree_iter_init() 342 iter->next_index = iter->index; in radix_tree_iter_retry() 375 return iter->next_index - iter->index; in radix_tree_chunk_size() 428 iter->next_index = 0; in radix_tree_next_slot()
|
/openbmc/linux/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 = bond_info->rx_hashtbl[index].used_next; in rlb_delete_table_entry_dst() local [all …]
|
/openbmc/linux/drivers/net/ethernet/google/gve/ |
H A D | gve_tx_dqo.c | 973 s16 prev_index, next_index; in remove_from_list() local 976 next_index = pkt->next; in remove_from_list() 980 list->head = next_index; in remove_from_list() 982 tx->dqo.pending_packets[prev_index].next = next_index; in remove_from_list() 984 if (next_index == -1) { in remove_from_list() 988 tx->dqo.pending_packets[next_index].prev = prev_index; in remove_from_list() 1114 s16 next_index; in remove_miss_completions() local 1116 next_index = tx->dqo_compl.miss_completions.head; in remove_miss_completions() 1117 while (next_index != -1) { in remove_miss_completions() 1118 pending_packet = &tx->dqo.pending_packets[next_index]; in remove_miss_completions() [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | process_64.c | 296 unsigned short next_index, in load_seg_legacy() argument 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()
|
/openbmc/qemu/hw/usb/ |
H A D | u2f-passthru.c | 179 int index, next_index; in u2f_transaction_close() local 184 next_index = (index + 1) % CURRENT_TRANSACTIONS_NUM; in u2f_transaction_close() 187 while (next_index != key->current_transactions_end) { in u2f_transaction_close() 189 &key->current_transactions[next_index], in u2f_transaction_close() 192 index = next_index; in u2f_transaction_close() 193 next_index = (index + 1) % CURRENT_TRANSACTIONS_NUM; in u2f_transaction_close()
|
/openbmc/u-boot/drivers/serial/ |
H A D | sandbox.c | 115 const unsigned int next_index = in sandbox_serial_pending() local 126 if (next_index == serial_buf_read) in sandbox_serial_pending() 131 serial_buf_write = next_index; in sandbox_serial_pending()
|
/openbmc/linux/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() 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() 1522 start = next_index(start, node, offset); in idr_get_free() 1539 iter->next_index = 1 + min(max, (start | node_maxindex(node))); in idr_get_free() [all …]
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
/openbmc/linux/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()
|
H A D | jfs_dtree.c | 254 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() 844 if (JFS_IP(ip)->next_index == DIREND) { in dtInsert() 2092 u32 table_index, next_index; in dtDelete() local 2122 next_index = -1; in dtDelete() 2128 next_index = -1; in dtDelete() [all …]
|
H A D | jfs_inode.c | 109 jfs_inode->next_index = 0; in ialloc()
|
/openbmc/qemu/hw/pci/ |
H A D | pcie_doe.c | 33 uint8_t next_index; member 71 rsp.next_index = 0; in pcie_doe_discovery() 73 rsp.next_index = index + 1; in pcie_doe_discovery()
|
/openbmc/linux/arch/mips/include/asm/octeon/ |
H A D | cvmx-pow.h | 834 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;
|
/openbmc/linux/drivers/scsi/bnx2i/ |
H A D | bnx2i_hwi.c | 142 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()
|
/openbmc/linux/fs/xfs/ |
H A D | xfs_qm.c | 59 uint32_t next_index; in xfs_qm_dquot_walk() local 66 next_index = 0; in xfs_qm_dquot_walk() 76 next_index, XFS_DQ_LOOKUP_BATCH); in xfs_qm_dquot_walk() 85 next_index = dqp->q_id + 1; in xfs_qm_dquot_walk() 104 if (!next_index) in xfs_qm_dquot_walk()
|