Searched refs:count (Results 1 - 25 of 2328) sorted by last modified time

1234567891011>>

/haiku-fatelf/headers/os/drivers/
H A DACPI.h99 uint32 count; member in struct:acpi_object_type::__anon21::__anon24
123 uint32 count; member in struct:acpi_objects
/haiku-fatelf/headers/os/add-ons/graphics/
H A DAccelerant.h300 typedef void (*set_indexed_colors)(uint count, uint8 first,
327 uint32 count);
329 fill_rect_params* list, uint32 count);
331 uint32 count);
333 uint32 transparent_color, blit_params* list, uint32 count);
335 scaled_blit_params* list, uint32 count);
338 uint32 count);
344 where N is in the range 0 to count-1.
/haiku-fatelf/src/add-ons/kernel/drivers/network/attansic_l1/dev/age/
H A Dif_age.c527 device_printf(dev, "MSIX count : %d\n", msixc);
528 device_printf(dev, "MSI count : %d\n", msic);
2267 int count, nsegs, pktlen; local
2297 for (count = 0; count < nsegs; count++,
2314 if (count != 0) {
2331 if (count == nsegs - 1) {
2407 if (count != nsegs) {
2415 age_rxintr(struct age_softc *sc, int rr_prod, int count) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/attansic_l2/dev/ae/
H A Dif_ae.c281 device_printf(dev, "MSI count: %d.\n", nmsi);
1531 unsigned int count; local
1547 count = 0;
1564 count++;
1573 if (count > 0) { /* Something was dequeued. */
1577 if_printf(ifp, "%d packets dequeued.\n", count);
/haiku-fatelf/src/add-ons/kernel/drivers/network/marvell_yukon/dev/msk/
H A Dif_msk.c1911 device_printf(dev, "MSI count : %d\n", msic);
2137 int count, error; local
2146 count = 3 * MSK_RX_RING_CNT + MSK_TX_RING_CNT;
2151 count = imin(4096, roundup2(count, 1024));
2152 sc->msk_stat_count = count;
2153 stat_sz = count * sizeof(struct msk_stat_desc);
3218 /* Don't count flow-control packet as errors. */
3283 /* Don't count flow-control packet as errors. */
4127 uint32_t count)
4126 msk_set_prefetch(struct msk_softc *sc, int qaddr, bus_addr_t addr, uint32_t count) argument
[all...]
/haiku-fatelf/src/add-ons/kernel/partitioning_systems/gpt/
H A Defi_gpt.cpp316 // TODO: should count actual utf-8 chars
410 partitionable_space_data* buffer, int32 count, int32* actualCount)
409 efi_gpt_get_partitionable_spaces(partition_data* partition, partitionable_space_data* buffer, int32 count, int32* actualCount) argument
H A Defi_gpt.h68 void SetEntryCount(uint32 count) argument
69 { entry_count = B_HOST_TO_LENDIAN_INT32(count); }
/haiku-fatelf/src/add-ons/kernel/network/stack/
H A Dstack.cpp357 int32 count = 0; local
364 TRACE((" [%ld] %s\n", count, module));
365 chain->modules[count] = strdup(module);
366 if (chain->modules[count] == NULL
367 || ++count >= MAX_CHAIN_MODULES) {
374 if (chains == sProtocolChains && count == 0) {
708 uint32 count = 0;
709 while (chain->modules[count] != NULL) {
710 count++;
713 chain->infos[count]
[all...]
/haiku-fatelf/src/bin/bfs_tools/lib/
H A DInode.cpp502 uint32 count = 0; local
513 if (count++ > kMaxBrokenAttributes)
/haiku-fatelf/src/bin/bfs_tools/
H A Drecover.cpp223 off_t count = 0LL; local
235 // printf("reading block %Ld, allocation group %Ld, %Ld inodes...\33[1A\n", offset / disk.BlockSize(),offset / (disk.BlockSize() << disk.SuperBlock()->ag_shift), count);
262 count++;
272 100 * (offset - start) / (end - start), count);
276 printf("\n%Ld inodes found.\n", count);
283 directories, directorySize, files, fileSize, symlinks, count);
422 off_t count = 0; local
429 count++;
430 if ((count % 50) == 0)
431 fprintf(stderr, "%Ld inodes processed...\33[1A\n", count);
681 int32 count = 0; local
[all...]
/haiku-fatelf/src/kits/media/
H A DTimeSource.cpp53 int32 count; member in class:BPrivate::media::SlaveNodes
62 count = 0;
355 for (int i = 0, n = 0; i < SLAVE_NODES_COUNT && n != fSlaveNodes->count; i++) {
377 for (int i = 0, n = 0; i < SLAVE_NODES_COUNT && n != fSlaveNodes->count; i++) {
511 if (fSlaveNodes->count == SLAVE_NODES_COUNT) {
523 fSlaveNodes->count += 1;
524 if (fSlaveNodes->count == 1) {
548 if (fSlaveNodes->count == 0) {
556 fSlaveNodes->count -= 1;
557 if (fSlaveNodes->count
[all...]
/haiku-fatelf/src/kits/tracker/
H A DRegExp.cpp1133 int32 count = 0; local
1141 count = (int32)strlen(scan);
1142 scan += count;
1147 count++;
1154 count++;
1161 count++;
1168 count = 0; // Best compromise.
1173 return count;
H A DSlowContextPopup.cpp203 for (int32 count = 0; count < kItemsToAddChunk; count++) {
491 int32 count = fItemList->CountItems(); local
492 for (int32 index = 0; index < count; index++)
497 if (!count) {
539 int32 count = menu->CountItems(); local
540 for (int32 index = 0; index < count; index++) {
/haiku-fatelf/src/preferences/filetypes/
H A DApplicationTypeWindow.cpp70 virtual void KeyDown(const char* bytes, int32 count);
129 TabFilteringTextView::KeyDown(const char* bytes, int32 count) argument
132 BView::KeyDown(bytes, count);
134 BTextView::KeyDown(bytes, count);
/haiku-fatelf/src/libs/icon/shape/
H A DVectorPath.cpp51 int32 count, bool closed)
53 if (count > 1) {
56 for (int32 i = 1; i < count; i++) {
64 points[count - 1].point_out.x, points[count - 1].point_out.y,
1065 VectorPath::_SetPointCount(int32 count) argument
1068 if (count >= fAllocCount) {
1069 fAllocCount = ((count) / ALLOC_CHUNKS + 1) * ALLOC_CHUNKS;
1081 // update point count
1083 fPointCount = count;
50 get_path_storage(agg::path_storage& path, const control_point* points, int32 count, bool closed) argument
1107 int32 count = listeners.CountItems(); local
1119 int32 count = listeners.CountItems(); local
1131 int32 count = listeners.CountItems(); local
1143 int32 count = listeners.CountItems(); local
1155 int32 count = listeners.CountItems(); local
1167 int32 count = listeners.CountItems(); local
[all...]
/haiku-fatelf/src/preferences/backgrounds/
H A DBackgroundImage.cpp394 int32 count = fBitmapForWorkspaceList.CountItems(); local
400 for (int32 index = 0; index < count; index++) {
472 int32 count = fBitmapForWorkspaceList.CountItems(); local
474 for (int32 index = 0; index < count; index++) {
/haiku-fatelf/src/libs/icon/style/
H A DGradientTransformable.cpp195 int32 count = CountColors(); local
196 if (count == other.CountColors() &&
202 for (int32 i = 0; i < count; i++) {
239 int32 count = CountColors(); local
240 for (; index < count; index++) {
398 Gradient::MakeGradient(uint32* colors, int32 count) const
412 int32 index = (int32)floorf(count * from->offset + 0.5);
415 if (index > count)
416 index = count;
456 int32 offset = (int32)floorf((count
607 int32 count = CountColors(); local
[all...]
/haiku-fatelf/src/system/kernel/fs/
H A Dvfs.cpp333 bool traverseLeafLink, int count, bool kernel,
548 const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested,
556 fCount(count),
562 fVecs = (generic_io_vec*)alloc_tracing_buffer_memcpy(vecs, sizeof(generic_io_vec) * count,
602 const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested,
605 PagesIOTraceEntry(vnode, cookie, pos, vecs, count, flags,
621 const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested,
624 PagesIOTraceEntry(vnode, cookie, pos, vecs, count, flags,
964 // file_cache_create()), so that this vnode's ref count has the chance to
968 // count, s
547 PagesIOTraceEntry(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested, status_t status, generic_size_t bytesTransferred) argument
601 ReadPages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested, status_t status, generic_size_t bytesTransferred) argument
620 WritePages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, uint32 count, uint32 flags, generic_size_t bytesRequested, status_t status, generic_size_t bytesTransferred) argument
1255 uint32 count = 1; local
2113 vnode_path_to_vnode(struct vnode* vnode, char* path, bool traverseLeafLink, int count, struct io_context* ioContext, struct vnode** _vnode, ino_t* _parentID) argument
2297 vnode_path_to_vnode(struct vnode* vnode, char* path, bool traverseLeafLink, int count, bool kernel, struct vnode** _vnode, ino_t* _parentID) argument
3393 uint32 count = 0; local
4510 vfs_read_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, uint32 flags, generic_size_t* _numBytes) argument
4538 vfs_write_pages(struct vnode* vnode, void* cookie, off_t pos, const generic_io_vec* vecs, size_t count, uint32 flags, generic_size_t* _numBytes) argument
[all...]
/haiku-fatelf/src/system/kernel/
H A Dteam.cpp462 dead_children.count = 0;
820 // user-defined count.
858 int32 count = fUserTimers.DeleteTimers(userDefinedOnly); local
859 UserDefinedTimersRemoved(count);
863 /*! If not at the limit yet, increments the team's user-defined timer count.
879 /*! Subtracts the given count for the team's user-defined timer count.
880 \param count The count to subtract.
883 Team::UserDefinedTimersRemoved(int32 count) argument
[all...]
H A Dthread.cpp430 // user-defined count.
467 int32 count = fUserTimers.DeleteTimers(userDefinedOnly); local
468 if (count > 0)
469 team->UserDefinedTimersRemoved(count);
2033 if (parent->dead_children.count > MAX_DEAD_CHILDREN) {
2035 parent->dead_children.count--;
3050 int32 count;
3053 &count) != B_OK)
3056 return count == 0 ? false : true;
3689 _user_unblock_threads(thread_id* userThreads, uint32 count, status_
[all...]
H A Dsem.cpp74 queued_thread(Thread *thread, int32 count) argument
77 count(count),
83 int32 count; member in struct:queued_thread
94 int32 count; member in struct:sem_entry::__anon328::__anon329
96 // count + acquisition count of all blocked
156 kprintf("%-*s id count team last name\n", B_PRINTF_POINTER_WIDTH,
169 " %s\n", sem, sem->id, sem->u.used.count,
187 kprintf("count
479 create_sem_etc(int32 count, const char* name, team_id owner) argument
725 create_sem(int32 count, const char* name) argument
746 acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
760 switch_sem_etc(sem_id semToBeReleased, sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
924 release_sem_etc(sem_id id, int32 count, uint32 flags) argument
1207 _user_create_sem(int32 count, const char *userName) argument
1240 _user_acquire_sem_etc(sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
1265 _user_switch_sem_etc(sem_id releaseSem, sem_id id, int32 count, uint32 flags, bigtime_t timeout) argument
1289 _user_release_sem_etc(sem_id id, int32 count, uint32 flags) argument
1299 int32 count; local
[all...]
/haiku-fatelf/src/system/kernel/debug/
H A Dtracing.cpp1329 int32 start = 0; // special index: print the last count entries
1330 int32 count = 0;
1377 // get start, count, maxToCheck
1378 int32* params[3] = { &start, &count, &maxToCheck };
1410 count = _previousCount;
1421 // defaults for count and maxToCheck
1422 if (count == 0)
1423 count = 30;
1425 maxToCheck = count;
1430 direction = (start <= 0 || count <
[all...]
/haiku-fatelf/src/system/kernel/device_manager/
H A Ddma_resources.cpp33 DMABuffer::Create(size_t count) argument
36 sizeof(DMABuffer) + sizeof(generic_io_vec) * (count - 1));
40 buffer->fVecCount = count;
47 DMABuffer::SetVecCount(uint32 count) argument
49 fVecCount = count;
185 ", max segment count %" B_PRIu32 ", align %" B_PRIuGENADDR ", "
455 uint32 count = 1; local
457 &entry, &count);
486 TRACE(" physical count %lu\n", segmentCount);
679 // If total length > max transfer size, segment count > ma
[all...]
/haiku-fatelf/src/system/kernel/locks/
H A Dlock.cpp215 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
228 lock->count = 0;
245 lock->count = 0;
314 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
320 ASSERT(lock->count >= RW_LOCK_WRITER_COUNT_BASE);
346 if (lock->count >= RW_LOCK_WRITER_COUNT_BASE)
352 ASSERT(lock->count >= RW_LOCK_WRITER_COUNT_BASE);
398 // Decrement the count. ATM this is all we have to do. There's at least
403 atomic_add(&lock->count, -1);
443 // count
[all...]
/haiku-fatelf/src/add-ons/kernel/drivers/network/ipro100/dev/fxp/
H A Dif_fxp.c225 uint8_t statack, int count);
1673 fxp_poll(struct ifnet *ifp, enum poll_cmd cmd, int count) argument
1701 rx_npkts = fxp_intr_body(sc, ifp, statack, count);
1862 int count)
1877 /* Pick up a deferred RNR condition if `count' ran out last time. */
1932 #ifdef DEVICE_POLLING /* loop at most count times if count >=0 */
1933 if (count >= 0 && count-- == 0) {
2390 cbp->stripping = !prm; /* truncate rx packet to byte count */
1861 fxp_intr_body(struct fxp_softc *sc, struct ifnet *ifp, uint8_t statack, int count) argument
2754 int count = 10000; local
2774 int count = 10000; local
3005 int count; local
[all...]

Completed in 215 milliseconds

1234567891011>>