| /linux/drivers/soc/fsl/ |
| H A D | dpaa2-console.c | 49 __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/drivers/i2c/busses/ |
| H A D | i2c-microchip-corei2c.c | 280 bool last_byte = false, finished = false; in mchp_corei2c_handle_isr() local 305 last_byte = true; in mchp_corei2c_handle_isr() 312 last_byte = true; in mchp_corei2c_handle_isr() 324 last_byte = true; in mchp_corei2c_handle_isr() 332 last_byte = true; in mchp_corei2c_handle_isr() 339 if (last_byte) in mchp_corei2c_handle_isr() 342 if (last_byte || finished) in mchp_corei2c_handle_isr()
|
| /linux/mm/kasan/ |
| H A D | generic.c | 144 const void *last_byte = addr + size - 1; in memory_is_poisoned_n() local 145 s8 *last_shadow = (s8 *)kasan_mem_to_shadow(last_byte); in memory_is_poisoned_n() 146 s8 last_accessible_byte = (unsigned long)last_byte & KASAN_GRANULE_MASK; in memory_is_poisoned_n()
|
| /linux/fs/btrfs/ |
| H A D | defrag.c | 1364 u64 last_byte; in btrfs_defrag_file() local 1407 last_byte = min(isize, range->start + range->len); in btrfs_defrag_file() 1410 last_byte = isize; in btrfs_defrag_file() 1415 last_byte = round_up(last_byte, fs_info->sectorsize) - 1; in btrfs_defrag_file() 1425 while (cur < last_byte) { in btrfs_defrag_file() 1438 cluster_end = min(cluster_end, last_byte); in btrfs_defrag_file()
|
| H A D | extent_io.c | 1007 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local 1023 if (folio_contains(folio, last_byte >> PAGE_SHIFT)) { in btrfs_do_readpage() 1024 size_t zero_offset = offset_in_folio(folio, last_byte); in btrfs_do_readpage() 1041 if (cur >= last_byte) { in btrfs_do_readpage() 4325 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); in extent_buffer_bitmap_set() local 4326 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_set() 4340 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_set() 4341 memset_extent_buffer(eb, 0xff, first_byte + 1, last_byte - first_byte - 1); in extent_buffer_bitmap_set() 4344 kaddr = extent_buffer_get_byte(eb, last_byte); in extent_buffer_bitmap_set() 4362 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); in extent_buffer_bitmap_clear() local [all …]
|
| H A D | file.c | 3105 u64 last_byte; in btrfs_fallocate() local 3206 last_byte = min(btrfs_extent_map_end(em), alloc_end); in btrfs_fallocate() 3208 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate() 3212 const u64 range_len = last_byte - cur_offset; in btrfs_fallocate() 3229 cur_offset = last_byte; in btrfs_fallocate()
|
| H A D | inode.c | 5277 u64 last_byte; in btrfs_cont_expand() local 5304 last_byte = min(btrfs_extent_map_end(em), block_end); in btrfs_cont_expand() 5305 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand() 5306 hole_size = last_byte - cur_offset; in btrfs_cont_expand() 5347 cur_offset = last_byte; in btrfs_cont_expand()
|
| /linux/fs/minix/ |
| H A D | dir.c | 36 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/rust/proc-macro2/ |
| H A D | extra.rs | 144 DelimSpanEnum::Fallback(span) => Span::_new_fallback(span.last_byte()), in close()
|
| H A D | fallback.rs | 656 pub(crate) fn last_byte(self) -> Self { in last_byte() method 661 pub(crate) fn last_byte(self) -> Self { in last_byte() method 730 self.span.last_byte() in span_close()
|
| /linux/net/dsa/ |
| H A D | tag_sja1105.c | 596 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/drivers/soundwire/ |
| H A D | cadence_master.c | 2239 u8 *last_byte; in sdw_cdns_prepare_write_pd0_buffer() local 2281 last_byte = dma_buffer - 1; in sdw_cdns_prepare_write_pd0_buffer() 2282 last_byte[0] = BIT(6); in sdw_cdns_prepare_write_pd0_buffer() 2293 u8 *last_byte; in sdw_cdns_prepare_read_pd0_buffer() local 2319 last_byte = dma_buffer - 1; in sdw_cdns_prepare_read_pd0_buffer() 2320 last_byte[0] = BIT(6); in sdw_cdns_prepare_read_pd0_buffer()
|
| /linux/drivers/gpu/drm/msm/hdmi/ |
| H A D | hdmi_hdcp.c | 1118 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/fs/ocfs2/ |
| H A D | aops.c | 1009 loff_t last_byte; in ocfs2_grab_folios_for_write() local 1028 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_folios_for_write() 1029 BUG_ON(last_byte < 1); in ocfs2_grab_folios_for_write() 1030 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_folios_for_write()
|
| /linux/fs/iomap/ |
| H A D | buffered-io.c | 1226 loff_t last_byte; in iomap_write_delalloc_ifs_punch() local 1240 last_byte = min_t(loff_t, end_byte - 1, folio_next_pos(folio) - 1); in iomap_write_delalloc_ifs_punch() 1242 last_blk = offset_in_folio(folio, last_byte) >> blkbits; in iomap_write_delalloc_ifs_punch()
|
| /linux/drivers/net/ethernet/intel/e1000/ |
| H A D | e1000_hw.h | 2452 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \ argument 2455 ((last_byte) == CARRIER_EXTENSION) && \
|
| H A D | e1000_main.c | 4097 u8 last_byte; in e1000_tbi_should_accept() local 4105 last_byte = *(data + length - 1); in e1000_tbi_should_accept() 4107 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { in e1000_tbi_should_accept()
|
| /linux/drivers/net/ethernet/marvell/ |
| H A D | mvneta.c | 3081 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument 3089 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr() 3091 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()
|