Lines Matching refs:cmds
55 u_long *cmds; in freebsd32_cap_ioctls_limit() local
67 cmds = NULL; in freebsd32_cap_ioctls_limit()
70 error = copyin(uap->cmds, cmds32, sizeof(cmds32[0]) * ncmds); in freebsd32_cap_ioctls_limit()
75 cmds = malloc(sizeof(cmds[0]) * ncmds, M_FILECAPS, M_WAITOK); in freebsd32_cap_ioctls_limit()
77 cmds[i] = cmds32[i]; in freebsd32_cap_ioctls_limit()
81 return (kern_cap_ioctls_limit(td, uap->fd, cmds, ncmds)); in freebsd32_cap_ioctls_limit()
91 u_long *cmds; in freebsd32_cap_ioctls_get() local
97 cmds32 = uap->cmds; in freebsd32_cap_ioctls_get()
117 cmds = fdep->fde_ioctls; in freebsd32_cap_ioctls_get()
118 if (cmds32 != NULL && cmds != NULL) { in freebsd32_cap_ioctls_get()
120 if (suword32(&cmds32[i], cmds[i]) != 0) { in freebsd32_cap_ioctls_get()