/fs/proc/ |
D | proc_sysctl.c | 181 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/ |
D | aio.c | 73 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 …]
|
D | select.c | 102 #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/ |
D | id.c | 72 __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()
|
D | fragment.c | 77 __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()
|
D | export.c | 127 __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/ |
D | revoke.c | 221 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/ |
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-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-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-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_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-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-7.c | 296 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()
|
D | nls_cp737.c | 329 static struct nls_table table = { variable 339 return register_nls(&table); in init_nls_cp737() 344 unregister_nls(&table); in exit_nls_cp737()
|
D | nls_iso8859-13.c | 264 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()
|
D | nls_cp862.c | 400 static struct nls_table table = { variable 410 return register_nls(&table); in init_nls_cp862() 415 unregister_nls(&table); in exit_nls_cp862()
|
D | nls_cp852.c | 316 static struct nls_table table = { variable 326 return register_nls(&table); in init_nls_cp852() 331 unregister_nls(&table); in exit_nls_cp852()
|
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 | 347 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/ |
D | raid56.c | 202 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/ |
D | main.c | 56 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()
|