Lines Matching refs:map
25 * 3d mount map support
35 mapget(Map_t* map, char* buf, int flags)
46 if (!(n = map->keysize))
47 n = strlen(map->key);
48 switch (z = map->valsize & T_SIZE)
52 mp = (Mount_t*)map->val;
60 z = strlen(map->val);
63 v = map->val;
68 strncpy(p, map->key, n);
340 Map_t* map;
383 if (map = search(&state.vmount, arg, arglen, NiL, op < oe ? 0 : T_DELETE))
385 mp = (Mount_t*)map->val;
391 message((-2, "mount: old fs=%s map=%-*s arg=%-*s op=%-*s", fs->special, map->keysize, map->key, arglen, arg, ov ? (oe - ov) : 6, ov));
409 if (map = search(&state.vmount, arg, arglen, (char*)mp, argsize ? T_MOUNT : (T_MOUNT|T_ALLOCATE)))
411 message((-2, "mount: new fs=%s map=%-*s arg=%-*s op=%-*s", fs->special, map->keysize, map->key, arglen, arg, ov ? (oe - ov) : 6, ov));
416 mp->logical = map->key;
417 mp->logicalsize = map->keysize;