Home
last modified time | relevance | path

Searched refs:binary_len (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/drivers/net/netdevsim/
H A Dhealth.c63 static int nsim_dev_dummy_fmsg_put(struct devlink_fmsg *fmsg, u32 binary_len) in nsim_dev_dummy_fmsg_put() argument
85 binary = kmalloc(binary_len, GFP_KERNEL | __GFP_NOWARN); in nsim_dev_dummy_fmsg_put()
88 get_random_bytes(binary, binary_len); in nsim_dev_dummy_fmsg_put()
89 err = devlink_fmsg_binary_pair_put(fmsg, "test_binary", binary, binary_len); in nsim_dev_dummy_fmsg_put()
168 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_dump()
186 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_diagnose()
260 health->binary_len = 16; in nsim_dev_health_init()
262 &health->binary_len); in nsim_dev_health_init()
H A Dnetdevsim.h203 u32 binary_len; member
/openbmc/linux/tools/testing/selftests/drivers/net/netdevsim/
H A Ddevlink.sh517 echo 8192 > $DEBUGFS_DIR/health/binary_len