Searched refs:private_info (Results 1 – 3 of 3) sorted by relevance
45 int __devfs_chardev_register(struct devfs_private_inode_info_t *private_info, struct vfs_dir_entry_… in __devfs_chardev_register() argument48 …if (private_info->sub_type <= CHAR_DEV_STYPE_START || private_info->sub_type >= CHAR_DEV_STYPE_END) in __devfs_chardev_register()50 mutex_lock(&chardev_manage_info[private_info->sub_type].lock); in __devfs_chardev_register()54 strcpy(devname, chardev_name_prefix[private_info->sub_type]); in __devfs_chardev_register()55 char *ptr = devname + strlen(chardev_name_prefix[private_info->sub_type]); in __devfs_chardev_register()56 sprintk(ptr, "%d", chardev_manage_info[private_info->sub_type].count); in __devfs_chardev_register()61 __devfs_fill_inode(dentry, vfs_alloc_inode(), VFS_IF_DEVICE, private_info); in __devfs_chardev_register()66 ++chardev_manage_info[private_info->sub_type].count; in __devfs_chardev_register()67 mutex_unlock(&chardev_manage_info[private_info->sub_type].lock); in __devfs_chardev_register()
228 …struct devfs_private_inode_info_t *private_info = (struct devfs_private_inode_info_t *)kzalloc(siz… in devfs_register_device() local229 private_info->f_ops = file_ops; in devfs_register_device()230 private_info->type = device_type; in devfs_register_device()231 private_info->sub_type = sub_type; in devfs_register_device()232 private_info->uuid = __devfs_get_uuid(); in devfs_register_device()239 retval = __devfs_chardev_register(private_info, &dentry); in devfs_register_device()249 *ret_private_inode_info_ptr = private_info; in devfs_register_device()254 kfree(private_info); in devfs_register_device()
19 int __devfs_chardev_register(struct devfs_private_inode_info_t *private_info, struct vfs_dir_entry_…