Home
last modified time | relevance | path

Searched refs:want_clusters (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-5.10/fs/ocfs2/
H A Dnamei.c241 int want_clusters = 0; in ocfs2_mknod() local
329 &si, &want_clusters, in ocfs2_mknod()
338 want_clusters += 1; in ocfs2_mknod()
352 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_mknod()
1806 int want_clusters = 0; in ocfs2_symlink() local
1890 status = ocfs2_calc_security_init(dir, &si, &want_clusters, in ocfs2_symlink()
1900 want_clusters += 1; in ocfs2_symlink()
1902 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink()
H A Drefcounttree.c2642 unsigned int want_clusters, rec_end = 0; in ocfs2_refcount_cal_cow_clusters() local
2713 want_clusters = write_len; in ocfs2_refcount_cal_cow_clusters()
2715 want_clusters = (cpos + write_len) - in ocfs2_refcount_cal_cow_clusters()
2717 if (want_clusters < contig_clusters) in ocfs2_refcount_cal_cow_clusters()
2718 want_clusters = contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2735 * want_clusters to the edge of contig_clusters in ocfs2_refcount_cal_cow_clusters()
2738 want_clusters = ocfs2_cow_align_length(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2739 want_clusters); in ocfs2_refcount_cal_cow_clusters()
2741 if (leaf_clusters < want_clusters) in ocfs2_refcount_cal_cow_clusters()
2744 *cow_len += want_clusters; in ocfs2_refcount_cal_cow_clusters()
[all...]
H A Dxattr.c580 int *want_clusters, in ocfs2_calc_security_init()
611 *want_clusters += new_clusters; in ocfs2_calc_security_init()
620 int *want_clusters, in ocfs2_calc_xattr_init()
673 *want_clusters += 1; in ocfs2_calc_xattr_init()
686 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
695 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
578 ocfs2_calc_security_init(struct inode *dir, struct ocfs2_security_xattr_info *si, int *want_clusters, int *xattr_credits, struct ocfs2_alloc_context **xattr_ac) ocfs2_calc_security_init() argument
616 ocfs2_calc_xattr_init(struct inode *dir, struct buffer_head *dir_bh, umode_t mode, struct ocfs2_security_xattr_info *si, int *want_clusters, int *xattr_credits, int *want_meta) ocfs2_calc_xattr_init() argument
/kernel/linux/linux-6.6/fs/ocfs2/
H A Dnamei.c241 int want_clusters = 0; in ocfs2_mknod() local
329 &si, &want_clusters, in ocfs2_mknod()
338 want_clusters += 1; in ocfs2_mknod()
352 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_mknod()
1811 int want_clusters = 0; in ocfs2_symlink() local
1895 status = ocfs2_calc_security_init(dir, &si, &want_clusters, in ocfs2_symlink()
1905 want_clusters += 1; in ocfs2_symlink()
1907 status = ocfs2_reserve_clusters(osb, want_clusters, &data_ac); in ocfs2_symlink()
H A Drefcounttree.c2640 unsigned int want_clusters, rec_end = 0; in ocfs2_refcount_cal_cow_clusters() local
2711 want_clusters = write_len; in ocfs2_refcount_cal_cow_clusters()
2713 want_clusters = (cpos + write_len) - in ocfs2_refcount_cal_cow_clusters()
2715 if (want_clusters < contig_clusters) in ocfs2_refcount_cal_cow_clusters()
2716 want_clusters = contig_clusters; in ocfs2_refcount_cal_cow_clusters()
2733 * want_clusters to the edge of contig_clusters in ocfs2_refcount_cal_cow_clusters()
2736 want_clusters = ocfs2_cow_align_length(inode->i_sb, in ocfs2_refcount_cal_cow_clusters()
2737 want_clusters); in ocfs2_refcount_cal_cow_clusters()
2739 if (leaf_clusters < want_clusters) in ocfs2_refcount_cal_cow_clusters()
2742 *cow_len += want_clusters; in ocfs2_refcount_cal_cow_clusters()
[all...]
H A Dxattr.c574 int *want_clusters, in ocfs2_calc_security_init()
605 *want_clusters += new_clusters; in ocfs2_calc_security_init()
614 int *want_clusters, in ocfs2_calc_xattr_init()
667 *want_clusters += 1; in ocfs2_calc_xattr_init()
680 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
689 *want_clusters += new_clusters; in ocfs2_calc_xattr_init()
572 ocfs2_calc_security_init(struct inode *dir, struct ocfs2_security_xattr_info *si, int *want_clusters, int *xattr_credits, struct ocfs2_alloc_context **xattr_ac) ocfs2_calc_security_init() argument
610 ocfs2_calc_xattr_init(struct inode *dir, struct buffer_head *dir_bh, umode_t mode, struct ocfs2_security_xattr_info *si, int *want_clusters, int *xattr_credits, int *want_meta) ocfs2_calc_xattr_init() argument

Completed in 33 milliseconds