Home
last modified time | relevance | path

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

/linux-4.1.27/net/ceph/
Dcrypto.c297 int last_byte; in ceph_aes_decrypt() local
327 last_byte = ((char *)dst)[src_len - 1]; in ceph_aes_decrypt()
329 last_byte = pad[src_len - *dst_len - 1]; in ceph_aes_decrypt()
330 if (last_byte <= 16 && src_len >= last_byte) { in ceph_aes_decrypt()
331 *dst_len = src_len - last_byte; in ceph_aes_decrypt()
334 last_byte, (int)src_len); in ceph_aes_decrypt()
362 int last_byte; in ceph_aes_decrypt2() local
393 last_byte = ((char *)dst1)[src_len - 1]; in ceph_aes_decrypt2()
395 last_byte = ((char *)dst2)[src_len - *dst1_len - 1]; in ceph_aes_decrypt2()
397 last_byte = pad[src_len - *dst1_len - *dst2_len - 1]; in ceph_aes_decrypt2()
[all …]
/linux-4.1.27/fs/qnx6/
Ddir.c42 unsigned long last_byte = inode->i_size; in last_entry() local
43 last_byte -= page_nr << PAGE_CACHE_SHIFT; in last_entry()
44 if (last_byte > PAGE_CACHE_SIZE) in last_entry()
45 last_byte = PAGE_CACHE_SIZE; in last_entry()
46 return last_byte / QNX6_DIR_ENTRY_SIZE; in last_entry()
/linux-4.1.27/mm/kasan/
Dkasan.c138 s8 last_byte = (addr + 15) & KASAN_SHADOW_MASK; in memory_is_poisoned_16() local
143 if (likely(!last_byte)) in memory_is_poisoned_16()
203 unsigned long last_byte = addr + size - 1; in memory_is_poisoned_n() local
204 s8 *last_shadow = (s8 *)kasan_mem_to_shadow((void *)last_byte); in memory_is_poisoned_n()
207 ((last_byte & KASAN_SHADOW_MASK) >= *last_shadow))) in memory_is_poisoned_n()
/linux-4.1.27/fs/nilfs2/
Ddir.c75 unsigned last_byte = inode->i_size; in nilfs_last_byte() local
77 last_byte -= page_nr << PAGE_CACHE_SHIFT; in nilfs_last_byte()
78 if (last_byte > PAGE_CACHE_SIZE) in nilfs_last_byte()
79 last_byte = PAGE_CACHE_SIZE; in nilfs_last_byte()
80 return last_byte; in nilfs_last_byte()
/linux-4.1.27/fs/exofs/
Ddir.c55 loff_t last_byte = inode->i_size; in exofs_last_byte() local
57 last_byte -= page_nr << PAGE_CACHE_SHIFT; in exofs_last_byte()
58 if (last_byte > PAGE_CACHE_SIZE) in exofs_last_byte()
59 last_byte = PAGE_CACHE_SIZE; in exofs_last_byte()
60 return last_byte; in exofs_last_byte()
/linux-4.1.27/fs/ufs/
Ddir.c215 unsigned last_byte = inode->i_size; in ufs_last_byte() local
217 last_byte -= page_nr << PAGE_CACHE_SHIFT; in ufs_last_byte()
218 if (last_byte > PAGE_CACHE_SIZE) in ufs_last_byte()
219 last_byte = PAGE_CACHE_SIZE; in ufs_last_byte()
220 return last_byte; in ufs_last_byte()
/linux-4.1.27/fs/ext2/
Ddir.c85 unsigned last_byte = inode->i_size; in ext2_last_byte() local
87 last_byte -= page_nr << PAGE_CACHE_SHIFT; in ext2_last_byte()
88 if (last_byte > PAGE_CACHE_SIZE) in ext2_last_byte()
89 last_byte = PAGE_CACHE_SIZE; in ext2_last_byte()
90 return last_byte; in ext2_last_byte()
/linux-4.1.27/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.1.27/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.1.27/arch/powerpc/include/asm/
Dmpc52xx.h320 u8 last_byte; member
/linux-4.1.27/fs/btrfs/
Dfile.c2555 u64 last_byte; in btrfs_fallocate() local
2658 last_byte = min(extent_map_end(em), alloc_end); in btrfs_fallocate()
2660 last_byte = ALIGN(last_byte, blocksize); in btrfs_fallocate()
2666 last_byte - cur_offset, in btrfs_fallocate()
2700 cur_offset = last_byte; in btrfs_fallocate()
Dextent_io.c2920 u64 last_byte = i_size_read(inode); in __do_readpage() local
2946 if (page->index == last_byte >> PAGE_CACHE_SHIFT) { in __do_readpage()
2948 size_t zero_offset = last_byte & (PAGE_CACHE_SIZE - 1); in __do_readpage()
2959 unsigned long pnr = (last_byte >> PAGE_CACHE_SHIFT) + 1; in __do_readpage()
2962 if (cur >= last_byte) { in __do_readpage()
Dinode.c4736 u64 last_byte; in btrfs_cont_expand() local
4777 last_byte = min(extent_map_end(em), block_end); in btrfs_cont_expand()
4778 last_byte = ALIGN(last_byte , root->sectorsize); in btrfs_cont_expand()
4781 hole_size = last_byte - cur_offset; in btrfs_cont_expand()
4822 cur_offset = last_byte; in btrfs_cont_expand()
/linux-4.1.27/fs/ocfs2/
Daops.c1472 loff_t last_byte; in ocfs2_grab_pages_for_write() local
1491 last_byte = max(user_pos + user_len, i_size_read(inode)); in ocfs2_grab_pages_for_write()
1492 BUG_ON(last_byte < 1); in ocfs2_grab_pages_for_write()
1493 end_index = ((last_byte - 1) >> PAGE_CACHE_SHIFT) + 1; in ocfs2_grab_pages_for_write()
/linux-4.1.27/drivers/net/ethernet/marvell/
Dmvneta.c1897 unsigned char last_byte, in mvneta_set_special_mcast_addr() argument
1905 tbl_offset = (last_byte / 4); in mvneta_set_special_mcast_addr()
1907 reg_offset = last_byte % 4; in mvneta_set_special_mcast_addr()
/linux-4.1.27/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.c4097 u8 last_byte = *(data + length - 1); in e1000_tbi_should_accept() local
4099 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { in e1000_tbi_should_accept()