smb_pkey_ioctl
int smb_pkey_ioctl(int, intptr_t, int, cred_t *);
err = smb_pkey_ioctl(cmd, arg, flags, cr);