Home
last modified time | relevance | path

Searched refs:SOPEN_MAX (Results 1 – 19 of 19) sorted by relevance

/netbsd/src/sys/lib/libsa/
Dnetif.c49 struct iodesc sockets[SOPEN_MAX];
269 if (sock >= SOPEN_MAX) { in socktodesc()
285 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++) in netif_open()
314 if (sock >= SOPEN_MAX) { in netif_close()
Dfiles.c12 struct open_file files[SOPEN_MAX];
Dcloseall.c70 for (i = 0; i < SOPEN_MAX; i++) in closeall()
Dcread.c78 } *ss[SOPEN_MAX];
302 if ((unsigned int)fd >= SOPEN_MAX) { in close()
432 if ((unsigned int)fd >= SOPEN_MAX) { in lseek()
Dfstat.c42 if ((unsigned int)fd >= SOPEN_MAX || f->f_flags == 0) { in fstat()
Dioctl.c73 if ((unsigned int)fd >= SOPEN_MAX || f->f_flags == 0) { in ioctl()
Dlseek.c75 if ((unsigned int)fd >= SOPEN_MAX || f->f_flags == 0) { in lseek()
Dclose.c76 if ((unsigned int)fd >= SOPEN_MAX || f->f_flags == 0) { in close()
Dwrite.c74 if ((unsigned int)fd >= SOPEN_MAX || !(f->f_flags & F_WRITE)) { in write()
Dread.c77 if ((unsigned int)fd >= SOPEN_MAX || !(f->f_flags & F_READ)) { in read()
Dopen.c88 for (fd = 0, f = files; fd < SOPEN_MAX; fd++, f++) in open()
Dls.c142 if ((unsigned int)fd >= SOPEN_MAX || f->f_flags == 0) { in ls()
Dstand.h227 #define SOPEN_MAX 4 macro
/netbsd/src/sys/arch/sun68k/stand/libsa/
Dnetif_sun.c64 struct iodesc sockets[SOPEN_MAX];
221 for (fd = 0, s = sockets; fd < SOPEN_MAX; fd++, s++) in netif_open()
244 if (fd < 0 || fd >= SOPEN_MAX) { in netif_close()
262 if (fd < 0 || fd >= SOPEN_MAX) { in socktodesc()
/netbsd/src/sys/arch/x68k/stand/xxboot/
Dconf.c32 struct open_file files[SOPEN_MAX];
/netbsd/src/sys/arch/ia64/stand/common/
Dreaddir.c49 if ((unsigned)fd >= SOPEN_MAX) { in readdirfd()
/netbsd/src/sys/arch/atari/stand/tostools/libtos/
Dcread.c55 #define SOPEN_MAX 1 macro
84 } *ss[SOPEN_MAX];
/netbsd/src/sys/arch/sparc/stand/common/
Dnetif_sun.c57 struct iodesc sockets[SOPEN_MAX];
/netbsd/src/sys/arch/sparc/stand/ofwboot/
Dnetif_of.c61 struct iodesc sockets[SOPEN_MAX];