Searched refs:nr_files (Results 1 - 14 of 14) sorted by relevance
/linux-master/io_uring/ |
H A D | filetable.c | 39 bool io_alloc_file_tables(struct io_file_table *table, unsigned nr_files) argument 41 table->files = kvcalloc(nr_files, sizeof(table->files[0]), 46 table->bitmap = bitmap_zalloc(nr_files, GFP_KERNEL_ACCOUNT);
|
H A D | filetable.h | 8 bool io_alloc_file_tables(struct io_file_table *table, unsigned nr_files);
|
/linux-master/fs/ |
H A D | file_table.c | 44 static struct percpu_counter nr_files __cacheline_aligned_in_smp; 67 percpu_counter_dec(&nr_files); 82 return percpu_counter_read_positive(&nr_files); 97 * Handle nr_files sysctl 102 files_stat.nr_files = get_nr_files(); 198 if (percpu_counter_sum_positive(&nr_files) >= files_stat.max_files) 212 percpu_counter_inc(&nr_files); 226 * Variant of alloc_empty_file() that doesn't check and modify nr_files. 253 * and doesn't check and modify nr_files. 518 percpu_counter_init(&nr_files, [all...] |
/linux-master/include/trace/events/ |
H A D | io_uring.h | 71 TP_PROTO(void *ctx, unsigned opcode, unsigned nr_files, 74 TP_ARGS(ctx, opcode, nr_files, nr_bufs, ret), 79 __field( unsigned, nr_files) 87 __entry->nr_files = nr_files; 94 __entry->ctx, __entry->opcode, __entry->nr_files,
|
/linux-master/fs/afs/ |
H A D | yfsclient.c | 1610 _debug("status count: %u/%u", tmp, op->nr_files); 1611 if (tmp != op->nr_files) 1642 if (call->count < op->nr_files) 1659 if (tmp != op->nr_files) 1689 if (call->count < op->nr_files) 1737 key_serial(op->key), vp->fid.vid, vp->fid.vnode, op->nr_files); 1743 sizeof(struct yfs_xdr_YFSFid) * op->nr_files, 1752 bp = xdr_encode_u32(bp, op->nr_files); 1755 for (i = 0; i < op->nr_files - 2; i++)
|
H A D | fs_operation.c | 249 for (i = 0; i < op->nr_files - 2; i++)
|
H A D | fsclient.c | 1800 _debug("status count: %u/%u", tmp, op->nr_files); 1801 if (tmp != op->nr_files) 1832 if (call->count < op->nr_files) 1849 if (tmp != op->nr_files) 1879 if (call->count < op->nr_files) 1946 key_serial(op->key), vp->fid.vid, vp->fid.vnode, op->nr_files); 1949 (2 + op->nr_files * 3) * 4, 1957 *bp++ = htonl(op->nr_files); 1964 for (i = 0; i < op->nr_files - 2; i++) {
|
H A D | dir.c | 690 for (i = 0; i < op->nr_files; i++) { 848 op->nr_files = cookie->nr_fids; 849 _debug("nr_files %u", op->nr_files); 852 if (op->nr_files > 2) { 853 op->more_files = kvcalloc(op->nr_files - 2, 861 for (i = 2; i < op->nr_files; i++) {
|
H A D | inode.c | 371 op->nr_files = 1; 559 op->nr_files = 1;
|
H A D | super.c | 775 op->nr_files = 1;
|
H A D | internal.h | 886 short nr_files; /* Number of entries in file[], more_files */ member in struct:afs_operation
|
/linux-master/tools/include/uapi/linux/ |
H A D | fs.h | 98 unsigned long nr_files; /* read only */ member in struct:files_stat_struct
|
/linux-master/include/uapi/linux/ |
H A D | fs.h | 116 unsigned long nr_files; /* read only */ member in struct:files_stat_struct
|
/linux-master/fs/proc/ |
H A D | base.c | 2344 unsigned long nr_files, pos, i; local 2375 nr_files = 0; 2395 p = genradix_ptr_alloc(&fa, nr_files++, GFP_KERNEL); 2410 for (i = 0; i < nr_files; i++) {
|
Completed in 334 milliseconds