/fs/jffs2/ |
D | compr.c | 75 unsigned char **cpage_out, u32 *datalen, u32 *cdatalen) in jffs2_selected_compress() argument 87 orig_slen = *datalen; in jffs2_selected_compress() 106 *datalen = orig_slen; in jffs2_selected_compress() 108 err = this->compress(data_in, output_buf, datalen, cdatalen); in jffs2_selected_compress() 116 this->stat_compr_orig_size += *datalen; in jffs2_selected_compress() 150 uint32_t *datalen, uint32_t *cdatalen) in jffs2_compress() argument 168 ret = jffs2_selected_compress(0, data_in, cpage_out, datalen, in jffs2_compress() 173 orig_slen = *datalen; in jffs2_compress() 204 *datalen = orig_slen; in jffs2_compress() 206 compr_ret = this->compress(data_in, this->compr_buf, datalen, cdatalen); in jffs2_compress() [all …]
|
D | write.c | 61 uint32_t datalen, int alloc_mode) in jffs2_write_dnode() argument 80 vecs[1].iov_len = datalen; in jffs2_write_dnode() 82 if (je32_to_cpu(ri->totlen) != sizeof(*ri) + datalen) { in jffs2_write_dnode() 85 sizeof(*ri), datalen); in jffs2_write_dnode() 93 if (!datalen || !data) in jffs2_write_dnode() 112 if (ret || (retlen != sizeof(*ri) + datalen)) { in jffs2_write_dnode() 114 sizeof(*ri) + datalen, flash_ofs, ret, retlen); in jffs2_write_dnode() 123 jffs2_add_physical_node_ref(c, flash_ofs | REF_OBSOLETE, PAD(sizeof(*ri)+datalen), NULL); in jffs2_write_dnode() 141 ret = jffs2_reserve_space_gc(c, sizeof(*ri) + datalen, &dummy, in jffs2_write_dnode() 148 ret = jffs2_reserve_space(c, sizeof(*ri) + datalen, &dummy, in jffs2_write_dnode() [all …]
|
D | compr.h | 56 uint32_t cdatalen, uint32_t datalen); 75 uint32_t *datalen, uint32_t *cdatalen); 79 unsigned char *data_out, uint32_t cdatalen, uint32_t datalen);
|
D | gc.c | 1343 uint32_t datalen; in jffs2_garbage_collect_dnode() local 1356 datalen = end - offset; in jffs2_garbage_collect_dnode() 1360 comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode() 1378 ri.dsize = cpu_to_je32(datalen); in jffs2_garbage_collect_dnode() 1395 offset += datalen; in jffs2_garbage_collect_dnode()
|
D | nodelist.h | 400 uint32_t datalen, int alloc_mode);
|
/fs/cifs/ |
D | cache.c | 83 uint16_t datalen, in cifs_fscache_super_check_aux() argument 89 if (datalen != sizeof(auxdata)) in cifs_fscache_super_check_aux() 97 if (memcmp(data, &auxdata, datalen) != 0) in cifs_fscache_super_check_aux() 115 uint16_t datalen, in cifs_fscache_inode_check_aux() argument 121 if (datalen != sizeof(auxdata)) in cifs_fscache_inode_check_aux() 131 if (memcmp(data, &auxdata, datalen) != 0) in cifs_fscache_inode_check_aux()
|
D | cifsacl.c | 87 if (prep->datalen <= sizeof(key->payload)) { in cifs_idmap_key_instantiate() 89 memcpy(&key->payload, prep->data, prep->datalen); in cifs_idmap_key_instantiate() 91 payload = kmemdup(prep->data, prep->datalen, GFP_KERNEL); in cifs_idmap_key_instantiate() 97 key->datalen = prep->datalen; in cifs_idmap_key_instantiate() 104 if (key->datalen > sizeof(key->payload)) in cifs_idmap_key_destroy() 305 } else if (sidkey->datalen < CIFS_SID_BASE_SIZE) { in id_to_sid() 308 __func__, sidkey->datalen); in id_to_sid() 317 ksid = sidkey->datalen <= sizeof(sidkey->payload) ? in id_to_sid() 322 if (ksid_size > sidkey->datalen) { in id_to_sid() 325 __func__, sidkey->datalen, ksid_size); in id_to_sid() [all …]
|
D | cifs_spnego.c | 43 payload = kmemdup(prep->data, prep->datalen, GFP_KERNEL); in cifs_spnego_key_instantiate()
|
D | connect.c | 2948 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds() 2952 upayload->datalen); in cifs_set_cifscreds() 2974 len = key->datalen - (len + 1); in cifs_set_cifscreds()
|
/fs/fscache/ |
D | fsdef.c | 15 uint16_t datalen, 76 uint16_t datalen, in fscache_fsdef_netfs_check_aux() argument 82 _enter("{%s},,%hu", netfs->name, datalen); in fscache_fsdef_netfs_check_aux() 84 if (datalen != sizeof(version)) { in fscache_fsdef_netfs_check_aux() 85 _leave(" = OBSOLETE [dl=%d v=%zu]", datalen, sizeof(version)); in fscache_fsdef_netfs_check_aux()
|
D | object-list.c | 338 for (len = confkey->datalen - 1; len >= 0; len--) { in fscache_objlist_config()
|
D | object.c | 925 const void *data, uint16_t datalen, in fscache_check_aux() argument 936 data, datalen, object_size); in fscache_check_aux()
|
/fs/pstore/ |
D | zone.c | 36 atomic_t datalen; member 162 return atomic_read(&zone->buffer->datalen); in buffer_datalen() 214 atomic_set(&zone->buffer->datalen, wlen + off); in psz_zone_write() 307 atomic_set(&new->buffer->datalen, 0); in psz_move_zone() 311 atomic_set(&old->buffer->datalen, 0); in psz_move_zone() 411 if (zone->buffer_size < atomic_read(&buf->datalen)) { in psz_kmsg_recover_meta() 442 if (!atomic_read(&buf->datalen)) { in psz_kmsg_recover_meta() 446 atomic_read(&buf->datalen)); in psz_kmsg_recover_meta() 454 zone->buffer_size, atomic_read(&buf->datalen)); in psz_kmsg_recover_meta() 513 if (zone->buffer_size < atomic_read(&tmpbuf.datalen) || in psz_recover_zone() [all …]
|
/fs/nfs/ |
D | fscache-index.c | 77 uint16_t datalen, in nfs_fscache_inode_check_aux() argument 83 if (datalen != sizeof(auxdata)) in nfs_fscache_inode_check_aux() 95 if (memcmp(data, &auxdata, datalen) != 0) in nfs_fscache_inode_check_aux()
|
D | nfs4idmap.c | 336 ret = payload->datalen; in nfs_idmap_get_key() 624 static int nfs_idmap_instantiate(struct key *key, struct key *authkey, char *data, size_t datalen) in nfs_idmap_instantiate() argument 626 return key_instantiate_and_link(key, data, datalen, in nfs_idmap_instantiate()
|
/fs/cachefiles/ |
D | daemon.c | 213 size_t datalen, in cachefiles_daemon_write() argument 228 if (datalen < 0 || datalen > PAGE_SIZE - 1) in cachefiles_daemon_write() 232 data = memdup_user_nul(_data, datalen); in cachefiles_daemon_write() 237 if (memchr(data, '\0', datalen)) in cachefiles_daemon_write() 241 cp = memchr(data, '\n', datalen); in cachefiles_daemon_write() 282 ret = datalen; in cachefiles_daemon_write()
|
/fs/crypto/ |
D | keyring.c | 579 if (prep->datalen < sizeof(*payload) + FSCRYPT_MIN_KEY_SIZE || in fscrypt_provisioning_key_preparse() 580 prep->datalen > sizeof(*payload) + FSCRYPT_MAX_HW_WRAPPED_KEY_SIZE) in fscrypt_provisioning_key_preparse() 590 prep->payload.data[0] = kmemdup(payload, prep->datalen, GFP_KERNEL); in fscrypt_provisioning_key_preparse() 594 prep->quotalen = prep->datalen; in fscrypt_provisioning_key_preparse() 612 seq_printf(m, ": %u [%u]", key->datalen, payload->type); in fscrypt_provisioning_key_describe() 666 secret->size = key->datalen - sizeof(*payload); in get_keyring_key()
|
D | keysetup_v1.c | 120 if (ukp->datalen != sizeof(struct fscrypt_key) || in find_and_lock_process_key()
|
/fs/ocfs2/cluster/ |
D | tcp.c | 1339 size_t datalen; in o2net_advance_rx() local 1347 datalen = sizeof(struct o2net_handshake) - sc->sc_page_off; in o2net_advance_rx() 1348 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx() 1364 datalen = sizeof(struct o2net_msg) - sc->sc_page_off; in o2net_advance_rx() 1365 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx() 1396 datalen = (sizeof(struct o2net_msg) + be16_to_cpu(hdr->data_len)) - in o2net_advance_rx() 1398 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
|
/fs/nfsd/ |
D | xdr4.h | 111 u32 datalen; member 127 #define cr_datalen u.link.datalen
|
/fs/ubifs/ |
D | auth.c | 334 err = crypto_shash_setkey(c->hmac_tfm, ukp->data, ukp->datalen); in ubifs_init_authentication()
|