/kernel/linux/linux-5.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 …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
D | drm_modes.c | 1390 static int drm_mode_parse_cmdline_bpp(const char *str, char **end_ptr, in drm_mode_parse_cmdline_bpp() argument 1399 bpp = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_bpp() 1400 if (*end_ptr == str) in drm_mode_parse_cmdline_bpp() 1409 static int drm_mode_parse_cmdline_refresh(const char *str, char **end_ptr, in drm_mode_parse_cmdline_refresh() argument 1418 refresh = simple_strtol(str, end_ptr, 10); in drm_mode_parse_cmdline_refresh() 1419 if (*end_ptr == str) in drm_mode_parse_cmdline_refresh() 1488 char *end_ptr; in drm_mode_parse_cmdline_res_mode() local 1490 xres = simple_strtol(str, &end_ptr, 10); in drm_mode_parse_cmdline_res_mode() 1491 if (end_ptr == str) in drm_mode_parse_cmdline_res_mode() 1494 if (end_ptr[0] != 'x') in drm_mode_parse_cmdline_res_mode() [all …]
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
D | pmu-events.c | 389 char *end_ptr; in is_number() local 393 v = strtod(str, &end_ptr); in is_number() 395 return errno == 0 && end_ptr != str; in is_number()
|
/kernel/linux/linux-5.10/fs/btrfs/ |
D | backref.h | 93 u32 end_ptr; member 148 iter->end_ptr = 0; in btrfs_backref_iter_release()
|
D | backref.c | 2432 iter->end_ptr = (u32)(iter->item_ptr + 2451 if (iter->cur_ptr >= iter->end_ptr) { 2473 iter->end_ptr = (u32)(iter->item_ptr + btrfs_item_size_nr( 2503 ASSERT(iter->cur_ptr < iter->end_ptr); 2519 if (iter->cur_ptr < iter->end_ptr) 2538 iter->end_ptr = iter->item_ptr + (u32)btrfs_item_size_nr(path->nodes[0],
|
/kernel/linux/linux-5.10/tools/testing/selftests/sparc64/drivers/ |
D | adi-test.c | 154 char *dash, *end_ptr; in build_memory_map() local 163 start_addr[range_count] = strtoull(line, &end_ptr, 16); in build_memory_map() 164 end_addr[range_count] = strtoull(end_ptr, NULL, 16); in build_memory_map()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet.h | 579 unsigned int end_ptr; /* Tx ring end CB ptr */ member 605 unsigned int end_ptr; /* Rx ring end CB ptr */ member
|
D | bcmgenet.c | 1689 if (ring->write_ptr == ring->end_ptr) in bcmgenet_get_txcb() 1707 ring->write_ptr = ring->end_ptr; in bcmgenet_put_txcb() 1859 if (likely(ring->clean_ptr < ring->end_ptr)) in __bcmgenet_tx_reclaim() 2321 if (likely(ring->read_ptr < ring->end_ptr)) in bcmgenet_desc_rx() 2573 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_tx_ring() argument 2598 ring->end_ptr = end_ptr - 1; in bcmgenet_init_tx_ring() 2622 bcmgenet_tdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_tx_ring() 2633 unsigned int start_ptr, unsigned int end_ptr) in bcmgenet_init_rx_ring() argument 2653 ring->end_ptr = end_ptr - 1; in bcmgenet_init_rx_ring() 2683 bcmgenet_rdma_ring_writel(priv, index, end_ptr * words_per_bd - 1, in bcmgenet_init_rx_ring() [all …]
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
D | sdio.c | 2714 u8 *dbg_ptr, *end_ptr, dump_num, idx, i, read_reg, doneflag = 0; in mwifiex_sdio_fw_dump() local 2790 end_ptr = dbg_ptr + memory_size; in mwifiex_sdio_fw_dump() 2811 if (dbg_ptr < end_ptr) in mwifiex_sdio_fw_dump() 2838 u8 *dbg_ptr, *end_ptr; in mwifiex_sdio_generic_fw_dump() local 2889 end_ptr = dbg_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump() 2907 if (dbg_ptr >= end_ptr) { in mwifiex_sdio_generic_fw_dump() 2921 end_ptr = entry->mem_ptr + entry->mem_size; in mwifiex_sdio_generic_fw_dump()
|
D | pcie.c | 2844 u8 *dbg_ptr, *end_ptr, *tmp_ptr, fw_dump_num, dump_num; in mwifiex_pcie_fw_dump() local 2921 end_ptr = dbg_ptr + memory_size; in mwifiex_pcie_fw_dump() 2936 if (dbg_ptr < end_ptr) { in mwifiex_pcie_fw_dump() 2952 end_ptr = entry->mem_ptr + memory_size; in mwifiex_pcie_fw_dump()
|
/kernel/linux/linux-5.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()
|
/kernel/linux/linux-5.10/drivers/bluetooth/ |
D | btmrvl_sdio.c | 1350 u8 *dbg_ptr, *end_ptr, *fw_dump_data, *fw_dump_ptr; in btmrvl_sdio_coredump() local 1439 end_ptr = dbg_ptr + memory_size; in btmrvl_sdio_coredump() 1458 if (dbg_ptr < end_ptr) in btmrvl_sdio_coredump()
|
/kernel/linux/linux-5.10/kernel/trace/ |
D | ftrace.c | 6780 void ftrace_free_mem(struct module *mod, void *start_ptr, void *end_ptr) in ftrace_free_mem() argument 6783 unsigned long end = (unsigned long)(end_ptr); in ftrace_free_mem()
|