Searched refs:user_attr (Results 1 – 2 of 2) sorted by relevance
65 static struct attribute_spec user_attr = { }; variable69 user_attr.name = "user"; in register_attributes()70 user_attr.handler = handle_user_attribute; in register_attributes()71 user_attr.affects_type_identity = true; in register_attributes()73 register_attribute(&user_attr); in register_attributes()
24 static int fat_ioctl_get_attributes(struct inode *inode, u32 __user *user_attr) in fat_ioctl_get_attributes() argument32 return put_user(attr, user_attr); in fat_ioctl_get_attributes()35 static int fat_ioctl_set_attributes(struct file *file, u32 __user *user_attr) in fat_ioctl_set_attributes() argument44 err = get_user(attr, user_attr); in fat_ioctl_set_attributes()120 static int fat_ioctl_get_volume_id(struct inode *inode, u32 __user *user_attr) in fat_ioctl_get_volume_id() argument123 return put_user(sbi->vol_id, user_attr); in fat_ioctl_get_volume_id()159 u32 __user *user_attr = (u32 __user *)arg; in fat_generic_ioctl() local163 return fat_ioctl_get_attributes(inode, user_attr); in fat_generic_ioctl()165 return fat_ioctl_set_attributes(filp, user_attr); in fat_generic_ioctl()167 return fat_ioctl_get_volume_id(inode, user_attr); in fat_generic_ioctl()