Searched refs:nr_entries (Results 1 – 6 of 6) sorted by relevance
/fs/xfs/libxfs/ |
D | xfs_iext_tree.c | 454 int *nr_entries) in xfs_iext_split_node() argument 466 *nr_entries = 0; in xfs_iext_split_node() 482 *nr_entries = nr_move; in xfs_iext_split_node() 484 *nr_entries = nr_keep; in xfs_iext_split_node() 500 int i, pos, nr_entries; in xfs_iext_insert_node() local 509 nr_entries = xfs_iext_node_nr_entries(node, pos); in xfs_iext_insert_node() 511 ASSERT(pos >= nr_entries || xfs_iext_key_cmp(node, pos, offset) != 0); in xfs_iext_insert_node() 512 ASSERT(nr_entries <= KEYS_PER_NODE); in xfs_iext_insert_node() 514 if (nr_entries == KEYS_PER_NODE) in xfs_iext_insert_node() 515 new = xfs_iext_split_node(&node, &pos, &nr_entries); in xfs_iext_insert_node() [all …]
|
/fs/ksmbd/ |
D | auth.c | 1035 int i, *nr_entries, total_entries = 0, sg_idx = 0; in ksmbd_init_sg() local 1040 nr_entries = kcalloc(nvec, sizeof(int), GFP_KERNEL); in ksmbd_init_sg() 1041 if (!nr_entries) in ksmbd_init_sg() 1048 nr_entries[i] = ((kaddr + iov[i + 1].iov_len + in ksmbd_init_sg() 1052 nr_entries[i]++; in ksmbd_init_sg() 1054 total_entries += nr_entries[i]; in ksmbd_init_sg() 1062 kfree(nr_entries); in ksmbd_init_sg() 1075 for (j = 0; j < nr_entries[i]; j++) { in ksmbd_init_sg() 1098 kfree(nr_entries); in ksmbd_init_sg()
|
/fs/proc/ |
D | proc_sysctl.c | 1159 int nr_entries, name_bytes; in new_links() local 1162 nr_entries = 0; in new_links() 1164 nr_entries++; in new_links() 1169 sizeof(struct ctl_node)*nr_entries + in new_links() 1170 sizeof(struct ctl_table)*(nr_entries + 1) + in new_links() 1178 link_table = (struct ctl_table *)(node + nr_entries); in new_links() 1179 link_name = (char *)&link_table[nr_entries + 1]; in new_links() 1190 links->nreg = nr_entries; in new_links() 1316 int nr_entries = 0; in __register_sysctl_table() local 1319 nr_entries++; in __register_sysctl_table() [all …]
|
D | base.c | 456 unsigned int i, nr_entries; in proc_pid_stack() local 458 nr_entries = stack_trace_save_tsk(task, entries, in proc_pid_stack() 461 for (i = 0; i < nr_entries; i++) { in proc_pid_stack()
|
/fs/xfs/scrub/ |
D | agheader.c | 614 unsigned int nr_entries; member 646 sai->nr_entries < sai->sz_entries) in xchk_agfl_block() 647 sai->entries[sai->nr_entries++] = agbno; in xchk_agfl_block() 747 if (agflcount != sai.nr_entries) { in xchk_agfl() 753 sort(sai.entries, sai.nr_entries, sizeof(sai.entries[0]), in xchk_agfl() 755 for (i = 1; i < sai.nr_entries; i++) { in xchk_agfl()
|
/fs/nfs/ |
D | dir.c | 2632 long nr_entries = atomic_long_read(&nfs_access_nr_entries); in nfs_access_cache_enforce_limit() local 2636 if (nr_entries < 0 || nr_entries <= nfs_access_max_cachesize) in nfs_access_cache_enforce_limit() 2639 diff = nr_entries - nfs_access_max_cachesize; in nfs_access_cache_enforce_limit()
|