/linux-5.19.10/tools/testing/selftests/resctrl/ |
D | fill_buf.c | 84 static int fill_one_span_read(unsigned char *start_ptr, unsigned char *end_ptr) in fill_one_span_read() argument 90 while (p < end_ptr) { in fill_one_span_read() 99 void fill_one_span_write(unsigned char *start_ptr, unsigned char *end_ptr) in fill_one_span_write() argument 104 while (p < end_ptr) { in fill_one_span_write() 110 static int fill_cache_read(unsigned char *start_ptr, unsigned char *end_ptr, in fill_cache_read() argument 117 ret = fill_one_span_read(start_ptr, end_ptr); in fill_cache_read() 134 static int fill_cache_write(unsigned char *start_ptr, unsigned char *end_ptr, in fill_cache_write() argument 138 fill_one_span_write(start_ptr, end_ptr); in fill_cache_write() 150 unsigned char *start_ptr, *end_ptr; in fill_cache() local 163 end_ptr = start_ptr + buf_size; in fill_cache() [all …]
|
/linux-5.19.10/tools/perf/util/ |
D | thread_map.c | 189 char *end_ptr; in thread_map__new_by_pid_str() local 198 pid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_pid_str() 201 (*end_ptr != '\0' && *end_ptr != ',')) in thread_map__new_by_pid_str() 248 char *end_ptr; in thread_map__new_by_tid_str() local 262 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str() 265 (*end_ptr != '\0' && *end_ptr != ',')) in thread_map__new_by_tid_str()
|
/linux-5.19.10/drivers/gpu/drm/ |
D | drm_modes.c | 1453 static int drm_mode_parse_cmdline_bpp(const char *str, char **end_ptr, in drm_mode_parse_cmdline_bpp() argument 1462 bpp = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_bpp() 1463 if (*end_ptr == str) in drm_mode_parse_cmdline_bpp() 1472 static int drm_mode_parse_cmdline_refresh(const char *str, char **end_ptr, in drm_mode_parse_cmdline_refresh() argument 1481 refresh = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_refresh() 1482 if (*end_ptr == str) in drm_mode_parse_cmdline_refresh() 1551 char *end_ptr; in drm_mode_parse_cmdline_res_mode() local 1553 xres = simple_strtol(str, &end_ptr, 10); in drm_mode_parse_cmdline_res_mode() 1554 if (end_ptr == str) in drm_mode_parse_cmdline_res_mode() 1557 if (end_ptr[0] != 'x') in drm_mode_parse_cmdline_res_mode() [all …]
|
/linux-5.19.10/sound/soc/meson/ |
D | axg-fifo.c | 117 dma_addr_t end_ptr; in axg_fifo_pcm_hw_params() local 122 end_ptr = runtime->dma_addr + runtime->dma_bytes - AXG_FIFO_BURST; in axg_fifo_pcm_hw_params() 124 regmap_write(fifo->map, FIFO_FINISH_ADDR, end_ptr); in axg_fifo_pcm_hw_params()
|
/linux-5.19.10/fs/btrfs/ |
D | backref.h | 95 u32 end_ptr; member 150 iter->end_ptr = 0; in btrfs_backref_iter_release()
|
D | backref.c | 2376 iter->end_ptr = (u32)(iter->item_ptr + in btrfs_backref_iter_start() 2395 if (iter->cur_ptr >= iter->end_ptr) { in btrfs_backref_iter_start() 2417 iter->end_ptr = (u32)(iter->item_ptr + btrfs_item_size( in btrfs_backref_iter_start() 2448 ASSERT(iter->cur_ptr < iter->end_ptr); in btrfs_backref_iter_next() 2464 if (iter->cur_ptr < iter->end_ptr) in btrfs_backref_iter_next() 2484 iter->end_ptr = iter->item_ptr + (u32)btrfs_item_size(path->nodes[0], in btrfs_backref_iter_next()
|
/linux-5.19.10/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 150 char *dash, *end_ptr; in build_memory_map() local 159 start_addr[range_count] = strtoull(line, &end_ptr, 16); in build_memory_map() 160 end_addr[range_count] = strtoull(end_ptr, NULL, 16); in build_memory_map()
|
/linux-5.19.10/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 525 unsigned int end_ptr; /* Tx ring end CB ptr */ member 551 unsigned int end_ptr; /* Rx ring end CB ptr */ member
|
D | bcmgenet.c | 1737 if (ring->write_ptr == ring->end_ptr) in bcmgenet_get_txcb() 1755 ring->write_ptr = ring->end_ptr; in bcmgenet_put_txcb() 1907 if (likely(ring->clean_ptr < ring->end_ptr)) in __bcmgenet_tx_reclaim() 2369 if (likely(ring->read_ptr < ring->end_ptr)) in bcmgenet_desc_rx() 2621 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_tx_ring() argument 2646 ring->end_ptr = end_ptr - 1; in bcmgenet_init_tx_ring() 2670 bcmgenet_tdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_tx_ring() 2680 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_rx_ring() argument 2700 ring->end_ptr = end_ptr - 1; in bcmgenet_init_rx_ring() 2730 bcmgenet_rdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_rx_ring() [all …]
|
/linux-5.19.10/tools/perf/tests/ |
D | pmu-events.c | 784 char *end_ptr; in is_number() local 788 v = strtod(str, &end_ptr); in is_number() 790 return errno == 0 && end_ptr != str; in is_number()
|
/linux-5.19.10/drivers/net/wireless/marvell/mwifiex/ |
D | sdio.c | 2734 u8 *dbg_ptr, *end_ptr, dump_num, idx, i, read_reg, doneflag = 0; in mwifiex_sdio_fw_dump() local 2810 end_ptr = dbg_ptr + memory_size; in mwifiex_sdio_fw_dump() 2831 if (dbg_ptr < end_ptr) in mwifiex_sdio_fw_dump() 2858 u8 *dbg_ptr, *end_ptr; in mwifiex_sdio_generic_fw_dump() local 2909 end_ptr = dbg_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump() 2927 if (dbg_ptr >= end_ptr) { in mwifiex_sdio_generic_fw_dump() 2941 end_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
|
D | pcie.c | 2854 u8 *dbg_ptr, *end_ptr, *tmp_ptr, fw_dump_num, dump_num; in mwifiex_pcie_fw_dump() local 2931 end_ptr = dbg_ptr + memory_size; in mwifiex_pcie_fw_dump() 2946 if (dbg_ptr < end_ptr) { in mwifiex_pcie_fw_dump() 2962 end_ptr = entry->mem_ptr + memory_size; in mwifiex_pcie_fw_dump()
|
/linux-5.19.10/drivers/mmc/host/ |
D | sdhci-of-esdhc.c | 1000 u8 start_ptr, end_ptr; in esdhc_prepare_sw_tuning() local 1008 esdhc_tuning_window_ptr(host, &start_ptr, &end_ptr); in esdhc_prepare_sw_tuning() 1021 if (abs(start_ptr - end_ptr) > (4 * esdhc->div_ratio + 2)) { in esdhc_prepare_sw_tuning()
|
/linux-5.19.10/drivers/bluetooth/ |
D | btmrvl_sdio.c | 1350 u8 *dbg_ptr, *end_ptr, *fw_dump_data, *fw_dump_ptr; in btmrvl_sdio_coredump() local 1440 end_ptr = dbg_ptr + memory_size; in btmrvl_sdio_coredump() 1459 if (dbg_ptr < end_ptr) in btmrvl_sdio_coredump()
|
/linux-5.19.10/drivers/net/ethernet/microsoft/mana/ |
D | gdma_main.c | 999 u8 *base_ptr, *end_ptr; in mana_gd_write_sgl() local 1003 end_ptr = base_ptr + wq->queue_size; in mana_gd_write_sgl() 1004 size_to_end = (u32)(end_ptr - wqe_ptr); in mana_gd_write_sgl()
|
/linux-5.19.10/kernel/trace/ |
D | ftrace.c | 7204 void ftrace_free_mem(struct module *mod, void *start_ptr, void *end_ptr) in ftrace_free_mem() argument 7207 unsigned long end = (unsigned long)(end_ptr); in ftrace_free_mem()
|