/third_party/curl/tests/libtest/ |
H A D | lib530.c | 45 int max_count; /* max number of sockets that fit in allocated array */ member 92 sockets->max_count = 20; in addFd() 94 else if(sockets->count + 1 > sockets->max_count) { in addFd() 96 (sockets->max_count + 20)); in addFd() 101 sockets->max_count += 20; in addFd()
|
/kernel/linux/linux-5.10/fs/nfs/ |
H A D | direct.c | 82 max_count, /* max expected count */ member 123 if (dreq->max_count >= dreq_len) { in nfs_direct_handle_truncated() 124 dreq->max_count = dreq_len; in nfs_direct_handle_truncated() 147 if (dreq_len > dreq->max_count) in nfs_direct_count_bytes() 148 dreq_len = dreq->max_count; in nfs_direct_count_bytes() 470 dreq->bytes_left = dreq->max_count = count; in nfs_file_direct_read() 581 dreq->max_count = 0; in nfs_direct_write_reschedule() 583 dreq->max_count += req->wb_bytes; in nfs_direct_write_reschedule() 629 dreq->max_count = 0; in nfs_direct_commit_complete() 968 dreq->bytes_left = dreq->max_count in nfs_file_direct_write() [all...] |
/third_party/libwebsockets/include/libwebsockets/ |
H A D | lws-ring.h | 137 * lws_ring_insert(): attempt to insert up to max_count elements from src 141 * \param max_count: the number of available elements at src 144 * maximum max_count. Returns the number of elements actually inserted. 147 lws_ring_insert(struct lws_ring *ring, const void *src, size_t max_count); 150 * lws_ring_consume(): attempt to copy out and remove up to max_count elements 156 * \param max_count: the number of available elements at src 159 * the perspective of the given tail, up to max_count. If dest is NULL, the 172 size_t max_count);
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 220 if (pde->count >= pde->max_count) in pulse_queue_enqueue() 307 u32 max_count = 0; in pseq_handler_add_to_existing_seqs() local 327 if (max_count < ps->count) in pseq_handler_add_to_existing_seqs() 328 max_count = ps->count; in pseq_handler_add_to_existing_seqs() 333 return max_count; in pseq_handler_add_to_existing_seqs() 432 de->max_count = rs->ppb * 2; in pri_detector_init()
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ |
H A D | dfs_pri_detector.c | 219 if (pde->count >= pde->max_count) in pulse_queue_enqueue() 306 u32 max_count = 0; in pseq_handler_add_to_existing_seqs() local 326 if (max_count < ps->count) in pseq_handler_add_to_existing_seqs() 327 max_count = ps->count; in pseq_handler_add_to_existing_seqs() 332 return max_count; in pseq_handler_add_to_existing_seqs() 431 de->max_count = rs->ppb * 2; in pri_detector_init()
|
/kernel/linux/linux-6.6/fs/nfs/ |
H A D | direct.c | 92 if (dreq->max_count >= dreq_len) { in nfs_direct_handle_truncated() 93 dreq->max_count = dreq_len; in nfs_direct_handle_truncated() 114 if (dreq_len > dreq->max_count) in nfs_direct_count_bytes() 115 dreq_len = dreq->max_count; in nfs_direct_count_bytes() 127 if (req_start < dreq->max_count) in nfs_direct_truncate_request() 128 dreq->max_count = req_start; in nfs_direct_truncate_request() 211 return dreq->max_count - start; in nfs_dreq_bytes_left() 444 dreq->bytes_left = dreq->max_count = count; in nfs_file_direct_read() 991 dreq->bytes_left = dreq->max_count = count; in nfs_file_direct_write()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/container/internal/ |
H A D | btree.h | 523 // // TODO(ezb): make max_count use only 4 bits and record log2(capacity) 525 // field_type max_count; 527 // // The array of values. The capacity is `max_count` for leaf nodes and 530 // slot_type values[max_count]; 560 /*position, start, finish, max_count*/ 4, in SizeWithNSlots() 594 // The node is internal (i.e. is not a leaf node) if and only if `max_count` 602 /*position, start, finish, max_count*/ 4, in LeafLayout() 608 /*position, start, finish, max_count*/ 4, in InternalLayout() 668 field_type max_count() const { 669 // Internal nodes have max_count 853 init_leaf(btree_node *parent, int max_count) init_leaf() argument 1101 field_type max_count = node_type::kInternalNodeMaxCount + 1; global() variable 1480 new_leaf_root_node(const int max_count) new_leaf_root_node() argument [all...] |
/third_party/node/deps/v8/third_party/zlib/ |
H A D | trees.c | 713 int max_count = 7; /* max repeat count */ local 716 if (nextlen == 0) max_count = 138, min_count = 3; 721 if (++count < max_count && curlen == nextlen) { 735 max_count = 138, min_count = 3; 737 max_count = 6, min_count = 3; 739 max_count = 7, min_count = 4; 758 int max_count = 7; /* max repeat count */ local 762 if (nextlen == 0) max_count = 138, min_count = 3; 766 if (++count < max_count && curlen == nextlen) { 786 max_count [all...] |
/third_party/node/deps/zlib/ |
H A D | trees.c | 716 int max_count = 7; /* max repeat count */ in scan_tree() local 719 if (nextlen == 0) max_count = 138, min_count = 3; in scan_tree() 724 if (++count < max_count && curlen == nextlen) { in scan_tree() 738 max_count = 138, min_count = 3; in scan_tree() 740 max_count = 6, min_count = 3; in scan_tree() 742 max_count = 7, min_count = 4; in scan_tree() 757 int max_count = 7; /* max repeat count */ in send_tree() local 761 if (nextlen == 0) max_count = 138, min_count = 3; in send_tree() 765 if (++count < max_count && curlen == nextlen) { in send_tree() 785 max_count in send_tree() [all...] |
/third_party/libwebsockets/win32port/zlib/ |
H A D | trees.c | 721 int max_count = 7; /* max repeat count */
local 724 if (nextlen == 0) max_count = 138, min_count = 3;
729 if (++count < max_count && curlen == nextlen) {
743 max_count = 138, min_count = 3;
745 max_count = 6, min_count = 3;
747 max_count = 7, min_count = 4;
766 int max_count = 7; /* max repeat count */
local 770 if (nextlen == 0) max_count = 138, min_count = 3;
774 if (++count < max_count && curlen == nextlen) {
794 max_count [all...] |
/third_party/skia/third_party/externals/zlib/ |
H A D | trees.c | 713 int max_count = 7; /* max repeat count */ local 716 if (nextlen == 0) max_count = 138, min_count = 3; 721 if (++count < max_count && curlen == nextlen) { 735 max_count = 138, min_count = 3; 737 max_count = 6, min_count = 3; 739 max_count = 7, min_count = 4; 758 int max_count = 7; /* max repeat count */ local 762 if (nextlen == 0) max_count = 138, min_count = 3; 766 if (++count < max_count && curlen == nextlen) { 786 max_count [all...] |
/third_party/zlib/ |
H A D | trees.c | 737 int max_count = 7; /* max repeat count */ in scan_tree() local 740 if (nextlen == 0) max_count = 138, min_count = 3; in scan_tree() 745 if (++count < max_count && curlen == nextlen) { in scan_tree() 759 max_count = 138, min_count = 3; in scan_tree() 761 max_count = 6, min_count = 3; in scan_tree() 763 max_count = 7, min_count = 4; in scan_tree() 779 int max_count = 7; /* max repeat count */ in send_tree() local 783 if (nextlen == 0) max_count = 138, min_count = 3; in send_tree() 787 if (++count < max_count && curlen == nextlen) { in send_tree() 807 max_count in send_tree() [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.c | 38 struct qed_bmap *bmap, u32 max_count, char *name) in qed_rdma_bmap_alloc() 40 DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "max_count = %08x\n", max_count); in qed_rdma_bmap_alloc() 42 bmap->max_count = max_count; in qed_rdma_bmap_alloc() 44 bmap->bitmap = kcalloc(BITS_TO_LONGS(max_count), sizeof(long), in qed_rdma_bmap_alloc() 58 *id_num = find_first_zero_bit(bmap->bitmap, bmap->max_count); in qed_rdma_bmap_alloc_id() 59 if (*id_num >= bmap->max_count) in qed_rdma_bmap_alloc_id() 73 if (id_num >= bmap->max_count) in qed_bmap_set_id() 84 if (id_num >= bmap->max_count) in qed_bmap_release_id() 37 qed_rdma_bmap_alloc(struct qed_hwfn *p_hwfn, struct qed_bmap *bmap, u32 max_count, char *name) qed_rdma_bmap_alloc() argument [all...] |
H A D | qed_rdma.h | 53 u32 max_count; member 186 struct qed_bmap *bmap, u32 max_count, char *name);
|
/kernel/linux/linux-5.10/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 449 size_t max_count; in inv_icm42600_buffer_fifo_read() local 465 max_count = sizeof(st->fifo.data); in inv_icm42600_buffer_fifo_read() 467 max_count = max * inv_icm42600_get_packet_size(st->fifo.en); in inv_icm42600_buffer_fifo_read() 480 if (st->fifo.count > max_count) in inv_icm42600_buffer_fifo_read() 481 st->fifo.count = max_count; in inv_icm42600_buffer_fifo_read()
|
/kernel/linux/linux-6.6/drivers/iio/imu/inv_icm42600/ |
H A D | inv_icm42600_buffer.c | 450 size_t max_count; in inv_icm42600_buffer_fifo_read() local 466 max_count = sizeof(st->fifo.data); in inv_icm42600_buffer_fifo_read() 468 max_count = max * inv_icm42600_get_packet_size(st->fifo.en); in inv_icm42600_buffer_fifo_read() 481 if (st->fifo.count > max_count) in inv_icm42600_buffer_fifo_read() 482 st->fifo.count = max_count; in inv_icm42600_buffer_fifo_read()
|
/kernel/linux/linux-5.10/sound/oss/dmasound/ |
H A D | dmasound_core.c | 480 sq->max_count = sq->numBufs ; in sq_setup() 513 sq->max_count = sq->user_frags ; in sq_setup() 515 sq->max_active = (sq->max_active <= sq->max_count) ? in sq_setup() 516 sq->max_active : sq->max_count ; in sq_setup() 521 sq->max_count = in sq_setup() 647 dest = write_sq.buffers[(write_sq.rear+1) % write_sq.max_count]; in sq_write() 658 write_sq.rear = (write_sq.rear+1) % write_sq.max_count; in sq_write() 823 /* write_sq.front = (write_sq.rear+1) % write_sq.max_count;*/ in sq_reset_output() 974 from max_count. This could be a LL driver issue - I guess in set_queue_frags() 1324 "write", write_sq.max_count, write_s in state_open() [all...] |
/kernel/linux/linux-5.10/drivers/staging/hungtask/ |
H A D | hungtask_base.c | 114 static bool rcu_break(int *max_count, int *batch_count, in rcu_break() argument 118 if (!(*max_count)--) in rcu_break() 130 int max_count = PID_MAX_LIMIT; in get_pid_by_name() local 138 if (rcu_break(&max_count, &batch_count, g, t)) in get_pid_by_name() 173 int max_count = PID_MAX_LIMIT; in refresh_appspawn_pids() local 180 if (rcu_break(&max_count, &batch_count, g, t)) in refresh_appspawn_pids() 755 int max_count = PID_MAX_LIMIT; in htbase_check_tasks() local 770 if (!max_count--) in htbase_check_tasks()
|
/kernel/linux/linux-6.6/drivers/staging/hungtask/ |
H A D | hungtask_base.c | 114 static bool rcu_break(int *max_count, int *batch_count, in rcu_break() argument 118 if (!(*max_count)--) in rcu_break() 130 int max_count = PID_MAX_LIMIT; in get_pid_by_name() local 138 if (rcu_break(&max_count, &batch_count, g, t)) in get_pid_by_name() 173 int max_count = PID_MAX_LIMIT; in refresh_appspawn_pids() local 180 if (rcu_break(&max_count, &batch_count, g, t)) in refresh_appspawn_pids() 755 int max_count = PID_MAX_LIMIT; in htbase_check_tasks() local 770 if (!max_count--) in htbase_check_tasks()
|
/kernel/linux/linux-6.6/sound/oss/dmasound/ |
H A D | dmasound_core.c | 480 sq->max_count = sq->numBufs ; in sq_setup() 513 sq->max_count = sq->user_frags ; in sq_setup() 515 sq->max_active = (sq->max_active <= sq->max_count) ? in sq_setup() 516 sq->max_active : sq->max_count ; in sq_setup() 521 sq->max_count = in sq_setup() 647 dest = write_sq.buffers[(write_sq.rear+1) % write_sq.max_count]; in sq_write() 658 write_sq.rear = (write_sq.rear+1) % write_sq.max_count; in sq_write() 823 /* write_sq.front = (write_sq.rear+1) % write_sq.max_count;*/ in sq_reset_output() 974 from max_count. This could be a LL driver issue - I guess in set_queue_frags() 1310 "write", write_sq.max_count, write_s in state_open() [all...] |
/kernel/linux/linux-5.10/drivers/tty/serial/ |
H A D | bcm63xx_uart.c | 230 unsigned int max_count; in bcm_uart_do_rx() local 235 max_count = 32; in bcm_uart_do_rx() 295 } while (--max_count); in bcm_uart_do_rx() 309 unsigned int val, max_count; in bcm_uart_do_tx() local 329 max_count = port->fifosize - val; in bcm_uart_do_tx() 331 while (max_count--) { in bcm_uart_do_tx()
|
/third_party/vulkan-loader/tests/ |
H A D | loader_debug_ext_tests.cpp | 240 uint32_t max_count = 5; in TEST_F() local 242 ASSERT_EQ(env->vulkan_functions.vkEnumeratePhysicalDevices(inst, &max_count, devices.data()), VK_INCOMPLETE); in TEST_F() 265 uint32_t max_count = 5; in TEST_F() local 267 ASSERT_EQ(env->vulkan_functions.vkEnumeratePhysicalDevices(inst, &max_count, devices.data()), VK_INCOMPLETE); in TEST_F() 655 uint32_t max_count = 5; in TEST_F() local 657 ASSERT_EQ(env->vulkan_functions.vkEnumeratePhysicalDevices(inst, &max_count, devices.data()), VK_INCOMPLETE); in TEST_F() 688 uint32_t max_count = 5; in TEST_F() local 690 ASSERT_EQ(env->vulkan_functions.vkEnumeratePhysicalDevices(inst, &max_count, devices.data()), VK_INCOMPLETE); in TEST_F() 719 uint32_t max_count = 5; in TEST_F() local 721 ASSERT_EQ(env->vulkan_functions.vkEnumeratePhysicalDevices(inst, &max_count, device in TEST_F() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/ |
H A D | qed_rdma.c | 39 struct qed_bmap *bmap, u32 max_count, char *name) in qed_rdma_bmap_alloc() 41 DP_VERBOSE(p_hwfn, QED_MSG_RDMA, "max_count = %08x\n", max_count); in qed_rdma_bmap_alloc() 43 bmap->max_count = max_count; in qed_rdma_bmap_alloc() 45 bmap->bitmap = bitmap_zalloc(max_count, GFP_KERNEL); in qed_rdma_bmap_alloc() 58 *id_num = find_first_zero_bit(bmap->bitmap, bmap->max_count); in qed_rdma_bmap_alloc_id() 59 if (*id_num >= bmap->max_count) in qed_rdma_bmap_alloc_id() 73 if (id_num >= bmap->max_count) in qed_bmap_set_id() 84 if (id_num >= bmap->max_count) in qed_bmap_release_id() 38 qed_rdma_bmap_alloc(struct qed_hwfn *p_hwfn, struct qed_bmap *bmap, u32 max_count, char *name) qed_rdma_bmap_alloc() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/cavium/liquidio/ |
H A D | request_manager.c | 93 iq->max_count = num_descs; in octeon_init_instr_queue() 110 iq_no, iq->base_addr, &iq->base_addr_dma, iq->max_count); in octeon_init_instr_queue() 186 q_size = iq->max_count * desc_size; in octeon_delete_instr_queue() 316 if (atomic_read(&iq->instr_pending) >= (s32)(iq->max_count - 1)) { in __post_command2() 322 if (atomic_read(&iq->instr_pending) >= (s32)(iq->max_count - 2)) in __post_command2() 330 iq->max_count); in __post_command2() 426 old = incr_index(old, 1, iq->max_count); in lio_process_iq_request_list()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/cavium/liquidio/ |
H A D | request_manager.c | 84 iq->max_count = num_descs; in octeon_init_instr_queue() 101 iq_no, iq->base_addr, &iq->base_addr_dma, iq->max_count); in octeon_init_instr_queue() 177 q_size = iq->max_count * desc_size; in octeon_delete_instr_queue() 310 if (atomic_read(&iq->instr_pending) >= (s32)(iq->max_count - 1)) { in __post_command2() 316 if (atomic_read(&iq->instr_pending) >= (s32)(iq->max_count - 2)) in __post_command2() 324 iq->max_count); in __post_command2() 421 old = incr_index(old, 1, iq->max_count); in lio_process_iq_request_list()
|