Home
last modified time | relevance | path

Searched refs:tag (Results 1 – 25 of 38) sorted by relevance

12

/fs/fscache/
Dcache.c29 struct fscache_cache_tag *tag, *xtag; in __fscache_lookup_cache_tag() local
34 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag()
35 if (strcmp(tag->name, name) == 0) { in __fscache_lookup_cache_tag()
36 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag()
38 return tag; in __fscache_lookup_cache_tag()
56 list_for_each_entry(tag, &fscache_cache_tag_list, link) { in __fscache_lookup_cache_tag()
57 if (strcmp(tag->name, name) == 0) { in __fscache_lookup_cache_tag()
58 atomic_inc(&tag->usage); in __fscache_lookup_cache_tag()
61 return tag; in __fscache_lookup_cache_tag()
73 void __fscache_release_cache_tag(struct fscache_cache_tag *tag) in __fscache_release_cache_tag() argument
[all …]
/fs/cifs/
Dasn1.c151 asn1_tag_decode(struct asn1_ctx *ctx, unsigned int *tag) in asn1_tag_decode() argument
155 *tag = 0; in asn1_tag_decode()
160 *tag <<= 7; in asn1_tag_decode()
161 *tag |= ch & 0x7F; in asn1_tag_decode()
168 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_id_decode() argument
177 *tag = (ch & 0x1F); in asn1_id_decode()
179 if (*tag == 0x1F) { in asn1_id_decode()
180 if (!asn1_tag_decode(ctx, tag)) in asn1_id_decode()
225 unsigned int *cls, unsigned int *con, unsigned int *tag) in asn1_header_decode() argument
230 if (!asn1_id_decode(ctx, cls, con, tag)) in asn1_header_decode()
[all …]
/fs/udf/
Dmisc.c136 crclen = sizeof(struct extendedAttrHeaderDesc) - sizeof(struct tag); in udf_add_extendedattr()
139 sizeof(struct tag), crclen)); in udf_add_extendedattr()
213 struct tag *tag_p; in udf_read_tagged()
228 tag_p = (struct tag *)(bh->b_data); in udf_read_tagged()
255 if (le16_to_cpu(tag_p->descCRCLength) + sizeof(struct tag) > sb->s_blocksize || in udf_read_tagged()
257 bh->b_data + sizeof(struct tag), in udf_read_tagged()
279 struct tag *tptr = (struct tag *)data; in udf_update_tag()
280 length -= sizeof(struct tag); in udf_update_tag()
283 tptr->descCRC = cpu_to_le16(crc_itu_t(0, data + sizeof(struct tag), length)); in udf_update_tag()
290 struct tag *tptr = (struct tag *)data; in udf_new_tag()
[all …]
Decma_167.h160 struct tag { struct
193 struct tag descTag;
222 struct tag descTag;
230 struct tag descTag;
238 struct tag descTag;
246 struct tag descTag;
281 struct tag descTag;
325 struct tag descTag;
333 struct tag descTag;
339 struct tag descTag;
[all …]
Dudfdecl.h75 u8 udf_tag_checksum(const struct tag *t);
106 struct tag descTag;
Dnamei.c47 uint16_t crclen = fibh->eoffset - fibh->soffset - sizeof(struct tag); in udf_write_fi()
99 crc = crc_itu_t(0, (uint8_t *)cfi + sizeof(struct tag), in udf_write_fi()
100 sizeof(struct fileIdentDesc) - sizeof(struct tag)); in udf_write_fi()
104 crclen + sizeof(struct tag) - in udf_write_fi()
110 crclen + sizeof(struct tag) - in udf_write_fi()
534 sizeof(struct tag)); in udf_add_entry()
537 sizeof(struct tag)); in udf_add_entry()
Dosta_udf.h195 struct tag descTag;
/fs/xfs/
Dxfs_error.h23 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp,
25 extern void xfs_corruption_error(const char *tag, int level,
126 #define XFS_TEST_ERROR(expr, mp, tag, rf) \ argument
128 xfs_error_test((tag), (mp)->m_fixedfsid, "expr", __LINE__, __FILE__, \
134 #define XFS_TEST_ERROR(expr, mp, tag, rf) (expr) argument
135 #define xfs_errortag_add(tag, mp) (ENOSYS) argument
Dxfs_error.c125 const char *tag, in xfs_error_report() argument
135 tag, linenum, filename, ra); in xfs_error_report()
143 const char *tag, in xfs_corruption_error() argument
153 xfs_error_report(tag, level, mp, filename, linenum, ra); in xfs_corruption_error()
Dxfs_icache.c584 int tag, in xfs_inode_ag_walk() argument
605 if (tag == -1) in xfs_inode_ag_walk()
613 XFS_LOOKUP_BATCH, tag); in xfs_inode_ag_walk()
756 int tag) in xfs_inode_ag_iterator_tag() argument
764 while ((pag = xfs_perag_get_tag(mp, ag, tag))) { in xfs_inode_ag_iterator_tag()
766 error = xfs_inode_ag_walk(mp, pag, execute, flags, args, tag, in xfs_inode_ag_iterator_tag()
Dxfs_message.h11 void xfs_alert_tag(const struct xfs_mount *mp, int tag, const char *fmt, ...);
Dxfs_icache.h85 int flags, void *args, int tag);
/fs/jbd2/
Drecovery.c204 journal_block_tag_t * tag; in count_tags() local
214 tag = (journal_block_tag_t *) tagp; in count_tags()
218 if (!(tag->t_flags & cpu_to_be16(JBD2_FLAG_SAME_UUID))) in count_tags()
221 if (tag->t_flags & cpu_to_be16(JBD2_FLAG_LAST_TAG)) in count_tags()
342 journal_block_tag_t *tag) in read_tag_block() argument
344 unsigned long long block = be32_to_cpu(tag->t_blocknr); in read_tag_block()
346 block |= (u64)be32_to_cpu(tag->t_blocknr_high) << 32; in read_tag_block()
400 static int jbd2_block_tag_csum_verify(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_verify() argument
403 journal_block_tag3_t *tag3 = (journal_block_tag3_t *)tag; in jbd2_block_tag_csum_verify()
417 return tag->t_checksum == cpu_to_be16(csum32); in jbd2_block_tag_csum_verify()
[all …]
Dcommit.c314 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block() argument
317 tag->t_blocknr = cpu_to_be32(block & (u32)~0); in write_tag_block()
319 tag->t_blocknr_high = cpu_to_be32((block >> 31) >> 1); in write_tag_block()
338 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set() argument
341 journal_block_tag3_t *tag3 = (journal_block_tag3_t *)tag; in jbd2_block_tag_csum_set()
360 tag->t_checksum = cpu_to_be16(csum32); in jbd2_block_tag_csum_set()
383 journal_block_tag_t *tag = NULL; in jbd2_journal_commit_transaction() local
693 tag = (journal_block_tag_t *) tagp; in jbd2_journal_commit_transaction()
694 write_tag_block(journal, tag, jh2bh(jh)->b_blocknr); in jbd2_journal_commit_transaction()
695 tag->t_flags = cpu_to_be16(tag_flag); in jbd2_journal_commit_transaction()
[all …]
/fs/cachefiles/
Dbind.c69 if (!cache->tag) { in cachefiles_daemon_bind()
72 cache->tag = kstrdup("CacheFiles", GFP_KERNEL); in cachefiles_daemon_bind()
73 if (!cache->tag) in cachefiles_daemon_bind()
223 ret = fscache_add_cache(&cache->cache, &fsdef->fscache, cache->tag); in cachefiles_daemon_add_cache()
274 kfree(cache->tag); in cachefiles_daemon_unbind()
Ddaemon.c529 char *tag; in cachefiles_daemon_tag() local
538 if (cache->tag) in cachefiles_daemon_tag()
541 tag = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_tag()
542 if (!tag) in cachefiles_daemon_tag()
545 cache->tag = tag; in cachefiles_daemon_tag()
Dinternal.h90 char *tag; /* cache binding tag */ member
/fs/ocfs2/
Dstack_user.c138 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
146 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
156 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
165 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member
379 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_do_setnode_msg()
412 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_do_setversion_msg()
459 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_DOWN_OP, in ocfs2_control_do_down_msg()
490 (sizeof(msg.u_down.tag) + sizeof(msg.u_down.space1))); in ocfs2_control_message()
498 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_message()
502 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_message()
[all …]
/fs/coda/
Dupcall.c68 #define INSIZE(tag) sizeof(struct coda_ ## tag ## _in) argument
69 #define OUTSIZE(tag) sizeof(struct coda_ ## tag ## _out) argument
70 #define SIZE(tag) max_t(unsigned int, INSIZE(tag), OUTSIZE(tag)) argument
/fs/nfs/
Dcallback.h50 const char *tag; member
59 const char *tag; member
Dcallback_xdr.c158 status = decode_string(xdr, &hdr->taglen, &hdr->tag); in decode_compound_hdr_arg()
630 status = encode_string(xdr, hdr->taglen, hdr->tag); in encode_compound_hdr_res()
923 hdr_res.tag = hdr_arg.tag; in nfs4_callback_compound()
/fs/ntfs/
Dcompress.c195 u8 tag; /* Current tag. */ in ntfs_decompress() local
348 tag = *cb++; in ntfs_decompress()
351 for (token = 0; token < 8; token++, tag >>= 1) { in ntfs_decompress()
361 if ((tag & NTFS_TOKEN_MASK) == NTFS_SYMBOL_TOKEN) { in ntfs_decompress()
/fs/xfs/libxfs/
Dxfs_sb.h26 int tag);
/fs/gfs2/
Daops.c357 int tag; in gfs2_write_cache_jdata() local
376 tag = PAGECACHE_TAG_TOWRITE; in gfs2_write_cache_jdata()
378 tag = PAGECACHE_TAG_DIRTY; in gfs2_write_cache_jdata()
385 nr_pages = pagevec_lookup_tag(&pvec, mapping, &index, tag, in gfs2_write_cache_jdata()
/fs/nfsd/
Dxdr4.h586 char * tag; member
600 char * tag; member

12