/fs/proc/ |
D | proc_sysctl.c | 193 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/ |
D | xattr_id.c | 64 __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 …]
|
D | id.c | 66 __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()
|
D | export.c | 121 __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()
|
D | fragment.c | 67 __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/ |
D | revoke.c | 222 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/ |
D | aio.c | 84 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 …]
|
D | select.c | 103 #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/ |
D | nls_koi8-ru.c | 54 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()
|
D | nls_ascii.c | 145 static struct nls_table table = { variable 155 return register_nls(&table); in init_nls_ascii() 160 unregister_nls(&table); in exit_nls_ascii()
|
D | nls_iso8859-1.c | 236 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()
|
D | nls_utf8.c | 43 static struct nls_table table = { variable 57 return register_nls(&table); in init_nls_utf8() 62 unregister_nls(&table); in exit_nls_utf8()
|
D | nls_iso8859-6.c | 242 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()
|
D | nls_iso8859-9.c | 251 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()
|
D | nls_iso8859-4.c | 287 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()
|
D | nls_iso8859-3.c | 287 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()
|
D | nls_iso8859-2.c | 287 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()
|
D | nls_cp861.c | 366 static struct nls_table table = { variable 376 return register_nls(&table); in init_nls_cp861() 381 unregister_nls(&table); in exit_nls_cp861()
|
D | nls_cp1250.c | 326 static struct nls_table table = { variable 336 return register_nls(&table); in init_nls_cp1250() 340 unregister_nls(&table); in exit_nls_cp1250()
|
D | nls_koi8-u.c | 309 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()
|
D | nls_cp874.c | 252 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/ |
D | balloc.c | 381 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/ |
D | raid56.c | 51 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/ |
D | utf8-selftest.c | 238 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/ |
D | main.c | 53 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()
|