/haiku/src/libs/libfdt/ |
H A D | fdt_ro.c | 751 int length, len, idx = 0; local 769 return idx; 772 idx++; 779 const char *property, int idx, 806 if (idx == 0) { 814 idx--; 778 fdt_stringlist_get(const void *fdt, int nodeoffset, const char *property, int idx, int *lenp) argument
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | mkntfs.c | 2124 INDEX_ALLOCATION **idx) 2260 *idx = ia_val; 2272 * Create space of @size bytes at position @pos inside the index block @idx. 2276 static int make_room_for_index_entry_in_index_block(INDEX_BLOCK *idx, argument 2293 if (!idx || !pos) 2295 if ((char*)pos < (char*)idx || (char*)pos + size < (char*)idx || 2296 (char*)pos > (char*)idx + sizeof(INDEX_BLOCK) - 2298 le32_to_cpu(idx->index.allocated_size) || 2299 (char*)pos + size > (char*)idx 2122 upgrade_to_large_index(MFT_RECORD *m, const char *name, u32 name_len, const IGNORE_CASE_BOOL ic, INDEX_ALLOCATION **idx) argument 2402 insert_index_entry_in_res_dir_index(INDEX_ENTRY *idx, u32 idx_size, MFT_RECORD *m, ntfschar *name, u32 name_size, ATTR_TYPES type) argument 2718 insert_file_link_in_dir_index(INDEX_BLOCK *idx, leMFT_REF file_ref, FILE_NAME_ATTR *file_name, u32 file_name_size) argument 2971 create_hardlink(INDEX_BLOCK *idx, const leMFT_REF ref_parent, MFT_RECORD *m_file, const leMFT_REF ref_file, const s64 allocated_size, const s64 data_size, const FILE_ATTR_FLAGS flags, const u16 packed_ea_size, const u32 reparse_point_tag, const char *file_name, const FILE_NAME_TYPE_FLAGS file_name_type) argument 3909 mkntfs_sync_index_record(INDEX_ALLOCATION* idx, MFT_RECORD* m, ntfschar* name, u32 name_len) argument [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192e/ |
H A D | r92e_init.c | 170 int i, chain, idx, off; local 174 idx = chain / 2; 176 reg = rtwn_bb_read(sc, R92C_FPGA0_RFIFACESW(idx));
|
/haiku/src/preferences/printers/ |
H A D | AddPrinterDialog.cpp | 349 for (long idx = 0; ; idx++) { 351 msg.AddSpecifier("Transport", idx);
|
/haiku/src/add-ons/kernel/bus_managers/virtio/ |
H A D | VirtioQueue.cpp | 255 if (fRingUsedIndex == fRing.used->idx) 364 uint16 available = fRing.avail->idx & (fRingSize - 1); 366 fRing.avail->idx++;
|
/haiku/headers/private/userlandfs/fuse/ |
H A D | fuse_common.h | 401 size_t idx; member in struct:fuse_bufvec 418 /* .idx = */ 0, \
|
/haiku/headers/libs/agg/ |
H A D | agg_path_storage_integer.h | 113 unsigned vertex(unsigned idx, double* x, double* y) const argument 115 return m_storage[idx].vertex(x, y);
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ar5212/ |
H A D | ar5212.h | 29 #define CALC_MMR(dcu, idx) \ 30 ( (4 * dcu) + (idx < 32 ? 0 : (idx < 64 ? 1 : (idx < 96 ? 2 : 3))) ) 33 #define CALC_TXBLK_ADDR(dcu, idx) (TXBLK_FROM_MMR(CALC_MMR(dcu, idx))) 34 #define CALC_TXBLK_VALUE(idx) (1 << (idx & 0x1f))
|
/haiku/src/add-ons/kernel/drivers/network/wlan/realtekwifi/dev/rtwn/rtl8192c/ |
H A D | r92c_reg.h | 72 #define R92C_HMEBOX_EXT(idx) (0x088 + (idx) * 2) 109 #define R92C_HMEBOX(idx) (0x1d0 + (idx) * 4) 685 #define R92C_FPGA0_RFIFACESW(idx) (0x870 + (idx) * 4) 686 #define R92C_FPGA0_RFPARAM(idx) (0x878 + (idx) * 4)
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ |
H A D | if_ath_tx_edma.c | 805 int idx; local 815 for (idx = 0; ; idx++) { 828 __func__, idx); 836 idx, (status == HAL_OK));
|
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi4965/dev/iwn/ |
H A D | if_iwn.c | 3208 int idx, int success) 3211 struct iwn_tx_data *data = &ring->data[idx]; 3216 KASSERT(data->ni != NULL, ("idx %d: no node", idx)); 3217 KASSERT(data->m != NULL, ("idx %d: no mbuf", idx)); 3244 DPRINTF(sc, IWN_DEBUG_AMPDU, "%s: freeing m %p ni %p idx %d qid %d\n", 3245 __func__, m, ni, idx, ring->qid); 3339 int len, idx = -1; local 3354 idx 3207 iwn_agg_tx_complete(struct iwn_softc *sc, struct iwn_tx_ring *ring, int tid, int idx, int success) argument 3764 iwn_ampdu_check_bitmap(uint64_t bitmap, int start, int idx) argument 3812 iwn_ampdu_index_check(struct iwn_softc *sc, struct iwn_tx_ring *ring, uint64_t bitmap, int start, int idx) argument 3883 int bit, i, idx, shift, start, tx_err; local 4383 iwn4965_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 4401 iwn5000_update_sched(struct iwn_softc *sc, int qid, int idx, uint8_t id, uint16_t len) argument 4420 iwn5000_reset_sched(struct iwn_softc *sc, int qid, int idx) argument 5762 int maxchpwr, pwr, ridx, idx; local 7802 int idx, error; local [all...] |
/haiku/src/system/libroot/posix/glibc/stdlib/ |
H A D | strtod.c | 948 int idx = (MANT_DIG - 1) / BITS_PER_MP_LIMB; variable 970 retval[idx] = val << (pos - bits + 1); 975 retval[idx--] = val >> (bits - pos - 1); 976 retval[idx] = val << (BITS_PER_MP_LIMB - (bits - pos - 1)); 983 while (--dig_no > 0 && idx >= 0) 994 retval[idx] |= val << (pos - 4 + 1); 999 retval[idx--] |= val >> (4 - pos - 1); 1001 if (idx < 0) 1005 retval[idx] = val; 1011 MPN_ZERO (retval, idx); [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/ |
H A D | if_rge.c | 524 rge_encap(struct rge_queues *q, struct mbuf *m, int idx) argument 547 txq = &q->q_tx.rge_txq[idx]; 578 cur = idx; 604 d = &q->q_tx.rge_tx_list[idx]; 683 int free, idx, used; local 692 idx = q->q_tx.rge_txq_prodidx; 694 if (free <= idx) 696 free -= idx; 708 used = rge_encap(q, m, idx); 722 idx 1203 int idx; local 1247 rge_discard_rxbuf(struct rge_queues *q, int idx) argument 1440 int cons, idx, prod; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/dev/ath/ath_hal/ |
H A D | ah_eeprom_v3.c | 458 uint16_t idx, numPiers; local 461 idx = start_offset; 463 EEREAD(idx++); 480 idx = start_offset + (maxPiers / 2); 490 EEREAD(idx++); 496 EEREAD(idx++); 503 EEREAD(idx++); 516 EEREAD(idx++); 524 EEREAD(idx++); 531 EEREAD(idx [all...] |
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/ |
H A D | if_iwx.c | 1362 int idx, i; local 1368 idx = le32toh(api->api_index); 1369 if (idx >= howmany(IWX_NUM_UCODE_TLV_API, 32)) { 1376 setbit(sc->sc_ucode_api, i + (32 * idx)); 1383 int idx, i; local 1389 idx = le32toh(capa->api_index); 1390 if (idx >= howmany(IWX_NUM_UCODE_TLV_CAPA, 32)) { 1396 setbit(sc->sc_enabled_capa, i + (32 * idx)); 4426 iwx_update_rx_desc(struct iwx_softc *sc, struct iwx_rx_ring *ring, int idx) argument 4428 struct iwx_rx_data *data = &ring->data[idx]; 4447 iwx_rx_addbuf(struct iwx_softc *sc, int size, int idx) argument 5305 iwx_clear_tx_desc(struct iwx_softc *sc, struct iwx_tx_ring *ring, int idx) argument 5340 iwx_txq_advance(struct iwx_softc *sc, struct iwx_tx_ring *ring, uint16_t idx) argument 5436 uint16_t i, tfd_cnt, ra_tid_cnt, idx; local 5752 int idx, code, async, group_id; local 5978 iwx_cmd_done(struct iwx_softc *sc, int qid, int idx, int code) argument 6115 iwx_tx_update_byte_tbl(struct iwx_softc *sc, struct iwx_tx_ring *txq, int idx, uint16_t byte_cnt, uint16_t num_tbs) argument 7809 int idx = iwx_rs_rval2idx(rval); local 7877 int idx = iwx_rs_rval2idx(rval); local 9726 int qid, idx, code; local 9744 int qid, idx, code, handled = 1; local [all...] |
/haiku/src/add-ons/kernel/drivers/network/ether/dec21xxx/dev/dc/ |
H A D | if_dc.c | 378 int idx; local 380 for (idx = (300 / 33) + 1; idx > 0; idx--) 2748 dc_pnic_rx_bug_war(struct dc_softc *sc, int idx) argument 2758 cur_rx = &sc->dc_ldata.dc_rx_list[idx]; 2770 if (i == idx || rxstat & DC_RXSTAT_LASTFRAG) 2984 int idx, setup; local 2999 for (idx = sc->dc_cdata.dc_tx_cons; idx ! 3384 int cur, defragged, error, first, frag, i, idx, nseg; local [all...] |
/haiku/src/add-ons/kernel/bus_managers/acpi/ |
H A D | EmbeddedController.cpp | 121 acpi_PkgInt(acpi_object_type* res, int idx, int* dst) argument 123 acpi_object_type* obj = &res->package.objects[idx]; 133 acpi_PkgInt32(acpi_object_type* res, int idx, uint32* dst) argument 137 status_t status = acpi_PkgInt(res, idx, &tmp);
|
/haiku/src/bin/listusb/ |
H A D | usb_audio.cpp | 218 uint8 idx = 7 + descriptor->num_input_pins; local 220 for (uint i = 1; idx < descriptor->length - 3; idx++, i++) 221 printf("%02x ", (uint8)generic->data[idx]);
|
/haiku/src/apps/diskusage/ |
H A D | Scanner.cpp | 207 int idx = i - parent->children.begin(); local 208 parent->children[idx] = newInfo;
|
/haiku/src/add-ons/kernel/bus_managers/ps2/ |
H A D | ps2_standard_mouse.cpp | 297 dev->name = kStandardMousePath[dev->idx]; 300 dev->name = kIntelliMousePath[dev->idx];
|
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/ |
H A D | e1000_82575.h | 75 u32 idx:4; member in struct:e1000_adv_data_desc::__anon3::__anon4 116 u32 idx:4; member in struct:e1000_adv_context_desc::__anon7::__anon8
|
H A D | em_txrx.c | 55 static int em_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, 61 static int lem_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, 551 lem_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, qidx_t budget) argument 561 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) { 576 em_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, qidx_t budget) argument 586 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) {
|
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/ |
H A D | if_iwm.c | 874 int idx, i; local 880 idx = le32toh(api->api_index); 881 if (idx >= howmany(IWM_NUM_UCODE_TLV_API, 32)) { 888 setbit(sc->sc_ucode_api, i + (32 * idx)); 895 int idx, i; local 901 idx = le32toh(capa->api_index); 902 if (idx >= howmany(IWM_NUM_UCODE_TLV_CAPA, 32)) { 908 setbit(sc->sc_enabled_capa, i + (32 * idx)); 2448 int err, idx, scd_bug; local 2465 idx 4565 iwm_rx_addbuf(struct iwm_softc *sc, int size, int idx) argument 5709 iwm_txq_advance(struct iwm_softc *sc, struct iwm_tx_ring *ring, int idx) argument 5752 uint8_t idx = agg_status[i].idx; local 5854 int idx = cmd_hdr->idx; local 5927 int idx, end_idx; local 6295 int idx, code, async, group_id; local 6527 iwm_cmd_done(struct iwm_softc *sc, int qid, int idx, int code) argument 6561 iwm_update_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id, uint16_t len) argument 6587 iwm_reset_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id) argument 8433 int i, idx, num_active_macs, quota, quota_rem; local 9980 int sec_idx, idx; local 10975 int qid, idx, code; local 10993 int qid, idx, code, handled = 1; local [all...] |
/haiku/src/add-ons/kernel/drivers/audio/sb16/ |
H A D | sb16_multi_audio.c | 108 create_group_control(multi_mix_control* multi, int32 idx, int32 parent, int32 string, const char* name) argument 110 multi->id = SB16_MULTI_CONTROL_FIRSTID + idx;
|
/haiku/src/add-ons/kernel/busses/scsi/usb/ |
H A D | usb_scsi.c | 236 int16 idx = 0; 264 for(idx = 0; idx < epCount; idx++){ 265 if(epts[idx] == -1 && PROTO(udi->properties) != PROTO_VENDOR){ 267 "ignore this interface\n", epnames[idx]);
|