Home
last modified time | relevance | path

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

12

/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_mst_types.c1001 int next_index; in increase_dsc_bpp() local
1021 next_index = -1; in increase_dsc_bpp()
1027 next_index = i; in increase_dsc_bpp()
1032 if (next_index == -1) in increase_dsc_bpp()
1043 if (initial_slack[next_index] > fair_pbn_alloc) { in increase_dsc_bpp()
1044 vars[next_index].pbn += fair_pbn_alloc; in increase_dsc_bpp()
1046 params[next_index].port->mgr, in increase_dsc_bpp()
1047 params[next_index].port, in increase_dsc_bpp()
1048 vars[next_index].pbn); in increase_dsc_bpp()
1054 vars[next_index].bpp_x16 = bpp_x16_from_pbn(params[next_index], vars[next_index].pbn); in increase_dsc_bpp()
[all …]
/linux/drivers/misc/ibmasm/
H A 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()
H A Dibmasm.h116 unsigned int next_index; member
/linux/fs/squashfs/
H A Dpage_actor.c76 (actor->next_index != page_next_index(actor))) { in handle_next_page()
77 actor->next_index++; in handle_next_page()
83 actor->next_index++; in handle_next_page()
133 actor->next_index = start_index >> PAGE_SHIFT; in squashfs_page_actor_init_special()
H A Dsquashfs_fs_sb.h33 u64 next_index; member
H A Dpage_actor.h25 pgoff_t next_index; member
H A Dcache.c111 &entry->next_index, entry->actor); in squashfs_cache_get()
364 *block = entry->next_index; in squashfs_read_metadata()
/linux/include/linux/
H A Dradix-tree.h108 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()
/linux/scripts/gdb/linux/
H A Dradixtree.py96 self.next_index = start
108 index = iter.next_index
124 iter.next_index = (maxindex + 1) & mask
158 iter.next_index = ((index | node_maxindex(node)) + 1) & mask
165 for _ in range(iter.next_index - iter.index - 1):
/linux/lib/
H A Dradix-tree.c221 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 …]
H A Dtest_xarray.c822 unsigned long index, base, next_index, next_next_index; in check_xa_multi_store_adv() local
827 next_index = round_down(base + nrpages, nrpages); in check_xa_multi_store_adv()
828 next_next_index = round_down(next_index + nrpages, nrpages); in check_xa_multi_store_adv()
835 XA_BUG_ON(xa, test_get_entry(xa, next_index) != NULL); in check_xa_multi_store_adv()
838 check_xa_multi_store_adv_add(xa, next_index, 0, &some_val_2); in check_xa_multi_store_adv()
839 XA_BUG_ON(xa, test_get_entry(xa, next_index) != &some_val_2); in check_xa_multi_store_adv()
842 check_xa_multi_store_adv_delete(xa, next_index, 0); in check_xa_multi_store_adv()
845 check_xa_multi_store_adv_add(xa, next_index, order, &some_val_2); in check_xa_multi_store_adv()
848 XA_BUG_ON(xa, test_get_entry(xa, next_index + i) != &some_val_2); in check_xa_multi_store_adv()
850 check_xa_multi_store_adv_delete(xa, next_index, order); in check_xa_multi_store_adv()
[all …]
/linux/drivers/crypto/bcm/
H A 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()
/linux/arch/arm/mach-omap2/
H A 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()
/linux/fs/jfs/
H A Djfs_incore.h36 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 Djfs_dtree.c255 if (index >= jfs_ip->next_index) { in find_index()
340 if (jfs_ip->next_index < 2) { in add_index()
342 jfs_ip->next_index); in add_index()
343 jfs_ip->next_index = 2; in add_index()
346 index = jfs_ip->next_index++; in add_index()
474 jfs_ip->next_index--; in add_index()
845 if (JFS_IP(ip)->next_index == DIREND) { in dtInsert()
2093 u32 table_index, next_index; in dtDelete() local
2123 next_index = -1; in dtDelete()
2129 next_index = -1; in dtDelete()
[all …]
H A Djfs_inode.c109 jfs_inode->next_index = 0; in ialloc()
H A Djfs_imap.c3094 jfs_ip->next_index = le32_to_cpu(dip->di_next_index); in copy_from_dinode()
3168 dip->di_next_index = cpu_to_le32(jfs_ip->next_index); in copy_to_dinode()
/linux/arch/mips/include/asm/octeon/
H A 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;
/linux/drivers/scsi/bnx2i/
H A 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()
/linux/drivers/scsi/libfc/
H A Dfc_exch.c61 u16 next_index; member
453 pool->next_index = index; in fc_exch_delete()
848 index = pool->next_index; in fc_exch_em_alloc()
852 if (index == pool->next_index) in fc_exch_em_alloc()
855 pool->next_index = index == mp->pool_max_index ? 0 : index + 1; in fc_exch_em_alloc()
1962 pool->next_index = 0; in fc_exch_pool_reset()
2524 pool->next_index = 0; in fc_exch_mgr_alloc()
/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_intf.c147 int next_index, i; in tx_spb_ring_full() local
151 next_index = incr_ring(intf->tx_spb_index, DESC_RING_COUNT); in tx_spb_ring_full()
152 if (next_index == intf->tx_spb_clean_index) in tx_spb_ring_full()
/linux/fs/gfs2/
H A Ddir.c2106 u32 index = 0, next_index; in gfs2_dir_exhash_dealloc() local
2126 next_index = (index & ~(len - 1)) + len; in gfs2_dir_exhash_dealloc()
2127 last = ((next_index >= hsize) ? 1 : 0); in gfs2_dir_exhash_dealloc()
2133 index = next_index; in gfs2_dir_exhash_dealloc()
/linux/drivers/md/dm-vdo/
H A Dslab-depot.c2054 slab_block_number next_index = slab->search_cursor.index; in find_free_block() local
2056 u8 *next_counter = &slab->counters[next_index]; in find_free_block()
2063 zero_index = find_zero_byte_in_word(next_counter, next_index, end_index); in find_free_block()
2073 next_index += BYTES_PER_WORD; in find_free_block()
2086 zero_index = find_zero_byte_in_word(next_counter, next_index, end_index); in find_free_block()
2092 next_index += BYTES_PER_WORD; in find_free_block()
/linux/drivers/net/ethernet/intel/i40e/
H A Di40e_debugfs.c1091 u32 next_index; in i40e_dbg_command_write() local
1113 &next_table, &next_index, in i40e_dbg_command_write()
1125 rlen, next_table, next_index); in i40e_dbg_command_write()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum.c1259 enum mlxsw_reg_qeec_hr hr, u8 index, u8 next_index, in mlxsw_sp_port_ets_set() argument
1266 next_index); in mlxsw_sp_port_ets_set()
1275 u8 next_index, u32 maxrate, u8 burst_size) in mlxsw_sp_port_ets_maxrate_set() argument
1281 next_index); in mlxsw_sp_port_ets_maxrate_set()
1290 u8 next_index, u32 minrate) in mlxsw_sp_port_min_bw_set() argument
1296 next_index); in mlxsw_sp_port_min_bw_set()

12