Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/soc/fsl/
Ddpaa2-console.c48 __le32 last_byte; member
64 u32 last_byte = readl(&cd->hdr->last_byte); in adjust_end() local
66 cd->end_of_data = cd->start_addr + LAST_BYTE(last_byte); in adjust_end()
108 u32 read_magic, wrapped, last_byte, buf_start, buf_length; in dpaa2_generic_console_open() local
132 last_byte = readl(&cd->hdr->last_byte); in dpaa2_generic_console_open()
146 wrapped = last_byte & LOG_HEADER_FLAG_BUFFER_WRAPAROUND; in dpaa2_generic_console_open()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/mm/kasan/
Dgeneric.c138 unsigned long last_byte = addr + size - 1; in memory_is_poisoned_n() local
139 s8 *last_shadow = (s8 *)kasan_mem_to_shadow((void *)last_byte); in memory_is_poisoned_n()
142 ((long)(last_byte & KASAN_SHADOW_MASK) >= *last_shadow))) in memory_is_poisoned_n()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/
Dmcp251xfd-regmap.c81 u8 first_byte, last_byte, len; in mcp251xfd_regmap_nocrc_update_bits() local
92 last_byte = mcp251xfd_last_byte_set(mask); in mcp251xfd_regmap_nocrc_update_bits()
93 len = last_byte - first_byte + 1; in mcp251xfd_regmap_nocrc_update_bits()
Dmcp251xfd-core.c189 u8 first_byte, last_byte, len; in mcp251xfd_cmd_prepare_write_reg() local
194 last_byte = mcp251xfd_last_byte_set(mask); in mcp251xfd_cmd_prepare_write_reg()
195 len = last_byte - first_byte + 1; in mcp251xfd_cmd_prepare_write_reg()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c306 unsigned int last_byte; member
1685 host->last_byte = 0; in brcmnand_cmdfunc()
1776 if (host->last_byte < 4) in brcmnand_read_byte()
1778 (24 - (host->last_byte << 3)); in brcmnand_read_byte()
1779 else if (host->last_byte < 8) in brcmnand_read_byte()
1781 (56 - (host->last_byte << 3)); in brcmnand_read_byte()
1785 ret = oob_reg_read(ctrl, host->last_byte); in brcmnand_read_byte()
1797 addr = host->last_addr + host->last_byte; in brcmnand_read_byte()
1801 if (host->last_byte > 0 && offs == 0) in brcmnand_read_byte()
1807 if (host->last_byte >= ONFI_SUBFEATURE_PARAM_LEN) { in brcmnand_read_byte()
[all …]
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
Dmpc52xx_lpbfifo.c300 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_irq()
356 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_bcom_irq()
/kernel/linux/linux-5.10/fs/btrfs/
Dfile.c3284 u64 last_byte; in btrfs_fallocate() local
3407 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3409 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3414 last_byte - cur_offset); in btrfs_fallocate()
3421 last_byte - cur_offset); in btrfs_fallocate()
3423 cur_offset = last_byte; in btrfs_fallocate()
3435 last_byte - cur_offset); in btrfs_fallocate()
3438 cur_offset = last_byte; in btrfs_fallocate()
Dextent_io.c3151 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local
3174 if (page->index == last_byte >> PAGE_SHIFT) { in btrfs_do_readpage()
3176 size_t zero_offset = offset_in_page(last_byte); in btrfs_do_readpage()
3190 if (cur >= last_byte) { in btrfs_do_readpage()
Dinode.c4762 u64 last_byte; in btrfs_cont_expand() local
4790 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4791 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand()
4792 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
4847 cur_offset = last_byte; in btrfs_cont_expand()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dmpc52xx.h320 u8 last_byte; member
/kernel/linux/linux-5.10/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c1118 u32 ksv_bytes, last_byte = 0; in msm_hdmi_hdcp_write_ksv_fifo() local
1148 last_byte = 1; in msm_hdmi_hdcp_write_ksv_fifo()
1158 if ((i == (ksv_bytes - 1)) && last_byte) in msm_hdmi_hdcp_write_ksv_fifo()
/kernel/linux/linux-5.10/fs/ocfs2/
Daops.c1037 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1056 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1057 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1058 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/kernel/linux/linux-5.10/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.c4093 u8 last_byte = *(data + length - 1); in e1000_tbi_should_accept() local
4095 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { in e1000_tbi_should_accept()
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/
Dmvneta.c2926 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument
2934 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
2936 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()