Home
last modified time | relevance | path

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

1234

/fs/proc/
Dproc_sysctl.c188 struct ctl_node *node, struct ctl_table *table) in init_header() argument
190 head->ctl_table = table; in init_header()
191 head->ctl_table_arg = table; in init_header()
203 for (entry = table; entry->procname; entry++, node++) in init_header()
450 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() argument
456 mode = root->permissions(head, table); in sysctl_perm()
458 mode = table->mode; in sysctl_perm()
464 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode() argument
485 ei->sysctl_entry = table; in proc_sys_make_inode()
491 inode->i_mode = table->mode; in proc_sys_make_inode()
[all …]
/fs/jbd2/
Drevoke.c222 struct jbd2_revoke_table_s *table; in jbd2_journal_init_revoke_table() local
224 table = kmem_cache_alloc(jbd2_revoke_table_cache, GFP_KERNEL); in jbd2_journal_init_revoke_table()
225 if (!table) in jbd2_journal_init_revoke_table()
231 table->hash_size = hash_size; in jbd2_journal_init_revoke_table()
232 table->hash_shift = shift; in jbd2_journal_init_revoke_table()
233 table->hash_table = in jbd2_journal_init_revoke_table()
235 if (!table->hash_table) { in jbd2_journal_init_revoke_table()
236 kmem_cache_free(jbd2_revoke_table_cache, table); in jbd2_journal_init_revoke_table()
237 table = NULL; in jbd2_journal_init_revoke_table()
242 INIT_LIST_HEAD(&table->hash_table[tmp]); in jbd2_journal_init_revoke_table()
[all …]
/fs/squashfs/
Did.c59 __le64 *table; in squashfs_read_id_index_table() local
77 table = squashfs_read_table(sb, id_table_start, length); in squashfs_read_id_index_table()
83 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= id_table_start) { in squashfs_read_id_index_table()
84 kfree(table); in squashfs_read_id_index_table()
88 return table; in squashfs_read_id_index_table()
Dfragment.c67 __le64 *table; in squashfs_read_fragment_index_table() local
77 table = squashfs_read_table(sb, fragment_table_start, length); in squashfs_read_fragment_index_table()
83 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= fragment_table_start) { in squashfs_read_fragment_index_table()
84 kfree(table); in squashfs_read_fragment_index_table()
88 return table; in squashfs_read_fragment_index_table()
Dexport.c114 __le64 *table; in squashfs_read_inode_lookup_table() local
131 table = squashfs_read_table(sb, lookup_table_start, length); in squashfs_read_inode_lookup_table()
137 if (!IS_ERR(table) && le64_to_cpu(table[0]) >= lookup_table_start) { in squashfs_read_inode_lookup_table()
138 kfree(table); in squashfs_read_inode_lookup_table()
142 return table; in squashfs_read_inode_lookup_table()
/fs/
Daio.c85 struct kioctx __rcu *table[]; member
331 struct kioctx_table *table; in aio_ring_mremap() local
336 table = rcu_dereference(mm->ioctx_table); in aio_ring_mremap()
337 for (i = 0; i < table->nr; i++) { in aio_ring_mremap()
340 ctx = rcu_dereference(table->table[i]); in aio_ring_mremap()
636 struct kioctx_table *table, *old; in ioctx_add_table() local
640 table = rcu_dereference_raw(mm->ioctx_table); in ioctx_add_table()
643 if (table) in ioctx_add_table()
644 for (i = 0; i < table->nr; i++) in ioctx_add_table()
645 if (!rcu_access_pointer(table->table[i])) { in ioctx_add_table()
[all …]
Dselect.c103 #define POLL_TABLE_FULL(table) \ argument
104 ((unsigned long)((table)->entry+1) > PAGE_SIZE + (unsigned long)(table))
127 pwq->table = NULL; in poll_initwait()
140 struct poll_table_page * p = pwq->table; in poll_freewait()
162 struct poll_table_page *table = p->table; in poll_get_entry() local
167 if (!table || POLL_TABLE_FULL(table)) { in poll_get_entry()
176 new_table->next = table; in poll_get_entry()
177 p->table = new_table; in poll_get_entry()
178 table = new_table; in poll_get_entry()
181 return table->entry++; in poll_get_entry()
[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-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-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-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-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-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-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_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_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_cp860.c343 static struct nls_table table = { variable
353 return register_nls(&table); in init_nls_cp860()
358 unregister_nls(&table); in exit_nls_cp860()
Dnls_cp869.c294 static struct nls_table table = { variable
304 return register_nls(&table); in init_nls_cp869()
309 unregister_nls(&table); in exit_nls_cp869()
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()
/fs/udf/
Dballoc.c358 struct inode *table, in udf_table_free_blocks() argument
383 iinfo = UDF_I(table); in udf_table_free_blocks()
395 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
413 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
432 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
478 udf_setup_indirect_aext(table, eloc.logicalBlockNum, in udf_table_free_blocks()
487 __udf_add_aext(table, &epos, &eloc, elen, 1); in udf_table_free_blocks()
499 struct inode *table, uint16_t partition, in udf_table_prealloc_blocks() argument
513 iinfo = UDF_I(table); in udf_table_prealloc_blocks()
528 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_prealloc_blocks()
[all …]
/fs/btrfs/
Draid56.c51 struct btrfs_stripe_hash table[]; member
203 struct btrfs_stripe_hash_table *table; in btrfs_alloc_stripe_hash_table() local
221 table_size = sizeof(*table) + sizeof(*h) * num_entries; in btrfs_alloc_stripe_hash_table()
222 table = kvzalloc(table_size, GFP_KERNEL); in btrfs_alloc_stripe_hash_table()
223 if (!table) in btrfs_alloc_stripe_hash_table()
226 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
227 INIT_LIST_HEAD(&table->stripe_cache); in btrfs_alloc_stripe_hash_table()
229 h = table->table; in btrfs_alloc_stripe_hash_table()
237 x = cmpxchg(&info->stripe_hash_table, NULL, table); in btrfs_alloc_stripe_hash_table()
348 struct btrfs_stripe_hash_table *table; in __remove_rbio_from_cache() local
[all …]
/fs/fscache/
Dmain.c53 static int fscache_max_active_sysctl(struct ctl_table *table, int write, in fscache_max_active_sysctl() argument
57 struct workqueue_struct **wqp = table->extra1; in fscache_max_active_sysctl()
58 unsigned int *datap = table->data; in fscache_max_active_sysctl()
61 ret = proc_dointvec(table, write, buffer, lenp, ppos); in fscache_max_active_sysctl()
/fs/unicode/
Dutf8-selftest.c238 struct unicode_map *table = utf8_load("12.1.0"); in check_utf8_comparisons() local
240 if (IS_ERR(table)) { in check_utf8_comparisons()
252 test_f(!utf8_strncmp(table, &s1, &s2), in check_utf8_comparisons()
262 test_f(!utf8_strncasecmp(table, &s1, &s2), in check_utf8_comparisons()
266 utf8_unload(table); in check_utf8_comparisons()

1234