Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/soc/fsl/
Ddpaa2-console.c49 __le32 last_byte; member
65 u32 last_byte = readl(&cd->hdr->last_byte); in adjust_end() local
67 cd->end_of_data = cd->start_addr + LAST_BYTE(last_byte); in adjust_end()
109 u32 read_magic, wrapped, last_byte, buf_start, buf_length; in dpaa2_generic_console_open() local
133 last_byte = readl(&cd->hdr->last_byte); in dpaa2_generic_console_open()
147 wrapped = last_byte & LOG_HEADER_FLAG_BUFFER_WRAPAROUND; in dpaa2_generic_console_open()
/linux-6.12.1/drivers/i2c/busses/
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.12.1/fs/qnx6/
Ddir.c40 unsigned long last_byte = inode->i_size; in last_entry() local
41 last_byte -= page_nr << PAGE_SHIFT; in last_entry()
42 if (last_byte > PAGE_SIZE) in last_entry()
43 last_byte = PAGE_SIZE; in last_entry()
44 return last_byte / QNX6_DIR_ENTRY_SIZE; in last_entry()
/linux-6.12.1/fs/nilfs2/
Ddir.c73 unsigned int last_byte = inode->i_size; in nilfs_last_byte() local
75 last_byte -= page_nr << PAGE_SHIFT; in nilfs_last_byte()
76 if (last_byte > PAGE_SIZE) in nilfs_last_byte()
77 last_byte = PAGE_SIZE; in nilfs_last_byte()
78 return last_byte; in nilfs_last_byte()
/linux-6.12.1/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-6.12.1/fs/ext2/
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.12.1/mm/kasan/
Dgeneric.c133 const void *last_byte = addr + size - 1; in memory_is_poisoned_n() local
134 s8 *last_shadow = (s8 *)kasan_mem_to_shadow(last_byte); in memory_is_poisoned_n()
135 s8 last_accessible_byte = (unsigned long)last_byte & KASAN_GRANULE_MASK; in memory_is_poisoned_n()
/linux-6.12.1/fs/btrfs/
Ddefrag.c1363 u64 last_byte; in btrfs_defrag_file() local
1390 last_byte = min(isize, range->start + range->len); in btrfs_defrag_file()
1393 last_byte = isize; in btrfs_defrag_file()
1398 last_byte = round_up(last_byte, fs_info->sectorsize) - 1; in btrfs_defrag_file()
1408 while (cur < last_byte) { in btrfs_defrag_file()
1421 cluster_end = min(cluster_end, last_byte); in btrfs_defrag_file()
Dextent_io.c952 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local
966 if (folio->index == last_byte >> folio_shift(folio)) { in btrfs_do_readpage()
967 size_t zero_offset = offset_in_folio(folio, last_byte); in btrfs_do_readpage()
982 if (cur >= last_byte) { in btrfs_do_readpage()
3901 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); in extent_buffer_bitmap_set() local
3902 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_set()
3916 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_set()
3917 memset_extent_buffer(eb, 0xff, first_byte + 1, last_byte - first_byte - 1); in extent_buffer_bitmap_set()
3920 kaddr = extent_buffer_get_byte(eb, last_byte); in extent_buffer_bitmap_set()
3938 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); in extent_buffer_bitmap_clear() local
[all …]
Dfile.c3063 u64 last_byte; in btrfs_fallocate() local
3160 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3162 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3166 const u64 range_len = last_byte - cur_offset; in btrfs_fallocate()
3183 cur_offset = last_byte; in btrfs_fallocate()
Dinode.c4928 u64 last_byte; in btrfs_cont_expand() local
4955 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4956 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand()
4957 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
4998 cur_offset = last_byte; in btrfs_cont_expand()
/linux-6.12.1/fs/minix/
Ddir.c36 unsigned last_byte = PAGE_SIZE; in minix_last_byte() local
39 last_byte = inode->i_size & (PAGE_SIZE - 1); in minix_last_byte()
40 return last_byte; in minix_last_byte()
/linux-6.12.1/drivers/net/can/spi/mcp251xfd/
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()
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.12.1/net/dsa/
Dtag_sja1105.c596 u8 last_byte = rx_trailer[12]; in sja1110_rcv_inband_control_extension() local
603 *source_port = SJA1110_RX_TRAILER_SRC_PORT(last_byte); in sja1110_rcv_inband_control_extension()
604 *switch_id = SJA1110_RX_TRAILER_SWITCH_ID(last_byte); in sja1110_rcv_inband_control_extension()
/linux-6.12.1/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()
/linux-6.12.1/fs/ocfs2/
Daops.c1030 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1049 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1050 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1051 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/linux-6.12.1/fs/iomap/
Dbuffered-io.c1054 loff_t last_byte; in iomap_write_delalloc_ifs_punch() local
1068 last_byte = min_t(loff_t, end_byte - 1, in iomap_write_delalloc_ifs_punch()
1071 last_blk = offset_in_folio(folio, last_byte) >> blkbits; in iomap_write_delalloc_ifs_punch()
/linux-6.12.1/drivers/net/ethernet/intel/e1000/
De1000_hw.h2452 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \ argument
2455 ((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-6.12.1/drivers/net/ethernet/marvell/
Dmvneta.c3072 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument
3080 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
3082 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()
/linux-6.12.1/drivers/mtd/nand/raw/brcmnand/
Dbrcmnand.c314 unsigned int last_byte; member