Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
200 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_dump()
218 return nsim_dev_dummy_fmsg_put(fmsg, health->binary_len); in nsim_dev_dummy_reporter_diagnose()
297 health->binary_len = 16; in nsim_dev_health_init()
299 &health->binary_len); in nsim_dev_health_init()
Dnetdevsim.h168 u32 binary_len; member
/kernel/linux/linux-5.10/tools/testing/selftests/drivers/net/netdevsim/
Ddevlink.sh498 echo 8192 > $DEBUGFS_DIR/health/binary_len