Home
last modified time | relevance | path

Searched refs:ia (Results 1 – 15 of 15) sorted by relevance

/fs/fuse/
Dfile.c427 struct fuse_io_args ia; member
448 curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; in fuse_find_writeback()
449 if (idx_from >= curr_index + wpa->ia.ap.num_pages) in fuse_find_writeback()
660 void fuse_read_args_fill(struct fuse_io_args *ia, struct file *file, loff_t pos, in fuse_read_args_fill() argument
664 struct fuse_args *args = &ia->ap.args; in fuse_read_args_fill()
666 ia->read.in.fh = ff->fh; in fuse_read_args_fill()
667 ia->read.in.offset = pos; in fuse_read_args_fill()
668 ia->read.in.size = count; in fuse_read_args_fill()
669 ia->read.in.flags = file->f_flags; in fuse_read_args_fill()
673 args->in_args[0].size = sizeof(ia->read.in); in fuse_read_args_fill()
[all …]
Dcuse.c321 struct cuse_init_args *ia = container_of(args, typeof(*ia), ap.args); in cuse_process_init_reply() local
322 struct fuse_args_pages *ap = &ia->ap; in cuse_process_init_reply()
324 struct cuse_init_out *arg = &ia->out; in cuse_process_init_reply()
409 kfree(ia); in cuse_process_init_reply()
430 struct cuse_init_args *ia; in cuse_send_init() local
440 ia = kzalloc(sizeof(*ia), GFP_KERNEL); in cuse_send_init()
441 if (!ia) in cuse_send_init()
444 ap = &ia->ap; in cuse_send_init()
445 ia->in.major = FUSE_KERNEL_VERSION; in cuse_send_init()
446 ia->in.minor = FUSE_KERNEL_MINOR_VERSION; in cuse_send_init()
[all …]
Dinode.c1346 struct fuse_init_args *ia = container_of(args, typeof(*ia), args); in process_init_reply() local
1347 struct fuse_init_out *arg = &ia->out; in process_init_reply()
1451 kfree(ia); in process_init_reply()
1464 struct fuse_init_args *ia; in fuse_send_init() local
1467 ia = kzalloc(sizeof(*ia), GFP_KERNEL | __GFP_NOFAIL); in fuse_send_init()
1469 ia->in.major = FUSE_KERNEL_VERSION; in fuse_send_init()
1470 ia->in.minor = FUSE_KERNEL_MINOR_VERSION; in fuse_send_init()
1471 ia->in.max_readahead = fm->sb->s_bdi->ra_pages * PAGE_SIZE; in fuse_send_init()
1495 ia->in.flags = flags; in fuse_send_init()
1496 ia->in.flags2 = flags >> 32; in fuse_send_init()
[all …]
Dreaddir.c339 struct fuse_io_args ia = {}; in fuse_readdir_uncached() local
340 struct fuse_args_pages *ap = &ia.ap; in fuse_readdir_uncached()
356 fuse_read_args_fill(&ia, file, ctx->pos, PAGE_SIZE, in fuse_readdir_uncached()
359 fuse_read_args_fill(&ia, file, ctx->pos, PAGE_SIZE, in fuse_readdir_uncached()
Dfuse_i.h1118 void fuse_read_args_fill(struct fuse_io_args *ia, struct file *file, loff_t pos,
/fs/ntfs/
Ddir.c75 INDEX_ALLOCATION *ia; in ntfs_lookup_inode_by_name() local
320 ia = (INDEX_ALLOCATION*)(kaddr + ((vcn << in ntfs_lookup_inode_by_name()
323 if ((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_SIZE) { in ntfs_lookup_inode_by_name()
329 if (unlikely(!ntfs_is_indx_record(ia->magic))) { in ntfs_lookup_inode_by_name()
335 if (sle64_to_cpu(ia->index_block_vcn) != vcn) { in ntfs_lookup_inode_by_name()
340 sle64_to_cpu(ia->index_block_vcn), in ntfs_lookup_inode_by_name()
344 if (le32_to_cpu(ia->index.allocated_size) + 0x18 != in ntfs_lookup_inode_by_name()
351 le32_to_cpu(ia->index.allocated_size) + 0x18, in ntfs_lookup_inode_by_name()
355 index_end = (u8*)ia + dir_ni->itype.index.block_size; in ntfs_lookup_inode_by_name()
364 index_end = (u8*)&ia->index + le32_to_cpu(ia->index.index_length); in ntfs_lookup_inode_by_name()
[all …]
Dindex.c116 INDEX_ALLOCATION *ia; in ntfs_index_lookup() local
199 ictx->ia = NULL; in ntfs_index_lookup()
276 ia = (INDEX_ALLOCATION*)(kaddr + ((vcn << in ntfs_index_lookup()
279 if ((u8*)ia < kaddr || (u8*)ia > kaddr + PAGE_SIZE) { in ntfs_index_lookup()
285 if (unlikely(!ntfs_is_indx_record(ia->magic))) { in ntfs_index_lookup()
291 if (sle64_to_cpu(ia->index_block_vcn) != vcn) { in ntfs_index_lookup()
296 sle64_to_cpu(ia->index_block_vcn), in ntfs_index_lookup()
300 if (le32_to_cpu(ia->index.allocated_size) + 0x18 != in ntfs_index_lookup()
307 le32_to_cpu(ia->index.allocated_size) + 0x18, in ntfs_index_lookup()
311 index_end = (u8*)ia + idx_ni->itype.index.block_size; in ntfs_index_lookup()
[all …]
Dindex.h70 INDEX_ALLOCATION *ia; member
129 (u8*)ictx->ia - (u8*)page_address(ictx->page)); in ntfs_index_entry_mark_dirty()
/fs/ramfs/
Dfile-nommu.c162 struct dentry *dentry, struct iattr *ia) in ramfs_nommu_setattr() argument
165 unsigned int old_ia_valid = ia->ia_valid; in ramfs_nommu_setattr()
169 ret = setattr_prepare(&init_user_ns, dentry, ia); in ramfs_nommu_setattr()
174 if (ia->ia_valid & ATTR_SIZE) { in ramfs_nommu_setattr()
177 if (ia->ia_size != size) { in ramfs_nommu_setattr()
178 ret = ramfs_nommu_resize(inode, ia->ia_size, size); in ramfs_nommu_setattr()
179 if (ret < 0 || ia->ia_valid == ATTR_SIZE) in ramfs_nommu_setattr()
185 ia->ia_valid |= ATTR_MTIME|ATTR_CTIME; in ramfs_nommu_setattr()
189 setattr_copy(&init_user_ns, inode, ia); in ramfs_nommu_setattr()
191 ia->ia_valid = old_ia_valid; in ramfs_nommu_setattr()
/fs/ecryptfs/
Dinode.c732 static int truncate_upper(struct dentry *dentry, struct iattr *ia, in truncate_upper() argument
742 if (unlikely((ia->ia_size == i_size))) { in truncate_upper()
751 if (ia->ia_size > i_size) { in truncate_upper()
760 (ia->ia_size - 1), 1); in truncate_upper()
767 - (ia->ia_size & ~PAGE_MASK)); in truncate_upper()
770 truncate_setsize(inode, ia->ia_size); in truncate_upper()
771 lower_ia->ia_size = ia->ia_size; in truncate_upper()
784 ia->ia_size, num_zeros); in truncate_upper()
793 truncate_setsize(inode, ia->ia_size); in truncate_upper()
806 upper_size_to_lower_size(crypt_stat, ia->ia_size); in truncate_upper()
[all …]
/fs/fat/
Dfile.c41 struct iattr ia; in fat_ioctl_set_attributes() local
66 ia.ia_valid = ATTR_MODE | ATTR_CTIME; in fat_ioctl_set_attributes()
67 ia.ia_ctime = current_time(inode); in fat_ioctl_set_attributes()
69 ia.ia_mode = fat_make_mode(sbi, attr, S_IRWXUGO); in fat_ioctl_set_attributes()
71 ia.ia_mode = fat_make_mode(sbi, attr, in fat_ioctl_set_attributes()
94 file->f_path.dentry, &ia); in fat_ioctl_set_attributes()
99 err = fat_setattr(file_mnt_user_ns(file), file->f_path.dentry, &ia); in fat_ioctl_set_attributes()
103 fsnotify_change(file->f_path.dentry, ia.ia_valid); in fat_ioctl_set_attributes()
/fs/afs/
Dcmservice.c551 } ia; in SRXAFSCB_TellMeAboutYourself() member
562 reply.ia.uuid[0] = call->net->uuid.time_low; in SRXAFSCB_TellMeAboutYourself()
563 reply.ia.uuid[1] = htonl(ntohs(call->net->uuid.time_mid)); in SRXAFSCB_TellMeAboutYourself()
564 reply.ia.uuid[2] = htonl(ntohs(call->net->uuid.time_hi_and_version)); in SRXAFSCB_TellMeAboutYourself()
565 reply.ia.uuid[3] = htonl((s8) call->net->uuid.clock_seq_hi_and_reserved); in SRXAFSCB_TellMeAboutYourself()
566 reply.ia.uuid[4] = htonl((s8) call->net->uuid.clock_seq_low); in SRXAFSCB_TellMeAboutYourself()
568 reply.ia.uuid[loop + 5] = htonl((s8) call->net->uuid.node[loop]); in SRXAFSCB_TellMeAboutYourself()
/fs/incfs/
Dvfs.c65 struct iattr *ia);
1622 struct iattr *ia) in incfs_setattr() argument
1629 if (ia->ia_valid & ATTR_SIZE) in incfs_setattr()
1632 if ((ia->ia_valid & (ATTR_KILL_SUID|ATTR_KILL_SGID)) && in incfs_setattr()
1633 (ia->ia_valid & ATTR_MODE)) in incfs_setattr()
1646 if ((ia->ia_valid & ATTR_MODE) && (ia->ia_mode & 0222)) in incfs_setattr()
1649 ia->ia_mode |= 0222; in incfs_setattr()
1653 error = notify_change(ns, backing_dentry, ia, NULL); in incfs_setattr()
1660 ia->ia_mode &= ~0222; in incfs_setattr()
1662 return simple_setattr(ns, dentry, ia); in incfs_setattr()
/fs/debugfs/
Dinode.c46 struct dentry *dentry, struct iattr *ia) in debugfs_setattr() argument
50 if (ia->ia_valid & (ATTR_MODE | ATTR_UID | ATTR_GID)) { in debugfs_setattr()
55 return simple_setattr(&init_user_ns, dentry, ia); in debugfs_setattr()
/fs/iomap/
Dbuffered-io.c1157 struct iomap_ioend *ia = container_of(a, struct iomap_ioend, io_list); in iomap_ioend_compare() local
1160 if (ia->io_offset < ib->io_offset) in iomap_ioend_compare()
1162 if (ia->io_offset > ib->io_offset) in iomap_ioend_compare()