Home
last modified time | relevance | path

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

/linux/drivers/soc/fsl/
A 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()
/linux/fs/qnx6/
A 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/mm/kasan/
A Dgeneric.c132 unsigned long last_byte = addr + size - 1; in memory_is_poisoned_n() local
133 s8 *last_shadow = (s8 *)kasan_mem_to_shadow((void *)last_byte); in memory_is_poisoned_n()
136 ((long)(last_byte & KASAN_GRANULE_MASK) >= *last_shadow))) in memory_is_poisoned_n()
/linux/fs/nilfs2/
A 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/fs/ufs/
A 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/fs/ext2/
A Ddir.c76 unsigned last_byte = inode->i_size; in ext2_last_byte() local
78 last_byte -= page_nr << PAGE_SHIFT; in ext2_last_byte()
79 if (last_byte > PAGE_SIZE) in ext2_last_byte()
80 last_byte = PAGE_SIZE; in ext2_last_byte()
81 return last_byte; in ext2_last_byte()
/linux/fs/minix/
A 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/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c309 unsigned int last_byte; member
1705 host->last_byte = 0; in brcmnand_cmdfunc()
1796 if (host->last_byte < 4) in brcmnand_read_byte()
1798 (24 - (host->last_byte << 3)); in brcmnand_read_byte()
1799 else if (host->last_byte < 8) in brcmnand_read_byte()
1801 (56 - (host->last_byte << 3)); in brcmnand_read_byte()
1805 ret = oob_reg_read(ctrl, host->last_byte); in brcmnand_read_byte()
1817 addr = host->last_addr + host->last_byte; in brcmnand_read_byte()
1821 if (host->last_byte > 0 && offs == 0) in brcmnand_read_byte()
1830 bool last = host->last_byte == in brcmnand_read_byte()
[all …]
/linux/drivers/net/can/spi/mcp251xfd/
A 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()
A Dmcp251xfd-core.c188 u8 first_byte, last_byte, len; in mcp251xfd_cmd_prepare_write_reg() local
193 last_byte = mcp251xfd_last_byte_set(mask); in mcp251xfd_cmd_prepare_write_reg()
194 len = last_byte - first_byte + 1; in mcp251xfd_cmd_prepare_write_reg()
/linux/net/dsa/
A Dtag_sja1105.c628 u8 last_byte = rx_trailer[12]; in sja1110_rcv_inband_control_extension() local
635 *source_port = SJA1110_RX_TRAILER_SRC_PORT(last_byte); in sja1110_rcv_inband_control_extension()
636 *switch_id = SJA1110_RX_TRAILER_SWITCH_ID(last_byte); in sja1110_rcv_inband_control_extension()
/linux/arch/powerpc/platforms/52xx/
A 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()
/linux/fs/btrfs/
A Dfile.c3397 u64 last_byte; in btrfs_fallocate() local
3524 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3526 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3531 last_byte - cur_offset); in btrfs_fallocate()
3538 last_byte - cur_offset); in btrfs_fallocate()
3540 cur_offset = last_byte; in btrfs_fallocate()
3552 last_byte - cur_offset); in btrfs_fallocate()
3555 cur_offset = last_byte; in btrfs_fallocate()
A Dioctl.c1470 u64 last_byte; in btrfs_defrag_file() local
1495 last_byte = min(isize, range->start + range->len) - 1; in btrfs_defrag_file()
1498 last_byte = isize - 1; in btrfs_defrag_file()
1515 last_byte = round_up(last_byte, fs_info->sectorsize) - 1; in btrfs_defrag_file()
1517 while (cur < last_byte) { in btrfs_defrag_file()
1526 cluster_end = min(cluster_end, last_byte); in btrfs_defrag_file()
A Dextent_io.c3567 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local
3595 if (page->index == last_byte >> PAGE_SHIFT) { in btrfs_do_readpage()
3596 size_t zero_offset = offset_in_page(last_byte); in btrfs_do_readpage()
3611 if (cur >= last_byte) { in btrfs_do_readpage()
A Dinode.c5211 u64 last_byte; in btrfs_cont_expand() local
5239 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
5240 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand()
5241 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
5295 cur_offset = last_byte; in btrfs_cont_expand()
/linux/drivers/gpu/drm/msm/hdmi/
A 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()
/linux/arch/powerpc/include/asm/
A Dmpc52xx.h320 u8 last_byte; member
/linux/fs/ocfs2/
A Daops.c1034 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1053 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1054 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1055 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/linux/drivers/net/ethernet/intel/e1000/
A De1000_hw.h2455 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \ argument
2458 ((last_byte) == CARRIER_EXTENSION) && \
A De1000_main.c4092 u8 last_byte = *(data + length - 1); in e1000_tbi_should_accept() local
4094 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { in e1000_tbi_should_accept()
/linux/drivers/net/ethernet/marvell/
A Dmvneta.c2938 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument
2946 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
2948 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()

Completed in 115 milliseconds