Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/netdevsim/
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()
Dnetdevsim.h180 u32 binary_len; member
/linux-6.1.9/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh499 echo 8192 > $DEBUGFS_DIR/health/binary_len