/freebsd-13-stable/sys/vm/ |
H A D | vm_reserv.c | 102 * Computes the index of the small page underlying the given (object, pindex) 227 * address. The physical reservation number is used as the array index. 311 static void vm_reserv_depopulate(vm_reserv_t rv, int index); 315 static void vm_reserv_populate(vm_reserv_t rv, int index); 448 vm_reserv_depopulate(vm_reserv_t rv, int index) argument 457 KASSERT(popmap_is_set(rv->popmap, index), 459 index)); 471 popmap_clear(rv->popmap, index); 554 * Returns TRUE if the given reservation contains the given page index and 569 vm_reserv_populate(vm_reserv_t rv, int index) argument 636 int i, index, n; local 833 int index; local [all...] |
/freebsd-13-stable/sys/dev/sfxge/common/ |
H A D | efx_rx.c | 135 __in unsigned int index, 810 __in unsigned int index, 838 erp->er_index = index; 842 if ((rc = erxop->erxo_qcreate(enp, index, label, type, type_data, esmp, 864 __in unsigned int index, 874 return efx_rx_qcreate_internal(enp, index, label, type, NULL, 883 __in unsigned int index, 897 return efx_rx_qcreate_internal(enp, index, label, 909 __in unsigned int index, 937 rc = efx_rx_qcreate_internal(enp, index, labe 808 efx_rx_qcreate_internal( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in_opt const efx_rxq_type_data_t *type_data, __in efsys_mem_t *esmp, __in size_t ndescs, __in uint32_t id, __in unsigned int flags, __in efx_evq_t *eep, __deref_out efx_rxq_t **erpp) argument 862 efx_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in efsys_mem_t *esmp, __in size_t ndescs, __in uint32_t id, __in unsigned int flags, __in efx_evq_t *eep, __deref_out efx_rxq_t **erpp) argument 881 efx_rx_qcreate_packed_stream( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in uint32_t ps_buf_size, __in efsys_mem_t *esmp, __in size_t ndescs, __in efx_evq_t *eep, __deref_out efx_rxq_t **erpp) argument 907 efx_rx_qcreate_es_super_buffer( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in uint32_t n_bufs_per_desc, __in uint32_t max_dma_len, __in uint32_t buf_stride, __in uint32_t hol_block_timeout, __in efsys_mem_t *esmp, __in size_t ndescs, __in unsigned int flags, __in efx_evq_t *eep, __deref_out efx_rxq_t **erpp) argument 1005 unsigned int index; local 1337 int index; local 1588 siena_rx_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in unsigned int label, __in efx_rxq_type_t type, __in_opt const efx_rxq_type_data_t *type_data, __in efsys_mem_t *esmp, __in size_t ndescs, __in uint32_t id, __in unsigned int flags, __in efx_evq_t *eep, __in efx_rxq_t *erp) argument [all...] |
H A D | efx_ev.c | 69 __in unsigned int index, 224 __in unsigned int index, 265 eep->ee_index = index; 281 if ((rc = eevop->eevo_qcreate(enp, index, esmp, ndescs, id, us, flags, 394 unsigned int index; local 444 for (index = 0; index < total; ++index) { 451 index + EFSYS_OPT_EV_PREFETCH_PERIOD == total) { 461 code = EFX_QWORD_FIELD(ev[index], FSF_AZ_EV_COD 222 efx_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t ndescs, __in uint32_t id, __in uint32_t us, __in uint32_t flags, __deref_out efx_evq_t **eepp) argument 1294 siena_ev_qcreate( __in efx_nic_t *enp, __in unsigned int index, __in efsys_mem_t *esmp, __in size_t ndescs, __in uint32_t id, __in uint32_t us, __in uint32_t flags, __in efx_evq_t *eep) argument [all...] |
/freebsd-13-stable/sys/dev/kbd/ |
H A D | kbd.c | 203 int index; local 207 for (index = 0; index < keyboards; ++index) { 208 if (keyboard[index] == NULL) 211 if (index >= keyboards) { 216 kbd->kb_index = index; 227 keyboard[index] = kbd; 237 return (index); 298 * starting at given index 301 kbd_find_keyboard2(char *driver, int unit, int index) argument 335 int index; local 406 kbd_get_keyboard(int index) argument [all...] |
/freebsd-13-stable/sys/dev/mlx4/mlx4_ib/ |
H A D | mlx4_ib_alias_GUID.c | 94 /* The location of the specific index starts from bit number 4 113 static __be64 get_cached_alias_guid(struct mlx4_ib_dev *dev, int port, int index) argument 115 if (index >= NUM_ALIAS_GUID_PER_PORT) { 116 pr_err("%s: ERROR: asked for index:%d\n", __func__, index); 119 return *(__be64 *)&dev->sriov.demux[port - 1].guid_cache[index]; 123 ib_sa_comp_mask mlx4_ib_get_aguid_comp_mask_from_ix(int index) argument 125 return IB_SA_COMP_MASK(4 + index); 133 int index = slave % 8; local 146 all_recs[GUID_REC_SIZE * index]; 455 invalidate_guid_record(struct mlx4_ib_dev *dev, u8 port, int index) argument 500 int index = rec->block_num; local [all...] |
/freebsd-13-stable/contrib/flex/src/ |
H A D | scanopt.c | 59 int index; /* Used as: argv[index][subscript]. */ 131 /* Macro to assure we reset subscript whenever we adjust s->index.*/ 134 (s)->index += (n); \ 148 s->index = 1; 508 if (s->index > 0 && s->index < s->argc) { 511 s->argv[s->index][s->subscript]; 516 optname = s->argv[s->index]; 674 SAFE_ASSIGN (optindex, s->index); 58 int index; /* Used as: argv[index][subscript]. */ member in struct:_scanopt_t [all...] |
/freebsd-13-stable/sys/dev/isci/scil/ |
H A D | scif_sas_controller.c | 415 // Retrieve the domain handle if the supplied index is legitimate. 586 U8 index; local 588 for(index = 0; index < SCI_MAX_DOMAINS; index++) 590 if(fw_controller->domains[index].parent.state_machine.current_state_id == 1116 U8 index; local 1127 index = fw_controller->current_domain_to_clear_affiliation; 1129 if (index < SCI_MAX_DOMAINS) 1131 fw_domain = &fw_controller->domains[index]; 1194 U8 index; local [all...] |
H A D | sci_abstract_list.c | 130 int index; local 140 for (index = element_count - 1; index >= 0; index--) 142 private_pool_free(pool, &(list_elements[index]));
|
H A D | scif_sas_controller_state_handlers.c | 173 U8 index; local 184 for (index = 0; index < SCI_MAX_DOMAINS && status == SCI_SUCCESS; index++) 186 fw_domain = &fw_controller->domains[index]; 297 U32 index; local 314 for (index = 0; index < SCI_MAX_DOMAINS; index++) 315 scif_sas_domain_initialize(&fw_controller->domains[index]); 372 U16 index = 0; local [all...] |
/freebsd-13-stable/sys/powerpc/pseries/ |
H A D | mmu_phyp.c | 433 uint64_t index, junk; local 441 pte->pte_lo, &index, &evicted.pte_lo, &junk); 443 pvo->pvo_pte.slot = index; 458 pte->pte_hi, pte->pte_lo, &index, &evicted.pte_lo, &junk); 460 pvo->pvo_pte.slot = index; 474 uint64_t index, junk, lastptelo; local 479 index = mphyp_pte_spillable_ident(pvo->pvo_pte.slot, &evicted); 480 if (index == -1L) { 485 index = mphyp_pte_spillable_ident(pvo->pvo_pte.slot, &evicted); 488 if (index [all...] |
/freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_stoptheworld_netbsd_libcdep.cpp | 55 tid_t GetThreadID(uptr index) const; 60 PtraceRegistersStatus GetRegistersAndSP(uptr index, uptr *buffer, 316 tid_t SuspendedThreadsListNetBSD::GetThreadID(uptr index) const { 317 CHECK_LT(index, thread_ids_.size()); 318 return thread_ids_[index]; 338 uptr index, uptr *buffer, uptr *sp) const { 339 lwpid_t tid = GetThreadID(index); 337 GetRegistersAndSP( uptr index, uptr *buffer, uptr *sp) const argument
|
/freebsd-13-stable/contrib/bsnmp/snmpd/ |
H A D | snmpmod.h | 98 * This set of macros allows specification of the link and index name. 99 * The index is an OID. 210 * Macros for the case where the index field is called 'index' 213 INSERT_OBJECT_OID_LINK_INDEX(PTR, LIST, LINK, index) 216 INSERT_OBJECT_INT_LINK_INDEX(PTR, LIST, LINK, index) 219 FIND_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, index) 222 NEXT_OBJECT_OID_LINK_INDEX(LIST, OID, SUB, LINK, index) 225 FIND_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, LINK, index) 228 NEXT_OBJECT_INT_LINK_INDEX(LIST, OID, SUB, LINK, index) [all...] |
/freebsd-13-stable/contrib/llvm-project/clang/lib/Index/ |
H A D | IndexSymbol.cpp | 18 using namespace clang::index; 53 bool index::isFunctionLocalSymbol(const Decl *D) { 85 SymbolInfo index::getSymbolInfo(const Decl *D) { 398 SymbolInfo index::getSymbolInfoForMacro(const MacroInfo &) { 407 bool index::applyForEachSymbolRoleInterruptible(SymbolRoleSet Roles, 441 void index::applyForEachSymbolRole(SymbolRoleSet Roles, 449 void index::printSymbolRoles(SymbolRoleSet Roles, raw_ostream &OS) { 482 bool index::printSymbolName(const Decl *D, const LangOptions &LO, 500 StringRef index::getSymbolKindString(SymbolKind K) { 536 StringRef index [all...] |
/freebsd-13-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-helper-util.c | 411 int index; local 509 for (index = 0; index < num_ports; index++) 510 cvmx_write_csr(CVMX_GMXX_TXX_THRESH(index, interface), 520 for (index = 0; index < num_ports; index++) 524 if (__cvmx_helper_cfg_pko_port_base(interface, index) >= 0) 527 CVMX_GMXX_TXX_PIPE(index, interfac [all...] |
H A D | cvmx-spi.c | 230 int index; local 255 for (index=0; index<32; index++) 262 cvmx_write_csr(CVMX_SRXX_SPI4_CALX(index, interface), srxx_spi4_calx.u64); 266 cvmx_write_csr(CVMX_STXX_SPI4_CALX(index, interface), stxx_spi4_calx.u64); 330 int index; local 345 index = 0; 355 cvmx_write_csr(CVMX_SRXX_SPI4_CALX(index, interface), srxx_spi4_calx.u64); 356 index [all...] |
H A D | cvmx-pko.h | 450 * Get the first pko_port for the (interface, index) 453 * @param index 455 extern int cvmx_pko_get_base_pko_port(int interface, int index); 458 * Get the number of pko_ports for the (interface, index) 461 * @param index 463 extern int cvmx_pko_get_num_pko_ports(int interface, int index); 578 * - Retrieving the stats involves writing the index through 593 int index = cvmx_helper_get_interface_index_num(ipd_port); local 594 port_base = cvmx_helper_get_pko_port(interface, index); 597 port_limit = port_base + cvmx_pko_get_num_pko_ports(interface, index); [all...] |
/freebsd-13-stable/sys/geom/ |
H A D | geom_slice.c | 114 gsl = &gsp->slices[pp->index]; 119 if (u == pp->index) 177 idx = bp->bio_to->index; 204 /* Add index to the ident received. */ 206 bp->bio_parent->bio_to->index); 233 idx = pp->index; 338 sbuf_printf(sb, " i %u", pp->index); 340 (uintmax_t)gsp->slices[pp->index].offset); 344 sbuf_printf(sb, "%s<index>%u</index>\ [all...] |
/freebsd-13-stable/sys/geom/part/ |
H A D | g_part_bsd.c | 395 int error, index; local 444 for (index = basetable->gpt_entries - 1; index >= 0; index--) { 445 p = buf + 148 + index * 16; 458 baseentry = g_part_new_entry(basetable, index + 1, 463 if (index == RAW_PART) 508 int error, index; local 514 for (index = 1; index < [all...] |
/freebsd-13-stable/lib/libc/isc/ |
H A D | ev_timers.c | 260 if (heap_element(ctx->timers, del->index) != del) 263 if (heap_delete(ctx->timers, del->index) < 0) 287 if (heap_element(ctx->timers, timer->index) != timer) 313 if (heap_element(ctx->timers, timer->index) != timer) 342 result = heap_increased(ctx->timers, timer->index); 348 result = heap_decreased(ctx->timers, timer->index); 458 set_index(void *what, int index) { argument 462 timer->index = index;
|
/freebsd-13-stable/sys/geom/multipath/ |
H A D | g_multipath.c | 133 if ((cp->index & MP_BAD) == 0) 148 cp->index |= cause; 152 (lcp->index & (MP_LOST | MP_NEW))) 161 lcp->index &= ~MP_FAIL; 168 if ((lcp->index & MP_BAD) == 0) { 194 if (cp->index & MP_BAD) 196 cp->index += MP_IDLE; 198 (cp->private == best->private && cp->index > best->index)) 202 best->index [all...] |
/freebsd-13-stable/contrib/llvm-project/lld/lib/ReaderWriter/MachO/ |
H A D | MachONormalizedFileYAML.cpp | 59 static Section& element(IO &io, std::vector<Section> &seq, size_t index) { argument 60 if ( index >= seq.size() ) 61 seq.resize(index+1); 62 return seq[index]; 71 static Symbol& element(IO &io, std::vector<Symbol> &seq, size_t index) { argument 72 if ( index >= seq.size() ) 73 seq.resize(index+1); 74 return seq[index]; 84 static Relocation& element(IO &io, Relocations &seq, size_t index) { argument 85 if ( index > 97 element(IO &io, ContentBytes &seq, size_t index) argument 112 element(IO &io, IndirectSymbols &seq, size_t index) argument [all...] |
/freebsd-13-stable/lib/libusb/ |
H A D | usb.h | 277 int usb_get_string(usb_dev_handle * dev, int index, int langid, char *buf, size_t buflen); 278 int usb_get_string_simple(usb_dev_handle * dev, int index, char *buf, size_t buflen); 279 int usb_get_descriptor_by_endpoint(usb_dev_handle * udev, int ep, uint8_t type, uint8_t index, void *buf, int size); 280 int usb_get_descriptor(usb_dev_handle * udev, uint8_t type, uint8_t index, void *buf, int size); 289 int usb_control_msg(usb_dev_handle * dev, int requesttype, int request, int value, int index, char *bytes, int size, int timeout);
|
/freebsd-13-stable/contrib/apr-util/ldap/ |
H A D | apr_ldap_rebind.c | 44 LDAP *index; member in struct:apr_ldap_rebind_entry 113 new_xref->index = ld; 173 while ((tmp_xref) && (tmp_xref->index != ld)) { 189 apr_pool_cleanup_kill(tmp_xref->pool, tmp_xref->index, 225 if (tmp_xref->index == ld) {
|
/freebsd-13-stable/sys/dev/mlxfw/ |
H A D | mlxfw_fsm.c | 119 err = mlxfw_dev->ops->component_query(mlxfw_dev, comp->index, 128 comp->index, comp->data_size, comp_max_size); 137 comp->index, 163 comp->index); 200 pr_info("Flashing component type %d\n", comp->index);
|
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm-c/ |
H A D | lto.h | 279 lto_module_get_symbol_name(lto_module_t mod, unsigned int index); 287 lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index); 620 size_t index, 715 unsigned int index); 738 unsigned int index);
|