Lines Matching refs:ns
23 if (node->ns == info->ns)
25 else if (node->ns == NULL) {
26 i_assert(tree->root.ns == NULL);
27 node->ns = info->ns;
30 info->vname, node->ns->prefix, info->ns->prefix);
96 box = mailbox_alloc(info->ns->list, info->vname, MAILBOX_FLAG_READONLY);
133 struct mail_namespace *ns, const guid_128_t sha128)
141 return node == NULL || node->ns != ns ? NULL : node;
146 struct mail_namespace *ns)
156 log = mailbox_list_get_changelog(ns->list);
163 dsync_mailbox_tree_find_sha(tree, ns, rec->mailbox_guid);
229 ns->prefix);
265 i_assert(node1->ns != NULL && node2->ns != NULL);
266 box = mailbox_alloc(change_node->ns->list, change_vname, 0);
320 struct mail_namespace *ns, const char *box_name,
342 i_assert(mail_namespace_get_sep(ns) == tree->sep);
345 if (ns->prefix_len > 0) {
347 t_strndup(ns->prefix, ns->prefix_len-1));
348 node->ns = ns;
350 tree->root.ns = ns;
354 iter = mailbox_list_iter_init(ns->list, list_pattern, list_flags);
364 ns->prefix, mailbox_list_get_last_internal_error(ns->list, error_r));
369 iter = mailbox_list_iter_init(ns->list, list_pattern, subs_list_flags);
380 ns->prefix, mailbox_list_get_last_internal_error(ns->list, error_r));
393 if (dsync_mailbox_tree_add_change_timestamps(tree, ns) < 0)