Home
last modified time | relevance | path

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

/linux-6.3-rc2/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-6.3-rc2/drivers/i2c/busses/
A Di2c-microchip-corei2c.c229 bool last_byte = false, finished = false; in mchp_corei2c_handle_isr() local
253 last_byte = true; in mchp_corei2c_handle_isr()
259 last_byte = true; in mchp_corei2c_handle_isr()
271 last_byte = true; in mchp_corei2c_handle_isr()
279 last_byte = true; in mchp_corei2c_handle_isr()
286 if (last_byte) in mchp_corei2c_handle_isr()
289 if (last_byte || finished) in mchp_corei2c_handle_isr()
/linux-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/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-6.3-rc2/fs/btrfs/
A Ddefrag.c1229 u64 last_byte; in btrfs_defrag_file() local
1255 last_byte = min(isize, range->start + range->len); in btrfs_defrag_file()
1258 last_byte = isize; in btrfs_defrag_file()
1263 last_byte = round_up(last_byte, fs_info->sectorsize) - 1; in btrfs_defrag_file()
1285 while (cur < last_byte) { in btrfs_defrag_file()
1298 cluster_end = min(cluster_end, last_byte); in btrfs_defrag_file()
A Dfile.c3036 u64 last_byte; in btrfs_fallocate() local
3134 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3136 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3140 const u64 range_len = last_byte - cur_offset; in btrfs_fallocate()
3157 cur_offset = last_byte; in btrfs_fallocate()
A Dextent_io.c1205 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local
1222 if (page->index == last_byte >> PAGE_SHIFT) { in btrfs_do_readpage()
1223 size_t zero_offset = offset_in_page(last_byte); in btrfs_do_readpage()
1238 if (cur >= last_byte) { in btrfs_do_readpage()
A Dinode.c4953 u64 last_byte; in btrfs_cont_expand() local
4981 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4982 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand()
4983 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
5028 cur_offset = last_byte; in btrfs_cont_expand()
/linux-6.3-rc2/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-6.3-rc2/drivers/net/can/spi/mcp251xfd/
A Dmcp251xfd-ring.c25 u8 first_byte, last_byte, len; in mcp251xfd_cmd_prepare_write_reg() local
30 last_byte = mcp251xfd_last_byte_set(mask); in mcp251xfd_cmd_prepare_write_reg()
31 len = last_byte - first_byte + 1; in mcp251xfd_cmd_prepare_write_reg()
A Dmcp251xfd-regmap.c91 u8 first_byte, last_byte, len; in mcp251xfd_regmap_nocrc_update_bits() local
102 last_byte = mcp251xfd_last_byte_set(mask); in mcp251xfd_regmap_nocrc_update_bits()
103 len = last_byte - first_byte + 1; in mcp251xfd_regmap_nocrc_update_bits()
/linux-6.3-rc2/arch/powerpc/platforms/52xx/
A Dmpc52xx_lpbfifo.c307 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_irq()
367 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_bcom_irq()
/linux-6.3-rc2/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c313 unsigned int last_byte; member
1734 host->last_byte = 0; in brcmnand_cmdfunc()
1825 if (host->last_byte < 4) in brcmnand_read_byte()
1827 (24 - (host->last_byte << 3)); in brcmnand_read_byte()
1828 else if (host->last_byte < 8) in brcmnand_read_byte()
1830 (56 - (host->last_byte << 3)); in brcmnand_read_byte()
1834 ret = oob_reg_read(ctrl, host->last_byte); in brcmnand_read_byte()
1846 addr = host->last_addr + host->last_byte; in brcmnand_read_byte()
1850 if (host->last_byte > 0 && offs == 0) in brcmnand_read_byte()
1859 bool last = host->last_byte == in brcmnand_read_byte()
[all …]
/linux-6.3-rc2/net/dsa/
A Dtag_sja1105.c657 u8 last_byte = rx_trailer[12]; in sja1110_rcv_inband_control_extension() local
664 *source_port = SJA1110_RX_TRAILER_SRC_PORT(last_byte); in sja1110_rcv_inband_control_extension()
665 *switch_id = SJA1110_RX_TRAILER_SWITCH_ID(last_byte); in sja1110_rcv_inband_control_extension()
/linux-6.3-rc2/arch/powerpc/include/asm/
A Dmpc52xx.h320 u8 last_byte; member
/linux-6.3-rc2/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-6.3-rc2/fs/ocfs2/
A Daops.c1033 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1052 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1053 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1054 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/linux-6.3-rc2/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.c4094 u8 last_byte = *(data + length - 1); in e1000_tbi_should_accept() local
4096 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { in e1000_tbi_should_accept()
/linux-6.3-rc2/drivers/net/ethernet/marvell/
A Dmvneta.c3005 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument
3013 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
3015 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()

Completed in 122 milliseconds