Home
last modified time | relevance | path

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

/linux-4.4.14/net/ceph/
Dcrypto.c293 int last_byte; in ceph_aes_decrypt() local
323 last_byte = ((char *)dst)[src_len - 1]; in ceph_aes_decrypt()
325 last_byte = pad[src_len - *dst_len - 1]; in ceph_aes_decrypt()
326 if (last_byte <= 16 && src_len >= last_byte) { in ceph_aes_decrypt()
327 *dst_len = src_len - last_byte; in ceph_aes_decrypt()
330 last_byte, (int)src_len); in ceph_aes_decrypt()
358 int last_byte; in ceph_aes_decrypt2() local
389 last_byte = ((char *)dst1)[src_len - 1]; in ceph_aes_decrypt2()
391 last_byte = ((char *)dst2)[src_len - *dst1_len - 1]; in ceph_aes_decrypt2()
393 last_byte = pad[src_len - *dst1_len - *dst2_len - 1]; in ceph_aes_decrypt2()
[all …]
/linux-4.4.14/fs/qnx6/
Ddir.c37 unsigned long last_byte = inode->i_size; in last_entry() local
38 last_byte -= page_nr << PAGE_CACHE_SHIFT; in last_entry()
39 if (last_byte > PAGE_CACHE_SIZE) in last_entry()
40 last_byte = PAGE_CACHE_SIZE; in last_entry()
41 return last_byte / QNX6_DIR_ENTRY_SIZE; in last_entry()
/linux-4.4.14/fs/nilfs2/
Ddir.c70 unsigned last_byte = inode->i_size; in nilfs_last_byte() local
72 last_byte -= page_nr << PAGE_CACHE_SHIFT; in nilfs_last_byte()
73 if (last_byte > PAGE_CACHE_SIZE) in nilfs_last_byte()
74 last_byte = PAGE_CACHE_SIZE; in nilfs_last_byte()
75 return last_byte; in nilfs_last_byte()
/linux-4.4.14/fs/ufs/
Ddir.c212 unsigned last_byte = inode->i_size; in ufs_last_byte() local
214 last_byte -= page_nr << PAGE_CACHE_SHIFT; in ufs_last_byte()
215 if (last_byte > PAGE_CACHE_SIZE) in ufs_last_byte()
216 last_byte = PAGE_CACHE_SIZE; in ufs_last_byte()
217 return last_byte; in ufs_last_byte()
/linux-4.4.14/fs/ext2/
Ddir.c80 unsigned last_byte = inode->i_size; in ext2_last_byte() local
82 last_byte -= page_nr << PAGE_CACHE_SHIFT; in ext2_last_byte()
83 if (last_byte > PAGE_CACHE_SIZE) in ext2_last_byte()
84 last_byte = PAGE_CACHE_SIZE; in ext2_last_byte()
85 return last_byte; in ext2_last_byte()
/linux-4.4.14/fs/exofs/
Ddir.c49 loff_t last_byte = inode->i_size; in exofs_last_byte() local
51 last_byte -= page_nr << PAGE_CACHE_SHIFT; in exofs_last_byte()
52 if (last_byte > PAGE_CACHE_SIZE) in exofs_last_byte()
53 last_byte = PAGE_CACHE_SIZE; in exofs_last_byte()
54 return last_byte; in exofs_last_byte()
/linux-4.4.14/mm/kasan/
Dkasan.c223 unsigned long last_byte = addr + size - 1; in memory_is_poisoned_n() local
224 s8 *last_shadow = (s8 *)kasan_mem_to_shadow((void *)last_byte); in memory_is_poisoned_n()
227 ((long)(last_byte & KASAN_SHADOW_MASK) >= *last_shadow))) in memory_is_poisoned_n()
/linux-4.4.14/drivers/mtd/nand/brcmnand/
Dbrcmnand.c187 unsigned int last_byte; member
1166 host->last_byte = 0; in brcmnand_cmdfunc()
1257 if (host->last_byte < 4) in brcmnand_read_byte()
1259 (24 - (host->last_byte << 3)); in brcmnand_read_byte()
1260 else if (host->last_byte < 8) in brcmnand_read_byte()
1262 (56 - (host->last_byte << 3)); in brcmnand_read_byte()
1266 ret = oob_reg_read(ctrl, host->last_byte); in brcmnand_read_byte()
1278 addr = host->last_addr + host->last_byte; in brcmnand_read_byte()
1282 if (host->last_byte > 0 && offs == 0) in brcmnand_read_byte()
1289 if (host->last_byte >= ONFI_SUBFEATURE_PARAM_LEN) { in brcmnand_read_byte()
[all …]
/linux-4.4.14/fs/minix/
Ddir.c41 unsigned last_byte = PAGE_CACHE_SIZE; in minix_last_byte() local
44 last_byte = inode->i_size & (PAGE_CACHE_SIZE - 1); in minix_last_byte()
45 return last_byte; in minix_last_byte()
/linux-4.4.14/arch/powerpc/platforms/52xx/
Dmpc52xx_lpbfifo.c301 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_irq()
357 req->last_byte = ((u8 *)req->data)[req->size - 1]; in mpc52xx_lpbfifo_bcom_irq()
/linux-4.4.14/arch/powerpc/include/asm/
Dmpc52xx.h320 u8 last_byte; member
/linux-4.4.14/drivers/gpu/drm/msm/hdmi/
Dhdmi_hdcp.c1127 u32 ksv_bytes, last_byte = 0; in hdmi_hdcp_write_ksv_fifo() local
1157 last_byte = 1; in hdmi_hdcp_write_ksv_fifo()
1167 if ((i == (ksv_bytes - 1)) && last_byte) in hdmi_hdcp_write_ksv_fifo()
/linux-4.4.14/fs/btrfs/
Dfile.c2634 u64 last_byte; in btrfs_fallocate() local
2746 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
2748 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
2753 last_byte - cur_offset); in btrfs_fallocate()
2759 last_byte - cur_offset); in btrfs_fallocate()
2764 cur_offset = last_byte; in btrfs_fallocate()
Dextent_io.c2987 u64 last_byte = i_size_read(inode); in __do_readpage() local
3013 if (page->index == last_byte >> PAGE_CACHE_SHIFT) { in __do_readpage()
3015 size_t zero_offset = last_byte & (PAGE_CACHE_SIZE - 1); in __do_readpage()
3026 unsigned long pnr = (last_byte >> PAGE_CACHE_SHIFT) + 1; in __do_readpage()
3029 if (cur >= last_byte) { in __do_readpage()
Dinode.c4778 u64 last_byte; in btrfs_cont_expand() local
4819 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4820 last_byte = ALIGN(last_byte , root->sectorsize); in btrfs_cont_expand()
4823 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
4864 cur_offset = last_byte; in btrfs_cont_expand()
/linux-4.4.14/fs/ocfs2/
Daops.c1506 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1525 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1526 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1527 end_index = ((last_byte - 1) >> PAGE_CACHE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_hw.h2480 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \ argument
2483 ((last_byte) == CARRIER_EXTENSION) && \
De1000_main.c4092 u8 last_byte = *(data + length - 1); in e1000_tbi_should_accept() local
4094 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { in e1000_tbi_should_accept()
/linux-4.4.14/drivers/net/ethernet/marvell/
Dmvneta.c1949 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument
1957 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
1959 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()