Searched refs:ncmds (Results 1 - 21 of 21) sorted by relevance

/freebsd-10-stable/sys/compat/freebsd32/
H A Dfreebsd32_capability.c69 size_t ncmds; local
73 ncmds = uap->ncmds;
75 if (ncmds > 256) /* XXX: Is 256 sane? */
78 if (ncmds == 0) {
81 cmds32 = malloc(sizeof(cmds32[0]) * ncmds, M_FILECAPS, M_WAITOK);
82 error = copyin(uap->cmds, cmds32, sizeof(cmds32[0]) * ncmds);
87 cmds = malloc(sizeof(cmds[0]) * ncmds, M_FILECAPS, M_WAITOK);
88 for (i = 0; i < ncmds; i++)
93 return (kern_cap_ioctls_limit(td, uap->fd, cmds, ncmds));
[all...]
H A Dfreebsd32_proto.h672 char ncmds_l_[PADL_(size_t)]; size_t ncmds; char ncmds_r_[PADR_(size_t)]; member in struct:freebsd32_cap_ioctls_limit_args
H A Dfreebsd32_systrace_args.c3206 uarg[2] = p->ncmds; /* size_t */
/freebsd-10-stable/sys/kern/
H A Dsys_capability.c336 ssize_t ncmds; local
343 ncmds = fdp->fd_ofiles[fd].fde_nioctls;
344 if (ncmds == -1)
348 for (i = 0; i < ncmds; i++) {
361 size_t ncmds)
371 if (oncmds < (ssize_t)ncmds)
375 for (i = 0; i < ncmds; i++) {
388 kern_cap_ioctls_limit(struct thread *td, int fd, u_long *cmds, size_t ncmds) argument
404 error = cap_ioctl_limit_check(fdp, fd, cmds, ncmds);
410 fdp->fd_ofiles[fd].fde_nioctls = ncmds;
360 cap_ioctl_limit_check(struct filedesc *fdp, int fd, const u_long *cmds, size_t ncmds) argument
424 size_t ncmds; local
[all...]
H A Dsystrace_args.c3295 uarg[2] = p->ncmds; /* size_t */
/freebsd-10-stable/usr.bin/checknr/
H A Dchecknr.c211 static int ncmds; /* size of knowncmds */ variable
223 while (knowncmds[ncmds])
224 ncmds++;
574 if (ncmds >= MAXCMDS) {
604 src = &knowncmds[ncmds-1];
610 ncmds++;
614 knowncmds[slot+1], knowncmds[slot+2], ncmds);
630 top = ncmds-1;
/freebsd-10-stable/contrib/netbsd-tests/lib/libcurses/slave/
H A Dcommands.c59 while (i < ncmds) {
H A Dcommand_table.h395 size_t ncmds = sizeof(commands) / sizeof(struct command_def); variable
/freebsd-10-stable/contrib/tcsh/
H A Dtc.os.c87 unsigned int npaths, ncmds; local
108 ncmds = i - npaths - 1;
126 cmds = xmalloc((ncmds + 1) * sizeof *cmds);
127 setzero(cmds, (ncmds + 1) * sizeof *cmds);
142 for (i = 0; i < ncmds; i++) {
160 for (i = 0; i < ncmds; i++)
/freebsd-10-stable/contrib/llvm/tools/macho-dump/
H A Dmacho-dump.cpp364 outs() << "('num_load_commands', " << Header.ncmds << ")\n";
408 if (i == Header->ncmds - 1)
/freebsd-10-stable/sys/sys/
H A Dcapsicum.h402 int cap_ioctls_limit(int fd, const unsigned long *cmds, size_t ncmds);
H A Dsyscallsubr.h77 size_t ncmds);
H A Dsysproto.h1769 char ncmds_l_[PADL_(size_t)]; size_t ncmds; char ncmds_r_[PADR_(size_t)]; member in struct:cap_ioctls_limit_args
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dvdev_geom.c354 * cmds, datas, offsets, errors, and sizes are arrays of length ncmds. Each IO
360 off_t *sizes, int *errors, int ncmds)
372 for (i = 0; i < ncmds; i++)
380 for (i = j = 0; i < ncmds; i++) {
401 for (i = j = 0; i < ncmds; i++) {
359 vdev_geom_io(struct g_consumer *cp, int *cmds, void **datas, off_t *offsets, off_t *sizes, int *errors, int ncmds) argument
/freebsd-10-stable/sys/teken/
H A Dteken_subr.h1121 teken_subr_set_graphic_rendition(teken_t *t, unsigned int ncmds, argument
1127 if (ncmds == 0) {
1132 for (i = 0; i < ncmds; i++) {
1174 if (i + 2 >= ncmds || cmds[i + 1] != 5)
1193 if (i + 2 >= ncmds || cmds[i + 1] != 5)
/freebsd-10-stable/contrib/llvm/include/llvm/Support/
H A DMachO.h437 uint32_t ncmds; member in struct:llvm::MachO::mach_header
447 uint32_t ncmds; member in struct:llvm::MachO::mach_header_64
/freebsd-10-stable/sys/dev/digi/
H A Ddigi.c74 static void fepcmd(struct digi_p *port, int cmd, int op, int ncmds);
84 #define fepcmd_b(port, cmd, op1, op2, ncmds) \
85 fepcmd(port, cmd, (op2 << 8) | op1, ncmds)
1404 fepcmd(struct digi_p *port, int cmd, int op1, int ncmds) argument
1427 if (n <= ncmds * sizeof(short) * 4)
/freebsd-10-stable/contrib/sendmail/libmilter/
H A Dengine.c245 int ncmds = sizeof(cmds) / sizeof(cmdfct); local
328 for (i = 0; i < ncmds; i++)
333 if (i >= ncmds)
/freebsd-10-stable/contrib/llvm/tools/llvm-objdump/
H A DMachODump.cpp192 if (i == Header.ncmds - 1)
/freebsd-10-stable/contrib/llvm/lib/Object/
H A DMachOObjectFile.cpp117 SwapValue(H.ncmds);
128 SwapValue(H.ncmds);
427 uint32_t LoadCommandCount = this->getHeader().ncmds;
/freebsd-10-stable/contrib/llvm/lib/MC/
H A DMCObjectDisassembler.cpp542 uint32_t LoadCommandCount = MOOF.getHeader().ncmds;

Completed in 519 milliseconds