Lines Matching refs:name

49  * 4. Neither the name of the University nor the names of its contributors
173 int hfs_sysctl(int *name, u_int namelen, user_addr_t oldp, size_t *oldlenp,
191 printf("hfs_mountroot: hfs_mountfs returned %d, rvp (%p) name (%s) \n",
507 const char *name = vnode_getname(devvp);
508 printf("hfs_mount: hfs_mountfs returned error=%d for device %s\n", retval, (name ? name : "unknown-dev"));
509 if (name) {
510 vnode_putname(name);
602 * If we're switching name converters then...
604 * Update name to one based on new encoder.
753 * If we're switching name converters we can now
805 /* lookup by fileID since name could have changed */
987 /* Reload the volume name */
2780 hfs_sysctl(int *name, __unused u_int namelen, user_addr_t oldp, size_t *oldlenp,
2789 if (name[0] == HFS_ENCODINGBIAS) {
2798 } else if (name[0] == HFS_EXTEND_FS) {
2813 } else if (name[0] == HFS_ENCODINGHINT) {
2852 } else if (name[0] == HFS_ENABLE_JOURNALING) {
2895 tmpblkno = (uint32_t) name[1];
2897 journal_byte_offset = (uint64_t) name[2];
2900 journal_size = (uint64_t)((unsigned)name[3]);
2993 (off_t)name[2], (off_t)name[3]);
3044 HFSTOVCB(hfsmp)->vcbJinfoBlock = name[1];
3050 hfsmp->jnl_start = (u_int32_t)name[2];
3051 hfsmp->jnl_size = (off_t)((unsigned)name[3]);
3068 } else if (name[0] == HFS_DISABLE_JOURNALING) {
3123 } else if (name[0] == HFS_GET_JOURNAL_INFO) {
3143 if ((error = copyout((caddr_t)&jnl_start, CAST_USER_ADDR_T(name[1]), sizeof(off_t))) != 0) {
3146 if ((error = copyout((caddr_t)&jnl_size, CAST_USER_ADDR_T(name[2]), sizeof(off_t))) != 0) {
3151 } else if (name[0] == HFS_SET_PKG_EXTENSIONS) {
3153 return set_package_extensions_table((user_addr_t)((unsigned)name[1]), name[2], name[3]);
3155 } else if (name[0] == VFS_CTL_QUERY) {
3173 } else if (name[0] == HFS_REPLAY_JOURNAL) {
3179 device_fd = name[1];
3193 } else if (name[0] == HFS_ENABLE_RESIZE_DEBUG) {
3347 * We need a valid name and parent for reverse lookups.
3365 * call give us back the name of the last ID, since it's going to have it in-hand...
3371 * Then copy the name and other business into the cndesc
3392 /* Supply hfs_getnewvnode with a component name. */
7433 * Creates a UUID from a unique "name" in the HFS UUID Name space.
7698 hfs_rename_volume(struct vnode *vp, const char *name, proc_t p)
7715 * Ignore attempts to rename a volume to a zero-length name.
7717 if (name[0] == 0)
7729 to_desc.cd_nameptr = (const u_int8_t *)name;
7730 to_desc.cd_namelen = strlen(name);
7743 * If successful, update the name in the VCB, ensure it's terminated.
7746 strlcpy((char *)vcb->vcbVN, name, sizeof(vcb->vcbVN));
7750 /* Send the volume name down to CoreStorage if necessary */
7768 /* Release old allocated name buffer */