Searched refs:rbuf_len (Results 1 – 5 of 5) sorted by relevance
/Linux-v6.1/security/integrity/ima/ |
D | ima_crypto.c | 335 int rc, rbuf_len, active = 0, ahash_rc = 0; in ima_calc_file_hash_atfm() local 382 for (offset = 0; offset < i_size; offset += rbuf_len) { in ima_calc_file_hash_atfm() 393 rbuf_len = min_t(loff_t, i_size - offset, rbuf_size[active]); in ima_calc_file_hash_atfm() 395 rbuf_len); in ima_calc_file_hash_atfm() 396 if (rc != rbuf_len) { in ima_calc_file_hash_atfm() 417 sg_init_one(&sg[0], rbuf[active], rbuf_len); in ima_calc_file_hash_atfm() 418 ahash_request_set_crypt(req, sg, NULL, rbuf_len); in ima_calc_file_hash_atfm() 483 int rbuf_len; in ima_calc_file_hash_tfm() local 485 rbuf_len = integrity_kernel_read(file, offset, rbuf, PAGE_SIZE); in ima_calc_file_hash_tfm() 486 if (rbuf_len < 0) { in ima_calc_file_hash_tfm() [all …]
|
/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 374 kernel_ring->rx_buf_len = pfvf->hw.rbuf_len; in otx2_get_ringparam() 385 u32 old_rx_buf_len = pfvf->hw.rbuf_len; in otx2_set_ringparam() 437 pfvf->hw.rbuf_len = rx_buf_len; in otx2_set_ringparam()
|
D | otx2_vf.c | 574 hw->rbuf_len = OTX2_DEFAULT_RBUF_LEN; in otx2vf_probe()
|
D | otx2_common.h | 196 u16 rbuf_len; member
|
D | otx2_pf.c | 1401 if (pf->hw.rbuf_len) in otx2_get_rbuf_size() 1402 return ALIGN(pf->hw.rbuf_len, OTX2_ALIGN) + OTX2_HEAD_ROOM; in otx2_get_rbuf_size() 2753 hw->rbuf_len = OTX2_DEFAULT_RBUF_LEN; in otx2_probe()
|