Lines Matching refs:s_type
183 sd->s_type = type;
186 if (parent_sd->s_type & CONFIGFS_USET_DROPPING) {
336 sd->s_type &= ~CONFIGFS_USET_CREATING;
338 if (child_sd->s_type & CONFIGFS_USET_CREATING)
357 ret = !(sd->s_type & CONFIGFS_USET_CREATING);
479 if (sd->s_type & CONFIGFS_NOT_PINNED) {
518 parent_sd->s_type |= CONFIGFS_USET_DROPPING;
527 (sd->s_type & CONFIGFS_NOT_PINNED))
529 if (sd->s_type & CONFIGFS_USET_DEFAULT) {
531 if (sd->s_type & CONFIGFS_USET_IN_MKDIR) {
563 parent_sd->s_type &= ~CONFIGFS_USET_DROPPING;
566 if (sd->s_type & CONFIGFS_USET_DEFAULT)
584 if (!sd->s_element || !(sd->s_type & CONFIGFS_NOT_PINNED))
639 !(sd->s_type & CONFIGFS_USET_DEFAULT))
665 * on the sd->s_type.
694 sd->s_type |= CONFIGFS_USET_DEFAULT;
870 sd->s_type |= CONFIGFS_USET_DIR;
957 #define type_print(_type) if (sd->s_type & _type) printk(KERN_INFO "%*s %s\n", level, " ", #_type);
975 if (!(sd->s_type & (CONFIGFS_DIR|CONFIGFS_ROOT)))
1034 * Note: subdirectories in the middle of attachment start with s_type =
1037 * s_type is in configfs_new_dirent(), which has configfs_dirent_lock.
1059 if ((child_sd->s_type & CONFIGFS_DIR) &&
1060 !(child_sd->s_type & CONFIGFS_USET_DROPPING) &&
1061 !(child_sd->s_type & CONFIGFS_USET_CREATING)) {
1101 if (p->s_type & CONFIGFS_DIR) {
1202 if (!(sd->s_type & CONFIGFS_USET_DIR)) {
1305 sd->s_type |= CONFIGFS_USET_IN_MKDIR;
1314 sd->s_type &= ~CONFIGFS_USET_IN_MKDIR;
1366 if (sd->s_type & CONFIGFS_USET_DEFAULT)
1427 if (sd->s_type & CONFIGFS_USET_DIR) {