Searched refs:rbuf_len (Results 1 – 3 of 3) sorted by relevance
/linux/security/integrity/ima/ |
H A D | ima_crypto.c | 330 int rc, rbuf_len, active = 0, ahash_rc = 0; in ima_calc_file_hash_atfm() local 377 for (offset = 0; offset < i_size; offset += rbuf_len) { in ima_calc_file_hash_atfm() 388 rbuf_len = min_t(loff_t, i_size - offset, rbuf_size[active]); in ima_calc_file_hash_atfm() 390 rbuf_len); in ima_calc_file_hash_atfm() 391 if (rc != rbuf_len) { in ima_calc_file_hash_atfm() 412 sg_init_one(&sg[0], rbuf[active], rbuf_len); in ima_calc_file_hash_atfm() 413 ahash_request_set_crypt(req, sg, NULL, rbuf_len); in ima_calc_file_hash_atfm() 478 int rbuf_len; in ima_calc_file_hash_tfm() local 480 rbuf_len = integrity_kernel_read(file, offset, rbuf, PAGE_SIZE); in ima_calc_file_hash_tfm() 481 if (rbuf_len < 0) { in ima_calc_file_hash_tfm() [all …]
|
/linux/drivers/net/ethernet/marvell/octeontx2/nic/ |
H A D | otx2_ethtool.c | 378 kernel_ring->rx_buf_len = pfvf->hw.rbuf_len; in otx2_get_ringparam() 389 u32 old_rx_buf_len = pfvf->hw.rbuf_len; in otx2_set_ringparam() 441 pfvf->hw.rbuf_len = rx_buf_len; in otx2_set_ringparam()
|
H A D | rep.c | 595 priv->rbsize = ALIGN(priv->hw.rbuf_len, OTX2_ALIGN) + OTX2_HEAD_ROOM; in rvu_rep_rsrc_init() 795 hw->rbuf_len = OTX2_DEFAULT_RBUF_LEN; in rvu_rep_probe()
|