/openbmc/linux/fs/isofs/ |
H A D | dir.c | 84 char *tmpname, struct iso_directory_record *tmpde) in do_isofs_readdir() argument 208 len = get_rock_ridge_filename(de, tmpname, inode); in do_isofs_readdir() 210 p = tmpname; in do_isofs_readdir() 217 len = get_joliet_filename(de, tmpname, inode); in do_isofs_readdir() 218 p = tmpname; in do_isofs_readdir() 222 len = get_acorn_filename(de, tmpname, inode); in do_isofs_readdir() 223 p = tmpname; in do_isofs_readdir() 226 len = isofs_name_translate(de, tmpname, inode); in do_isofs_readdir() 227 p = tmpname; in do_isofs_readdir() 252 char *tmpname; in isofs_readdir() local [all …]
|
H A D | namei.c | 38 char *tmpname, struct iso_directory_record *tmpde) in isofs_find_entry() argument 110 ((i = get_rock_ridge_filename(de, tmpname, dir)))) { in isofs_find_entry() 112 dpnt = tmpname; in isofs_find_entry() 115 dlen = get_joliet_filename(de, tmpname, dir); in isofs_find_entry() 116 dpnt = tmpname; in isofs_find_entry() 119 dlen = get_acorn_filename(de, tmpname, dir); in isofs_find_entry() 120 dpnt = tmpname; in isofs_find_entry() 122 dlen = isofs_name_translate(de, tmpname, dir); in isofs_find_entry() 123 dpnt = tmpname; in isofs_find_entry()
|
/openbmc/linux/scripts/dtc/ |
H A D | fstree.c | 25 char *tmpname; in read_fstree() local 31 tmpname = join_path(dirname, de->d_name); in read_fstree() 33 if (stat(tmpname, &st) < 0) in read_fstree() 34 die("stat(%s): %s\n", tmpname, strerror(errno)); in read_fstree() 40 pfile = fopen(tmpname, "rb"); in read_fstree() 44 tmpname, strerror(errno)); in read_fstree() 56 newchild = read_fstree(tmpname); in read_fstree() 61 free(tmpname); in read_fstree()
|
/openbmc/u-boot/scripts/dtc/ |
H A D | fstree.c | 40 char *tmpname; in read_fstree() local 46 tmpname = join_path(dirname, de->d_name); in read_fstree() 48 if (lstat(tmpname, &st) < 0) in read_fstree() 49 die("stat(%s): %s\n", tmpname, strerror(errno)); in read_fstree() 55 pfile = fopen(tmpname, "rb"); in read_fstree() 59 tmpname, strerror(errno)); in read_fstree() 70 newchild = read_fstree(tmpname); in read_fstree() 75 free(tmpname); in read_fstree()
|
/openbmc/linux/tools/testing/selftests/mm/ |
H A D | check_config.sh | 10 tmpname=$(mktemp) 11 tmpfile_c=${tmpname}.c 12 tmpfile_o=${tmpname}.o 31 rm ${tmpname}.*
|
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/ |
H A D | 0001-Don-t-leak-temporary-file-on-failed-ed-style-patch.patch | 11 tmpname. Don't unlink the file directly, instead tag it for removal 53 - char const *tmpname; 61 - tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0); 64 - pfatal ("Can't create temporary file %s", quotearg (tmpname)); 69 - pfatal ("Can't open stream for file %s", quotearg (tmpname)); 78 - pfatal ("Can't rewind to the beginning of file %s", quotearg (tmpname)); 88 - safe_unlink (tmpname);
|
H A D | 0004-Fix-arbitrary-command-execution-in-ed-style-patches-.patch | 42 + char const *tmpname; 54 + tmpfd = make_tempfile (&tmpname, 'e', NULL, O_RDWR | O_BINARY, 0); 56 + pfatal ("Can't create temporary file %s", quotearg (tmpname)); 59 + pfatal ("Can't open stream for file %s", quotearg (tmpname)); 115 + pfatal ("Can't rewind to the beginning of file %s", quotearg (tmpname)); 150 + safe_unlink (tmpname);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/php/php/ |
H A D | 0001-ext-opcache-config.m4-enable-opcache.patch | 196 - char tmpname[4096]; 198 - sprintf(tmpname,"/opcache.test.shm.%dXXXXXX", getpid()); 199 - if (mktemp(tmpname) == NULL) { 202 - fd = shm_open(tmpname, O_RDWR | O_CREAT, S_IRUSR | S_IWUSR); 208 - shm_unlink(tmpname); 216 - shm_unlink(tmpname);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-extended/rarpd/rarpd/ |
H A D | 0003-rarpd.c-bug-fix.patch | 203 + char tmpname[IFNAMSIZ]; 236 + strncpy(tmpname, ifl->name, IFNAMSIZ); 237 + tmpname[IFNAMSIZ-1] = 0; 239 + sprintf(tmpname, "if%d", sll.sll_ifindex); 240 + syslog(LOG_INFO, "RARP request from %s on %s", tmpbuf, tmpname); 250 + inet_ntoa(*(struct in_addr *)&rmap->ipaddr), tmpname);
|
/openbmc/linux/scripts/kconfig/ |
H A D | confdata.c | 900 char tmpname[PATH_MAX + 1], oldname[PATH_MAX + 1]; in conf_write() local 923 *tmpname = 0; in conf_write() 926 snprintf(tmpname, sizeof(tmpname), "%s.%d.tmp", in conf_write() 928 out = fopen(tmpname, "w"); in conf_write() 989 if (*tmpname) { in conf_write() 990 if (is_same(name, tmpname)) { in conf_write() 992 unlink(tmpname); in conf_write() 999 if (rename(tmpname, name)) in conf_write()
|
/openbmc/linux/sound/synth/emux/ |
H A D | emux_seq.c | 59 char tmpname[64]; in snd_emux_init_seq() local 86 sprintf(tmpname, "%s Port %d", emu->name, i); in snd_emux_init_seq() 87 p = snd_emux_create_port(emu, tmpname, MIDI_CHANNELS, in snd_emux_init_seq()
|
H A D | emux_oss.c | 101 char tmpname[64]; in snd_emux_open_seq_oss() local 114 sprintf(tmpname, "%s OSS Port", emu->name); in snd_emux_open_seq_oss() 115 p = snd_emux_create_port(emu, tmpname, 32, in snd_emux_open_seq_oss()
|
/openbmc/u-boot/scripts/kconfig/ |
H A D | confdata.c | 746 char dirname[PATH_MAX+1], tmpname[PATH_MAX+22], newname[PATH_MAX+8]; in conf_write() local 774 sprintf(tmpname, "%s.tmpconfig.%d", dirname, (int)getpid()); in conf_write() 775 out = fopen(tmpname, "w"); in conf_write() 777 *tmpname = 0; in conf_write() 824 if (*tmpname) { in conf_write() 828 if (rename(tmpname, newname)) in conf_write()
|
/openbmc/linux/kernel/ |
H A D | relay.c | 352 char *tmpname; in relay_create_buf_file() local 354 tmpname = kzalloc(NAME_MAX + 1, GFP_KERNEL); in relay_create_buf_file() 355 if (!tmpname) in relay_create_buf_file() 357 snprintf(tmpname, NAME_MAX, "%s%d", chan->base_filename, cpu); in relay_create_buf_file() 360 dentry = chan->cb->create_buf_file(tmpname, chan->parent, in relay_create_buf_file() 366 kfree(tmpname); in relay_create_buf_file()
|
/openbmc/u-boot/tools/patman/ |
H A D | patchstream.py | 454 handle, tmpname = tempfile.mkstemp() 466 shutil.move(tmpname, fname)
|
/openbmc/linux/tools/bpf/bpftool/ |
H A D | link.c | 534 char tmpname[IF_NAMESIZE]; in show_link_ifindex_plain() local 538 ret = if_indextoname(ifindex, tmpname); in show_link_ifindex_plain() 543 tmpname, ifindex); in show_link_ifindex_plain()
|
/openbmc/linux/security/apparmor/ |
H A D | policy_unpack.c | 806 const char *tmpname, *tmpns = NULL, *name = NULL; in unpack_profile() local 826 tmpname = aa_splitn_fqname(name, strlen(name), &tmpns, &ns_len); in unpack_profile() 828 if (!tmpname) { in unpack_profile() 838 name = tmpname; in unpack_profile()
|
/openbmc/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_drm.c | 1126 char name[32], tmpname[TASK_COMM_LEN]; in nouveau_drm_open() local 1136 get_task_comm(tmpname, current); in nouveau_drm_open() 1139 tmpname, pid_nr(rcu_dereference(fpriv->pid))); in nouveau_drm_open()
|
/openbmc/linux/sound/pci/hda/ |
H A D | hda_generic.c | 3626 char tmpname[SNDRV_CTL_ELEM_ID_NAME_MAXLEN]; in add_single_cap_ctl() local 3636 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl() 3639 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl() 3641 knew = add_control(spec, type, tmpname, idx, in add_single_cap_ctl() 3655 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl() 3658 snprintf(tmpname, sizeof(tmpname), in add_single_cap_ctl() 3660 knew = add_control(spec, type, tmpname, idx, in add_single_cap_ctl()
|
H A D | hda_codec.c | 1872 char tmpname[sizeof(sctl->id.name)]; in map_followers() local 1875 snprintf(tmpname, sizeof(tmpname), "%s %s", in map_followers() 1877 name = tmpname; in map_followers()
|