Home
last modified time | relevance | path

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

1234

/fs/proc/
Dproc_sysctl.c193 struct ctl_node *node, struct ctl_table *table) in init_header() argument
195 head->ctl_table = table; in init_header()
196 head->ctl_table_arg = table; in init_header()
208 for (entry = table; entry->procname; entry++, node++) in init_header()
422 static int sysctl_perm(struct ctl_table_header *head, struct ctl_table *table, int op) in sysctl_perm() argument
428 mode = root->permissions(head, table); in sysctl_perm()
430 mode = table->mode; in sysctl_perm()
436 struct ctl_table_header *head, struct ctl_table *table) in proc_sys_make_inode() argument
457 ei->sysctl_entry = table; in proc_sys_make_inode()
463 inode->i_mode = table->mode; in proc_sys_make_inode()
[all …]
/fs/squashfs/
Dxattr_id.c64 __le64 *table; in squashfs_read_xattr_id_table() local
95 table = squashfs_read_table(sb, start, len); in squashfs_read_xattr_id_table()
96 if (IS_ERR(table)) in squashfs_read_xattr_id_table()
97 return table; in squashfs_read_xattr_id_table()
109 start = le64_to_cpu(table[n]); in squashfs_read_xattr_id_table()
110 end = le64_to_cpu(table[n + 1]); in squashfs_read_xattr_id_table()
114 kfree(table); in squashfs_read_xattr_id_table()
119 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_xattr_id_table()
122 kfree(table); in squashfs_read_xattr_id_table()
126 if (*xattr_table_start >= le64_to_cpu(table[0])) { in squashfs_read_xattr_id_table()
[all …]
Did.c66 __le64 *table; in squashfs_read_id_index_table() local
84 table = squashfs_read_table(sb, id_table_start, length); in squashfs_read_id_index_table()
85 if (IS_ERR(table)) in squashfs_read_id_index_table()
86 return table; in squashfs_read_id_index_table()
97 start = le64_to_cpu(table[n]); in squashfs_read_id_index_table()
98 end = le64_to_cpu(table[n + 1]); in squashfs_read_id_index_table()
102 kfree(table); in squashfs_read_id_index_table()
107 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_id_index_table()
110 kfree(table); in squashfs_read_id_index_table()
114 return table; in squashfs_read_id_index_table()
Dexport.c121 __le64 *table; in squashfs_read_inode_lookup_table() local
139 table = squashfs_read_table(sb, lookup_table_start, length); in squashfs_read_inode_lookup_table()
140 if (IS_ERR(table)) in squashfs_read_inode_lookup_table()
141 return table; in squashfs_read_inode_lookup_table()
152 start = le64_to_cpu(table[n]); in squashfs_read_inode_lookup_table()
153 end = le64_to_cpu(table[n + 1]); in squashfs_read_inode_lookup_table()
158 kfree(table); in squashfs_read_inode_lookup_table()
163 start = le64_to_cpu(table[indexes - 1]); in squashfs_read_inode_lookup_table()
167 kfree(table); in squashfs_read_inode_lookup_table()
171 return table; in squashfs_read_inode_lookup_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()
/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/
Daio.c84 struct kioctx __rcu *table[]; member
332 struct kioctx_table *table; in aio_ring_mremap() local
337 table = rcu_dereference(mm->ioctx_table); in aio_ring_mremap()
338 if (!table) in aio_ring_mremap()
341 for (i = 0; i < table->nr; i++) { in aio_ring_mremap()
344 ctx = rcu_dereference(table->table[i]); in aio_ring_mremap()
648 struct kioctx_table *table, *old; in ioctx_add_table() local
652 table = rcu_dereference_raw(mm->ioctx_table); in ioctx_add_table()
655 if (table) in ioctx_add_table()
656 for (i = 0; i < table->nr; 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-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-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-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-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_cp861.c366 static struct nls_table table = { variable
376 return register_nls(&table); in init_nls_cp861()
381 unregister_nls(&table); in exit_nls_cp861()
Dnls_cp1250.c326 static struct nls_table table = { variable
336 return register_nls(&table); in init_nls_cp1250()
340 unregister_nls(&table); in exit_nls_cp1250()
Dnls_koi8-u.c309 static struct nls_table table = { variable
319 return register_nls(&table); in init_nls_koi8_u()
324 unregister_nls(&table); in exit_nls_koi8_u()
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.c381 struct inode *table, in udf_table_free_blocks() argument
406 iinfo = UDF_I(table); in udf_table_free_blocks()
418 (etype = udf_next_aext(table, &epos, &eloc, &elen, 1)) != -1) { in udf_table_free_blocks()
436 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
455 udf_write_aext(table, &oepos, &eloc, elen, 1); in udf_table_free_blocks()
501 udf_setup_indirect_aext(table, eloc.logicalBlockNum, in udf_table_free_blocks()
510 __udf_add_aext(table, &epos, &eloc, elen, 1); in udf_table_free_blocks()
522 struct inode *table, uint16_t partition, in udf_table_prealloc_blocks() argument
536 iinfo = UDF_I(table); in udf_table_prealloc_blocks()
551 (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
220 table = kvzalloc(struct_size(table, table, num_entries), GFP_KERNEL); in btrfs_alloc_stripe_hash_table()
221 if (!table) in btrfs_alloc_stripe_hash_table()
224 spin_lock_init(&table->cache_lock); in btrfs_alloc_stripe_hash_table()
225 INIT_LIST_HEAD(&table->stripe_cache); in btrfs_alloc_stripe_hash_table()
227 h = table->table; in btrfs_alloc_stripe_hash_table()
235 x = cmpxchg(&info->stripe_hash_table, NULL, table); in btrfs_alloc_stripe_hash_table()
349 struct btrfs_stripe_hash_table *table; in __remove_rbio_from_cache() local
359 table = rbio->fs_info->stripe_hash_table; in __remove_rbio_from_cache()
[all …]
/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()
/fs/fscache/
Dmain.c53 static int fscache_max_active_sysctl(struct ctl_table *table, int write, in fscache_max_active_sysctl() argument
56 struct workqueue_struct **wqp = table->extra1; in fscache_max_active_sysctl()
57 unsigned int *datap = table->data; in fscache_max_active_sysctl()
60 ret = proc_dointvec(table, write, buffer, lenp, ppos); in fscache_max_active_sysctl()

1234