Home
last modified time | relevance | path

Searched refs:last_byte (Results 1 – 19 of 19) sorted by relevance

/Linux-v4.19/fs/qnx6/
Ddir.c38 unsigned long last_byte = inode->i_size; in last_entry() local
39 last_byte -= page_nr << PAGE_SHIFT; in last_entry()
40 if (last_byte > PAGE_SIZE) in last_entry()
41 last_byte = PAGE_SIZE; in last_entry()
42 return last_byte / QNX6_DIR_ENTRY_SIZE; in last_entry()
/Linux-v4.19/fs/nilfs2/
Ddir.c79 unsigned int last_byte = inode->i_size; in nilfs_last_byte() local
81 last_byte -= page_nr << PAGE_SHIFT; in nilfs_last_byte()
82 if (last_byte > PAGE_SIZE) in nilfs_last_byte()
83 last_byte = PAGE_SIZE; in nilfs_last_byte()
84 return last_byte; in nilfs_last_byte()
/Linux-v4.19/fs/exofs/
Ddir.c50 loff_t last_byte = inode->i_size; in exofs_last_byte() local
52 last_byte -= page_nr << PAGE_SHIFT; in exofs_last_byte()
53 if (last_byte > PAGE_SIZE) in exofs_last_byte()
54 last_byte = PAGE_SIZE; in exofs_last_byte()
55 return last_byte; in exofs_last_byte()
/Linux-v4.19/fs/ext2/
Ddir.c82 unsigned last_byte = inode->i_size; in ext2_last_byte() local
84 last_byte -= page_nr << PAGE_SHIFT; in ext2_last_byte()
85 if (last_byte > PAGE_SIZE) in ext2_last_byte()
86 last_byte = PAGE_SIZE; in ext2_last_byte()
87 return last_byte; in ext2_last_byte()
/Linux-v4.19/fs/ufs/
Ddir.c214 unsigned last_byte = inode->i_size; in ufs_last_byte() local
216 last_byte -= page_nr << PAGE_SHIFT; in ufs_last_byte()
217 if (last_byte > PAGE_SIZE) in ufs_last_byte()
218 last_byte = PAGE_SIZE; in ufs_last_byte()
219 return last_byte; in ufs_last_byte()
/Linux-v4.19/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c191 unsigned int last_byte; member
1333 host->last_byte = 0; in brcmnand_cmdfunc()
1430 if (host->last_byte < 4) in brcmnand_read_byte()
1432 (24 - (host->last_byte << 3)); in brcmnand_read_byte()
1433 else if (host->last_byte < 8) in brcmnand_read_byte()
1435 (56 - (host->last_byte << 3)); in brcmnand_read_byte()
1439 ret = oob_reg_read(ctrl, host->last_byte); in brcmnand_read_byte()
1451 addr = host->last_addr + host->last_byte; in brcmnand_read_byte()
1455 if (host->last_byte > 0 && offs == 0) in brcmnand_read_byte()
1461 if (host->last_byte >= ONFI_SUBFEATURE_PARAM_LEN) { in brcmnand_read_byte()
[all …]
/Linux-v4.19/fs/minix/
Ddir.c42 unsigned last_byte = PAGE_SIZE; in minix_last_byte() local
45 last_byte = inode->i_size & (PAGE_SIZE - 1); in minix_last_byte()
46 return last_byte; in minix_last_byte()
/Linux-v4.19/arch/powerpc/platforms/52xx/
Dmpc52xx_lpbfifo.c301 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_irq()
357 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_bcom_irq()
/Linux-v4.19/drivers/mtd/spi-nor/
Dstm32-quadspi.c290 u32 last_byte; in stm32_qspi_send() local
334 last_byte = cmd->addr + cmd->len; in stm32_qspi_send()
335 if (last_byte > flash->prefetch_limit) in stm32_qspi_send()
/Linux-v4.19/mm/kasan/
Dkasan.c214 unsigned long last_byte = addr + size - 1; in memory_is_poisoned_n() local
215 s8 *last_shadow = (s8 *)kasan_mem_to_shadow((void *)last_byte); in memory_is_poisoned_n()
218 ((long)(last_byte & KASAN_SHADOW_MASK) >= *last_shadow))) in memory_is_poisoned_n()
/Linux-v4.19/arch/powerpc/include/asm/
Dmpc52xx.h320 u8 last_byte; member
/Linux-v4.19/fs/btrfs/
Dfile.c2964 u64 last_byte; in btrfs_fallocate() local
3086 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3088 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3093 last_byte - cur_offset); in btrfs_fallocate()
3099 cur_offset, last_byte - cur_offset); in btrfs_fallocate()
3111 cur_offset, last_byte - cur_offset); in btrfs_fallocate()
3114 cur_offset = last_byte; in btrfs_fallocate()
Dextent_io.c2883 u64 last_byte = i_size_read(inode); in __do_readpage() local
2906 if (page->index == last_byte >> PAGE_SHIFT) { in __do_readpage()
2908 size_t zero_offset = last_byte & (PAGE_SIZE - 1); in __do_readpage()
2922 if (cur >= last_byte) { in __do_readpage()
Dinode.c5002 u64 last_byte; in btrfs_cont_expand() local
5043 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
5044 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand()
5047 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
5089 cur_offset = last_byte; in btrfs_cont_expand()
/Linux-v4.19/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c1127 u32 ksv_bytes, last_byte = 0; in msm_hdmi_hdcp_write_ksv_fifo() local
1157 last_byte = 1; in msm_hdmi_hdcp_write_ksv_fifo()
1167 if ((i == (ksv_bytes - 1)) && last_byte) in msm_hdmi_hdcp_write_ksv_fifo()
/Linux-v4.19/fs/ocfs2/
Daops.c1058 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1077 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1078 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1079 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/Linux-v4.19/drivers/net/ethernet/intel/e1000/
De1000_hw.h2455 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \ argument
2458 ((last_byte) == CARRIER_EXTENSION) && \
De1000_main.c4091 u8 last_byte = *(data + length - 1); in e1000_tbi_should_accept() local
4093 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { in e1000_tbi_should_accept()
/Linux-v4.19/drivers/net/ethernet/marvell/
Dmvneta.c2556 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument
2564 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
2566 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()