| /netbsd-src/external/bsd/am-utils/dist/conf/checkmount/ |
| H A D | checkmount_default.c | 57 FILE *mtab; local 62 if (!(mtab = setmntent(_PATH_MTAB, "r"))) { 74 if (flock(fileno(mtab), LOCK_SH) < 0) { 76 if (lockf(fileno(mtab), F_LOCK, 0) < 0) { 82 while (!found && (ment = getmntent(mtab))) { 94 (void) endmntent(mtab);
|
| H A D | checkmount_svr4.c | 53 FILE *mtab; in fixmount_check_mount() local 59 if (!(mtab = fopen(MNTTAB, "r"))) { in fixmount_check_mount() 64 while (!found && (err = getmntent(mtab, &ment)) == 0) { in fixmount_check_mount() 84 (void) fclose(mtab); in fixmount_check_mount()
|
| /netbsd-src/lib/libc/net/ |
| H A D | nsdispatch.c | 281 (*mod->unregister)(mod->mtab, mod->mtabsize); in _nsmodfree() 342 mod.mtab = (*reg_fn)(mod.name, &mod.mtabsize, &mod.unregister); in _nsloadmod() 343 if (mod.mtab == NULL || mod.mtabsize == 0) { in _nsloadmod() 353 qsort(mod.mtab, mod.mtabsize, sizeof(mod.mtab[0]), in _nsloadmod() 559 ns_mtab *mtab, mtabkey; in _nsmethod() local 576 mtab = bsearch(&mtabkey, mod->mtab, mod->mtabsize, in _nsmethod() 577 sizeof(mod->mtab[0]), _nsmtabcmp); in _nsmethod() 578 if (mtab != NULL) { in _nsmethod() 579 *cb_data = mtab->mdata; in _nsmethod() 580 return (mtab->method); in _nsmethod()
|
| /netbsd-src/external/lgpl3/gmp/dist/mpn/x86_64/coreibwl/ |
| H A D | mul_basecase.asm | 151 lea L(mtab)(%rip), %r10 352 L(mtab):JMPENT( L(mf0), L(mtab)) 353 JMPENT( L(mf1), L(mtab)) 354 JMPENT( L(mf2), L(mtab)) 355 JMPENT( L(mf3), L(mtab)) 356 JMPENT( L(mf4), L(mtab)) 357 JMPENT( L(mf5), L(mtab)) 358 JMPENT( L(mf6), L(mtab)) 359 JMPENT( L(mf7), L(mtab))
|
| H A D | mullo_basecase.asm | 388 L(mtab):JMPENT( L(mf7), L(mtab)) 389 JMPENT( L(mf0), L(mtab)) 390 JMPENT( L(mf1), L(mtab)) 391 JMPENT( L(mf2), L(mtab)) 392 JMPENT( L(mf3), L(mtab)) 393 JMPENT( L(mf4), L(mtab)) 394 JMPENT( L(mf5), L(mtab)) 395 JMPENT( L(mf6), L(mtab))
|
| /netbsd-src/external/bsd/am-utils/dist/ |
| H A D | Makefile.am | 201 conf/mtab/mtab_aix.c \ 202 conf/mtab/mtab_bsd.c \ 203 conf/mtab/mtab_file.c \ 204 conf/mtab/mtab_isc3.c \ 205 conf/mtab/mtab_linux.c \ 206 conf/mtab/mtab_mach3.c \ 207 conf/mtab/mtab_osf.c \ 208 conf/mtab/mtab_svr4.c \ 209 conf/mtab/mtab_ultrix.c \
|
| H A D | AUTHORS | 411 mtab file when using debug_options=mtab. Default has changed from "./mtab" 412 to "/tmp/mtab" to avoid security problem. Bug fixed to ensure that Amd 413 terminates properly even mtab file doesn't exist.
|
| H A D | ChangeLog | 624 * libamu/mtab.c (hasmntval): fix inverted meaning of error from 638 * libamu/mtab.c (hasmntvalerr): new function to set the value of 817 * libamu/mtab.c (hasmntstr): new function to return the string 1183 conf/mtab/mtab_mach3.c (open_locked_mtab), conf/mtab/mtab_file.c 1459 are "daemon," "fork," "amq," and "mtab." If Amd not compiled with 1474 /tmp/mtab. 1485 * amd/amd.h (DEBUG_MNTTAB_FILE): change default to /tmp/mtab, 1825 * conf/mtab/mtab_linux.c: removed unused code. Cleanup. 1835 upon a successful mtab unlocking. Anyway, that handler was 1839 * conf/mtab/mtab_{file,isc3,mach3,linux}.c (unlock_mntlist): dlog [all …]
|
| H A D | NEWS | 160 immutable flags are currently "daemon," "fork," "amq," and "mtab." 231 * safer mtab handling for Linux (locks + handles /proc/mounts) 408 - new amd.conf option "debug_mtab_file". Allows user to define the mtab 409 file during debug-mtab mode. The default path is "/tmp/mtab". 473 * don't hang on exit if debug_options=mtab was used 1169 - conf/mtab/mtab_file.c: use flock() to lock the file, and fcntl() if
|
| /netbsd-src/external/bsd/am-utils/dist/m4/macros/ |
| H A D | check_mnttab_file_name.m4 | 41 # check explicitly for /etc/mtab 44 if test -f /etc/mtab 46 ac_cv_mnttab_file_name="/etc/mtab"
|
| H A D | check_mnttab_style.m4 | 30 am_utils_link_files=${am_utils_link_files}libamu/mtabutil.c:conf/mtab/mtab_${ac_cv_style_mnttab}.c"… 32 # append mtab utilities object to LIBOBJS for automatic compilation
|
| /netbsd-src/sys/miscfs/procfs/ |
| H A D | procfs_linux.c | 606 procfs_format_sfs(char **mtab, size_t *mlen, char *buf, size_t blen, in procfs_format_sfs() 627 *mtab = realloc(*mtab, *mlen + blen, M_TEMP, M_WAITOK); 628 memcpy(*mtab + *mlen, buf, blen); 637 char *bf, *mtab = NULL; in procfs_domounts() 651 root |= procfs_format_sfs(&mtab, &mtabsz, bf, LBFSZ, in procfs_domounts() 662 (void)procfs_format_sfs(&mtab, &mtabsz, bf, LBFSZ, in procfs_domounts() 668 error = uiomove_frombuf(mtab, mtabsz, uio); in procfs_domounts() 669 free(mtab, M_TEMP); 601 procfs_format_sfs(char ** mtab,size_t * mlen,char * buf,size_t blen,const struct statvfs * sfs,struct lwp * curl,int suser) procfs_format_sfs() argument 632 char *bf, *mtab = NULL; procfs_domounts() local
|
| /netbsd-src/external/bsd/am-utils/dist/scripts/ |
| H A D | amd.conf-sample | 68 full,hrtime,info,mem,mtab,str,readdir,trace,xdrtrace 69 # path for mtab file during mtab debug mode
|
| /netbsd-src/sys/external/bsd/ipf/netinet/ |
| H A D | fil.c | 9829 ipf_inet_mask_add(int bits, ipf_v4_masktab_t *mtab) in ipf_inet_mask_add() argument 9834 mtab->imt4_masks[bits]++; in ipf_inet_mask_add() 9835 if (mtab->imt4_masks[bits] > 1) in ipf_inet_mask_add() 9844 if (ntohl(mtab->imt4_active[i]) < mask) { in ipf_inet_mask_add() 9846 mtab->imt4_active[j] = mtab->imt4_active[j - 1]; in ipf_inet_mask_add() 9847 mtab->imt4_active[i] = htonl(mask); in ipf_inet_mask_add() 9851 mtab->imt4_max++; in ipf_inet_mask_add() 9865 ipf_inet_mask_del(int bits, ipf_v4_masktab_t *mtab) in ipf_inet_mask_del() argument 9870 mtab->imt4_masks[bits]--; in ipf_inet_mask_del() 9871 if (mtab->imt4_masks[bits] > 0) in ipf_inet_mask_del() [all …]
|
| /netbsd-src/usr.sbin/pstat/ |
| H A D | pstat.c | 637 static struct mtab { in getmnt() struct 638 struct mtab *next; in getmnt() argument 642 struct mtab *mt; in getmnt() 649 if ((mt = malloc(sizeof(struct mtab))) == NULL) in getmnt()
|
| /netbsd-src/external/bsd/am-utils/dist/libamu/ |
| H A D | Makefile.am | 17 mtab.c \
|
| /netbsd-src/usr.bin/fstat/ |
| H A D | fstat.c | 910 static struct mtab { in getmnton() struct 911 struct mtab *next; in getmnton() argument 915 struct mtab *mt; in getmnton() 924 if ((mt = malloc(sizeof (struct mtab))) == NULL) { in getmnton() 925 err(1, "malloc(%u)", (unsigned int)sizeof(struct mtab)); in getmnton()
|
| /netbsd-src/include/ |
| H A D | nsswitch.h | 205 ns_mtab *mtab; /* method table */ member
|
| /netbsd-src/external/apache2/mDNSResponder/nss/ |
| H A D | nss_mdnsd.c | 208 static ns_mtab mtab[] = { variable 220 *nelems = sizeof(mtab) / sizeof(mtab[0]); in nss_module_register() 229 return mtab; in nss_module_register()
|
| /netbsd-src/usr.bin/newsyslog/ |
| H A D | newsyslog.c | 957 static int mtab[] = { 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31 }; in parse_dwm() local 968 nd = mtab[tm.tm_mon]; in parse_dwm()
|
| /netbsd-src/usr.bin/crunch/examples/ |
| H A D | really-big.conf | 77 ….o info_union.o map.o srvr_afs.o srvr_nfs.o mntfs.o misc_rpc.o mount_fs.o mtab.o mtab_bsd.o nfs_op…
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | gp-display-text.cc | 2482 Vector<bool> *mtab = NULL; in mo_list() local 2485 mtab = dbev->get_MemTabState (); in mo_list() 2512 if (mtab) in mo_list() 2513 fprintf (outf, NTXT (" %c %s\n"), mtab->fetch (i) ? 'T' : 'F', in mo_list()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | gp-display-text.cc | 2487 Vector<bool> *mtab = NULL; in mo_list() local 2490 mtab = dbev->get_MemTabState (); in mo_list() 2517 if (mtab) in mo_list() 2518 fprintf (outf, NTXT (" %c %s\n"), mtab->fetch (i) ? 'T' : 'F', in mo_list()
|
| /netbsd-src/share/man/tools/ |
| H A D | newsp.errs | 3528 mtab.h
|
| /netbsd-src/external/bsd/am-utils/dist/doc/ |
| H A D | am-utils.texi | 3034 all options (excluding hrtime and mtab) 3036 ``sensible'' default options (all--excluding hrtime, mtab, and xdrtrace) 3038 full debug options plus mtab,nodaemon,nofork,noamq 3057 @item mtab 3058 use local mount-table file (defaults to @file{/tmp/mtab}, @pxref{debug_mtab_file Parameter}) 4598 (type=string, default="/tmp/mtab"). Path to mtab file that is used 4599 by @i{Amd} to store a list of mounted file systems during debug-mtab mode. 4600 This option only applies to systems that store mtab information on disk.
|