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

/linux-4.1.27/net/ceph/
H A Dcrypto.c297 int last_byte; ceph_aes_decrypt() local
327 last_byte = ((char *)dst)[src_len - 1]; ceph_aes_decrypt()
329 last_byte = pad[src_len - *dst_len - 1]; ceph_aes_decrypt()
330 if (last_byte <= 16 && src_len >= last_byte) { ceph_aes_decrypt()
331 *dst_len = src_len - last_byte; ceph_aes_decrypt()
334 last_byte, (int)src_len); ceph_aes_decrypt()
362 int last_byte; ceph_aes_decrypt2() local
393 last_byte = ((char *)dst1)[src_len - 1]; ceph_aes_decrypt2()
395 last_byte = ((char *)dst2)[src_len - *dst1_len - 1]; ceph_aes_decrypt2()
397 last_byte = pad[src_len - *dst1_len - *dst2_len - 1]; ceph_aes_decrypt2()
398 if (last_byte <= 16 && src_len >= last_byte) { ceph_aes_decrypt2()
399 src_len -= last_byte; ceph_aes_decrypt2()
402 last_byte, (int)src_len); ceph_aes_decrypt2()
/linux-4.1.27/fs/qnx6/
H A Ddir.c42 unsigned long last_byte = inode->i_size; last_entry() local
43 last_byte -= page_nr << PAGE_CACHE_SHIFT; last_entry()
44 if (last_byte > PAGE_CACHE_SIZE) last_entry()
45 last_byte = PAGE_CACHE_SIZE; last_entry()
46 return last_byte / QNX6_DIR_ENTRY_SIZE; last_entry()
/linux-4.1.27/mm/kasan/
H A Dkasan.c138 s8 last_byte = (addr + 15) & KASAN_SHADOW_MASK; memory_is_poisoned_16() local
143 if (likely(!last_byte)) memory_is_poisoned_16()
203 unsigned long last_byte = addr + size - 1; memory_is_poisoned_n() local
204 s8 *last_shadow = (s8 *)kasan_mem_to_shadow((void *)last_byte); memory_is_poisoned_n()
207 ((last_byte & KASAN_SHADOW_MASK) >= *last_shadow))) memory_is_poisoned_n()
/linux-4.1.27/fs/exofs/
H A Ddir.c55 loff_t last_byte = inode->i_size; exofs_last_byte() local
57 last_byte -= page_nr << PAGE_CACHE_SHIFT; exofs_last_byte()
58 if (last_byte > PAGE_CACHE_SIZE) exofs_last_byte()
59 last_byte = PAGE_CACHE_SIZE; exofs_last_byte()
60 return last_byte; exofs_last_byte()
/linux-4.1.27/fs/minix/
H A Ddir.c41 unsigned last_byte = PAGE_CACHE_SIZE; minix_last_byte() local
44 last_byte = inode->i_size & (PAGE_CACHE_SIZE - 1); minix_last_byte()
45 return last_byte; minix_last_byte()
/linux-4.1.27/fs/ufs/
H A Ddir.c215 unsigned last_byte = inode->i_size; ufs_last_byte() local
217 last_byte -= page_nr << PAGE_CACHE_SHIFT; ufs_last_byte()
218 if (last_byte > PAGE_CACHE_SIZE) ufs_last_byte()
219 last_byte = PAGE_CACHE_SIZE; ufs_last_byte()
220 return last_byte; ufs_last_byte()
/linux-4.1.27/fs/nilfs2/
H A Ddir.c75 unsigned last_byte = inode->i_size; nilfs_last_byte() local
77 last_byte -= page_nr << PAGE_CACHE_SHIFT; nilfs_last_byte()
78 if (last_byte > PAGE_CACHE_SIZE) nilfs_last_byte()
79 last_byte = PAGE_CACHE_SIZE; nilfs_last_byte()
80 return last_byte; nilfs_last_byte()
/linux-4.1.27/fs/ext2/
H A Ddir.c85 unsigned last_byte = inode->i_size; ext2_last_byte() local
87 last_byte -= page_nr << PAGE_CACHE_SHIFT; ext2_last_byte()
88 if (last_byte > PAGE_CACHE_SIZE) ext2_last_byte()
89 last_byte = PAGE_CACHE_SIZE; ext2_last_byte()
90 return last_byte; ext2_last_byte()
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Dmpc52xx_lpbfifo.c301 req->last_byte = ((u8 *)req->data)[req->size - 1]; mpc52xx_lpbfifo_irq()
357 req->last_byte = ((u8 *)req->data)[req->size - 1]; mpc52xx_lpbfifo_bcom_irq()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dmpc52xx.h320 u8 last_byte; member in struct:mpc52xx_lpbfifo_request
/linux-4.1.27/fs/btrfs/
H A Dfile.c2555 u64 last_byte; btrfs_fallocate() local
2658 last_byte = min(extent_map_end(em), alloc_end); btrfs_fallocate()
2660 last_byte = ALIGN(last_byte, blocksize); btrfs_fallocate()
2666 last_byte - cur_offset, btrfs_fallocate()
2700 cur_offset = last_byte; btrfs_fallocate()
H A Dextent_io.c2920 u64 last_byte = i_size_read(inode); __do_readpage() local
2946 if (page->index == last_byte >> PAGE_CACHE_SHIFT) { __do_readpage()
2948 size_t zero_offset = last_byte & (PAGE_CACHE_SIZE - 1); __do_readpage()
2959 unsigned long pnr = (last_byte >> PAGE_CACHE_SHIFT) + 1; __do_readpage()
2962 if (cur >= last_byte) { __do_readpage()
H A Dinode.c4736 u64 last_byte; btrfs_cont_expand() local
4777 last_byte = min(extent_map_end(em), block_end); btrfs_cont_expand()
4778 last_byte = ALIGN(last_byte , root->sectorsize); btrfs_cont_expand()
4781 hole_size = last_byte - cur_offset; btrfs_cont_expand()
4822 cur_offset = last_byte; btrfs_cont_expand()
/linux-4.1.27/fs/ocfs2/
H A Daops.c1472 loff_t last_byte; ocfs2_grab_pages_for_write() local
1491 last_byte = max(user_pos + user_len, i_size_read(inode)); ocfs2_grab_pages_for_write()
1492 BUG_ON(last_byte < 1); ocfs2_grab_pages_for_write()
1493 end_index = ((last_byte - 1) >> PAGE_CACHE_SHIFT) + 1; ocfs2_grab_pages_for_write()
/linux-4.1.27/drivers/net/ethernet/marvell/
H A Dmvneta.c1897 unsigned char last_byte, mvneta_set_special_mcast_addr()
1905 tbl_offset = (last_byte / 4); mvneta_set_special_mcast_addr()
1907 reg_offset = last_byte % 4; mvneta_set_special_mcast_addr()
1896 mvneta_set_special_mcast_addr(struct mvneta_port *pp, unsigned char last_byte, int queue) mvneta_set_special_mcast_addr() argument
/linux-4.1.27/drivers/net/ethernet/intel/e1000/
H A De1000_hw.h2461 * last_byte = the last byte of the frame DMAed by the hardware
2480 #define TBI_ACCEPT(adapter, status, errors, length, last_byte) \
2483 ((last_byte) == CARRIER_EXTENSION) && \
H A De1000_main.c4097 u8 last_byte = *(data + length - 1); e1000_tbi_should_accept() local
4099 if (TBI_ACCEPT(hw, status, errors, length, last_byte)) { e1000_tbi_should_accept()
/linux-4.1.27/drivers/net/wan/
H A Dcosa.c1469 * The chat is the following "r" "r=" "<addr> " " =" "<last_byte> " " "

Completed in 878 milliseconds