Searched refs:index (Results 126 - 150 of 1653) sorted by relevance

1234567891011>>

/freebsd-13-stable/sys/amd64/vmm/
H A Dvmm_ioport.c68 int index; local
79 index = 0;
82 index = 1;
85 index = 2;
90 index += 3;
93 index += 6;
95 KASSERT(index < nitems(iodesc), ("%s: invalid index %d",
96 __func__, index)); local
98 return (iodesc[index]);
[all...]
/freebsd-13-stable/crypto/openssl/crypto/txt_db/
H A Dtxt_db.c40 ret->index = NULL;
44 if ((ret->index = OPENSSL_malloc(sizeof(*ret->index) * num)) == NULL)
49 ret->index[i] = NULL;
123 OPENSSL_free(ret->index);
140 lh = db->index[idx];
184 lh_OPENSSL_STRING_free(db->index[field]);
185 db->index[field] = idx;
243 if (db->index[i] != NULL) {
246 r = lh_OPENSSL_STRING_retrieve(db->index[
[all...]
/freebsd-13-stable/sys/dev/isci/scil/
H A Dsati_reassign_blocks.c202 U32 index; local
208 for(index = 0; index < page_size; index++)
210 sati_get_data_byte(sequence, scsi_io, lba_offset+index, &current_lba_bytes[index]);
240 U32 index; local
246 for(index = 0; index < page_size; index
273 U32 index; local
[all...]
H A Dscic_sds_remote_node_table.c70 * available bit for selection. The absolute bit is index * 32 + bit
73 * @param[in] remote_node_table This is the remote node index table from
75 * @param[in] group_table_index This is the index to the group table from
110 * This method will clear the group index entry in the specified group index
117 * @param[in] group_index This is the bit index in the table to be modified.
143 * This method will set the group index bit entry in the specified group index
182 * @param[in] remote_node_index This is the remote node index that is being
213 * This method clears the remote node index fro
353 U32 index; local
425 U8 index; local
[all...]
H A Dscic_sds_unsolicited_frame_control.c130 U32 index; local
135 for (index = 0; index < unused_uf_header_entries; index++)
137 uf = &uf_control->buffers.array[index];
140 uf_control->address_table.array[index], 0, 0
143 uf->header = &uf_control->headers.array[index];
149 for (index = unused_uf_header_entries;
150 index < unused_uf_header_entries + used_uf_header_entries;
151 index
[all...]
H A Dscic_sds_controller.c117 * can be used as an index into an array
139 * can be used as an index.
148 * This macro will increment the controllers completion queue index value
149 * and possibly toggle the cycle bit if the completion queue index wraps
152 #define INCREMENT_COMPLETION_QUEUE_GET(controller, index, cycle) \
154 (index), \
161 * This macro will increment the controllers event queue index value and
162 * possibly toggle the event cycle bit if the event queue index wraps back
165 #define INCREMENT_EVENT_QUEUE_GET(controller, index, cycle) \
167 (index), \
470 U32 index; local
1507 U32 index; local
1589 U8 index; local
1739 U32 index; local
1779 U32 index; local
2071 U32 index; local
2107 U32 index; local
2181 U32 index; local
2265 U32 index; local
3323 U32 index; local
3699 U16 index; local
3790 U8 index; local
4432 U16 index; local
4603 U16 index; local
4681 U16 index; local
5033 U8 index; local
5071 U8 index; local
5113 U8 index; local
5359 U32 index; local
5604 U16 index; local
5870 U16 index; local
6522 U8 index; local
6884 U32 index; local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSparseBitVector.h87 unsigned index() const {
126 /// find_first - Returns the index of the first set bit.
134 /// find_last - Returns the index of the last set bit.
145 /// find_next - Returns the index of the next set bit starting from the
295 if (CurrElementIter->index() == ElementIndex) {
297 } else if (CurrElementIter->index() > ElementIndex) {
299 && ElementIter->index() > ElementIndex)
303 ElementIter->index() < ElementIndex)
345 BitNumber = Iter->index() * ElementSize;
377 BitNumber = Iter->index() * ElementSiz
[all...]
/freebsd-13-stable/sys/dev/bhnd/nvram/
H A Dbhnd_nvram_store_subr.c87 path->index = NULL;
118 /* Free the per-path index */
119 if (path->index != NULL)
120 bhnd_nvstore_index_free(path->index);
128 * Allocate and initialize a new index instance with @p capacity.
141 bhnd_nvstore_index *index; local
144 /* Allocate and populate variable index */
146 index = bhnd_nv_malloc(bytes);
147 if (index == NULL) {
148 BHND_NV_LOG("error allocating %zu byte index\
165 bhnd_nvstore_index_free(bhnd_nvstore_index *index) argument
186 bhnd_nvstore_index_append(struct bhnd_nvram_store *sc, bhnd_nvstore_index *index, void *cookiep) argument
256 bhnd_nvstore_index_prepare(struct bhnd_nvram_store *sc, bhnd_nvstore_index *index) argument
545 bhnd_nvstore_index_lookup(struct bhnd_nvram_store *sc, bhnd_nvstore_index *index, const char *name) argument
[all...]
/freebsd-13-stable/contrib/kyua/cli/
H A Dcmd_db_exec.cpp88 /// \param index The index of the cell to format.
92 cli::format_cell(sqlite::statement& stmt, const int index) argument
94 switch (stmt.column_type(index)) {
96 const sqlite::blob blob = stmt.column_blob(index);
101 return F("%s") % stmt.column_double(index);
104 return F("%s") % stmt.column_int64(index);
110 return stmt.column_text(index);
/freebsd-13-stable/cddl/contrib/opensolaris/lib/pyzfs/common/
H A Dutil.py116 index = 0;
121 index += 1
123 u = " KMGTPE"[index]
124 if index == 0:
126 elif n >= 100 or num & ((1024*index)-1) == 0:
127 # it's an exact multiple of its index, or it wouldn't
134 s = "%.*f%c" % (i, float(num) / (1<<(10*index)), u)
/freebsd-13-stable/contrib/ofed/opensm/complib/
H A Dcl_vector.c289 IN const size_t index, OUT void *const p_element)
295 if (index >= p_vector->size)
298 cl_vector_get(p_vector, index, p_element);
303 IN const size_t index, IN void *const p_element)
313 if (index >= p_vector->size) {
314 /* Resize to accomodate the given index. */
315 status = cl_vector_set_size(p_vector, index + 1);
317 /* Check for failure on or before the given index. */
318 if ((status != CL_SUCCESS) && (p_vector->size < index))
323 p_dest = cl_vector_get_ptr(p_vector, index);
288 cl_vector_at(IN const cl_vector_t * const p_vector, IN const size_t index, OUT void *const p_element) argument
302 cl_vector_set(IN cl_vector_t * const p_vector, IN const size_t index, IN void *const p_element) argument
405 size_t index; local
[all...]
H A Dcl_ptr_vector.c105 IN const size_t index, OUT void **const p_element)
111 if (index >= p_vector->size)
114 *p_element = cl_ptr_vector_get(p_vector, index);
119 IN const size_t index,
128 if (index >= p_vector->size) {
129 /* Resize to accomodate the given index. */
130 status = cl_ptr_vector_set_size(p_vector, index + 1);
132 /* Check for failure on or before the given index. */
133 if ((status != CL_SUCCESS) && (p_vector->size < index))
138 p_vector->p_ptr_array[index]
104 cl_ptr_vector_at(IN const cl_ptr_vector_t * const p_vector, IN const size_t index, OUT void **const p_element) argument
118 cl_ptr_vector_set(IN cl_ptr_vector_t * const p_vector, IN const size_t index, IN const void *const element) argument
143 cl_ptr_vector_remove(IN cl_ptr_vector_t * const p_vector, IN const size_t index) argument
[all...]
/freebsd-13-stable/sys/dev/wtap/plugins/
H A Dvisibility.c144 uint32_t index = map->map[i]; local
146 int vis = index & 0x01;
164 index = index >> 1;
175 int index = l->id2/ARRAY_SIZE; local
178 map->map[index] = map->map[index] | value;
182 l->id1, l->id2, index, map->map[index], bit);
192 int index local
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/API/
H A DSBEnvironment.h41 /// Return the name of the environment variable at a given index from the
44 /// \param [in] index
45 /// The index of the environment variable in the internal list.
48 /// The name at the given index or null if the index is invalid.
49 const char *GetNameAtIndex(size_t index);
51 /// Return the value of the environment variable at a given index from the
54 /// \param [in] index
55 /// The index of the environment variable in the internal list.
58 /// The value at the given index o
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/API/
H A DSBEnvironment.cpp59 const char *SBEnvironment::GetNameAtIndex(size_t index) { argument
61 index);
63 if (index >= GetNumValues())
65 return ConstString(std::next(m_opaque_up->begin(), index)->first())
69 const char *SBEnvironment::GetValueAtIndex(size_t index) { argument
71 index);
73 if (index >= GetNumValues())
75 return ConstString(std::next(m_opaque_up->begin(), index)->second)
/freebsd-13-stable/contrib/processor-trace/libipt/internal/include/
H A Dpt_block_cache.h203 * It is expected that all calls for the same @index write the same @bce.
207 * Returns -pte_internal if @index is outside of @bcache.
209 extern int pt_bcache_add(struct pt_block_cache *bcache, uint64_t index,
219 * Returns -pte_internal if @index is outside of @bcache.
223 uint64_t index);
/freebsd-13-stable/crypto/heimdal/lib/com_err/
H A Dlex.l64 index { return INDEX; }
/freebsd-13-stable/contrib/com_err/
H A Dlex.l64 index { return INDEX; }
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachORelocation.h26 uint32_t r_symbolnum; // symbol index if r_extern == 1 else section index
46 MachORelocation(uint32_t addr, uint32_t index, bool pcrel, uint8_t len, argument
49 r_address(addr), r_symbolnum(index), r_pcrel(pcrel), r_length(len),
/freebsd-13-stable/contrib/llvm-project/clang/lib/Tooling/Refactoring/Rename/
H A DSymbolOccurrences.cpp32 MultipleRanges[Loc.index()] = SourceRange(
34 Loc.value().getLocWithOffset(NamePieces[Loc.index()].size()));
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-pko.c97 * @param index
100 static int __cvmx_pko_int(int interface, int index) argument
103 cvmx_helper_cfg_assert(index >= 0);
108 cvmx_helper_cfg_assert(index < 4);
109 return index;
112 cvmx_helper_cfg_assert(index == 0);
116 cvmx_helper_cfg_assert(index < 4);
117 return index + 8;
120 cvmx_helper_cfg_assert(index < 4);
121 return index
148 cvmx_pko_get_base_pko_port(int interface, int index) argument
159 cvmx_pko_get_num_pko_ports(int interface, int index) argument
485 int interface, index; local
524 __cvmx_pko_get_pipe(int interface, int index) argument
[all...]
H A Dcvmx-tlb.h79 * @param index Index of the TLB entry
85 void cvmx_tlb_write_entry(int index, uint64_t vaddr, uint64_t paddr,
93 * @param index Index of the TLB entry
107 * This version writes a runtime entry. It will check the index to make sure
110 * @param index Index of the TLB entry
116 void cvmx_tlb_write_runtime_entry(int index, uint64_t vaddr, uint64_t paddr,
121 * Find the TLB index of a given virtual address
125 * >=0 TLB TLB index
/freebsd-13-stable/sys/dev/mlx5/mlx5_lib/
H A Dmlx5_gid.c98 int index = 0; local
100 index = ida_simple_get(&dev->roce.reserved_gids.ida,
103 if (index < 0)
104 return index;
106 mlx5_core_dbg(dev, "Allocating reserved GID %u\n", index);
107 *gid_index = index;
123 int mlx5_core_roce_gid_set(struct mlx5_core_dev *dev, unsigned int index, argument
152 MLX5_SET(set_roce_address_in, in, roce_address_index, index);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Target/NVPTX/
H A DNVPTXUtilities.h59 bool getAlign(const Function &, unsigned index, unsigned &);
60 bool getAlign(const CallInst &, unsigned index, unsigned &);
/freebsd-13-stable/contrib/ofed/opensm/include/complib/
H A Dcl_vector.h63 * allows efficient constant time access to elements with a specified index.
187 (*cl_pfn_vec_apply_t) (IN const size_t index,
191 * index
195 * [in] Pointer to an element at the specified index in the vector.
223 (*cl_pfn_vec_find_t) (IN const size_t index,
227 * index
231 * [in] Pointer to an element at the specified index in the vector.
535 * stored in a vector at a specified index.
540 IN const size_t index)
545 return (p_vector->p_ptr_array[index]);
539 cl_vector_get_ptr(IN const cl_vector_t * const p_vector, IN const size_t index) argument
581 cl_vector_get(IN const cl_vector_t * const p_vector, IN const size_t index, OUT void *const p_element) argument
[all...]

Completed in 400 milliseconds

1234567891011>>