/fs/isofs/ |
D | namei.c | 19 isofs_cmp(struct dentry *dentry, const char *compare, int dlen) in isofs_cmp() argument 23 qstr.len = dlen; in isofs_cmp() 25 return dentry->d_name.len != dlen || memcmp(dentry->d_name.name, compare, dlen); in isofs_cmp() 55 int de_len, match, i, dlen; in isofs_find_entry() local 98 dlen = de->name_len[0]; in isofs_find_entry() 101 if (de_len < dlen + sizeof(struct iso_directory_record)) { in isofs_find_entry() 111 dlen = i; /* possibly -1 */ in isofs_find_entry() 115 dlen = get_joliet_filename(de, tmpname, dir); in isofs_find_entry() 119 dlen = get_acorn_filename(de, tmpname, dir); in isofs_find_entry() 122 dlen = isofs_name_translate(de, tmpname, dir); in isofs_find_entry() [all …]
|
/fs/ubifs/ |
D | journal.c | 542 int err, dlen, ilen, len, lnum, ino_offs, dent_offs, orphan_added = 0; in ubifs_jnl_update() local 556 dlen = UBIFS_DENT_NODE_SZ + fname_len(nm) + 1; in ubifs_jnl_update() 570 aligned_dlen = ALIGN(dlen, 8); in ubifs_jnl_update() 609 ubifs_prep_grp_node(c, dent, dlen, 0); in ubifs_jnl_update() 656 err = ubifs_add_dirt(c, lnum, dlen); in ubifs_jnl_update() 658 err = ubifs_tnc_add_nm(c, &dent_key, lnum, dent_offs, dlen, in ubifs_jnl_update() 728 int dlen = COMPRESSED_DATA_NODE_BUF_SZ, allocated = 1; in ubifs_jnl_write_data() local 739 dlen += UBIFS_CIPHER_BLOCK_SIZE; in ubifs_jnl_write_data() 743 data = kmalloc(dlen + auth_len, GFP_NOFS | __GFP_NOWARN); in ubifs_jnl_write_data() 767 out_len = compr_len = dlen - UBIFS_DATA_NODE_SZ; in ubifs_jnl_write_data() [all …]
|
D | crypto.c | 59 unsigned int dlen = *out_len; in ubifs_decrypt() local 61 if (clen <= 0 || clen > UBIFS_BLOCK_SIZE || clen > dlen) { in ubifs_decrypt() 66 ubifs_assert(c, dlen <= UBIFS_BLOCK_SIZE); in ubifs_decrypt() 68 dlen, offset_in_page(&dn->data), in ubifs_decrypt()
|
D | file.c | 51 unsigned int dlen; in read_block() local 68 dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; in read_block() 71 err = ubifs_decrypt(inode, dn, &dlen, block); in read_block() 77 err = ubifs_decompress(c, &dn->data, dlen, addr, &out_len, in read_block() 146 int dlen = le32_to_cpu(dn->size); in do_readpage() local 149 if (ilen && ilen < dlen) in do_readpage() 150 memset(addr + ilen, 0, dlen - ilen); in do_readpage() 630 int err, len, out_len, dlen; in populate_page() local 647 dlen = le32_to_cpu(dn->ch.len) - UBIFS_DATA_NODE_SZ; in populate_page() 651 err = ubifs_decrypt(inode, dn, &dlen, page_block); in populate_page() [all …]
|
D | recovery.c | 462 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes() local 477 skip = ALIGN(offs + dlen, c->max_write_size) - offs; in no_more_nodes()
|
D | debug.c | 470 int dlen = le32_to_cpu(ch->len) - UBIFS_DATA_NODE_SZ; in ubifs_dump_node() local 478 pr_err("\tdata size %d\n", dlen); in ubifs_dump_node() 481 (void *)&dn->data, dlen, 0); in ubifs_dump_node()
|
/fs/xfs/ |
D | xfs_discard.c | 70 xfs_extlen_t dlen; in xfs_trim_extents() local 87 dlen = XFS_FSB_TO_BB(mp, flen); in xfs_trim_extents() 92 if (dlen < minlen) { in xfs_trim_extents() 102 if (dbno + dlen < start || dbno > end) { in xfs_trim_extents() 117 error = blkdev_issue_discard(bdev, dbno, dlen, GFP_NOFS, 0); in xfs_trim_extents()
|
/fs/btrfs/ |
D | lzo.c | 100 __le32 dlen; in write_compress_length() local 102 dlen = cpu_to_le32(len); in write_compress_length() 103 memcpy(buf, &dlen, LZO_LEN); in write_compress_length() 108 __le32 dlen; in read_compress_length() local 110 memcpy(&dlen, buf, LZO_LEN); in read_compress_length() 111 return le32_to_cpu(dlen); in read_compress_length()
|
/fs/unicode/ |
D | utf8-core.c | 106 unsigned char *dest, size_t dlen) in utf8_casefold() argument 115 for (nlen = 0; nlen < dlen; nlen++) { in utf8_casefold() 150 unsigned char *dest, size_t dlen) in utf8_normalize() argument 159 for (nlen = 0; nlen < dlen; nlen++) { in utf8_normalize()
|
/fs/udf/ |
D | unicode.c | 380 uint8_t *dname, int dlen) in udf_get_filename() argument 387 if (dlen <= 0) in udf_get_filename() 390 ret = udf_name_from_CS0(sb, dname, dlen, sname, slen, 1); in udf_get_filename() 398 uint8_t *dname, int dlen) in udf_put_filename() argument 400 return udf_name_to_CS0(sb, dname, dlen, sname, slen); in udf_put_filename()
|
/fs/cachefiles/ |
D | xattr.c | 244 unsigned int dlen; in cachefiles_check_object_xattr() local 246 dlen = auxbuf->len - 1; in cachefiles_check_object_xattr() 249 object->fscache.cookie->def->name, dlen); in cachefiles_check_object_xattr() 252 &auxbuf->data, dlen, in cachefiles_check_object_xattr()
|
/fs/ |
D | d_path.c | 41 u32 dlen = READ_ONCE(name->len); in prepend_name() local 44 *buflen -= dlen + 1; in prepend_name() 47 p = *buffer -= dlen + 1; in prepend_name() 49 while (dlen--) { in prepend_name()
|
/fs/ext4/ |
D | hash.c | 295 int r, dlen; in ext4fs_dirhash() local 305 dlen = utf8_casefold(um, &qstr, buff, PATH_MAX); in ext4fs_dirhash() 306 if (dlen < 0) { in ext4fs_dirhash() 311 r = __ext4fs_dirhash(dir, buff, dlen, hinfo); in ext4fs_dirhash()
|
D | fast_commit.c | 731 int parent_ino, int ino, int dlen, in ext4_fc_add_dentry_tlv() argument 737 u8 *dst = ext4_fc_reserve_space(sb, sizeof(tl) + sizeof(fcd) + dlen, in ext4_fc_add_dentry_tlv() 746 tl.fc_len = cpu_to_le16(sizeof(fcd) + dlen); in ext4_fc_add_dentry_tlv() 751 ext4_fc_memcpy(sb, dst, dname, dlen, crc); in ext4_fc_add_dentry_tlv() 752 dst += dlen; in ext4_fc_add_dentry_tlv()
|
D | ext4.h | 2278 ext4_rec_len_from_disk(__le16 dlen, unsigned blocksize) in ext4_rec_len_from_disk() argument 2280 unsigned len = le16_to_cpu(dlen); in ext4_rec_len_from_disk()
|
/fs/cifs/ |
D | cifsencrypt.c | 354 unsigned int dlen; in build_avpair_blob() local 366 dlen = strlen(ses->domainName); in build_avpair_blob() 374 ses->auth_key.len = size + 2 * dlen; in build_avpair_blob() 389 attrptr->length = cpu_to_le16(2 * dlen); in build_avpair_blob() 391 cifs_strtoUTF16((__le16 *)blobptr, ses->domainName, dlen, nls_cp); in build_avpair_blob()
|
D | smb2pdu.c | 2004 size_t doff, dlen; in smb2_parse_contexts() local 2027 dlen = le32_to_cpu(cc->DataLength); in smb2_parse_contexts() 2028 if (check_add_overflow(doff, dlen, &len) || len > rem) in smb2_parse_contexts() 2053 __func__, nlen, dlen); in smb2_parse_contexts() 2055 cifs_dump_mem("context data: ", cc, dlen); in smb2_parse_contexts() 3415 u32 *dlen) in query_info() argument 3468 if (dlen) { in query_info() 3469 *dlen = le32_to_cpu(rsp->OutputBufferLength); in query_info() 3471 *data = kmalloc(*dlen, GFP_KERNEL); in query_info() 3476 *dlen = 0; in query_info() [all …]
|
/fs/ceph/ |
D | cache.c | 109 void *cookie_netfs_data, const void *data, uint16_t dlen, in ceph_fscache_inode_check_aux() argument 116 if (dlen != sizeof(aux) || in ceph_fscache_inode_check_aux()
|
/fs/nfsd/ |
D | nfs3xdr.c | 402 unsigned int len, hdr, dlen; in nfs3svc_decode_writeargs() local 428 dlen = head->iov_len + rqstp->rq_arg.page_len + tail->iov_len - hdr; in nfs3svc_decode_writeargs() 437 if (dlen < XDR_QUADLEN(len)*4) in nfs3svc_decode_writeargs() 493 size_t dlen; in nfs3svc_decode_symlinkargs() local 506 dlen = args->first.iov_len + rqstp->rq_arg.page_len + in nfs3svc_decode_symlinkargs() 508 if (dlen < XDR_QUADLEN(args->tlen) << 2) in nfs3svc_decode_symlinkargs()
|
D | nfsxdr.c | 273 unsigned int len, hdr, dlen; in nfssvc_decode_writeargs() local 297 dlen = head->iov_len + rqstp->rq_arg.page_len - hdr; in nfssvc_decode_writeargs() 307 if (dlen < XDR_QUADLEN(len)*4) in nfssvc_decode_writeargs()
|
/fs/nilfs2/ |
D | dir.c | 36 static inline unsigned int nilfs_rec_len_from_disk(__le16 dlen) in nilfs_rec_len_from_disk() argument 38 unsigned int len = le16_to_cpu(dlen); in nilfs_rec_len_from_disk()
|
/fs/ext2/ |
D | dir.c | 38 static inline unsigned ext2_rec_len_from_disk(__le16 dlen) in ext2_rec_len_from_disk() argument 40 unsigned len = le16_to_cpu(dlen); in ext2_rec_len_from_disk()
|