handle_alloc
if ((hdp = handle_alloc(root_dir, OPEN_RDWR)) == NULL) {
if ((hdp = handle_alloc(root_dir, OPEN_RDONLY)) == NULL) {
static struct di_devlink_handle *handle_alloc(const char *dev_dir,
(void) handle_alloc(vp, (struct ldi_ident *)li);
nlhp = handle_alloc(vp, li);