Lines Matching defs:sm
238 struct statmount sm;
241 ret = statmount(root_id, 0, 0, &sm, sizeof(sm), 0);
247 if (sm.size != sizeof(sm)) {
249 sm.size, (uint32_t) sizeof(sm));
252 if (sm.mask != 0) {
254 (unsigned long long) sm.mask);
263 struct statmount sm;
267 ret = statmount(root_id, 0, mask, &sm, sizeof(sm), 0);
273 if (sm.size != sizeof(sm)) {
275 sm.size, (uint32_t) sizeof(sm));
278 if (sm.mask != mask) {
283 if (sm.mnt_id != root_id) {
285 (unsigned long long) sm.mnt_id,
290 if (sm.mnt_id_old != old_root_id) {
292 sm.mnt_id_old, old_root_id);
296 if (sm.mnt_parent_id != parent_id) {
298 (unsigned long long) sm.mnt_parent_id,
303 if (sm.mnt_parent_id_old != old_parent_id) {
305 sm.mnt_parent_id_old, old_parent_id);
309 if (sm.mnt_propagation != MS_PRIVATE) {
311 (unsigned long long) sm.mnt_propagation);
321 struct statmount sm;
327 ret = statmount(root_id, 0, mask, &sm, sizeof(sm), 0);
333 if (sm.size != sizeof(sm)) {
335 sm.size, (uint32_t) sizeof(sm));
338 if (sm.mask != mask) {
350 if (sm.sb_dev_major != sx.stx_dev_major ||
351 sm.sb_dev_minor != sx.stx_dev_minor) {
353 sm.sb_dev_major, sm.sb_dev_minor,
365 if (sm.sb_magic != sf.f_type) {
367 (unsigned long long) sm.sb_magic,
377 struct statmount *sm;
379 sm = statmount_alloc(root_id, STATMOUNT_MNT_POINT, 0);
380 if (!sm) {
386 if (strcmp(sm->str + sm->mnt_point, "/") != 0) {
388 sm->str + sm->mnt_point);
393 free(sm);
398 struct statmount *sm;
405 sm = statmount_alloc(root_id, STATMOUNT_MNT_ROOT, 0);
406 if (!sm) {
411 mnt_root = sm->str + sm->mnt_root;
425 free(sm);
430 struct statmount *sm;
434 sm = statmount_alloc(root_id, STATMOUNT_FS_TYPE, 0);
435 if (!sm) {
440 fs_type = sm->str + sm->fs_type;
449 free(sm);
454 struct statmount *sm;
459 sm = statmount_alloc(root_id, STATMOUNT_MNT_BASIC | STATMOUNT_MNT_OPTS,
461 if (!sm) {
473 if (old_mnt_id != sm->mnt_id_old)
517 statmount_opts = sm->str + sm->mnt_opts;
524 free(sm);
530 free(sm);
536 struct statmount *sm;
541 sm = statmount_alloc(root_id, mask, 0);
542 if (!sm) {
547 if (sm->size < sizeof(*sm)) {
549 sm->size, (uint32_t) sizeof(*sm));
552 if (sm->mask != mask) {
556 len = sm->size - sizeof(*sm);
557 start = ((uint32_t *) sm)[off];
564 if (!sm->str[i])
567 exactsize = sm->size;
568 shortsize = sizeof(*sm) + i;
570 ret = statmount(root_id, 0, mask, sm, exactsize, 0);
577 ret = statmount(root_id, 0, mask, sm, shortsize, 0);
586 free(sm);