/fs/fscache/ |
D | cache.c | 29 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/ |
D | asn1.c | 151 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/ |
D | misc.c | 137 crclen = sizeof(struct extendedAttrHeaderDesc) - sizeof(struct tag); in udf_add_extendedattr() 140 sizeof(struct tag), crclen)); in udf_add_extendedattr() 205 struct tag *tag_p; in udf_read_tagged() 220 tag_p = (struct tag *)(bh->b_data); in udf_read_tagged() 247 if (le16_to_cpu(tag_p->descCRCLength) + sizeof(struct tag) > sb->s_blocksize || in udf_read_tagged() 249 bh->b_data + sizeof(struct tag), in udf_read_tagged() 271 struct tag *tptr = (struct tag *)data; in udf_update_tag() 272 length -= sizeof(struct tag); in udf_update_tag() 275 tptr->descCRC = cpu_to_le16(crc_itu_t(0, data + sizeof(struct tag), length)); in udf_update_tag() 282 struct tag *tptr = (struct tag *)data; in udf_new_tag() [all …]
|
D | ecma_167.h | 160 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 …]
|
D | udfdecl.h | 75 u8 udf_tag_checksum(const struct tag *t); 106 struct tag descTag;
|
D | namei.c | 48 uint16_t crclen = fibh->eoffset - fibh->soffset - sizeof(struct tag); in udf_write_fi() 100 crc = crc_itu_t(0, (uint8_t *)cfi + sizeof(struct tag), in udf_write_fi() 101 sizeof(struct fileIdentDesc) - sizeof(struct tag)); in udf_write_fi() 105 crclen + sizeof(struct tag) - in udf_write_fi() 111 crclen + sizeof(struct tag) - in udf_write_fi() 499 sizeof(struct tag)); in udf_add_entry() 502 sizeof(struct tag)); in udf_add_entry()
|
D | osta_udf.h | 195 struct tag descTag;
|
/fs/xfs/ |
D | xfs_error.h | 32 extern void xfs_error_report(const char *tag, int level, struct xfs_mount *mp, 34 extern void xfs_corruption_error(const char *tag, int level, 134 #define XFS_TEST_ERROR(expr, mp, tag, rf) \ argument 136 xfs_error_test((tag), (mp)->m_fixedfsid, "expr", __LINE__, __FILE__, \ 142 #define XFS_TEST_ERROR(expr, mp, tag, rf) (expr) argument 143 #define xfs_errortag_add(tag, mp) (ENOSYS) argument
|
D | xfs_error.c | 154 const char *tag, in xfs_error_report() argument 164 tag, linenum, filename, ra); in xfs_error_report() 172 const char *tag, in xfs_corruption_error() argument 182 xfs_error_report(tag, level, mp, filename, linenum, ra); in xfs_corruption_error()
|
D | xfs_icache.c | 523 int tag) in xfs_inode_ag_walk() argument 543 if (tag == -1) in xfs_inode_ag_walk() 551 XFS_LOOKUP_BATCH, tag); in xfs_inode_ag_walk() 680 int tag) in xfs_inode_ag_iterator_tag() argument 688 while ((pag = xfs_perag_get_tag(mp, ag, tag))) { in xfs_inode_ag_iterator_tag() 690 error = xfs_inode_ag_walk(mp, pag, execute, flags, args, tag); in xfs_inode_ag_iterator_tag()
|
D | xfs_icache.h | 51 int flags, void *args, int tag);
|
D | xfs_message.h | 11 void xfs_alert_tag(const struct xfs_mount *mp, int tag, const char *fmt, ...);
|
/fs/jbd2/ |
D | recovery.c | 204 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 …]
|
D | commit.c | 316 static void write_tag_block(journal_t *j, journal_block_tag_t *tag, in write_tag_block() argument 319 tag->t_blocknr = cpu_to_be32(block & (u32)~0); in write_tag_block() 321 tag->t_blocknr_high = cpu_to_be32((block >> 31) >> 1); in write_tag_block() 340 static void jbd2_block_tag_csum_set(journal_t *j, journal_block_tag_t *tag, in jbd2_block_tag_csum_set() argument 343 journal_block_tag3_t *tag3 = (journal_block_tag3_t *)tag; in jbd2_block_tag_csum_set() 362 tag->t_checksum = cpu_to_be16(csum32); in jbd2_block_tag_csum_set() 385 journal_block_tag_t *tag = NULL; in jbd2_journal_commit_transaction() local 695 tag = (journal_block_tag_t *) tagp; in jbd2_journal_commit_transaction() 696 write_tag_block(journal, tag, jh2bh(jh)->b_blocknr); in jbd2_journal_commit_transaction() 697 tag->t_flags = cpu_to_be16(tag_flag); in jbd2_journal_commit_transaction() [all …]
|
/fs/jbd/ |
D | recovery.c | 184 journal_block_tag_t * tag; in count_tags() local 190 tag = (journal_block_tag_t *) tagp; in count_tags() 194 if (!(tag->t_flags & cpu_to_be32(JFS_FLAG_SAME_UUID))) in count_tags() 197 if (tag->t_flags & cpu_to_be32(JFS_FLAG_LAST_TAG)) in count_tags() 355 journal_block_tag_t * tag; in do_one_pass() local 433 tag = (journal_block_tag_t *) tagp; in do_one_pass() 434 flags = be32_to_cpu(tag->t_flags); in do_one_pass() 451 blocknr = be32_to_cpu(tag->t_blocknr); in do_one_pass()
|
D | commit.c | 309 journal_block_tag_t *tag = NULL; in journal_commit_transaction() local 644 tag = (journal_block_tag_t *) tagp; in journal_commit_transaction() 645 tag->t_blocknr = cpu_to_be32(jh2bh(jh)->b_blocknr); in journal_commit_transaction() 646 tag->t_flags = cpu_to_be32(tag_flag); in journal_commit_transaction() 670 tag->t_flags |= cpu_to_be32(JFS_FLAG_LAST_TAG); in journal_commit_transaction()
|
/fs/ocfs2/ |
D | stack_user.c | 124 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member 132 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member 142 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member 151 char tag[OCFS2_CONTROL_MESSAGE_OP_LEN]; member 376 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_do_setnode_msg() 409 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_do_setversion_msg() 456 if (strncmp(msg->tag, OCFS2_CONTROL_MESSAGE_DOWN_OP, in ocfs2_control_do_down_msg() 487 (sizeof(msg.u_down.tag) + sizeof(msg.u_down.space1))); in ocfs2_control_message() 495 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETNODE_OP, in ocfs2_control_message() 499 !strncmp(msg.tag, OCFS2_CONTROL_MESSAGE_SETVERSION_OP, in ocfs2_control_message() [all …]
|
/fs/nfs/blocklayout/ |
D | extents.c | 75 int _has_tag(struct my_tree *tree, u64 s, int32_t tag) in _has_tag() argument 79 dprintk("%s(%llu, %i) enter\n", __func__, s, tag); in _has_tag() 82 if ((tags < 0) || !(tags & (1 << tag))) in _has_tag() 92 static int _add_entry(struct my_tree *tree, u64 s, int32_t tag, in _add_entry() argument 98 dprintk("%s(%llu, %i, %p) enter\n", __func__, s, tag, storage); in _add_entry() 109 pos->it_tags |= (1 << tag); in _add_entry() 115 new->it_tags = (1 << tag); in _add_entry() 123 static int _set_range(struct my_tree *tree, int32_t tag, u64 s, u64 length) in _set_range() argument 127 dprintk("%s(%i, %llu, %llu) enter\n", __func__, tag, s, length); in _set_range() 130 if (_add_entry(tree, i, tag, NULL)) in _set_range() [all …]
|
/fs/cachefiles/ |
D | bind.c | 69 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() 224 ret = fscache_add_cache(&cache->cache, &fsdef->fscache, cache->tag); in cachefiles_daemon_add_cache() 278 kfree(cache->tag); in cachefiles_daemon_unbind()
|
D | daemon.c | 530 char *tag; in cachefiles_daemon_tag() local 539 if (cache->tag) in cachefiles_daemon_tag() 542 tag = kstrdup(args, GFP_KERNEL); in cachefiles_daemon_tag() 543 if (!tag) in cachefiles_daemon_tag() 546 cache->tag = tag; in cachefiles_daemon_tag()
|
/fs/coda/ |
D | upcall.c | 68 #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/ |
D | callback.h | 47 const char *tag; member 56 const char *tag; member
|
D | callback_xdr.c | 156 status = decode_string(xdr, &hdr->taglen, &hdr->tag); in decode_compound_hdr_arg() 632 status = encode_string(xdr, hdr->taglen, hdr->tag); in encode_compound_hdr_res() 889 hdr_res.tag = hdr_arg.tag; in nfs4_callback_compound()
|
/fs/ntfs/ |
D | compress.c | 195 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/nfsd/ |
D | xdr4.h | 497 char * tag; member 513 char * tag; member
|