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

/linux-master/drivers/soc/fsl/
H A Ddpaa2-console.c49 __le32 last_byte; member in struct:log_header
65 u32 last_byte = readl(&cd->hdr->last_byte); local
67 cd->end_of_data = cd->start_addr + LAST_BYTE(last_byte);
109 u32 read_magic, wrapped, last_byte, buf_start, buf_length; local
133 last_byte = readl(&cd->hdr->last_byte);
147 wrapped = last_byte & LOG_HEADER_FLAG_BUFFER_WRAPAROUND;
/linux-master/fs/qnx6/
H A Ddir.c38 unsigned long last_byte = inode->i_size; local
39 last_byte -= page_nr << PAGE_SHIFT;
40 if (last_byte > PAGE_SIZE)
41 last_byte = PAGE_SIZE;
42 return last_byte / QNX6_DIR_ENTRY_SIZE;
/linux-master/drivers/i2c/busses/
H A Di2c-microchip-corei2c.c229 bool last_byte = false, finished = false; local
253 last_byte = true;
259 last_byte = true;
271 last_byte = true;
279 last_byte = true;
286 if (last_byte)
289 if (last_byte || finished)
/linux-master/fs/ufs/
H A Ddir.c220 unsigned last_byte = inode->i_size; local
222 last_byte -= page_nr << PAGE_SHIFT;
223 if (last_byte > PAGE_SIZE)
224 last_byte = PAGE_SIZE;
225 return last_byte;
/linux-master/fs/ext2/
H A Ddir.c76 unsigned last_byte = inode->i_size; local
78 last_byte -= page_nr << PAGE_SHIFT;
79 if (last_byte > PAGE_SIZE)
80 last_byte = PAGE_SIZE;
81 return last_byte;
/linux-master/fs/nilfs2/
H A Ddir.c73 unsigned int last_byte = inode->i_size; local
75 last_byte -= page_nr << PAGE_SHIFT;
76 if (last_byte > PAGE_SIZE)
77 last_byte = PAGE_SIZE;
78 return last_byte;
/linux-master/mm/kasan/
H A Dgeneric.c133 const void *last_byte = addr + size - 1; local
134 s8 *last_shadow = (s8 *)kasan_mem_to_shadow(last_byte);
135 s8 last_accessible_byte = (unsigned long)last_byte & KASAN_GRANULE_MASK;
/linux-master/fs/btrfs/
H A Ddefrag.c1371 u64 last_byte; local
1397 last_byte = min(isize, range->start + range->len);
1400 last_byte = isize;
1405 last_byte = round_up(last_byte, fs_info->sectorsize) - 1;
1427 while (cur < last_byte) {
1440 cluster_end = min(cluster_end, last_byte);
H A Dextent_io.c1001 u64 last_byte = i_size_read(inode); local
1017 if (page->index == last_byte >> PAGE_SHIFT) {
1018 size_t zero_offset = offset_in_page(last_byte);
1033 if (cur >= last_byte) {
4767 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); local
4768 const bool same_byte = (first_byte == last_byte);
4782 ASSERT(first_byte + 1 <= last_byte);
4783 memset_extent_buffer(eb, 0xff, first_byte + 1, last_byte - first_byte - 1);
4786 kaddr = extent_buffer_get_byte(eb, last_byte);
4804 unsigned int last_byte local
[all...]
H A Dfile.c3047 u64 last_byte; local
3144 last_byte = min(extent_map_end(em), alloc_end);
3146 last_byte = ALIGN(last_byte, blocksize);
3150 const u64 range_len = last_byte - cur_offset;
3167 cur_offset = last_byte;
H A Dinode.c4933 u64 last_byte; local
4960 last_byte = min(extent_map_end(em), block_end);
4961 last_byte = ALIGN(last_byte, fs_info->sectorsize);
4962 hole_size = last_byte - cur_offset;
5005 cur_offset = last_byte;
/linux-master/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-regmap.c91 u8 first_byte, last_byte, len; local
102 last_byte = mcp251xfd_last_byte_set(mask);
103 len = last_byte - first_byte + 1;
H A Dmcp251xfd-ring.c25 u8 first_byte, last_byte, len; local
30 last_byte = mcp251xfd_last_byte_set(mask);
31 len = last_byte - first_byte + 1;
/linux-master/fs/minix/
H A Ddir.c36 unsigned last_byte = PAGE_SIZE; local
39 last_byte = inode->i_size & (PAGE_SIZE - 1);
40 return last_byte;
/linux-master/net/dsa/
H A Dtag_sja1105.c640 u8 last_byte = rx_trailer[12]; local
647 *source_port = SJA1110_RX_TRAILER_SRC_PORT(last_byte);
648 *switch_id = SJA1110_RX_TRAILER_SWITCH_ID(last_byte);
/linux-master/drivers/gpu/drm/msm/hdmi/
H A Dhdmi_hdcp.c1118 u32 ksv_bytes, last_byte = 0; local
1148 last_byte = 1;
1158 if ((i == (ksv_bytes - 1)) && last_byte)
/linux-master/fs/ocfs2/
H A Daops.c1031 loff_t last_byte; local
1050 last_byte = max(user_pos + user_len, i_size_read(inode));
1051 BUG_ON(last_byte < 1);
1052 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1;
/linux-master/fs/iomap/
H A Dbuffered-io.c1030 loff_t last_byte; local
1045 last_byte = min_t(loff_t, end_byte - 1,
1048 last_blk = offset_in_folio(folio, last_byte) >> blkbits;
/linux-master/drivers/net/ethernet/intel/e1000/
H A De1000_hw.h2433 * last_byte = the last byte of the frame DMAed by the hardware
2452 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \
2455 ((last_byte) == CARRIER_EXTENSION) && \
H A De1000_main.c4094 u8 last_byte = *(data + length - 1); local
4096 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) {
/linux-master/drivers/net/ethernet/marvell/
H A Dmvneta.c3072 unsigned char last_byte,
3080 tbl_offset = (last_byte / 4);
3082 reg_offset = last_byte % 4;
3071 mvneta_set_special_mcast_addr(struct mvneta_port *pp, unsigned char last_byte, int queue) argument
/linux-master/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c314 unsigned int last_byte; member in struct:brcmnand_host

Completed in 385 milliseconds