Lines Matching full:dm
93 struct dentry_meta *dm;
95 dm = pn->pn_data;
97 vap->va_mode = dm->dm_mode;
104 struct dentry_meta *dm;
106 dm = pn->pn_data;
107 if (dm->dm_type == DM_SYMLINK)
108 free(dm->dm_data, M_DFSINT);
110 free(dm, M_DFSINT);
178 struct dentry_meta *dm;
180 dm = pn->pn_data;
181 sbuf_printf(sb, "%s", (char *)dm->dm_data);
190 struct dentry_meta *dm;
195 dm = malloc(sizeof(*dm), M_DFSINT, M_NOWAIT | M_ZERO);
196 if (dm == NULL)
198 dnode = &dm->dm_dnode;
199 dm->dm_fops = fops;
200 dm->dm_data = data;
201 dm->dm_mode = mode;
202 dm->dm_type = DM_FILE;
212 free(dm, M_DFSINT);
215 dnode->d_pfs_node->pn_data = dm;
271 struct dentry_meta *dm;
275 dm = malloc(sizeof(*dm), M_DFSINT, M_NOWAIT | M_ZERO);
276 if (dm == NULL)
278 dnode = &dm->dm_dnode;
279 dm->dm_mode = 0700;
280 dm->dm_type = DM_DIR;
288 free(dm, M_DFSINT);
291 dnode->d_pfs_node->pn_data = dm;
299 struct dentry_meta *dm;
307 dm = malloc(sizeof(*dm), M_DFSINT, M_NOWAIT | M_ZERO);
308 if (dm == NULL)
310 dnode = &dm->dm_dnode;
311 dm->dm_mode = 0700;
312 dm->dm_type = DM_SYMLINK;
313 dm->dm_data = data;
322 dnode->d_pfs_node->pn_data = dm;
325 free(dm, M_DFSINT);