Home
last modified time | relevance | path

Searched refs:cr (Results 1 – 7 of 7) sorted by relevance

/fs/ntfs/
Dcollate.h15 static inline bool ntfs_is_collation_rule_supported(COLLATION_RULE cr) { in ntfs_is_collation_rule_supported() argument
23 if (unlikely(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG)) in ntfs_is_collation_rule_supported()
25 i = le32_to_cpu(cr); in ntfs_is_collation_rule_supported()
32 extern int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr,
Dcollate.c87 int ntfs_collate(ntfs_volume *vol, COLLATION_RULE cr, in ntfs_collate() argument
97 BUG_ON(cr != COLLATION_BINARY && cr != COLLATION_NTOFS_ULONG); in ntfs_collate()
98 i = le32_to_cpu(cr); in ntfs_collate()
Dlogfile.c263 LOG_CLIENT_RECORD *ca, *cr; in ntfs_check_log_client_array() local
284 idx = le16_to_cpu(cr->next_client)) { in ntfs_check_log_client_array()
288 cr = ca + idx; in ntfs_check_log_client_array()
291 if (cr->prev_client != LOGFILE_NO_CLIENT) in ntfs_check_log_client_array()
/fs/ocfs2/
Dresize.c90 struct ocfs2_chain_rec *cr; in ocfs2_update_last_group_and_inode() local
138 cr = (&cl->cl_recs[chain]); in ocfs2_update_last_group_and_inode()
139 le32_add_cpu(&cr->c_total, num_bits); in ocfs2_update_last_group_and_inode()
140 le32_add_cpu(&cr->c_free, num_bits); in ocfs2_update_last_group_and_inode()
145 le32_add_cpu(&cr->c_free, -1 * backups); in ocfs2_update_last_group_and_inode()
459 struct ocfs2_chain_rec *cr; in ocfs2_group_add() local
521 cr = &cl->cl_recs[input->chain]; in ocfs2_group_add()
532 group->bg_next_group = cr->c_blkno; in ocfs2_group_add()
545 memset(cr, 0, sizeof(struct ocfs2_chain_rec)); in ocfs2_group_add()
548 cr->c_blkno = cpu_to_le64(input->group); in ocfs2_group_add()
[all …]
/fs/ext4/
Dmballoc.c2035 ext4_group_t group, int cr) in ext4_mb_good_group() argument
2041 BUG_ON(cr < 0 || cr >= 4); in ext4_mb_good_group()
2046 if (cr <= 2 && free < ac->ac_g_ex.fe_len) in ext4_mb_good_group()
2063 switch (cr) { in ext4_mb_good_group()
2102 int cr; in ext4_mb_regular_allocator() local
2158 cr = ac->ac_2order ? 0 : 1; in ext4_mb_regular_allocator()
2164 for (; cr < 4 && ac->ac_status == AC_STATUS_CONTINUE; cr++) { in ext4_mb_regular_allocator()
2165 ac->ac_criteria = cr; in ext4_mb_regular_allocator()
2183 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator()
2200 ret = ext4_mb_good_group(ac, group, cr); in ext4_mb_regular_allocator()
[all …]
/fs/nfsd/
Dnfs4state.c2157 static bool is_gss_cred(struct svc_cred *cr) in is_gss_cred() argument
2160 return (cr->cr_flavor > RPC_AUTH_MAXFLAVOR); in is_gss_cred()
2182 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected() local
2185 if (!cr->cr_gss_mech) in svc_rqst_integrity_protected()
2187 service = gss_pseudoflavor_to_service(cr->cr_gss_mech, cr->cr_flavor); in svc_rqst_integrity_protected()
2194 struct svc_cred *cr = &rqstp->rq_cred; in nfsd4_mach_creds_match() local
2198 if (cl->cl_cred.cr_gss_mech != cr->cr_gss_mech) in nfsd4_mach_creds_match()
2204 cr->cr_raw_principal); in nfsd4_mach_creds_match()
2205 if (!cr->cr_principal) in nfsd4_mach_creds_match()
2207 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in nfsd4_mach_creds_match()
/fs/btrfs/
Dsend.c1209 struct clone_root *cr = (struct clone_root *)elt; in __clone_root_cmp_bsearch() local
1211 if (root < cr->root->root_key.objectid) in __clone_root_cmp_bsearch()
1213 if (root > cr->root->root_key.objectid) in __clone_root_cmp_bsearch()