Home
last modified time | relevance | path

Searched refs:info (Results 1 – 25 of 76) sorted by relevance

1234

/fs/
Dquota_tree.c27 static int get_index(struct qtree_mem_dqinfo *info, qid_t id, int depth) in get_index() argument
29 unsigned int epb = info->dqi_usable_bs >> 2; in get_index()
31 depth = info->dqi_qtree_depth - depth - 1; in get_index()
38 static inline int qtree_dqstr_in_blk(struct qtree_mem_dqinfo *info) in qtree_dqstr_in_blk() argument
40 return (info->dqi_usable_bs - sizeof(struct qt_disk_dqdbheader)) in qtree_dqstr_in_blk()
41 / info->dqi_entry_size; in qtree_dqstr_in_blk()
57 static inline ssize_t read_blk(struct qtree_mem_dqinfo *info, uint blk, dqbuf_t buf) in read_blk() argument
59 struct super_block *sb = info->dqi_sb; in read_blk()
61 memset(buf, 0, info->dqi_usable_bs); in read_blk()
62 return sb->s_op->quota_read(sb, info->dqi_type, (char *)buf, in read_blk()
[all …]
Dbinfmt_elf.c1525 struct elf_note_info *info, in fill_note_info() argument
1535 info->size = 0; in fill_note_info()
1536 info->thread = NULL; in fill_note_info()
1539 fill_note(&info->psinfo, "CORE", NT_PRPSINFO, sizeof(*psinfo), psinfo); in fill_note_info()
1547 info->thread_notes = 0; in fill_note_info()
1550 ++info->thread_notes; in fill_note_info()
1556 if (unlikely(info->thread_notes == 0) || in fill_note_info()
1573 notes[info->thread_notes]), in fill_note_info()
1579 if (ct->task == dump_task || !info->thread) { in fill_note_info()
1580 t->next = info->thread; in fill_note_info()
[all …]
Dquota_v2.c73 struct mem_dqinfo *info = sb_dqinfo(sb, type); in v2_read_file_info() local
84 info->dqi_priv = kmalloc(sizeof(struct qtree_mem_dqinfo), GFP_NOFS); in v2_read_file_info()
85 if (!info->dqi_priv) { in v2_read_file_info()
90 qinfo = info->dqi_priv; in v2_read_file_info()
92 info->dqi_maxblimit = 0xffffffff; in v2_read_file_info()
93 info->dqi_maxilimit = 0xffffffff; in v2_read_file_info()
94 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in v2_read_file_info()
95 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in v2_read_file_info()
96 info->dqi_flags = le32_to_cpu(dinfo.dqi_flags); in v2_read_file_info()
114 struct mem_dqinfo *info = sb_dqinfo(sb, type); in v2_write_file_info() local
[all …]
Daio.c84 struct aio_ring_info *info = &ctx->ring_info; in aio_free_ring() local
87 for (i=0; i<info->nr_pages; i++) in aio_free_ring()
88 put_page(info->ring_pages[i]); in aio_free_ring()
90 if (info->mmap_size) { in aio_free_ring()
92 do_munmap(ctx->mm, info->mmap_base, info->mmap_size); in aio_free_ring()
96 if (info->ring_pages && info->ring_pages != info->internal_pages) in aio_free_ring()
97 kfree(info->ring_pages); in aio_free_ring()
98 info->ring_pages = NULL; in aio_free_ring()
99 info->nr = 0; in aio_free_ring()
105 struct aio_ring_info *info = &ctx->ring_info; in aio_setup_ring() local
[all …]
Dquota_v1.c84 dqblk.dqb_btime = sb_dqopt(dquot->dq_sb)->info[type].dqi_bgrace; in v1_commit_dqblk()
85 dqblk.dqb_itime = sb_dqopt(dquot->dq_sb)->info[type].dqi_igrace; in v1_commit_dqblk()
158 dqopt->info[type].dqi_maxblimit = 0xffffffff; in v1_read_file_info()
159 dqopt->info[type].dqi_maxilimit = 0xffffffff; in v1_read_file_info()
160 dqopt->info[type].dqi_igrace = dqblk.dqb_itime ? dqblk.dqb_itime : MAX_IQ_TIME; in v1_read_file_info()
161 dqopt->info[type].dqi_bgrace = dqblk.dqb_btime ? dqblk.dqb_btime : MAX_DQ_TIME; in v1_read_file_info()
172 dqopt->info[type].dqi_flags &= ~DQF_INFO_DIRTY; in v1_write_file_info()
179 dqblk.dqb_itime = dqopt->info[type].dqi_igrace; in v1_write_file_info()
180 dqblk.dqb_btime = dqopt->info[type].dqi_bgrace; in v1_write_file_info()
Dquota.c209 if (!info_dirty(&sb_dqopt(sb)->info[cnt]) && in sync_dquots()
210 list_empty(&sb_dqopt(sb)->info[cnt].dqi_dirty_list)) in sync_dquots()
255 fmt = sb_dqopt(sb)->info[type].dqi_format->qf_fmt_id; in do_quotactl()
262 struct if_dqinfo info; in do_quotactl() local
264 if ((ret = sb->s_qcop->get_info(sb, type, &info))) in do_quotactl()
266 if (copy_to_user(addr, &info, sizeof(info))) in do_quotactl()
271 struct if_dqinfo info; in do_quotactl() local
273 if (copy_from_user(&info, addr, sizeof(info))) in do_quotactl()
275 return sb->s_qcop->set_info(sb, type, &info); in do_quotactl()
/fs/dlm/
Dplock.c27 struct dlm_plock_info info; member
39 static inline void set_version(struct dlm_plock_info *info) in set_version() argument
41 info->version[0] = DLM_PLOCK_VERSION_MAJOR; in set_version()
42 info->version[1] = DLM_PLOCK_VERSION_MINOR; in set_version()
43 info->version[2] = DLM_PLOCK_VERSION_PATCH; in set_version()
46 static int check_version(struct dlm_plock_info *info) in check_version() argument
48 if ((DLM_PLOCK_VERSION_MAJOR != info->version[0]) || in check_version()
49 (DLM_PLOCK_VERSION_MINOR < info->version[1])) { in check_version()
55 info->version[0], in check_version()
56 info->version[1], in check_version()
[all …]
/fs/btrfs/
Dfree-space-cache.c27 struct btrfs_free_space *info; in tree_insert_offset() local
31 info = rb_entry(parent, struct btrfs_free_space, offset_index); in tree_insert_offset()
33 if (offset < info->offset) in tree_insert_offset()
35 else if (offset > info->offset) in tree_insert_offset()
52 struct btrfs_free_space *info; in tree_insert_bytes() local
56 info = rb_entry(parent, struct btrfs_free_space, bytes_index); in tree_insert_bytes()
58 if (bytes < info->bytes) in tree_insert_bytes()
162 struct btrfs_free_space *info) in unlink_free_space() argument
164 rb_erase(&info->offset_index, &block_group->free_space_offset); in unlink_free_space()
165 rb_erase(&info->bytes_index, &block_group->free_space_bytes); in unlink_free_space()
[all …]
Dsuper.c120 struct btrfs_fs_info *info = root->fs_info; in btrfs_parse_options() local
146 btrfs_set_opt(info->mount_opt, DEGRADED); in btrfs_parse_options()
157 btrfs_set_opt(info->mount_opt, NODATASUM); in btrfs_parse_options()
161 btrfs_set_opt(info->mount_opt, NODATACOW); in btrfs_parse_options()
162 btrfs_set_opt(info->mount_opt, NODATASUM); in btrfs_parse_options()
166 btrfs_set_opt(info->mount_opt, COMPRESS); in btrfs_parse_options()
170 btrfs_set_opt(info->mount_opt, SSD); in btrfs_parse_options()
174 btrfs_set_opt(info->mount_opt, NOBARRIER); in btrfs_parse_options()
180 info->thread_pool_size = intarg; in btrfs_parse_options()
182 info->thread_pool_size); in btrfs_parse_options()
[all …]
Dextent-tree.c77 static int btrfs_add_block_group_cache(struct btrfs_fs_info *info, in btrfs_add_block_group_cache() argument
84 spin_lock(&info->block_group_cache_lock); in btrfs_add_block_group_cache()
85 p = &info->block_group_cache_tree.rb_node; in btrfs_add_block_group_cache()
96 spin_unlock(&info->block_group_cache_lock); in btrfs_add_block_group_cache()
103 &info->block_group_cache_tree); in btrfs_add_block_group_cache()
104 spin_unlock(&info->block_group_cache_lock); in btrfs_add_block_group_cache()
114 block_group_cache_tree_search(struct btrfs_fs_info *info, u64 bytenr, in block_group_cache_tree_search() argument
121 spin_lock(&info->block_group_cache_lock); in block_group_cache_tree_search()
122 n = info->block_group_cache_tree.rb_node; in block_group_cache_tree_search()
147 spin_unlock(&info->block_group_cache_lock); in block_group_cache_tree_search()
[all …]
/fs/bfs/
Dinode.c107 struct bfs_sb_info *info = BFS_SB(inode->i_sb); in bfs_write_inode() local
116 mutex_lock(&info->bfs_lock); in bfs_write_inode()
122 mutex_unlock(&info->bfs_lock); in bfs_write_inode()
149 mutex_unlock(&info->bfs_lock); in bfs_write_inode()
160 struct bfs_sb_info *info = BFS_SB(s); in bfs_delete_inode() local
167 if ((ino < BFS_ROOT_INO) || (ino > info->si_lasti)) { in bfs_delete_inode()
174 mutex_lock(&info->bfs_lock); in bfs_delete_inode()
182 mutex_unlock(&info->bfs_lock); in bfs_delete_inode()
193 info->si_freeb += bi->i_eblock + 1 - bi->i_sblock; in bfs_delete_inode()
194 info->si_freei++; in bfs_delete_inode()
[all …]
Ddir.c35 struct bfs_sb_info *info = BFS_SB(dir->i_sb); in bfs_readdir() local
39 mutex_lock(&info->bfs_lock); in bfs_readdir()
45 mutex_unlock(&info->bfs_lock); in bfs_readdir()
65 mutex_unlock(&info->bfs_lock); in bfs_readdir()
75 mutex_unlock(&info->bfs_lock); in bfs_readdir()
94 struct bfs_sb_info *info = BFS_SB(s); in bfs_create() local
100 mutex_lock(&info->bfs_lock); in bfs_create()
101 ino = find_first_zero_bit(info->si_imap, info->si_lasti); in bfs_create()
102 if (ino > info->si_lasti) { in bfs_create()
103 mutex_unlock(&info->bfs_lock); in bfs_create()
[all …]
Dfile.c72 struct bfs_sb_info *info = BFS_SB(sb); in bfs_get_block() local
74 struct buffer_head *sbh = info->si_sbh; in bfs_get_block()
98 if (phys >= info->si_blocks) in bfs_get_block()
102 mutex_lock(&info->bfs_lock); in bfs_get_block()
109 if (bi->i_eblock == info->si_lf_eblk) { in bfs_get_block()
113 info->si_freeb -= phys - bi->i_eblock; in bfs_get_block()
114 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
122 phys = info->si_lf_eblk + 1; in bfs_get_block()
123 if (phys + block >= info->si_blocks) { in bfs_get_block()
143 info->si_lf_eblk = bi->i_eblock = phys; in bfs_get_block()
[all …]
/fs/ext3/
Ddir.c338 struct dir_private_info *info; in ext3_htree_store_dirent() local
341 info = (struct dir_private_info *) dir_file->private_data; in ext3_htree_store_dirent()
342 p = &info->root.rb_node; in ext3_htree_store_dirent()
383 rb_insert_color(&new_fn->rb_hash, &info->root); in ext3_htree_store_dirent()
397 struct dir_private_info *info = filp->private_data; in call_filldir() local
417 info->extra_fname = fname; in call_filldir()
428 struct dir_private_info *info = filp->private_data; in ext3_dx_readdir() local
433 if (!info) { in ext3_dx_readdir()
434 info = ext3_htree_create_dir_info(filp->f_pos); in ext3_dx_readdir()
435 if (!info) in ext3_dx_readdir()
[all …]
/fs/ext4/
Ddir.c340 struct dir_private_info *info; in ext4_htree_store_dirent() local
343 info = (struct dir_private_info *) dir_file->private_data; in ext4_htree_store_dirent()
344 p = &info->root.rb_node; in ext4_htree_store_dirent()
385 rb_insert_color(&new_fn->rb_hash, &info->root); in ext4_htree_store_dirent()
399 struct dir_private_info *info = filp->private_data; in call_filldir() local
420 info->extra_fname = fname; in call_filldir()
431 struct dir_private_info *info = filp->private_data; in ext4_dx_readdir() local
436 if (!info) { in ext4_dx_readdir()
437 info = ext4_htree_create_dir_info(filp->f_pos); in ext4_dx_readdir()
438 if (!info) in ext4_dx_readdir()
[all …]
/fs/jbd/
Drecovery.c42 struct recovery_info *info, enum passtype pass);
229 struct recovery_info info; in journal_recover() local
231 memset(&info, 0, sizeof(info)); in journal_recover()
247 err = do_one_pass(journal, &info, PASS_SCAN); in journal_recover()
249 err = do_one_pass(journal, &info, PASS_REVOKE); in journal_recover()
251 err = do_one_pass(journal, &info, PASS_REPLAY); in journal_recover()
255 err, info.start_transaction, info.end_transaction); in journal_recover()
257 info.nr_replays, info.nr_revoke_hits, info.nr_revokes); in journal_recover()
261 journal->j_transaction_sequence = ++info.end_transaction; in journal_recover()
289 struct recovery_info info; in journal_skip_recovery() local
[all …]
/fs/jbd2/
Drecovery.c43 struct recovery_info *info, enum passtype pass);
231 struct recovery_info info; in jbd2_journal_recover() local
233 memset(&info, 0, sizeof(info)); in jbd2_journal_recover()
249 err = do_one_pass(journal, &info, PASS_SCAN); in jbd2_journal_recover()
251 err = do_one_pass(journal, &info, PASS_REVOKE); in jbd2_journal_recover()
253 err = do_one_pass(journal, &info, PASS_REPLAY); in jbd2_journal_recover()
257 err, info.start_transaction, info.end_transaction); in jbd2_journal_recover()
259 info.nr_replays, info.nr_revoke_hits, info.nr_revokes); in jbd2_journal_recover()
263 journal->j_transaction_sequence = ++info.end_transaction; in jbd2_journal_recover()
291 struct recovery_info info; in jbd2_journal_skip_recovery() local
[all …]
/fs/nfs/
Dmount_clnt.c36 int nfs_mount(struct nfs_mount_request *info) in nfs_mount() argument
39 .fh = info->fh in nfs_mount()
42 .rpc_argp = info->dirpath, in nfs_mount()
46 .protocol = info->protocol, in nfs_mount()
47 .address = info->sap, in nfs_mount()
48 .addrsize = info->salen, in nfs_mount()
49 .servername = info->hostname, in nfs_mount()
51 .version = info->version, in nfs_mount()
58 (info->hostname ? info->hostname : "server"), in nfs_mount()
59 info->dirpath); in nfs_mount()
[all …]
Dproc.c55 struct nfs_fsinfo *info) in nfs_proc_get_root() argument
57 struct nfs_fattr *fattr = info->fattr; in nfs_proc_get_root()
85 info->rtmax = NFS_MAXDATA; in nfs_proc_get_root()
86 info->rtpref = fsinfo.tsize; in nfs_proc_get_root()
87 info->rtmult = fsinfo.bsize; in nfs_proc_get_root()
88 info->wtmax = NFS_MAXDATA; in nfs_proc_get_root()
89 info->wtpref = fsinfo.tsize; in nfs_proc_get_root()
90 info->wtmult = fsinfo.bsize; in nfs_proc_get_root()
91 info->dtpref = fsinfo.tsize; in nfs_proc_get_root()
92 info->maxfilesize = 0x7FFFFFFF; in nfs_proc_get_root()
[all …]
/fs/partitions/
Dibm.c48 dasd_information2_t *info; in ibm_partition() local
67 info = kmalloc(sizeof(dasd_information2_t), GFP_KERNEL); in ibm_partition()
68 if (info == NULL) in ibm_partition()
77 if (ioctl_by_bdev(bdev, BIODASDINFO2, (unsigned long)info) != 0 || in ibm_partition()
84 data = read_dev_sector(bdev, info->label_block*(blocksize/512), &sect); in ibm_partition()
89 if ((!info->FBA_layout) && (!strcmp(info->type, "ECKD"))) in ibm_partition()
108 if (info->format == DASD_FORMAT_LDL) { in ibm_partition()
122 offset = (info->label_block + 1); in ibm_partition()
133 offset = (info->label_block + 1); in ibm_partition()
138 } else if (info->format == DASD_FORMAT_CDL) { in ibm_partition()
[all …]
/fs/ocfs2/
Dquota_global.c192 struct mem_dqinfo *info = sb_dqinfo(sb, type); in ocfs2_quota_write() local
193 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in ocfs2_quota_write()
302 struct mem_dqinfo *info = sb_dqinfo(sb, type); in ocfs2_global_read_info() local
303 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in ocfs2_global_read_info()
342 info->dqi_bgrace = le32_to_cpu(dinfo.dqi_bgrace); in ocfs2_global_read_info()
343 info->dqi_igrace = le32_to_cpu(dinfo.dqi_igrace); in ocfs2_global_read_info()
366 struct mem_dqinfo *info = sb_dqinfo(sb, type); in __ocfs2_global_write_info() local
367 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in __ocfs2_global_write_info()
372 info->dqi_flags &= ~DQF_INFO_DIRTY; in __ocfs2_global_write_info()
373 dinfo.dqi_bgrace = cpu_to_le32(info->dqi_bgrace); in __ocfs2_global_write_info()
[all …]
Dquota_local.c255 struct mem_dqinfo *info = private; in olq_update_info() local
256 struct ocfs2_mem_dqinfo *oinfo = info->dqi_priv; in olq_update_info()
262 ldinfo->dqi_flags = cpu_to_le32(info->dqi_flags & DQF_MASK); in olq_update_info()
650 struct mem_dqinfo *info = sb_dqinfo(sb, type); in ocfs2_local_read_info() local
658 info->dqi_maxblimit = 0x7fffffffffffffffLL; in ocfs2_local_read_info()
659 info->dqi_maxilimit = 0x7fffffffffffffffLL; in ocfs2_local_read_info()
666 info->dqi_priv = oinfo; in ocfs2_local_read_info()
694 info->dqi_flags = le32_to_cpu(ldinfo->dqi_flags); in ocfs2_local_read_info()
700 if (!(info->dqi_flags & OLQF_CLEAN)) { in ocfs2_local_read_info()
729 info->dqi_flags &= ~OLQF_CLEAN; in ocfs2_local_read_info()
[all …]
/fs/xfs/
Dxfs_da_btree.c124 node->hdr.info.forw = 0; in xfs_da_node_create()
125 node->hdr.info.back = 0; in xfs_da_node_create()
126 node->hdr.info.magic = cpu_to_be16(XFS_DA_NODE_MAGIC); in xfs_da_node_create()
127 node->hdr.info.pad = 0; in xfs_da_node_create()
258 if (node->hdr.info.forw) { in xfs_da_split()
259 if (be32_to_cpu(node->hdr.info.forw) == addblk->blkno) { in xfs_da_split()
266 node->hdr.info.back = cpu_to_be32(oldblk->blkno); in xfs_da_split()
268 XFS_DA_LOGRANGE(node, &node->hdr.info, in xfs_da_split()
269 sizeof(node->hdr.info))); in xfs_da_split()
272 if (node->hdr.info.back) { in xfs_da_split()
[all …]
/fs/ncpfs/
Ddir.c178 struct nw_modify_dos_info info; in ncp_force_unlink() local
182 memset(&info, 0, sizeof(info)); in ncp_force_unlink()
188 info.attributes = old_nwattr & ~(aRONLY|aDELETEINHIBIT|aRENAMEINHIBIT); in ncp_force_unlink()
189 …s2 = ncp_modify_file_or_subdir_dos_info_path(NCP_SERVER(inode), inode, NULL, DM_ATTRIBUTES, &info); in ncp_force_unlink()
198 info.attributes = old_nwattr; in ncp_force_unlink()
199 …s2 = ncp_modify_file_or_subdir_dos_info_path(NCP_SERVER(inode), inode, NULL, DM_ATTRIBUTES, &info); in ncp_force_unlink()
213 struct nw_modify_dos_info info; in ncp_force_rename() local
221 memset(&info, 0, sizeof(info)); in ncp_force_rename()
225 info.attributes = old_nwattr & ~(aRONLY|aRENAMEINHIBIT|aDELETEINHIBIT); in ncp_force_rename()
226 …_modify_file_or_subdir_dos_info_path(NCP_SERVER(old_inode), old_inode, NULL, DM_ATTRIBUTES, &info); in ncp_force_rename()
[all …]
Dinode.c244 ncp_iget(struct super_block *sb, struct ncp_entry_info *info) in ncp_iget() argument
248 if (info == NULL) { in ncp_iget()
255 atomic_set(&NCP_FINFO(inode)->opened, info->opened); in ncp_iget()
257 inode->i_ino = info->ino; in ncp_iget()
258 ncp_set_attr(inode, info); in ncp_iget()
268 new_decode_dev(info->i.nfs.rdev)); in ncp_iget()
845 struct nw_modify_dos_info info; in ncp_notify_change() local
878 memset(&info, 0, sizeof(info)); in ncp_notify_change()
894 info.attributes |= aSHARED | aSYSTEM; in ncp_notify_change()
897 info.attributes |= aSHARED; in ncp_notify_change()
[all …]

1234