Home
last modified time | relevance | path

Searched refs:newname (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.12.1/drivers/gpu/drm/msm/adreno/
Dadreno_gpu.c144 char *newname; in zap_shader_load_mdt() local
146 newname = kasprintf(GFP_KERNEL, "qcom/%s", fwname); in zap_shader_load_mdt()
148 ret = qcom_mdt_load(dev, fw, newname, pasid, in zap_shader_load_mdt()
150 kfree(newname); in zap_shader_load_mdt()
450 char *newname; in adreno_request_fw() local
453 newname = kasprintf(GFP_KERNEL, "qcom/%s", fwname); in adreno_request_fw()
454 if (!newname) in adreno_request_fw()
464 ret = request_firmware_direct(&fw, newname, drm->dev); in adreno_request_fw()
467 newname); in adreno_request_fw()
472 newname, ret); in adreno_request_fw()
[all …]
/linux-6.12.1/include/linux/
Dinit_syscalls.h13 int __init init_link(const char *oldname, const char *newname);
14 int __init init_symlink(const char *oldname, const char *newname);
Dioport.h312 #define rename_region(region, newname) do { (region)->name = (newname); } while (0) argument
Dsyscalls.h396 int newdfd, const char __user * newname);
398 int newdfd, const char __user *newname, int flags);
400 int newdfd, const char __user * newname);
909 int newdfd, const char __user *newname,
1009 const char __user *newname);
1022 const char __user *newname);
/linux-6.12.1/fs/
Dinit.c165 int __init init_link(const char *oldname, const char *newname) in init_link() argument
176 new_dentry = kern_path_create(AT_FDCWD, newname, &new_path, 0); in init_link()
200 int __init init_symlink(const char *oldname, const char *newname) in init_symlink() argument
206 dentry = kern_path_create(AT_FDCWD, newname, &path, 0); in init_symlink()
Dnamei.c4655 int, newdfd, const char __user *, newname) in SYSCALL_DEFINE3() argument
4657 return do_symlinkat(getname(oldname), newdfd, getname(newname)); in SYSCALL_DEFINE3()
4660 SYSCALL_DEFINE2(symlink, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument
4662 return do_symlinkat(getname(oldname), AT_FDCWD, getname(newname)); in SYSCALL_DEFINE2()
4835 int, newdfd, const char __user *, newname, int, flags) in SYSCALL_DEFINE5() argument
4838 newdfd, getname(newname), flags); in SYSCALL_DEFINE5()
4841 SYSCALL_DEFINE2(link, const char __user *, oldname, const char __user *, newname) in SYSCALL_DEFINE2() argument
4843 return do_linkat(AT_FDCWD, getname(oldname), AT_FDCWD, getname(newname), 0); in SYSCALL_DEFINE2()
5202 int, newdfd, const char __user *, newname, unsigned int, flags) in SYSCALL_DEFINE5() argument
5204 return do_renameat2(olddfd, getname(oldname), newdfd, getname(newname), in SYSCALL_DEFINE5()
[all …]
Dinternal.h61 struct filename *newname, unsigned int flags);
/linux-6.12.1/drivers/misc/
Denclosure.c289 char newname[COMPONENT_NAME_SIZE]; in enclosure_component_alloc() local
310 snprintf(newname, COMPONENT_NAME_SIZE, in enclosure_component_alloc()
312 while (enclosure_component_find_by_name(edev, newname)) in enclosure_component_alloc()
313 snprintf(newname, COMPONENT_NAME_SIZE, in enclosure_component_alloc()
315 dev_set_name(cdev, "%s", newname); in enclosure_component_alloc()
/linux-6.12.1/fs/smb/server/
Dvfs.h87 const char *oldname, const char *newname);
90 char *newname, int flags);
Dvfs.c637 const char *newname) in ksmbd_vfs_link() argument
653 dentry = ksmbd_vfs_kern_path_create(work, newname, in ksmbd_vfs_link()
658 pr_err("path create err for %s, err %d\n", newname, err); in ksmbd_vfs_link()
684 char *newname, int flags) in ksmbd_vfs_rename() argument
700 to = getname_kernel(newname); in ksmbd_vfs_rename()
/linux-6.12.1/net/wireless/
Dcore.c93 const char *newname) in cfg80211_dev_check_name() argument
100 if (strlen(newname) > NL80211_WIPHY_NAME_MAXLEN) in cfg80211_dev_check_name()
104 sscanf(newname, PHY_NAME "%d%n", &wiphy_idx, &taken); in cfg80211_dev_check_name()
105 if (taken == strlen(newname) && wiphy_idx != rdev->wiphy_idx) { in cfg80211_dev_check_name()
120 if (strcmp(newname, wiphy_name(&rdev2->wiphy)) == 0) in cfg80211_dev_check_name()
127 char *newname) in cfg80211_dev_rename() argument
135 if (strcmp(newname, wiphy_name(&rdev->wiphy)) == 0) in cfg80211_dev_rename()
138 result = cfg80211_dev_check_name(rdev, newname); in cfg80211_dev_rename()
142 result = device_rename(&rdev->wiphy.dev, newname); in cfg80211_dev_rename()
149 rdev->wiphy.debugfsdir->d_parent, newname); in cfg80211_dev_rename()
Dcore.h318 char *newname);
/linux-6.12.1/sound/hda/
Dhdac_device.c187 char *newname; in snd_hdac_device_set_chip_name() local
191 newname = kstrdup(name, GFP_KERNEL); in snd_hdac_device_set_chip_name()
192 if (!newname) in snd_hdac_device_set_chip_name()
195 codec->chip_name = newname; in snd_hdac_device_set_chip_name()
/linux-6.12.1/security/smack/
Dsmackfs.c1159 struct sockaddr_in newname; in smk_write_net4addr() local
1163 char *host = (char *)&newname.sin_addr.s_addr; in smk_write_net4addr()
1239 newname.sin_addr.s_addr &= mask.s_addr; in smk_write_net4addr()
1246 nsa = newname.sin_addr.s_addr; in smk_write_net4addr()
1263 snp->smk_host.s_addr = newname.sin_addr.s_addr; in smk_write_net4addr()
1421 struct in6_addr newname; in smk_write_net6addr() local
1480 newname.s6_addr16[i] = htons(scanned[i]); in smk_write_net6addr()
1511 newname.s6_addr16[i] &= fullmask.s6_addr16[i]; in smk_write_net6addr()
1526 if (newname.s6_addr16[i] != in smk_write_net6addr()
1540 snp->smk_host = newname; in smk_write_net6addr()
/linux-6.12.1/fs/ocfs2/
Drefcounttree.h106 const char __user *newname,
Drefcounttree.c4408 const char __user *newname, in ocfs2_reflink_ioctl() argument
4424 new_dentry = user_path_create(AT_FDCWD, newname, &new_path, 0); in ocfs2_reflink_ioctl()
/linux-6.12.1/net/9p/
Dprotocol.c150 const char *oldname, *newname; in p9_msg_buf_size() local
153 newname = va_arg(ap, const char *); in p9_msg_buf_size()
155 return hdr + 4 + P9_STRLEN(oldname) + 4 + P9_STRLEN(newname); in p9_msg_buf_size()
Dclient.c1395 int p9_client_link(struct p9_fid *dfid, struct p9_fid *oldfid, const char *newname) in p9_client_link() argument
1401 dfid->fid, oldfid->fid, newname); in p9_client_link()
1404 newname); in p9_client_link()
/linux-6.12.1/net/core/
Ddev.h60 int dev_change_name(struct net_device *dev, const char *newname);
Ddev.c1211 int dev_change_name(struct net_device *dev, const char *newname) in dev_change_name() argument
1226 if (strncmp(newname, dev->name, IFNAMSIZ) == 0) { in dev_change_name()
1234 err = dev_get_valid_name(net, dev, newname); in dev_change_name()
1279 memcpy(oldname, newname, IFNAMSIZ); in dev_change_name()
/linux-6.12.1/fs/ceph/
Dxattr.c1191 char *newname = NULL; in __ceph_setxattr() local
1215 newname = kmemdup(name, name_len + 1, GFP_NOFS); in __ceph_setxattr()
1216 if (!newname) in __ceph_setxattr()
1278 err = __set_xattr(ci, newname, name_len, newval, val_len, in __ceph_setxattr()
1323 kfree(newname); in __ceph_setxattr()
/linux-6.12.1/include/net/9p/
Dclient.h197 int p9_client_link(struct p9_fid *fid, struct p9_fid *oldfid, const char *newname);
/linux-6.12.1/fs/nfs/
Dnfs4trace.h1139 const struct qstr *newname,
1143 TP_ARGS(olddir, oldname, newdir, newname, error),
1151 __string(newname, newname->name)
1160 __assign_str(newname);
1173 __get_str(newname)
Dnfs4xdr.c1670 …e(struct xdr_stream *xdr, const struct qstr *oldname, const struct qstr *newname, struct compound_… in encode_rename() argument
1674 encode_string(xdr, newname->len, newname->name); in encode_rename()
/linux-6.12.1/tools/power/pm-graph/
Dsleepgraph.py1972 newname = self.newAction(targetphase, name, pid, '', start, end, '', htmlclass, color)
1973 return (targetphase, newname)

12