/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 | 1339 uint32_t datalen; in jffs2_garbage_collect_dnode() local 1352 datalen = end - offset; in jffs2_garbage_collect_dnode() 1356 comprtype = jffs2_compress(c, f, writebuf, &comprbuf, &datalen, &cdatalen); in jffs2_garbage_collect_dnode() 1374 ri.dsize = cpu_to_je32(datalen); in jffs2_garbage_collect_dnode() 1391 offset += datalen; in jffs2_garbage_collect_dnode()
|
D | nodelist.h | 400 uint32_t datalen, int alloc_mode);
|
/fs/ncpfs/ |
D | sock.c | 63 size_t datalen; member 138 memcpy(req->reply_buf, server->rxbuf, req->datalen); in ncp_finish_request() 308 req->sign[3] = htonl(req->datalen + 8); in ncptcp_start_request() 441 result = _recv(sock, server->rxbuf, req->datalen, MSG_DONTWAIT); in ncpdgram_rcv_proc() 540 int datalen; in __ncptcp_rcv_proc() local 574 datalen = ntohl(server->rcv.buf.len) & 0x0FFFFFFF; in __ncptcp_rcv_proc() 575 if (datalen < 10) { in __ncptcp_rcv_proc() 576 pr_err("tcp: Unexpected reply len %d\n", datalen); in __ncptcp_rcv_proc() 582 if (datalen < 18) { in __ncptcp_rcv_proc() 583 pr_err("tcp: Unexpected reply len %d\n", datalen); in __ncptcp_rcv_proc() [all …]
|
/fs/fscache/ |
D | fsdef.c | 25 uint16_t datalen); 126 uint16_t datalen) in fscache_fsdef_netfs_check_aux() argument 131 _enter("{%s},,%hu", netfs->name, datalen); in fscache_fsdef_netfs_check_aux() 133 if (datalen != sizeof(version)) { in fscache_fsdef_netfs_check_aux() 134 _leave(" = OBSOLETE [dl=%d v=%zu]", datalen, sizeof(version)); in fscache_fsdef_netfs_check_aux()
|
D | object-list.c | 342 for (len = confkey->datalen - 1; len >= 0; len--) { in fscache_objlist_config()
|
D | object.c | 909 const void *data, uint16_t datalen) in fscache_check_aux() argument 919 data, datalen); in fscache_check_aux()
|
/fs/cifs/ |
D | cache.c | 192 uint16_t datalen) in cifs_fscache_super_check_aux() argument 197 if (datalen != sizeof(auxdata)) in cifs_fscache_super_check_aux() 203 if (memcmp(data, &auxdata, datalen) != 0) in cifs_fscache_super_check_aux() 276 uint16_t datalen) in cifs_fscache_inode_check_aux() argument 281 if (datalen != sizeof(auxdata)) in cifs_fscache_inode_check_aux() 289 if (memcmp(data, &auxdata, datalen) != 0) in cifs_fscache_inode_check_aux()
|
D | cifsacl.c | 89 if (prep->datalen <= sizeof(key->payload)) { in cifs_idmap_key_instantiate() 91 memcpy(&key->payload, prep->data, prep->datalen); in cifs_idmap_key_instantiate() 93 payload = kmemdup(prep->data, prep->datalen, GFP_KERNEL); in cifs_idmap_key_instantiate() 99 key->datalen = prep->datalen; in cifs_idmap_key_instantiate() 106 if (key->datalen > sizeof(key->payload)) in cifs_idmap_key_destroy() 307 } else if (sidkey->datalen < CIFS_SID_BASE_SIZE) { in id_to_sid() 310 __func__, sidkey->datalen); in id_to_sid() 319 ksid = sidkey->datalen <= sizeof(sidkey->payload) ? in id_to_sid() 324 if (ksid_size > sidkey->datalen) { in id_to_sid() 327 __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 | 2450 delim = strnchr(payload, upayload->datalen, ':'); in cifs_set_cifscreds() 2454 upayload->datalen); in cifs_set_cifscreds() 2476 len = key->datalen - (len + 1); in cifs_set_cifscreds()
|
/fs/logfs/ |
D | journal.c | 165 u16 type, len, datalen; in __read_je_header() local 174 datalen = be16_to_cpu(jh->h_datalen); in __read_je_header() 179 if (datalen > bufsize) in __read_je_header() 227 u16 type, datalen; in read_je() local 234 datalen = be16_to_cpu(jh->h_datalen); in read_je() 251 datalen); in read_je() 266 u16 len, datalen, last_len = 0; in logfs_read_segment() local 281 datalen = be16_to_cpu(jh->h_datalen); in logfs_read_segment() 282 if ((datalen > sizeof(super->s_je_array)) || in logfs_read_segment() 283 (datalen % sizeof(__be64))) in logfs_read_segment() [all …]
|
D | logfs.h | 209 u16 datalen; member
|
/fs/cachefiles/ |
D | daemon.c | 217 size_t datalen, in cachefiles_daemon_write() argument 232 if (datalen < 0 || datalen > PAGE_SIZE - 1) in cachefiles_daemon_write() 236 data = memdup_user_nul(_data, datalen); in cachefiles_daemon_write() 241 if (memchr(data, '\0', datalen)) in cachefiles_daemon_write() 245 cp = memchr(data, '\n', datalen); in cachefiles_daemon_write() 286 ret = datalen; in cachefiles_daemon_write()
|
/fs/nfs/ |
D | fscache-index.c | 232 uint16_t datalen) in nfs_fscache_inode_check_aux() argument 237 if (datalen != sizeof(auxdata)) in nfs_fscache_inode_check_aux() 248 if (memcmp(data, &auxdata, datalen) != 0) in nfs_fscache_inode_check_aux()
|
D | nfs4idmap.c | 325 ret = payload->datalen; in nfs_idmap_get_key() 606 static int nfs_idmap_instantiate(struct key *key, struct key *authkey, char *data, size_t datalen) in nfs_idmap_instantiate() argument 608 return key_instantiate_and_link(key, data, datalen, in nfs_idmap_instantiate()
|
/fs/ocfs2/cluster/ |
D | tcp.c | 1355 size_t datalen; in o2net_advance_rx() local 1363 datalen = sizeof(struct o2net_handshake) - sc->sc_page_off; in o2net_advance_rx() 1364 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx() 1380 datalen = sizeof(struct o2net_msg) - sc->sc_page_off; in o2net_advance_rx() 1381 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx() 1412 datalen = (sizeof(struct o2net_msg) + be16_to_cpu(hdr->data_len)) - in o2net_advance_rx() 1414 ret = o2net_recv_tcp_msg(sc->sc_sock, data, datalen); in o2net_advance_rx()
|
/fs/nfsd/ |
D | xdr4.h | 111 u32 datalen; member 125 #define cr_datalen u.link.datalen
|
/fs/crypto/ |
D | keyinfo.c | 103 if (ukp->datalen != sizeof(struct fscrypt_key)) { in validate_user_key()
|