Lines Matching refs:p
329 struct vfs_index_node_t *p = vfs_alloc_inode(); in fat32_lookup() local
331 p->file_size = sinfo.de->DIR_FileSize; in fat32_lookup()
333 p->blocks = (p->file_size + fsbi->bytes_per_clus - 1) / fsbi->bytes_per_sec; in fat32_lookup()
334 p->attribute = (sinfo.de->DIR_Attr & ATTR_DIRECTORY) ? VFS_IF_DIR : VFS_IF_FILE; in fat32_lookup()
335 p->sb = parent_inode->sb; in fat32_lookup()
336 p->file_ops = &fat32_file_ops; in fat32_lookup()
337 p->inode_ops = &fat32_inode_ops; in fat32_lookup()
340 p->private_inode_info = (void *)kzalloc(sizeof(fat32_inode_info_t), 0); in fat32_lookup()
341 finode = (fat32_inode_info_t *)p->private_inode_info; in fat32_lookup()
355 if ((sinfo.de->DIR_FstClusHI >> 12) && (p->attribute & VFS_IF_FILE)) in fat32_lookup()
356 p->attribute |= VFS_IF_DEVICE; in fat32_lookup()
358 dest_dentry->dir_inode = p; in fat32_lookup()
994 fat32_inode_info_t *p = (fat32_inode_info_t *)inode->private_inode_info; in fat32_mkdir() local
995 p->first_clus = 0; in fat32_mkdir()
996 p->dEntry_location_clus = tmp_parent_dentry_clus; in fat32_mkdir()
997 …p->dEntry_location_clus_offset = empty_fat32_dentry - (struct fat32_Directory_t *)tmp_dentry_clus_… in fat32_mkdir()