Home
last modified time | relevance | path

Searched refs:f_name (Results 1 – 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/uts/common/io/
H A Dstr_conf.c137 bucket = FMODSW_HASH(fp->f_name); in i_fmodsw_hash_insert()
140 FMODSW_KEYCMP(p->f_name, fp->f_name, found); in i_fmodsw_hash_insert()
162 FMODSW_KEYCMP(p->f_name, name, found); in i_fmodsw_hash_remove()
186 FMODSW_KEYCMP(p->f_name, name, found); in i_fmodsw_hash_find()
219 (void) strncpy(fp->f_name, name, len); in fmodsw_register()
220 fp->f_name[len] = '\0'; in fmodsw_register()
/illumos-gate/usr/src/boot/i386/libi386/
H A Dmultiboot.c188 fp->f_name = strdup(filename); in multiboot_loadfile()
208 setenv("kernelname", fp->f_name, 1); in multiboot_loadfile()
280 if (strstr(fp->f_name, "unix") == NULL) in multiboot_exec()
321 len = strlen(mfp->f_name) + 1; in multiboot_exec()
334 mfp->f_name, mfp->f_type, mfp->f_args); in multiboot_exec()
337 mfp->f_name, mfp->f_type); in multiboot_exec()
404 len = strlen(fp->f_name) + 1; in multiboot_exec()
413 snprintf(cmdline, len, "%s %s", fp->f_name, fp->f_args); in multiboot_exec()
415 cmdline = strdup(fp->f_name); in multiboot_exec()
500 rfp->f_name, error); in multiboot_obj_loadfile()
H A Dlinux.c228 fp->f_name = strdup(filename); in linux_loadkernel()
269 setenv("kernelname", fp->f_name, 1); in linux_loadkernel()
295 i386_getdev((void **)(&rootdev), fp->f_name, NULL); in linux_exec()
H A Dbootinfo64.c113 MOD_NAME(addr, fp->f_name, c); /* this field must come first */ in bi_copymodules64()
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_xattr.c229 SMBVDEBUG("ctx.f_name: %s\n", ctx.f_name); in smbfs_xa_exists()
361 ctx->f_name = kmem_alloc(ctx->f_namesz, KM_SLEEP); in smbfs_xa_findopen()
404 SMBVDEBUG("name: %s\n", ctx->f_name); in smbfs_xa_findnext()
411 char *p = ctx->f_name + ctx->f_nmlen - 6; in smbfs_xa_findnext()
435 if (u8_strcmp(ctx->f_wildcard, ctx->f_name, in smbfs_xa_findnext()
453 if (ctx->f_name) in smbfs_xa_findclose()
454 kmem_free(ctx->f_name, ctx->f_namesz); in smbfs_xa_findclose()
H A Dsmbfs_subr.c171 src = (const ushort_t *)ctx->f_name; in smbfs_fname_tolocal()
180 bcopy(tmpbuf, ctx->f_name, outlen + 1); in smbfs_fname_tolocal()
190 (void) strlcpy(ctx->f_name, "?", ctx->f_namesz); in smbfs_fname_tolocal()
315 ctx->f_name, &nmlen, nmsize); in smbfs_decode_dirent()
H A Dsmbfs_smb.c652 if ((ctx->f_nmlen == 1 && ctx->f_name[0] == '.') || in smbfs_smb_findnext()
653 (ctx->f_nmlen == 2 && ctx->f_name[0] == '.' && in smbfs_smb_findnext()
654 ctx->f_name[1] == '.')) in smbfs_smb_findnext()
663 ctx->f_name, ctx->f_nmlen); in smbfs_smb_findnext()
666 SMBVDEBUG("findnext: (%s)\n", ctx->f_name); in smbfs_smb_findnext()
754 ctx->f_name, ctx->f_nmlen); in smbfs_smb_lookup()
H A Dsmbfs_smb2.c721 ctx->f_name = kmem_alloc(ctx->f_namesz, KM_SLEEP); in smbfs_smb2_findopen()
744 if (ctx->f_name) in smbfs_smb2_findclose()
745 kmem_free(ctx->f_name, ctx->f_namesz); in smbfs_smb2_findclose()
H A Dsmbfs_smb1.c696 ctx->f_name = kmem_alloc(ctx->f_namesz, KM_SLEEP); in smbfs_smb_findopenLM2()
708 if (ctx->f_name) in smbfs_smb_findcloseLM2()
709 kmem_free(ctx->f_name, ctx->f_namesz); in smbfs_smb_findcloseLM2()
/illumos-gate/usr/src/cmd/sgs/ar/common/
H A Dcmd.c674 char *f_name; in create_extract() local
677 f_name = a->ar_rawname; in create_extract()
679 f_name = a->ar_longname; in create_extract()
686 len = strlen(f_name); in create_extract()
695 (void) strncpy(dup, f_name, f_len); in create_extract()
697 f_name = dup; in create_extract()
714 if (access(f_name, F_OK) != -1) { in create_extract()
722 f_name); in create_extract()
734 if ((stat(f_name, &s1) == 0) && in create_extract()
741 MSG_INTL(MSG_OVERRIDE_WARN), f_name); in create_extract()
[all …]
/illumos-gate/usr/src/cmd/filesync/
H A Drename.c230 dirp->f_name, old->f_name, dirp->f_name, new->f_name, in note_rename()
H A Deval.c377 showflags(fileflags, fp->f_flags), fp->f_name); in eval_file()
442 push_name(fp->f_name); in eval_file()
685 which, fp->f_name, ip->f_modtime, ip->f_modns, in note_info()
755 which, fp->f_name, fp->f_info[ which ].f_modtime, in update_info()
830 fprintf(stdout, V_change, fp->f_name, TXT_src, in check_inum()
843 fprintf(stdout, V_change, fp->f_name, TXT_dst, in check_inum()
H A Dbase.c188 if (strcmp(name, new->f_name) > 0) { in add_file_to_list()
197 if (strcmp(name, fp->f_name) == 0) { in add_file_to_list()
211 rslt = strcmp(name, fp->f_name); in add_file_to_list()
237 new->f_name = strdup(name); in add_file_to_list()
303 dp->f_name, (fp->f_flags&F_NEW) ? "NEW" : "FOUND", in add_file_to_dir()
841 noblanks(fp->f_name), ip->f_mode); in bw_file()
H A Danal.c244 fprintf(stderr, "ANAL: PRUNE %s\n", fp->f_name); in prune_file()
426 push_name(fp->f_name); in check_file()
942 lp->f_name, lp->f_info[which].f_modtime, in link_update()
1095 i = namelen + 1 + strlen(fp->f_name); in get_name()
1110 strcat(namebuf, fp->f_name); in get_name()
H A Ddatabase.h194 char *f_name; /* name of this file */ member
/illumos-gate/usr/src/cmd/bhyve/
H A Dacpi.c94 char f_name[MAXPATHLEN]; member
266 strlcpy(bf->f_name, basl_stemplate, MAXPATHLEN); in basl_open()
267 bf->fd = mkstemps(bf->f_name, strlen(BHYVE_ASL_SUFFIX)); in basl_open()
269 strlcpy(bf->f_name, basl_template, MAXPATHLEN); in basl_open()
270 bf->fd = mkstemp(bf->f_name); in basl_open()
276 unlink(bf->f_name); in basl_open()
291 unlink(bf->f_name); in basl_close()
372 io[1].f_name, io[0].f_name); in basl_compile()
/illumos-gate/usr/src/boot/common/
H A Dmultiboot2.c282 fp->f_name = strdup(filename); in multiboot2_loadfile()
284 if (fp->f_name == NULL || fp->f_type == NULL) { in multiboot2_loadfile()
317 setenv("kernelname", fp->f_name, 1); in multiboot2_loadfile()
637 cmdline = strdup(fp->f_name); in mb_kernel_cmdline()
639 asprintf(&cmdline, "%s %s", fp->f_name, fp->f_args); in mb_kernel_cmdline()
681 len = strlen(mfp->f_name) + 1; in module_size()
1017 num = strlen(mfp->f_name) + 1; in multiboot2_exec()
1030 mfp->f_name, mfp->f_type, mfp->f_args); in multiboot2_exec()
1033 mfp->f_name, mfp->f_type); in multiboot2_exec()
H A Dmodule.c257 (void) pager_output(fp->f_name); in command_lsmod()
485 fp->f_name = strdup(name); in build_environment_module()
489 if (fp == NULL || fp->f_name == NULL || fp->f_type == NULL) { in build_environment_module()
588 fp->f_name = strdup(name); in build_font_module()
592 if (fp == NULL || fp->f_name == NULL || fp->f_type == NULL) { in build_font_module()
714 fp->f_name = name; in file_loadraw()
846 if (((name == NULL) || strcmp(name, fp->f_name) == 0) && in file_findfile()
1190 free(fp->f_name); in file_discard()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dtrace.c719 char f_name[BUFSIZ]; in collect_prototype() local
782 (void) strpqcpy(f_name, interface, nextsep(interface)); in collect_prototype()
783 (void) decl_SetName(pp, f_name); in collect_prototype()
786 f_name, f_basetype, f_type); in collect_prototype()
788 symtab_set_function(f_name, line, file, f_type, f_basetype, levels); in collect_prototype()
/illumos-gate/usr/src/cmd/pr/
H A Dpr.c105 typedef struct { FILE *f_f; char *f_name; wchar_t f_nextc; } FILS; member
665 Nfiles < 2 ? Files->f_name : nulls; in print()
1326 f->f_name = STDINNAME();
1328 } else if ((f->f_f = fopen(f->f_name = s, "r")) == NULL) {
1329 s = ffiler(f->f_name);
1345 (void) sprintf(s = (char *)getspace((UNS) strlen(f->f_name)
1347 empty_file_msg, f->f_name);
1433 if (Nfiles > 1 || Files->f_name == nulls) {
1443 (void) stat(Files->f_name, &sbuf);
/illumos-gate/usr/src/cmd/auditreduce/
H A Dmain.c787 char *f_file, *f_nfile, *f_time, *f_name; in rename_outfile() local
797 f_file = f_name = f_outfile; /* their version */ in rename_outfile()
801 f_name = f_file + 1; in rename_outfile()
813 (void) strcat(f_newfile, f_name); in rename_outfile()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c610 if (op->f_mode == type && strcmp(op->f_name, cp) == 0) in openfile()
651 op->f_name = strdup(cp); in openfile()
670 awkperr("error on stream \"%s\"", op->f_name); in awkclose()
672 free(op->f_name); in awkclose()
673 op->f_name = NULL; in awkclose()
/illumos-gate/usr/src/boot/efi/loader/arch/i386/
H A Delf32_freebsd.c84 ldr_enter(fp->f_name); in elf32_exec()
/illumos-gate/usr/src/boot/efi/loader/arch/arm64/
H A Dexec.c140 fp->f_name); in elf64_obj_exec()
/illumos-gate/usr/src/uts/common/sys/
H A Dconf.h71 char f_name[FMNAMESZ + 1]; member

12