Home
last modified time | relevance | path

Searched refs:table (Results 1 – 25 of 92) sorted by relevance

1234

/fs/proc/
Dproc_sysctl.c181 struct ctl_node *node, struct ctl_table *table) in init_header() argument
183 head->ctl_table = table; in init_header()
184 head->ctl_table_arg = table; in init_header()
195 for (entry = table; entry->procname; entry++, node++) in init_header()
417 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() argument
423 mode = root->permissions(head, table); in sysctl_perm()
425 mode = table->mode; in sysctl_perm()
431 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode() argument
446 ei->sysctl_entry = table; in proc_sys_make_inode()
449 inode->i_mode = table->mode; in proc_sys_make_inode()
[all …]
/fs/
Daio.c73 struct kioctx __rcu *table[]; member
324 struct kioctx_table *table; in aio_ring_mremap() local
329 table = rcu_dereference(mm->ioctx_table); in aio_ring_mremap()
330 for (i = 0; i < table->nr; i++) { in aio_ring_mremap()
333 ctx = rcu_dereference(table->table[i]); in aio_ring_mremap()
653 struct kioctx_table *table, *old; in ioctx_add_table() local
657 table = rcu_dereference_raw(mm->ioctx_table); in ioctx_add_table()
660 if (table) in ioctx_add_table()
661 for (i = 0; i < table->nr; i++) in ioctx_add_table()
662 if (!rcu_access_pointer(table->table[i])) { in ioctx_add_table()
[all …]
Dselect.c102 #define POLL_TABLE_FULL(table) \ argument
103 ((unsigned long)((table)->entry+1) > PAGE_SIZE + (unsigned long)(table))
126 pwq->table = NULL; in poll_initwait()
139 struct poll_table_page * p = pwq->table; in poll_freewait()
161 struct poll_table_page *table = p->table; in poll_get_entry() local
166 if (!table || POLL_TABLE_FULL(table)) { in poll_get_entry()
175 new_table->next = table; in poll_get_entry()
176 p->table = new_table; in poll_get_entry()
177 table = new_table; in poll_get_entry()
180 return table->entry++; in poll_get_entry()
[all …]
/fs/squashfs/
Did.c72 __le64 *table; in squashfs_read_id_index_table() local
90 table = squashfs_read_table(sb, id_table_start, length); in squashfs_read_id_index_table()
96 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= id_table_start) { in squashfs_read_id_index_table()
97 kfree(table); in squashfs_read_id_index_table()
101 return table; in squashfs_read_id_index_table()
Dfragment.c77 __le64 *table; in squashfs_read_fragment_index_table() local
87 table = squashfs_read_table(sb, fragment_table_start, length); in squashfs_read_fragment_index_table()
93 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= fragment_table_start) { in squashfs_read_fragment_index_table()
94 kfree(table); in squashfs_read_fragment_index_table()
98 return table; in squashfs_read_fragment_index_table()
Dexport.c127 __le64 *table; in squashfs_read_inode_lookup_table() local
144 table = squashfs_read_table(sb, lookup_table_start, length); in squashfs_read_inode_lookup_table()
150 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= lookup_table_start) { in squashfs_read_inode_lookup_table()
151 kfree(table); in squashfs_read_inode_lookup_table()
155 return table; in squashfs_read_inode_lookup_table()
/fs/jbd2/
Drevoke.c221 struct jbd2_revoke_table_s *table; in jbd2_journal_init_revoke_table() local
223 table = kmem_cache_alloc(jbd2_revoke_table_cache, GFP_KERNEL); in jbd2_journal_init_revoke_table()
224 if (!table) in jbd2_journal_init_revoke_table()
230 table->hash_size = hash_size; in jbd2_journal_init_revoke_table()
231 table->hash_shift = shift; in jbd2_journal_init_revoke_table()
232 table->hash_table = in jbd2_journal_init_revoke_table()
234 if (!table->hash_table) { in jbd2_journal_init_revoke_table()
235 kmem_cache_free(jbd2_revoke_table_cache, table); in jbd2_journal_init_revoke_table()
236 table = NULL; in jbd2_journal_init_revoke_table()
241 INIT_LIST_HEAD(&table->hash_table[tmp]); in jbd2_journal_init_revoke_table()
[all …]
/fs/nls/
Dnls_koi8-ru.c54 static struct nls_table table = { variable
65 table.charset2upper = p_nls->charset2upper; in init_nls_koi8_ru()
66 table.charset2lower = p_nls->charset2lower; in init_nls_koi8_ru()
67 return register_nls(&table); in init_nls_koi8_ru()
75 unregister_nls(&table); in exit_nls_koi8_ru()
Dnls_ascii.c145 static struct nls_table table = { variable
155 return register_nls(&table); in init_nls_ascii()
160 unregister_nls(&table); in exit_nls_ascii()
Dnls_iso8859-9.c251 static struct nls_table table = { variable
261 return register_nls(&table); in init_nls_iso8859_9()
266 unregister_nls(&table); in exit_nls_iso8859_9()
Dnls_iso8859-1.c236 static struct nls_table table = { variable
246 return register_nls(&table); in init_nls_iso8859_1()
251 unregister_nls(&table); in exit_nls_iso8859_1()
Dnls_utf8.c43 static struct nls_table table = { variable
57 return register_nls(&table); in init_nls_utf8()
62 unregister_nls(&table); in exit_nls_utf8()
Dnls_iso8859-6.c242 static struct nls_table table = { variable
252 return register_nls(&table); in init_nls_iso8859_6()
257 unregister_nls(&table); in exit_nls_iso8859_6()
Dnls_iso8859-2.c287 static struct nls_table table = { variable
297 return register_nls(&table); in init_nls_iso8859_2()
302 unregister_nls(&table); in exit_nls_iso8859_2()
Dnls_iso8859-3.c287 static struct nls_table table = { variable
297 return register_nls(&table); in init_nls_iso8859_3()
302 unregister_nls(&table); in exit_nls_iso8859_3()
Dnls_iso8859-4.c287 static struct nls_table table = { variable
297 return register_nls(&table); in init_nls_iso8859_4()
302 unregister_nls(&table); in exit_nls_iso8859_4()
Dnls_iso8859-7.c296 static struct nls_table table = { variable
306 return register_nls(&table); in init_nls_iso8859_7()
311 unregister_nls(&table); in exit_nls_iso8859_7()
Dnls_cp737.c329 static struct nls_table table = { variable
339 return register_nls(&table); in init_nls_cp737()
344 unregister_nls(&table); in exit_nls_cp737()
Dnls_iso8859-13.c264 static struct nls_table table = { variable
274 return register_nls(&table); in init_nls_iso8859_13()
279 unregister_nls(&table); in exit_nls_iso8859_13()
Dnls_cp862.c400 static struct nls_table table = { variable
410 return register_nls(&table); in init_nls_cp862()
415 unregister_nls(&table); in exit_nls_cp862()
Dnls_cp852.c316 static struct nls_table table = { variable
326 return register_nls(&table); in init_nls_cp852()
331 unregister_nls(&table); in exit_nls_cp852()
Dnls_cp874.c252 static struct nls_table table = { variable
263 return register_nls(&table); in init_nls_cp874()
268 unregister_nls(&table); in exit_nls_cp874()
/fs/udf/
Dballoc.c347 struct inode *table, in udf_table_free_blocks() argument
372 iinfo = UDF_I(table); in udf_table_free_blocks()
384 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
402 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
421 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
467 udf_setup_indirect_aext(table, eloc.logicalBlockNum, in udf_table_free_blocks()
476 __udf_add_aext(table, &epos, &eloc, elen, 1); in udf_table_free_blocks()
488 struct inode *table, uint16_t partition, in udf_table_prealloc_blocks() argument
502 iinfo = UDF_I(table); in udf_table_prealloc_blocks()
517 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_prealloc_blocks()
[all …]
/fs/btrfs/
Draid56.c202 struct btrfs_stripe_hash_table *table; in btrfs_alloc_stripe_hash_table() local
220 table_size = sizeof(*table) + sizeof(*h) * num_entries; in btrfs_alloc_stripe_hash_table()
221 table = kzalloc(table_size, GFP_KERNEL | __GFP_NOWARN | __GFP_REPEAT); in btrfs_alloc_stripe_hash_table()
222 if (!table) { in btrfs_alloc_stripe_hash_table()
223 table = vzalloc(table_size); in btrfs_alloc_stripe_hash_table()
224 if (!table) in btrfs_alloc_stripe_hash_table()
228 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
229 INIT_LIST_HEAD(&table->stripe_cache); in btrfs_alloc_stripe_hash_table()
231 h = table->table; in btrfs_alloc_stripe_hash_table()
240 x = cmpxchg(&info->stripe_hash_table, NULL, table); in btrfs_alloc_stripe_hash_table()
[all …]
/fs/fscache/
Dmain.c56 static int fscache_max_active_sysctl(struct ctl_table *table, int write, in fscache_max_active_sysctl() argument
60 struct workqueue_struct **wqp = table->extra1; in fscache_max_active_sysctl()
61 unsigned int *datap = table->data; in fscache_max_active_sysctl()
64 ret = proc_dointvec(table, write, buffer, lenp, ppos); in fscache_max_active_sysctl()

1234