Searched refs:rbuf_len (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/security/integrity/ima/ |
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-6.12.1/drivers/net/ethernet/marvell/octeontx2/nic/ |
D | otx2_ethtool.c | 388 kernel_ring->rx_buf_len = pfvf->hw.rbuf_len; in otx2_get_ringparam() 399 u32 old_rx_buf_len = pfvf->hw.rbuf_len; in otx2_set_ringparam() 451 pfvf->hw.rbuf_len = rx_buf_len; in otx2_set_ringparam()
|
D | otx2_vf.c | 586 hw->rbuf_len = OTX2_DEFAULT_RBUF_LEN; in otx2vf_probe()
|
D | otx2_pf.c | 1458 if (pf->hw.rbuf_len) in otx2_get_rbuf_size() 1459 return ALIGN(pf->hw.rbuf_len, OTX2_ALIGN) + OTX2_HEAD_ROOM; in otx2_get_rbuf_size() 2929 hw->rbuf_len = OTX2_DEFAULT_RBUF_LEN; in otx2_probe()
|
D | otx2_common.h | 217 u16 rbuf_len; member
|