Home
last modified time | relevance | path

Searched refs:last_byte (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/soc/fsl/
H 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()
/kernel/linux/linux-6.6/drivers/soc/fsl/
H A 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()
/kernel/linux/linux-5.10/fs/qnx6/
H 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()
/kernel/linux/linux-6.6/fs/qnx6/
H 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()
/kernel/linux/linux-6.6/drivers/i2c/busses/
H 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()
/kernel/linux/linux-5.10/mm/kasan/
H A 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/
H 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()
/kernel/linux/linux-5.10/fs/ext2/
H A 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/fs/ufs/
H 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()
/kernel/linux/linux-6.6/fs/nilfs2/
H 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()
/kernel/linux/linux-6.6/fs/ext2/
H 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()
/kernel/linux/linux-6.6/fs/ufs/
H A Ddir.c220 unsigned last_byte = inode->i_size; in ufs_last_byte() local
222 last_byte -= page_nr << PAGE_SHIFT; in ufs_last_byte()
223 if (last_byte > PAGE_SIZE) in ufs_last_byte()
224 last_byte = PAGE_SIZE; in ufs_last_byte()
225 return last_byte; in ufs_last_byte()
/kernel/linux/linux-6.6/fs/btrfs/
H A Ddefrag.c1230 u64 last_byte; in btrfs_defrag_file() local
1256 last_byte = min(isize, range->start + range->len); in btrfs_defrag_file()
1259 last_byte = isize; in btrfs_defrag_file()
1264 last_byte = round_up(last_byte, fs_info->sectorsize) - 1; in btrfs_defrag_file()
1286 while (cur < last_byte) { in btrfs_defrag_file()
1299 cluster_end = min(cluster_end, last_byte); in btrfs_defrag_file()
H A Dextent_io.c981 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local
997 if (page->index == last_byte >> PAGE_SHIFT) { in btrfs_do_readpage()
998 size_t zero_offset = offset_in_page(last_byte); in btrfs_do_readpage()
1013 if (cur >= last_byte) { in btrfs_do_readpage()
4420 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); in extent_buffer_bitmap_set() local
4421 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_set()
4435 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_set()
4436 memset_extent_buffer(eb, 0xff, first_byte + 1, last_byte - first_byte - 1); in extent_buffer_bitmap_set()
4439 kaddr = extent_buffer_get_byte(eb, last_byte); in extent_buffer_bitmap_set()
4457 unsigned int last_byte in extent_buffer_bitmap_clear() local
[all...]
/kernel/linux/linux-5.10/drivers/net/can/spi/mcp251xfd/
H 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()
/kernel/linux/linux-5.10/fs/minix/
H 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()
/kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/
H 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()
H 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()
/kernel/linux/linux-6.6/fs/minix/
H 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()
/kernel/linux/linux-6.6/mm/kasan/
H A Dgeneric.c131 const void *last_byte = addr + size - 1; in memory_is_poisoned_n() local
132 s8 *last_shadow = (s8 *)kasan_mem_to_shadow(last_byte); in memory_is_poisoned_n()
133 s8 last_accessible_byte = (unsigned long)last_byte & KASAN_GRANULE_MASK; in memory_is_poisoned_n()
/kernel/linux/linux-6.6/net/dsa/
H A Dtag_sja1105.c640 u8 last_byte = rx_trailer[12]; in sja1110_rcv_inband_control_extension() local
647 *source_port = SJA1110_RX_TRAILER_SRC_PORT(last_byte); in sja1110_rcv_inband_control_extension()
648 *switch_id = SJA1110_RX_TRAILER_SWITCH_ID(last_byte); in sja1110_rcv_inband_control_extension()
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c310 unsigned int last_byte; member
1743 host->last_byte = 0; in brcmnand_cmdfunc()
1834 if (host->last_byte < 4) in brcmnand_read_byte()
1836 (24 - (host->last_byte << 3)); in brcmnand_read_byte()
1837 else if (host->last_byte < 8) in brcmnand_read_byte()
1839 (56 - (host->last_byte << 3)); in brcmnand_read_byte()
1843 ret = oob_reg_read(ctrl, host->last_byte); in brcmnand_read_byte()
1855 addr = host->last_addr + host->last_byte; in brcmnand_read_byte()
1859 if (host->last_byte > 0 && offs == 0) in brcmnand_read_byte()
1865 if (host->last_byte > in brcmnand_read_byte()
[all...]
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c314 unsigned int last_byte; member
1775 host->last_byte = 0; in brcmnand_cmdfunc()
1866 if (host->last_byte < 4) in brcmnand_read_byte()
1868 (24 - (host->last_byte << 3)); in brcmnand_read_byte()
1869 else if (host->last_byte < 8) in brcmnand_read_byte()
1871 (56 - (host->last_byte << 3)); in brcmnand_read_byte()
1875 ret = oob_reg_read(ctrl, host->last_byte); in brcmnand_read_byte()
1887 addr = host->last_addr + host->last_byte; in brcmnand_read_byte()
1891 if (host->last_byte > 0 && offs == 0) in brcmnand_read_byte()
1897 if (host->last_byte > in brcmnand_read_byte()
[all...]
/kernel/linux/linux-5.10/arch/powerpc/platforms/52xx/
H 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()
/kernel/linux/linux-5.10/fs/btrfs/
H A Dfile.c3289 u64 last_byte; in btrfs_fallocate() local
3416 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
3418 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
3423 last_byte - cur_offset); in btrfs_fallocate()
3430 last_byte - cur_offset); in btrfs_fallocate()
3432 cur_offset = last_byte; in btrfs_fallocate()
3444 last_byte - cur_offset); in btrfs_fallocate()
3447 cur_offset = last_byte; in btrfs_fallocate()

Completed in 34 milliseconds

12