/linux-master/fs/btrfs/tests/ |
H A D | extent-io-tests.c | 27 unsigned long end_index = end >> PAGE_SHIFT; local 34 while (index <= end_index) { 36 end_index, &fbatch);
|
/linux-master/fs/ |
H A D | dax.c | 1030 pgoff_t end_index = wbc->range_end >> PAGE_SHIFT; local 1041 trace_dax_writeback_range(inode, xas.xa_index, end_index); 1043 tag_pages_for_writeback(mapping, xas.xa_index, end_index); 1046 xas_for_each_marked(&xas, entry, end_index, PAGECACHE_TAG_TOWRITE) { 1061 trace_dax_writeback_range_done(inode, xas.xa_index, end_index);
|
/linux-master/drivers/gpu/drm/amd/display/modules/color/ |
H A D | color_gamma.c | 369 uint32_t begin_index, end_index; local 377 end_index = begin_index + 12 * NUM_PTS_IN_REGION; 382 for (; i <= end_index; i++) { 1186 uint32_t begin_index, end_index; local 1198 end_index = begin_index + 12 * NUM_PTS_IN_REGION; 1207 while (i != end_index) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
H A D | fw_tracer.c | 908 u32 index, start_index, end_index; local 920 end_index = (saved_traces_index - 1) & (SAVED_TRACES_NUM - 1); 924 while (index != end_index) {
|
/linux-master/fs/hugetlbfs/ |
H A D | inode.c | 320 unsigned long end_index; local 333 end_index = (isize - 1) >> huge_page_shift(h); 334 if (index > end_index) 336 if (index == end_index) {
|
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/ |
H A D | ppatomctrl.c | 1342 uint16_t end_index, uint32_t *efuse) 1349 if ((end_index - start_index) == 31) 1352 mask = (1 << ((end_index - start_index) + 1)) - 1; 1358 ((end_index - start_index) + 1); 1341 atomctrl_read_efuse(struct pp_hwmgr *hwmgr, uint16_t start_index, uint16_t end_index, uint32_t *efuse) argument
|
/linux-master/drivers/md/persistent-data/ |
H A D | dm-array.c | 433 * end_index - the one-past-the-end value. ie. this block is not removed. 436 unsigned int end_index) 440 while (begin_index != end_index) { 435 drop_blocks(struct resize *resize, unsigned int begin_index, unsigned int end_index) argument
|
/linux-master/fs/hostfs/ |
H A D | hostfs_kern.c | 405 int end_index = inode->i_size >> PAGE_SHIFT; local 408 if (page->index >= end_index)
|
/linux-master/mm/ |
H A D | madvise.c | 225 pgoff_t end_index = linear_page_index(vma, end) - 1; local 230 xas_for_each(&xas, folio, end_index) {
|
H A D | shmem.c | 2802 pgoff_t end_index; local 2806 end_index = i_size >> PAGE_SHIFT; 2807 if (index > end_index) 2809 if (index == end_index) { 2838 end_index = i_size >> PAGE_SHIFT; 2839 if (index == end_index) {
|
H A D | vmalloc.c | 4364 unsigned long end_index; local 4381 if (check_add_overflow(size, off, &end_index) || 4382 end_index > get_vm_area_size(area))
|
/linux-master/drivers/video/fbdev/via/ |
H A D | hw.c | 973 int start_index, end_index, cr_index; local 980 end_index = reg[i].end_bit; 984 for (j = start_index; j <= end_index; j++) {
|
/linux-master/fs/iomap/ |
H A D | buffered-io.c | 1831 pgoff_t end_index = isize >> PAGE_SHIFT; local 1840 * Note that the pgoff_t used for end_index is an unsigned long. 1843 * "if (folio->index >= end_index + 1)", "end_index + 1" would 1851 if (folio->index > end_index || 1852 (folio->index == end_index && poff == 0))
|
/linux-master/fs/nfs/ |
H A D | write.c | 277 pgoff_t end_index; local 281 end_index = ((i_size - 1) >> folio_shift(folio)) << folio_order(folio); 282 if (i_size > 0 && folio_index(folio) < end_index)
|
/linux-master/drivers/gpu/drm/radeon/ |
H A D | rv6xx_dpm.c | 241 u32 start_index, u8 *end_index) 292 *end_index = (u8)step_index - 1; 306 u32 start_index, u32 end_index) 310 for (step_index = start_index + 1; step_index < end_index; step_index++) 239 rv6xx_generate_steps(struct radeon_device *rdev, u32 low, u32 high, u32 start_index, u8 *end_index) argument 305 rv6xx_invalidate_intermediate_steps_range(struct radeon_device *rdev, u32 start_index, u32 end_index) argument
|
/linux-master/drivers/mtd/nand/raw/ |
H A D | nandsim.c | 1313 pgoff_t index, start_index, end_index; local 1318 end_index = (pos + count - 1) >> PAGE_SHIFT; 1319 if (end_index - start_index + 1 > NS_MAX_HELD_PAGES) 1322 for (index = start_index; index <= end_index; index++) {
|
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/ |
H A D | fs_core.c | 804 int end_index) 825 fg->max_ftes = end_index - start_index + 1; 834 int end_index, 842 start_index, end_index); 1397 int end_index = MLX5_GET(create_flow_group_in, fg_in, local 1407 start_index, end_index, 800 alloc_flow_group(struct mlx5_flow_steering *steering, u8 match_criteria_enable, const void *match_criteria, int start_index, int end_index) argument 830 alloc_insert_flow_group(struct mlx5_flow_table *ft, u8 match_criteria_enable, const void *match_criteria, int start_index, int end_index, struct list_head *prev) argument
|
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn32/ |
H A D | dcn32_fpu.c | 2677 unsigned int end_index = 0; local 2684 end_index = ++i; 2687 end_index = ++i; 2690 if (start_index != end_index) { 2691 for (int j = start_index; j < end_index; j++) { 2692 for (int k = start_index; k < end_index; k++) { 2700 end_index = 0;
|
/linux-master/fs/reiserfs/ |
H A D | inode.c | 2510 unsigned long end_index = inode->i_size >> PAGE_SHIFT; local 2545 if (folio->index >= end_index) { 2550 if (folio->index >= end_index + 1 || !last_offset) {
|
/linux-master/drivers/net/ethernet/emulex/benet/ |
H A D | be.h | 231 u16 end_index; /* Completed TXQ Index */ member in struct:be_tx_compl_info
|
H A D | be_main.c | 2724 txcp->end_index = GET_TX_COMPL_BITS(wrb_index, compl); 2889 txcp->end_index); 3273 num_wrbs += be_tx_compl_process(adapter, txo, txcp->end_index);
|
/linux-master/drivers/md/ |
H A D | dm-integrity.c | 3725 unsigned int end_index, end_offset; local 3731 &end_index, &end_offset); 3733 n_pages = (end_index - start_index + 1); 3743 for (idx = start_index; idx <= end_index; idx++) { 3749 if (idx == end_index)
|
/linux-master/fs/f2fs/ |
H A D | data.c | 2743 const pgoff_t end_index = ((unsigned long long)i_size) local 2791 if (page->index < end_index || 2801 if ((page->index >= end_index + 1) || !offset)
|
/linux-master/drivers/scsi/aic7xxx/ |
H A D | aic7xxx_core.c | 3522 u_int end_index; local 3524 end_index = index + 1 + ahc->msgout_buf[index + 1]; 3529 if (ahc->msgout_index > end_index) 3534 index = end_index;
|
H A D | aic79xx_core.c | 5027 u_int end_index; local 5029 end_index = index + 1 + ahd->msgout_buf[index + 1]; 5034 if (ahd->msgout_index > end_index) 5039 index = end_index;
|