/src/bin/setfacl/ |
file.c | 1 /* $NetBSD: file.c,v 1.1 2020/05/16 18:31:45 christos Exp $ */ 31 __FBSDID("$FreeBSD: head/bin/setfacl/file.c 333065 2018-04-27 15:25:24Z emaste $"); 33 __RCSID("$NetBSD: file.c,v 1.1 2020/05/16 18:31:45 christos Exp $"); 46 * read acl text from a file and return the corresponding acl 51 FILE *file; local in function:get_acl_from_file 61 file = stdin; 64 file = fopen(filename, "r"); 65 if (file == NULL) 69 len = fread(buf, (size_t)1, sizeof(buf) - 1, file); [all...] |
/src/distrib/notes/common/ |
extract-contrib-string.pl | 114 file: label 281 print ".\\\" File $fn:\n";
|
/src/sys/external/bsd/drm2/dist/drm/i915/selftests/ |
igt_mmap.c | 23 struct file *file; local in function:igt_mmap_node 27 file = mock_drm_getfile(i915->drm.primary, O_RDWR); 28 if (IS_ERR(file)) 29 return PTR_ERR(file); 31 err = drm_vma_node_allow(node, file->private_data); 37 addr = vm_mmap(file, addr, drm_vma_node_size(node) << PAGE_SHIFT, 40 drm_vma_node_revoke(node, file->private_data); 42 fput(file);
|
/src/usr.bin/make/unit-tests/ |
opt-file.mk | 1 # $NetBSD: opt-file.mk,v 1.16 2024/04/01 12:26:02 rillig Exp $ 9 all: file-ending-in-backslash 10 all: file-ending-in-backslash-mmap 12 all: file-containing-null-byte 17 # In the unlikely case where a file ends in a backslash instead of a newline, 21 # outside of the file buffer. 40 file-ending-in-backslash: .PHONY 48 file-ending-in-backslash-mmap: .PHONY 49 @printf '%s' 'VAR=value\' > opt-file-backslash 50 @${MAKE} -r -f opt-file-backslash -V VA [all...] |
depsrc-nopath.mk | 8 _!= touch depsrc-nopath.dir/regular.file 9 _!= touch depsrc-nopath.dir/nopath.file 19 test-regular: regular.file 21 test-nopath: nopath.file 24 nopath.file: .NOPATH 26 # expect: : Making test-regular from depsrc-nopath.dir/regular.file 27 # expect: : Making test-nopath from nopath.file
|
opt-query.mk | 24 _!= touch -f opt-query-file.up-to-date 37 . for target in opt-query-file.out-of-date opt-query-file.up-to-date phony 49 # expect: opt-query-file.out-of-date in compat mode: query status 1 50 # expect: opt-query-file.up-to-date in compat mode: query status 0 52 # expect: opt-query-file.out-of-date in jobs mode: query status 1 53 # expect: opt-query-file.up-to-date in jobs mode: query status 0 57 @rm -f opt-query-file.up-to-date 79 opt-query-file.out-of-date: ${MAKEFILE} 80 opt-query-file.up-to-date: ${MAKEFILE [all...] |
/src/libexec/httpd/ |
tilde-luzah-bozo.c | 51 * - returns the rest of the file, index.html appended if required 52 * - returned malloced file to serve in request->hr_file, 62 char *s, *file = NULL, *user; local in function:bozo_user_transform 115 file = bozostrdup(httpd, request, "/"); 117 file = bozomalloc(httpd, strlen(s) + 2); 118 strcpy(file, "/"); 119 strcat(file, s); 123 request->hr_file = file; 125 debug((httpd, DEBUG_FAT, "transform_user returning %s under %s", file,
|
/src/sys/arch/mvme68k/stand/bootsd/ |
boot.c | 51 char *file; local in function:main 57 parse_args(&file, &flag, &part); 59 exec_mvme(file, flag, part); 61 printf("boot: %s: %s\n", file, strerror(errno));
|
/src/usr.bin/mkesdb/ |
yacc.y | 84 file : property label 137 FILE *fp; 198 * dump database to file 268 do_mkdb(FILE *in) 271 FILE *out; 273 /* dump DB to file */ 304 FILE *in = NULL;
|
/src/sys/arch/x86/conf/ |
files.x86 | 34 file arch/x86/x86/bios32.c bios32 needs-flag label 41 file arch/x86/x86/cpu.c cpu & !xenpv label 42 file arch/x86/x86/cpu_rng.c cpu | vcpu label 46 file dev/acpi/acpi_cpu.c acpicpu label 47 file dev/acpi/acpi_cpu_cstate.c acpicpu label 48 file dev/acpi/acpi_cpu_pstate.c acpicpu label 49 file dev/acpi/acpi_cpu_tstate.c acpicpu label 50 file arch/x86/acpi/acpi_cpu_md.c acpicpu label 54 file arch/x86/x86/coretemp.c coretemp label 58 file arch/x86/x86/est.c es label 59 file arch\/x86\/x86\/intel_busclock.c est label 63 file arch\/x86\/x86\/odcm.c odcm label 67 file arch\/x86\/x86\/via_padlock.c padlock label 71 file arch\/x86\/x86\/powernow.c powernow label 75 file arch\/x86\/x86\/viac7temp.c viac7temp label 78 file arch\/x86\/x86\/vmt.c vmt label 82 file arch\/x86\/x86\/hyperv.c hyperv needs-flag label 84 file arch\/x86\/x86\/apic.c ioapic | lapic label 85 file arch\/x86\/x86\/bus_dma.c machdep label 86 file arch\/x86\/x86\/bus_space.c machdep label 87 file arch\/x86\/x86\/consinit.c machdep & !xenpv label 88 file arch\/x86\/x86\/core_machdep.c coredump label 89 file arch\/x86\/x86\/cpu_topology.c machdep label 90 file arch\/x86\/x86\/db_memrw.c ddb | kgdb label 91 file arch\/x86\/x86\/db_trace.c ddb label 92 file arch\/x86\/x86\/efi_machdep.c machdep label 93 file arch\/x86\/x86\/errata.c machdep label 94 file arch\/x86\/x86\/genfb_machdep.c machdep label 95 file arch\/x86\/x86\/identcpu.c machdep label 96 file arch\/x86\/x86\/identcpu_subr.c machdep label 97 file arch\/x86\/x86\/i8259.c machdep & (!xenpv | dom0ops) label 98 file arch\/x86\/x86\/intr.c machdep & !xenpv label 99 file arch\/x86\/x86\/x86_softintr.c machdep label 100 file arch\/x86\/x86\/kgdb_machdep.c kgdb label 101 file arch\/x86\/x86\/nmi.c machdep label 102 file arch\/x86\/x86\/idt.c machdep label 103 file arch\/x86\/x86\/ipi.c machdep & !xenpv label 104 file arch\/x86\/x86\/mtrr_i686.c mtrr & !xenpv label 105 file arch\/x86\/x86\/patch.c machdep & !xenpv label 106 file dev\/smbios_platform.c machdep label 107 file arch\/x86\/x86\/pmap.c machdep label 108 file arch\/x86\/x86\/x86_tlb.c machdep label 109 file arch\/x86\/x86\/procfs_machdep.c procfs label 110 file arch\/x86\/x86\/svs.c machdep & svs label 111 file arch\/x86\/x86\/sys_machdep.c machdep label 112 file arch\/x86\/x86\/syscall.c machdep label 113 file arch\/x86\/x86\/tsc.c machdep label 114 file arch\/x86\/x86\/vm_machdep.c machdep label 115 file arch\/x86\/x86\/x86_autoconf.c machdep & !xenpv label 116 file arch\/x86\/x86\/x86_userconf.c userconf label 117 file arch\/x86\/x86\/x86_machdep.c machdep label 119 file uvm\/pmap\/pmap_pvt.c machdep label 121 file arch\/x86\/x86\/cpu_ucode.c cpu_ucode needs-flag label 122 file arch\/x86\/x86\/cpu_ucode_amd.c cpu_ucode needs-flag label 123 file arch\/x86\/x86\/cpu_ucode_intel.c cpu_ucode needs-flag label 124 file arch\/x86\/x86\/compat_60_cpu_ucode.c compat_60 & cpu_ucode label 127 file arch\/x86\/x86\/lapic.c lapic needs-flag label 131 file arch\/x86\/x86\/ioapic.c ioapic needs-flag label 134 file arch\/x86\/x86\/mpbios.c mpbios label 137 file arch\/x86\/x86\/mp.c acpi | mpbios label 140 file arch\/x86\/x86\/mpacpi.c acpi label 142 file arch\/x86\/acpi\/acpi_pdc.c acpi label 143 file arch\/x86\/acpi\/acpi_wakeup.c acpi & !xenpv label 144 file arch\/x86\/acpi\/acpi_machdep.c acpi label 146 file arch\/x86\/isa\/isa_machdep.c isa label 149 file arch\/x86\/isa\/clock.c !xenpv label 150 file arch\/x86\/isa\/rtc.c isa label 153 file arch\/x86\/x86\/x86_stub.c label 156 file arch\/x86\/x86\/x86_ipmi.c ipmi needs-flag label 158 file arch\/x86\/x86\/vga_post.c vga_post label 160 file arch\/x86\/pci\/pci_machdep.c pci label 162 file arch\/x86\/pci\/pci_intr_machdep.c pci label 163 file arch\/x86\/pci\/pci_msi_machdep.c pci & ! no_pci_msi_msix label 164 file arch\/x86\/pci\/msipic.c pci & ! no_pci_msi_msix label 166 file arch\/x86\/pci\/pciide_machdep.c pciide_common label 168 file arch\/x86\/pci\/pci_bus_fixup.c pci_bus_fixup label 169 file arch\/x86\/pci\/pci_addr_fixup.c pci_addr_fixup label [all...] |
/src/lib/libc/citrus/ |
citrus_lc_template.h | 38 struct _region file; local in function:_PREFIX 45 ret = _map_file(&file, path); 53 ret = _db_open(&db, &file, _CATEGORY_MAGIC, 59 _memstream_bind(&ms, &file); 67 _unmap_file(&file);
|
/src/sys/arch/hpcmips/stand/lcboot/ |
dev_flash.c | 59 char **file; local in function:flash_open 64 file = va_arg(ap, char **); 67 *file = NULL;
|
dev_net.c | 56 char **file; local in function:net_open 62 file = va_arg(ap, char **); 90 *file = bootfile;
|
/src/sys/arch/mvme68k/stand/bootst/ |
boot.c | 54 char *file; local in function:main 60 parse_args(&file, &flag, &part); 61 file = defname; /* override */ 67 file = line; 70 exec_mvme(file, flag | RB_NOSYM, part); 72 printf("tapeboot: %s: %s\n", file, strerror(errno));
|
/src/sys/arch/mvme68k/stand/netboot/ |
boot.c | 52 char *cp, *file; local in function:main 64 parse_args(&file, &howto, &part); 76 parse_args(&file, &howto, &part); 81 exec_mvme(file, howto, part); 82 printf("boot: %s: %s\n", file, strerror(errno));
|
/src/sys/arch/sandpoint/stand/altboot/ |
dev_net.c | 55 char *file, *proto; local in function:net_open 60 file = va_arg(ap, char *); 77 if (file[0] != '\0') 78 snprintf(bootfile, sizeof(bootfile), "%s", file);
|
/src/sys/arch/sun68k/stand/tapeboot/ |
boot.c | 60 char *cp, *file; local in function:main 92 file = defname; 96 file = cp; 103 file = line; 105 file = defname; 107 printf("tapeboot: loading segment %s\n", file); 110 if ((fd = loadfile(file, marks, 114 printf("tapeboot: segment %s: %s\n", file, strerror(errno));
|
/src/sys/dev/raidframe/ |
rf_shutdown.c | 61 void *arg, char *file, int line) 79 ent->file = file; 91 char *file; local in function:rf_ShutdownList 98 file = r->file; 102 printf("call shutdown, created %s:%d\n", file, line); 108 printf("completed shutdown, created %s:%d\n", file, line);
|
rf_shutdown.h | 57 char *file; member in struct:RF_ShutdownList_s
|
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_syncobj.h | 63 * @file: A file backing for this syncobj. 65 struct file *file; member in struct:drm_syncobj
|
/src/sys/external/bsd/drm2/include/linux/ |
file.h | 1 /* $NetBSD: file.h,v 1.7 2021/12/19 10:39:06 riastradh Exp $ */ 36 #include <sys/file.h> 40 struct file; 43 struct file *file; member in struct:fd 52 fd.file = fd_getfile(number); 66 static inline struct file * 73 fd_install(int fd, struct file *fp)
|
/src/sys/lib/libsa/ |
open.c | 66 * File primitives proper 85 char *file; local in function:open 87 /* find a free file descriptor */ 108 file = (char *)0; 109 error = devopen(f, fname, &file); 119 /* see if we opened a raw device; otherwise, 'file' is the file name. */ 120 if (file == (char *)0 || *file == '\0') { 126 /* pass file name to the different filesystem open routines * [all...] |
/src/usr.bin/dc/ |
dc.c | 36 (void)fprintf(stderr, "usage: %s [-x] [-e expression] [file]\n", 46 FILE *file; local in function:dc_main 91 file = fopen(argv[0], "r"); 92 if (file == NULL) 93 err(1, "cannot open file %s", argv[0]); 100 if (fstat(fileno(file), &st) == -1) 104 src_setstream(&src, file); 107 (void)fclose(file); 110 * the file given as the argument. We follow GNU dc(1) [all...] |
/src/usr.bin/rdist/ |
gram.y | 84 file: /* VOID */ label 85 | file command 200 extern FILE *fin; 214 case EOF: /* end of file */
|
/src/common/dist/zlib/contrib/iostream/ |
zfstream.h | 22 inline int is_open() const { return (file !=NULL); } 35 gzFile file; member in class:gzfilebuf
|