Lines Matching refs:mtype
1015 const buffer *mtype = in stat_cache_content_type_get_by_xattr() local
1017 if (NULL == mtype) in stat_cache_content_type_get_by_xattr()
1018 mtype = stat_cache_mimetype_by_ext(mimetypes, BUF_PTR_LEN(&sce->name)); in stat_cache_content_type_get_by_xattr()
1019 if (NULL != mtype) { in stat_cache_content_type_get_by_xattr()
1021 buffer_copy_buffer(&sce->content_type, mtype); in stat_cache_content_type_get_by_xattr()
1023 else if (mtype == &attrb) { in stat_cache_content_type_get_by_xattr()
1025 buffer_copy_buffer(&sce->content_type, mtype); in stat_cache_content_type_get_by_xattr()
1029 sce->content_type.ptr = mtype->ptr; in stat_cache_content_type_get_by_xattr()
1030 sce->content_type.used = mtype->used; in stat_cache_content_type_get_by_xattr()
1051 const buffer * const mtype = in stat_cache_content_type_get_by_ext() local
1053 if (NULL != mtype) { in stat_cache_content_type_get_by_ext()
1055 sce->content_type.ptr = mtype->ptr; in stat_cache_content_type_get_by_ext()
1056 sce->content_type.used = mtype->used; in stat_cache_content_type_get_by_ext()