/openbmc/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()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-microchip-corei2c.c | 229 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()
|
/openbmc/linux/fs/qnx6/ |
H A D | dir.c | 38 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()
|
/openbmc/qemu/tests/multiboot/ |
H A D | aout_kludge.S | 119 cmpb $LAST_BYTE_VALUE, last_byte 136 last_byte: label
|
/openbmc/u-boot/net/ |
H A D | net.c | 909 u16 last_byte; /* last byte in this hole + 1 (begin of next hole) */ member 938 payload[0].last_byte = ~0; in __net_defragment() 954 while (h->last_byte < start) { in __net_defragment() 971 h->last_byte = start + len; in __net_defragment() 980 if ((h >= thisfrag) && (h->last_byte <= start + len)) { in __net_defragment() 998 } else if (h->last_byte <= start + len) { in __net_defragment() 1000 h->last_byte = start; in __net_defragment() 1018 h->last_byte = start; in __net_defragment()
|
/openbmc/linux/fs/ext2/ |
H A D | dir.c | 76 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()
|
/openbmc/linux/fs/ufs/ |
H A D | dir.c | 220 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()
|
/openbmc/linux/fs/nilfs2/ |
H A D | dir.c | 79 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()
|
/openbmc/linux/mm/kasan/ |
H A D | generic.c | 131 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()
|
/openbmc/linux/fs/btrfs/ |
H A D | defrag.c | 1230 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 D | extent_io.c | 971 u64 last_byte = i_size_read(inode); in btrfs_do_readpage() local 987 if (page->index == last_byte >> PAGE_SHIFT) { in btrfs_do_readpage() 988 size_t zero_offset = offset_in_page(last_byte); in btrfs_do_readpage() 1003 if (cur >= last_byte) { in btrfs_do_readpage() 4543 unsigned int last_byte = start + BIT_BYTE(pos + len - 1); in extent_buffer_bitmap_set() local 4544 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_set() 4558 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_set() 4562 kaddr = extent_buffer_get_byte(eb, last_byte); in extent_buffer_bitmap_set() 4581 const bool same_byte = (first_byte == last_byte); in extent_buffer_bitmap_clear() 4595 ASSERT(first_byte + 1 <= last_byte); in extent_buffer_bitmap_clear() [all …]
|
H A D | file.c | 3059 u64 last_byte; in btrfs_fallocate() local 3156 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate() 3158 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate() 3162 const u64 range_len = last_byte - cur_offset; in btrfs_fallocate() 3179 cur_offset = last_byte; in btrfs_fallocate()
|
H A D | inode.c | 4894 u64 last_byte; in btrfs_cont_expand() local 4922 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand() 4923 last_byte = ALIGN(last_byte, fs_info->sectorsize); in btrfs_cont_expand() 4924 hole_size = last_byte - cur_offset; in btrfs_cont_expand() 4969 cur_offset = last_byte; in btrfs_cont_expand()
|
/openbmc/linux/fs/minix/ |
H A D | dir.c | 42 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()
|
/openbmc/linux/drivers/net/can/spi/mcp251xfd/ |
H A D | mcp251xfd-regmap.c | 91 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 D | mcp251xfd-ring.c | 25 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()
|
/openbmc/linux/net/dsa/ |
H A D | tag_sja1105.c | 640 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()
|
/openbmc/linux/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 314 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() 1900 bool last = host->last_byte == in brcmnand_read_byte() [all …]
|
/openbmc/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()
|
/openbmc/qemu/tests/qtest/ |
H A D | migration-test.c | 320 uint8_t last_byte; in check_guests_ram() local 325 last_byte = first_byte; in check_guests_ram() 332 if (b != last_byte) { in check_guests_ram() 333 if (((b + 1) % 256) == last_byte && !hit_edge) { in check_guests_ram() 339 last_byte = b; in check_guests_ram() 346 address, first_byte, last_byte, b, hit_edge); in check_guests_ram()
|
/openbmc/linux/fs/ocfs2/ |
H A D | aops.c | 1032 loff_t last_byte; in ocfs2_grab_pages_for_write() local 1051 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write() 1052 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write() 1053 end_index = ((last_byte - 1) >> PAGE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
|
/openbmc/linux/fs/iomap/ |
H A D | buffered-io.c | 990 loff_t last_byte; in iomap_write_delalloc_ifs_punch() local 1005 last_byte = min_t(loff_t, end_byte - 1, in iomap_write_delalloc_ifs_punch() 1008 last_blk = offset_in_folio(folio, last_byte) >> blkbits; in iomap_write_delalloc_ifs_punch()
|
/openbmc/u-boot/drivers/net/ |
H A D | e1000.h | 1850 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \ argument 1853 ((last_byte) == CARRIER_EXTENSION) && \
|
/openbmc/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) && \
|
/openbmc/linux/drivers/net/ethernet/marvell/ |
H A D | mvneta.c | 3072 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()
|