Home
last modified time | relevance | path

Searched refs:leading_zero_bytes (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/target/
Dtarget_core_fabric_lib.c106 unsigned len, count, leading_zero_bytes; in srp_get_pr_transport_id() local
117 leading_zero_bytes = 16 - count; in srp_get_pr_transport_id()
118 memset(buf + 8, 0, leading_zero_bytes); in srp_get_pr_transport_id()
119 rc = hex2bin(buf + 8 + leading_zero_bytes, p, count); in srp_get_pr_transport_id()
/linux-5.19.10/drivers/infiniband/ulp/srpt/
Dib_srpt.c3429 unsigned len, count, leading_zero_bytes; in srpt_parse_i_port_id() local
3440 leading_zero_bytes = 16 - count; in srpt_parse_i_port_id()
3441 memset(i_port_id, 0, leading_zero_bytes); in srpt_parse_i_port_id()
3442 ret = hex2bin(i_port_id + leading_zero_bytes, p, count); in srpt_parse_i_port_id()