Lines Matching refs:ptr
77 unsigned char *ptr = (unsigned char *) oi; in omfs_update_checksums() local
82 crc = crc_itu_t(crc, ptr + ofs, count); in omfs_update_checksums()
85 xor = ptr[0]; in omfs_update_checksums()
87 xor ^= ptr[i]; in omfs_update_checksums()
298 unsigned long **ptr; in omfs_get_imap() local
313 ptr = sbi->s_imap; in omfs_get_imap()
318 *ptr = kmalloc(sb->s_blocksize, GFP_KERNEL); in omfs_get_imap()
319 if (!*ptr) { in omfs_get_imap()
323 memcpy(*ptr, bh->b_data, sb->s_blocksize); in omfs_get_imap()
325 memset((void *)*ptr + count, 0xff, in omfs_get_imap()
328 ptr++; in omfs_get_imap()