Lines Matching refs:sm

250 	struct statmount sm;
253 ret = statmount(root_id, 0, &sm, sizeof(sm), 0);
259 if (sm.size != sizeof(sm)) {
261 sm.size, (uint32_t) sizeof(sm));
264 if (sm.mask != 0) {
266 (unsigned long long) sm.mask);
275 struct statmount sm;
279 ret = statmount(root_id, mask, &sm, sizeof(sm), 0);
285 if (sm.size != sizeof(sm)) {
287 sm.size, (uint32_t) sizeof(sm));
290 if (sm.mask != mask) {
295 if (sm.mnt_id != root_id) {
297 (unsigned long long) sm.mnt_id,
302 if (sm.mnt_id_old != old_root_id) {
304 sm.mnt_id_old, old_root_id);
308 if (sm.mnt_parent_id != parent_id) {
310 (unsigned long long) sm.mnt_parent_id,
315 if (sm.mnt_parent_id_old != old_parent_id) {
317 sm.mnt_parent_id_old, old_parent_id);
321 if (sm.mnt_propagation != MS_PRIVATE) {
323 (unsigned long long) sm.mnt_propagation);
333 struct statmount sm;
339 ret = statmount(root_id, mask, &sm, sizeof(sm), 0);
345 if (sm.size != sizeof(sm)) {
347 sm.size, (uint32_t) sizeof(sm));
350 if (sm.mask != mask) {
362 if (sm.sb_dev_major != sx.stx_dev_major ||
363 sm.sb_dev_minor != sx.stx_dev_minor) {
365 sm.sb_dev_major, sm.sb_dev_minor,
377 if (sm.sb_magic != sf.f_type) {
379 (unsigned long long) sm.sb_magic,
389 struct statmount *sm;
391 sm = statmount_alloc(root_id, STATMOUNT_MNT_POINT, 0);
392 if (!sm) {
398 if (strcmp(sm->str + sm->mnt_point, "/") != 0) {
400 sm->str + sm->mnt_point);
405 free(sm);
410 struct statmount *sm;
417 sm = statmount_alloc(root_id, STATMOUNT_MNT_ROOT, 0);
418 if (!sm) {
423 mnt_root = sm->str + sm->mnt_root;
437 free(sm);
442 struct statmount *sm;
446 sm = statmount_alloc(root_id, STATMOUNT_FS_TYPE, 0);
447 if (!sm) {
452 fs_type = sm->str + sm->fs_type;
461 free(sm);
466 struct statmount *sm;
471 sm = statmount_alloc(root_id, mask, 0);
472 if (!sm) {
477 if (sm->size < sizeof(*sm)) {
479 sm->size, (uint32_t) sizeof(*sm));
482 if (sm->mask != mask) {
486 len = sm->size - sizeof(*sm);
487 start = ((uint32_t *) sm)[off];
494 if (!sm->str[i])
497 exactsize = sm->size;
498 shortsize = sizeof(*sm) + i;
500 ret = statmount(root_id, mask, sm, exactsize, 0);
507 ret = statmount(root_id, mask, sm, shortsize, 0);
516 free(sm);