/fs/btrfs/tests/ |
D | free-space-tree-tests.c | 162 extents, ARRAY_SIZE(extents)); in test_empty_block_group() 183 extents, ARRAY_SIZE(extents)); in test_remove_all() 206 extents, ARRAY_SIZE(extents)); in test_remove_beginning() 231 extents, ARRAY_SIZE(extents)); in test_remove_end() 256 extents, ARRAY_SIZE(extents)); in test_remove_middle() 294 extents, ARRAY_SIZE(extents)); in test_merge_left() 333 extents, ARRAY_SIZE(extents)); in test_merge_right() 379 extents, ARRAY_SIZE(extents)); in test_merge_both() 427 extents, ARRAY_SIZE(extents)); in test_merge_none() 583 for (i = 0; i < ARRAY_SIZE(tests); i++) { in btrfs_test_free_space_tree()
|
/fs/nfs/ |
D | mount_clnt.c | 335 for (i = 0; i < ARRAY_SIZE(mnt_errtbl); i++) { in decode_status() 385 for (i = 0; i < ARRAY_SIZE(mnt3_errtbl); i++) { in decode_fhs_status() 510 static unsigned int mnt_counts[ARRAY_SIZE(mnt_procedures)]; 513 .nrprocs = ARRAY_SIZE(mnt_procedures), 518 static unsigned int mnt3_counts[ARRAY_SIZE(mnt3_procedures)]; 521 .nrprocs = ARRAY_SIZE(mnt3_procedures), 538 .nrvers = ARRAY_SIZE(mnt_version),
|
D | callback_xdr.c | 693 status = encode_attr_bitmap(xdr, res->bitmap, ARRAY_SIZE(res->bitmap)); in encode_getattr_res() 1068 static unsigned int nfs4_callback_count1[ARRAY_SIZE(nfs4_callback_procedures1)]; 1071 .vs_nproc = ARRAY_SIZE(nfs4_callback_procedures1), 1080 static unsigned int nfs4_callback_count4[ARRAY_SIZE(nfs4_callback_procedures1)]; 1083 .vs_nproc = ARRAY_SIZE(nfs4_callback_procedures1),
|
D | nfs3client.c | 17 .nrvers = ARRAY_SIZE(nfsacl_version),
|
/fs/unicode/ |
D | utf8-selftest.c | 176 for (i = 0; i < ARRAY_SIZE(nfdi_test_data); i++) { in check_utf8_nfdi() 212 for (i = 0; i < ARRAY_SIZE(nfdicf_test_data); i++) { in check_utf8_nfdicf() 246 for (i = 0; i < ARRAY_SIZE(nfdi_test_data); i++) { in check_utf8_comparisons() 256 for (i = 0; i < ARRAY_SIZE(nfdicf_test_data); i++) { in check_utf8_comparisons()
|
D | utf8-norm.c | 20 int i = ARRAY_SIZE(utf8agetab) - 1; in utf8version_is_supported() 772 int i = ARRAY_SIZE(utf8nfdidata) - 1; in utf8nfdi() 784 int i = ARRAY_SIZE(utf8nfdicfdata) - 1; in utf8nfdicf()
|
/fs/proc/ |
D | namespaces.c | 120 if (ctx->pos >= 2 + ARRAY_SIZE(ns_entries)) in proc_ns_dir_readdir() 123 last = &ns_entries[ARRAY_SIZE(ns_entries) - 1]; in proc_ns_dir_readdir() 154 last = &ns_entries[ARRAY_SIZE(ns_entries)]; in proc_ns_dir_lookup()
|
D | consoles.c | 28 char flags[ARRAY_SIZE(con_flags) + 1]; in show_console_dev() 43 for (a = 0; a < ARRAY_SIZE(con_flags); a++) in show_console_dev()
|
D | uid.c | 158 unsigned int nents = ARRAY_SIZE(uid_base_stuff); in proc_uid_base_lookup() 178 unsigned int nents = ARRAY_SIZE(uid_base_stuff); in proc_uid_base_readdir() 226 len = ARRAY_SIZE(uid_base_stuff); in proc_uid_instantiate()
|
D | base.c | 2619 ARRAY_SIZE(LSM##_attr_dir_stuff)); \ 2633 LSM##_attr_dir_stuff + ARRAY_SIZE(LSM##_attr_dir_stuff)); \ 2665 attr_dir_stuff, ARRAY_SIZE(attr_dir_stuff)); in proc_attr_dir_readdir() 2679 attr_dir_stuff + ARRAY_SIZE(attr_dir_stuff)); in proc_attr_dir_lookup() 3109 tgid_base_stuff, ARRAY_SIZE(tgid_base_stuff)); in proc_tgid_base_readdir() 3130 tgid_base_stuff + ARRAY_SIZE(tgid_base_stuff)); in proc_tgid_base_lookup() 3502 tid_base_stuff, ARRAY_SIZE(tid_base_stuff)); in proc_tid_base_readdir() 3509 tid_base_stuff + ARRAY_SIZE(tid_base_stuff)); in proc_tid_base_lookup() 3725 nlink_tid = pid_entry_nlink(tid_base_stuff, ARRAY_SIZE(tid_base_stuff)); in set_proc_pid_nlink() 3726 nlink_tgid = pid_entry_nlink(tgid_base_stuff, ARRAY_SIZE(tgid_base_stuff)); in set_proc_pid_nlink()
|
/fs/orangefs/ |
D | orangefs-debug.h | 21 #define ARRAY_SIZE(arr) (sizeof(arr) / sizeof((arr)[0])) macro 87 (ARRAY_SIZE(s_kmod_keyword_mask_map));
|
/fs/lockd/ |
D | clntxdr.c | 580 static unsigned int nlm_version1_counts[ARRAY_SIZE(nlm_procedures)]; 583 .nrprocs = ARRAY_SIZE(nlm_procedures), 588 static unsigned int nlm_version3_counts[ARRAY_SIZE(nlm_procedures)]; 591 .nrprocs = ARRAY_SIZE(nlm_procedures), 609 .nrvers = ARRAY_SIZE(nlm_versions),
|
D | mon.c | 558 static unsigned int nsm_version1_counts[ARRAY_SIZE(nsm_procedures)]; 561 .nrprocs = ARRAY_SIZE(nsm_procedures), 575 .nrvers = ARRAY_SIZE(nsm_version),
|
D | clnt4xdr.c | 582 static unsigned int nlm_version4_counts[ARRAY_SIZE(nlm4_procedures)]; 585 .nrprocs = ARRAY_SIZE(nlm4_procedures),
|
/fs/verity/ |
D | hash_algs.c | 46 if (num >= ARRAY_SIZE(fsverity_hash_algs) || in fsverity_get_hash_alg() 264 for (i = 0; i < ARRAY_SIZE(fsverity_hash_algs); i++) { in fsverity_check_hash_algs()
|
/fs/btrfs/ |
D | sysfs.c | 763 for (i = 0; i < ARRAY_SIZE(btrfs_feature_attrs[set]); i++) { in btrfs_printable_features() 782 BUILD_BUG_ON(ARRAY_SIZE(btrfs_unknown_feature_names) != in init_feature_attrs() 783 ARRAY_SIZE(btrfs_feature_attrs)); in init_feature_attrs() 784 BUILD_BUG_ON(ARRAY_SIZE(btrfs_unknown_feature_names[0]) != in init_feature_attrs() 785 ARRAY_SIZE(btrfs_feature_attrs[0])); in init_feature_attrs() 803 for (i = 0; i < ARRAY_SIZE(btrfs_feature_attrs[set]); i++) { in init_feature_attrs()
|
D | props.c | 337 for (i = 0; i < ARRAY_SIZE(prop_handlers); i++) { in inherit_props() 442 for (i = 0; i < ARRAY_SIZE(prop_handlers); i++) { in btrfs_props_init()
|
/fs/nls/ |
D | nls_euc-jp.c | 311 max_index = ARRAY_SIZE(euc2sjisibm_jisx0212_map) - 1; in euc2sjisibm_jisx0212() 340 if ((index < 0) || (index >= ARRAY_SIZE(euc2sjisibm_g3upper_map))) in euc2sjisibm_g3upper()
|
/fs/erofs/ |
D | xattr.h | 62 return idx && idx < ARRAY_SIZE(xattr_handler_map) ? in erofs_xattr_handler()
|
/fs/quota/ |
D | netlink.c | 23 .n_mcgrps = ARRAY_SIZE(quota_mcgrps),
|
/fs/reiserfs/ |
D | prints.c | 658 for (h = 0; h < ARRAY_SIZE(tb->insert_size); h++) { in store_print_tb() 714 for (i = 0; i < ARRAY_SIZE(tb->FEB); i++) in store_print_tb() 720 (i == ARRAY_SIZE(tb->FEB) - 1) ? "\n" : ", "); in store_print_tb()
|
/fs/dlm/ |
D | netlink.c | 77 .n_ops = ARRAY_SIZE(dlm_nl_ops),
|
/fs/nfsd/ |
D | fault_inject.c | 138 for (i = 0; i < ARRAY_SIZE(inject_ops); i++) { in nfsd_fault_inject_init()
|
/fs/xfs/ |
D | xfs_stats.c | 59 for (i = j = 0; i < ARRAY_SIZE(xstats); i++) { in xfs_stats_format()
|
/fs/afs/ |
D | write.c | 494 if (n > ARRAY_SIZE(pages)) in afs_write_back_from_locked_page() 495 n = ARRAY_SIZE(pages); in afs_write_back_from_locked_page() 496 n = find_get_pages_contig(mapping, start, ARRAY_SIZE(pages), pages); in afs_write_back_from_locked_page()
|