/openbmc/linux/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() argument 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() 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() 101 if (id_num >= bmap->max_count) in qed_bmap_test_id() 109 return bitmap_empty(bmap->bitmap, bmap->max_count); in qed_bmap_is_empty() 333 bmap->name, bmap->max_count, weight); in qed_rdma_bmap_free() 335 for (bit = 0; bit < bmap->max_count; bit += 512) { in qed_rdma_bmap_free() [all …]
|
/openbmc/linux/fs/omfs/ |
H A D | file.c | 124 u32 max_count; in omfs_grow_extent() local 155 max_count = omfs_max_extents(sbi, OMFS_EXTENT_START); in omfs_grow_extent() 158 if (be32_to_cpu(oe->e_extent_count) > max_count-1) in omfs_grow_extent()
|
/openbmc/linux/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()
|
H A D | cn23xx_vf_device.c | 220 octeon_write_csr(oct, CN23XX_VF_SLI_IQ_SIZE(iq_no), iq->max_count); in cn23xx_setup_vf_iq_regs() 251 octeon_write_csr(oct, CN23XX_VF_SLI_OQ_SIZE(oq_no), droq->max_count); in cn23xx_setup_vf_oq_regs() 539 iq->max_count; in cn23xx_update_read_index()
|
/openbmc/linux/kernel/ |
H A D | hung_task.c | 182 int max_count = sysctl_hung_task_check_count; in check_hung_uninterruptible_tasks() local 198 if (!max_count--) in check_hung_uninterruptible_tasks()
|
/openbmc/linux/drivers/misc/ocxl/ |
H A D | core.c | 359 int rc, desired_count, max_count; in set_function_pasid() local 365 rc = ocxl_config_get_pasid_info(dev, &max_count); in set_function_pasid() 371 if (desired_count > max_count) { in set_function_pasid() 374 desired_count, max_count); in set_function_pasid()
|
/openbmc/qemu/hw/9pfs/ |
H A D | trace-events | 22 … uint8_t id, int32_t fid, uint64_t off, uint32_t max_count) "tag %d id %d fid %d off %"PRIu64" max… 24 …8_t id, int32_t fid, uint64_t offset, uint32_t max_count) "tag %d id %d fid %d offset %"PRIu64" ma…
|
H A D | 9p.c | 2234 uint64_t off, uint32_t max_count) in v9fs_xattr_read() argument 2246 if (read_count > max_count) { in v9fs_xattr_read() 2247 read_count = max_count; in v9fs_xattr_read() 2306 if ((count + v9stat.size + 2) > max_count) { in v9fs_do_readdir_with_stat() 2349 uint32_t max_count; in v9fs_read() local 2358 trace_v9fs_read(pdu->tag, pdu->id, fid, off, max_count); in v9fs_read() 2413 } while (count < max_count && len > 0); in v9fs_read() 2566 uint32_t max_count; in v9fs_readdir() local 2571 &initial_offset, &max_count); in v9fs_readdir() 2578 if (max_count > s->msize - 11) { in v9fs_readdir() [all …]
|
/openbmc/linux/drivers/tty/serial/ |
H A D | pic32_uart.c | 269 unsigned int max_count; in pic32_uart_do_rx() local 275 max_count = PIC32_UART_RX_FIFO_DEPTH; in pic32_uart_do_rx() 332 } while (--max_count); in pic32_uart_do_rx() 346 unsigned int max_count = PIC32_UART_TX_FIFO_DEPTH; in pic32_uart_do_tx() local 381 if (--max_count == 0) in pic32_uart_do_tx()
|
H A D | 21285.c | 120 unsigned int status, rxs, max_count = 256; in serial21285_rx_chars() local 124 while (!(status & 0x10) && max_count--) { in serial21285_rx_chars()
|
H A D | milbeaut_usio.c | 153 int max_count = 2; in mlb_usio_rx_chars() local 155 while (max_count--) { in mlb_usio_rx_chars() 197 max_count = readw(port->membase + MLB_USIO_REG_FBYTE) >> 8; in mlb_usio_rx_chars()
|
/openbmc/linux/drivers/dma/idxd/ |
H A D | perfmon.c | 90 int n, max_count; in perfmon_collect_events() local 92 max_count = idxd_pmu->n_counters; in perfmon_collect_events() 95 if (n >= max_count) in perfmon_collect_events() 112 if (n >= max_count) in perfmon_collect_events()
|
/openbmc/linux/drivers/net/ethernet/marvell/octeon_ep/ |
H A D | octep_rx.h | 175 u32 max_count; member
|
H A D | octep_tx.h | 202 u32 max_count; member
|
H A D | octep_cn9k_pf.c | 287 iq->max_count); in octep_setup_iq_regs_cn93_pf() 341 oq->max_count); in octep_setup_oq_regs_cn93_pf() 554 writel(oct->oq[i]->max_count, oct->oq[i]->pkts_credit_reg); in octep_reinit_regs_cn93_pf() 604 new_idx = (iq->octep_read_index + last_done) % iq->max_count; in octep_update_iq_read_index_cn93_pf()
|
/openbmc/linux/drivers/s390/char/ |
H A D | tape_3590.h | 162 __u8 max_count; member
|
/openbmc/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | ext_caps.c | 119 unsigned int max_count = FIELD_GET(GENMASK(3, 0), autocmd_ext_caps); in hci_extcap_auto_command() local 124 count, max_count); in hci_extcap_auto_command()
|
/openbmc/linux/arch/powerpc/perf/ |
H A D | core-fsl-emb.c | 251 static int collect_events(struct perf_event *group, int max_count, in collect_events() argument 258 if (n >= max_count) in collect_events() 266 if (n >= max_count) in collect_events()
|
/openbmc/linux/drivers/input/touchscreen/ |
H A D | ads7846.c | 1047 unsigned int max_count; in ads7846_setup_spi_msg() local 1053 max_count = packet->count + packet->count_skip; in ads7846_setup_spi_msg() 1055 max_count = packet->count; in ads7846_setup_spi_msg() 1058 offset += max_count; in ads7846_setup_spi_msg() 1059 l->count = max_count; in ads7846_setup_spi_msg() 1061 size += sizeof(*packet->tx) * max_count; in ads7846_setup_spi_msg()
|
/openbmc/linux/security/apparmor/include/ |
H A D | policy_ns.h | 30 int max_count; member
|
/openbmc/linux/arch/alpha/kernel/ |
H A D | perf_event.c | 340 static int collect_events(struct perf_event *group, int max_count, in collect_events() argument 348 if (n >= max_count) in collect_events() 356 if (n >= max_count) in collect_events()
|
/openbmc/linux/drivers/scsi/lpfc/ |
H A D | lpfc_mem.c | 104 pool->max_count = 0; in lpfc_mem_alloc() 111 pool->max_count++; in lpfc_mem_alloc() 417 if (pool->current_count < pool->max_count) { in __lpfc_mbuf_free()
|
/openbmc/u-boot/drivers/gpio/ |
H A D | gpio-uclass.c | 882 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name_nodev() argument 888 for (count = 0; count < max_count; count++) { in gpio_request_list_by_name_nodev() 907 struct gpio_desc *desc, int max_count, in gpio_request_list_by_name() argument 916 max_count, flags); in gpio_request_list_by_name()
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | dbtest.c | 940 info.max_count = ACPI_UINT32_MAX; in acpi_db_evaluate_all_predefined_names() 943 info.max_count = strtoul(count_arg, NULL, 0); in acpi_db_evaluate_all_predefined_names() 1099 if (info->count >= info->max_count) { in acpi_db_evaluate_one_predefined_name()
|
/openbmc/linux/net/ipv6/ |
H A D | exthdrs.c | 115 int max_count) in ip6_parse_tlv() argument 124 if (unlikely(max_count < 0)) { in ip6_parse_tlv() 126 max_count = -max_count; in ip6_parse_tlv() 168 if (tlv_count > max_count) in ip6_parse_tlv()
|