h 137 lib/compression/mszip.c int32_t h; /* table level */ h 210 lib/compression/mszip.c h = -1; /* no tables yet--level -1 */ h 224 lib/compression/mszip.c while (k > w + l[h]) h 226 lib/compression/mszip.c w += l[h++]; /* add bits already decoded */ h 244 lib/compression/mszip.c l[h] = j; /* set table size in stack */ h 249 lib/compression/mszip.c if(h) h 255 lib/compression/mszip.c ZIP(u)[h] = ++q; /* table starts after link */ h 258 lib/compression/mszip.c if (h) h 260 lib/compression/mszip.c ZIP(x)[h] = i; /* save pattern for backing up */ h 261 lib/compression/mszip.c r.b = (uint8_t)l[h-1]; /* bits to dump before this table */ h 264 lib/compression/mszip.c j = (i & ((1 << w) - 1)) >> (w - l[h-1]); h 265 lib/compression/mszip.c ZIP(u)[h-1][j] = r; /* connect to last table */ h 295 lib/compression/mszip.c while ((i & ((1 << w) - 1)) != ZIP(x)[h]) h 296 lib/compression/mszip.c w -= l[--h]; /* don't need to update q */ h 768 lib/socket_wrapper/socket_wrapper.c static const struct swrap_file_hdr h; h 785 lib/socket_wrapper/socket_wrapper.c if (sizeof(h) != SWRAP_FILE_HDR_SIZE) { h 665 lib/talloc/talloc.c struct talloc_reference_handle *h; h 671 lib/talloc/talloc.c for (h=tc->refs;h;h=h->next) { h 672 lib/talloc/talloc.c struct talloc_chunk *p = talloc_parent_chunk(h); h 679 lib/talloc/talloc.c if (h == NULL) { h 683 lib/talloc/talloc.c return _talloc_free(h); h 1151 lib/talloc/talloc.c struct talloc_reference_handle *h; h 1154 lib/talloc/talloc.c for (h=tc->refs;h;h=h->next) { h 1192 lib/talloc/talloc.c struct talloc_reference_handle *h = (struct talloc_reference_handle *)TC_PTR_FROM_CHUNK(c); h 1193 lib/talloc/talloc.c callback(h->ptr, depth + 1, max_depth, 1, private_data); h 166 lib/tdb/common/io.c uint32_t h = *chain; h 168 lib/tdb/common/io.c for (;h < tdb->header.hash_size;h++) { h 169 lib/tdb/common/io.c if (0 != *(uint32_t *)(TDB_HASH_TOP(h) + (unsigned char *)tdb->map_ptr)) { h 175 lib/tdb/common/io.c for (;h < tdb->header.hash_size;h++) { h 176 lib/tdb/common/io.c if (tdb_ofs_read(tdb, TDB_HASH_TOP(h), &off) != 0 || off != 0) { h 181 lib/tdb/common/io.c (*chain) = h; h 342 lib/tdb/common/transaction.c uint32_t h = *chain; h 343 lib/tdb/common/transaction.c for (;h < tdb->header.hash_size;h++) { h 345 lib/tdb/common/transaction.c if (0 != tdb->transaction->hash_heads[h+1]) { h 349 lib/tdb/common/transaction.c (*chain) = h; h 123 lib/zlib/contrib/blast/blast.c local int decode(struct state *s, struct huffman *h) h 138 lib/zlib/contrib/blast/blast.c next = h->count + 1; h 147 lib/zlib/contrib/blast/blast.c return h->symbol[index + (code - first)]; h 185 lib/zlib/contrib/blast/blast.c local int construct(struct huffman *h, const unsigned char *rep, int n) h 207 lib/zlib/contrib/blast/blast.c h->count[len] = 0; h 209 lib/zlib/contrib/blast/blast.c (h->count[length[symbol]])++; /* assumes lengths are within bounds */ h 210 lib/zlib/contrib/blast/blast.c if (h->count[0] == n) /* no codes! */ h 217 lib/zlib/contrib/blast/blast.c left -= h->count[len]; /* deduct count from possible codes */ h 224 lib/zlib/contrib/blast/blast.c offs[len + 1] = offs[len] + h->count[len]; h 232 lib/zlib/contrib/blast/blast.c h->symbol[offs[length[symbol]]++] = symbol; h 7 lib/zlib/contrib/iostream2/zstream_test.cpp char h[256] = "Hello"; h 10 lib/zlib/contrib/iostream2/zstream_test.cpp out < "This works well" < h < g; h 217 lib/zlib/contrib/puff/puff.c local int decode(struct state *s, struct huffman *h) h 228 lib/zlib/contrib/puff/puff.c count = h->count[len]; h 230 lib/zlib/contrib/puff/puff.c return h->symbol[index + (code - first)]; h 245 lib/zlib/contrib/puff/puff.c local int decode(struct state *s, struct huffman *h) h 260 lib/zlib/contrib/puff/puff.c next = h->count + 1; h 269 lib/zlib/contrib/puff/puff.c return h->symbol[index + (code - first)]; h 319 lib/zlib/contrib/puff/puff.c local int construct(struct huffman *h, short *length, int n) h 328 lib/zlib/contrib/puff/puff.c h->count[len] = 0; h 330 lib/zlib/contrib/puff/puff.c (h->count[length[symbol]])++; /* assumes lengths are within bounds */ h 331 lib/zlib/contrib/puff/puff.c if (h->count[0] == n) /* no codes! */ h 338 lib/zlib/contrib/puff/puff.c left -= h->count[len]; /* deduct count from possible codes */ h 345 lib/zlib/contrib/puff/puff.c offs[len + 1] = offs[len] + h->count[len]; h 353 lib/zlib/contrib/puff/puff.c h->symbol[offs[length[symbol]]++] = symbol; h 167 lib/zlib/deflate.c #define UPDATE_HASH(s,h,c) (h = (((h)<<s->hash_shift) ^ (c)) & s->hash_mask) h 500 lib/zlib/trees.c int h; /* heap index */ h 514 lib/zlib/trees.c for (h = s->heap_max+1; h < HEAP_SIZE; h++) { h 515 lib/zlib/trees.c n = s->heap[h]; h 556 lib/zlib/trees.c m = s->heap[--h]; h 477 librpc/ndr/libndr.h bool policy_handle_empty(struct policy_handle *h); h 199 librpc/ndr/ndr_basic.c uintptr_t h; h 200 librpc/ndr/ndr_basic.c NDR_PULL_ALIGN(ndr, sizeof(h)); h 201 librpc/ndr/ndr_basic.c NDR_PULL_NEED_BYTES(ndr, sizeof(h)); h 202 librpc/ndr/ndr_basic.c memcpy(&h, ndr->data+ndr->offset, sizeof(h)); h 203 librpc/ndr/ndr_basic.c ndr->offset += sizeof(h); h 204 librpc/ndr/ndr_basic.c *v = (void *)h; h 396 librpc/ndr/ndr_basic.c uintptr_t h = (intptr_t)v; h 397 librpc/ndr/ndr_basic.c NDR_PUSH_ALIGN(ndr, sizeof(h)); h 398 librpc/ndr/ndr_basic.c NDR_PUSH_NEED_BYTES(ndr, sizeof(h)); h 399 librpc/ndr/ndr_basic.c memcpy(ndr->data+ndr->offset, &h, sizeof(h)); h 400 librpc/ndr/ndr_basic.c ndr->offset += sizeof(h); h 313 librpc/ndr/uuid.c _PUBLIC_ bool policy_handle_empty(struct policy_handle *h) h 315 librpc/ndr/uuid.c return (h->handle_type == 0 && GUID_all_zero(&h->uuid)); h 33 nsswitch/nsstest.c static void *h; h 38 nsswitch/nsstest.c if (!h) { h 39 nsswitch/nsstest.c h = dlopen(so_path, RTLD_LAZY); h 41 nsswitch/nsstest.c if (!h) { h 45 nsswitch/nsstest.c res = dlsym(h, s); h 37 nsswitch/winbind_nss_irix.c #include <ns_daemon.h> h 216 source3/lib/dbwrap_ctdb.c static int db_ctdb_transaction_destructor(struct db_ctdb_transaction_handle *h) h 218 source3/lib/dbwrap_ctdb.c tdb_transaction_cancel(h->ctx->wtdb->tdb); h 223 source3/lib/dbwrap_ctdb.c static int db_ctdb_transaction_fetch_start(struct db_ctdb_transaction_handle *h) h 230 source3/lib/dbwrap_ctdb.c struct db_ctdb_ctx *ctx = h->ctx; h 237 source3/lib/dbwrap_ctdb.c tmp_ctx = talloc_new(h); h 274 source3/lib/dbwrap_ctdb.c struct db_ctdb_transaction_handle *h; h 290 source3/lib/dbwrap_ctdb.c h = talloc_zero(db, struct db_ctdb_transaction_handle); h 291 source3/lib/dbwrap_ctdb.c if (h == NULL) { h 296 source3/lib/dbwrap_ctdb.c h->ctx = ctx; h 298 source3/lib/dbwrap_ctdb.c ret = db_ctdb_transaction_fetch_start(h); h 300 source3/lib/dbwrap_ctdb.c talloc_free(h); h 304 source3/lib/dbwrap_ctdb.c talloc_set_destructor(h, db_ctdb_transaction_destructor); h 306 source3/lib/dbwrap_ctdb.c ctx->transaction = h; h 322 source3/lib/dbwrap_ctdb.c struct db_ctdb_transaction_handle *h = db->transaction; h 324 source3/lib/dbwrap_ctdb.c *data = tdb_fetch(h->ctx->wtdb->tdb, key); h 343 source3/lib/dbwrap_ctdb.c if (!h->in_replay) { h 344 source3/lib/dbwrap_ctdb.c h->m_all = db_ctdb_marshall_add(h, h->m_all, h->ctx->db_id, 1, key, NULL, *data); h 345 source3/lib/dbwrap_ctdb.c if (h->m_all == NULL) { h 411 source3/lib/dbwrap_ctdb.c struct db_ctdb_transaction_handle *h = talloc_get_type_abort( h 413 source3/lib/dbwrap_ctdb.c int ret = h->ctx->db->transaction_commit(h->ctx->db); h 457 source3/lib/dbwrap_ctdb.c static int db_ctdb_transaction_store(struct db_ctdb_transaction_handle *h, h 460 source3/lib/dbwrap_ctdb.c TALLOC_CTX *tmp_ctx = talloc_new(h); h 466 source3/lib/dbwrap_ctdb.c rec = tdb_fetch(h->ctx->wtdb->tdb, key); h 488 source3/lib/dbwrap_ctdb.c if (!h->in_replay) { h 489 source3/lib/dbwrap_ctdb.c h->m_all = db_ctdb_marshall_add(h, h->m_all, h->ctx->db_id, 0, key, NULL, data); h 490 source3/lib/dbwrap_ctdb.c if (h->m_all == NULL) { h 497 source3/lib/dbwrap_ctdb.c h->m_write = db_ctdb_marshall_add(h, h->m_write, h->ctx->db_id, 0, key, &header, data); h 498 source3/lib/dbwrap_ctdb.c if (h->m_write == NULL) { h 514 source3/lib/dbwrap_ctdb.c ret = tdb_store(h->ctx->wtdb->tdb, key, rec, TDB_REPLACE); h 527 source3/lib/dbwrap_ctdb.c struct db_ctdb_transaction_handle *h = talloc_get_type_abort( h 531 source3/lib/dbwrap_ctdb.c ret = db_ctdb_transaction_store(h, rec->key, data); h 533 source3/lib/dbwrap_ctdb.c return tdb_error_to_ntstatus(h->ctx->wtdb->tdb); h 543 source3/lib/dbwrap_ctdb.c struct db_ctdb_transaction_handle *h = talloc_get_type_abort( h 547 source3/lib/dbwrap_ctdb.c ret = db_ctdb_transaction_store(h, rec->key, tdb_null); h 549 source3/lib/dbwrap_ctdb.c return tdb_error_to_ntstatus(h->ctx->wtdb->tdb); h 558 source3/lib/dbwrap_ctdb.c static int ctdb_replay_transaction(struct db_ctdb_transaction_handle *h) h 563 source3/lib/dbwrap_ctdb.c h->in_replay = true; h 564 source3/lib/dbwrap_ctdb.c talloc_free(h->m_write); h 565 source3/lib/dbwrap_ctdb.c h->m_write = NULL; h 567 source3/lib/dbwrap_ctdb.c ret = db_ctdb_transaction_fetch_start(h); h 572 source3/lib/dbwrap_ctdb.c for (i=0;i<h->m_all->count;i++) { h 575 source3/lib/dbwrap_ctdb.c rec = db_ctdb_marshall_loop_next(h->m_all, rec, NULL, NULL, &key, &data); h 583 source3/lib/dbwrap_ctdb.c if (db_ctdb_transaction_store(h, key, data) != 0) { h 588 source3/lib/dbwrap_ctdb.c TALLOC_CTX *tmp_ctx = talloc_new(h); h 590 source3/lib/dbwrap_ctdb.c if (db_ctdb_transaction_fetch(h->ctx, tmp_ctx, key, &data2) != 0) { h 607 source3/lib/dbwrap_ctdb.c tdb_transaction_cancel(h->ctx->wtdb->tdb); h 623 source3/lib/dbwrap_ctdb.c struct db_ctdb_transaction_handle *h = ctx->transaction; h 626 source3/lib/dbwrap_ctdb.c if (h == NULL) { h 631 source3/lib/dbwrap_ctdb.c if (h->nested_cancel) { h 637 source3/lib/dbwrap_ctdb.c if (h->nesting != 0) { h 638 source3/lib/dbwrap_ctdb.c h->nesting--; h 644 source3/lib/dbwrap_ctdb.c talloc_set_destructor(h, NULL); h 662 source3/lib/dbwrap_ctdb.c if (h->m_write == NULL) { h 664 source3/lib/dbwrap_ctdb.c tdb_transaction_cancel(h->ctx->wtdb->tdb); h 665 source3/lib/dbwrap_ctdb.c talloc_free(h); h 673 source3/lib/dbwrap_ctdb.c h->ctx->db_id, 0, h 674 source3/lib/dbwrap_ctdb.c db_ctdb_marshall_finish(h->m_write), NULL, NULL, &status); h 676 source3/lib/dbwrap_ctdb.c tdb_transaction_cancel(h->ctx->wtdb->tdb); h 698 source3/lib/dbwrap_ctdb.c h->ctx->db_id, retries, (unsigned)failure_control)); h 700 source3/lib/dbwrap_ctdb.c h->ctx->db_id, CTDB_CTRL_FLAG_NOREPLY, h 702 source3/lib/dbwrap_ctdb.c h->ctx->transaction = NULL; h 703 source3/lib/dbwrap_ctdb.c talloc_free(h); h 708 source3/lib/dbwrap_ctdb.c if (ctdb_replay_transaction(h) != 0) { h 712 source3/lib/dbwrap_ctdb.c h->ctx->db_id, CTDB_CTRL_FLAG_NOREPLY, h 714 source3/lib/dbwrap_ctdb.c h->ctx->transaction = NULL; h 715 source3/lib/dbwrap_ctdb.c talloc_free(h); h 725 source3/lib/dbwrap_ctdb.c ret = tdb_transaction_commit(h->ctx->wtdb->tdb); h 729 source3/lib/dbwrap_ctdb.c ctdbd_control_local(messaging_ctdbd_connection(), failure_control, h->ctx->db_id, h 731 source3/lib/dbwrap_ctdb.c h->ctx->transaction = NULL; h 732 source3/lib/dbwrap_ctdb.c talloc_free(h); h 738 source3/lib/dbwrap_ctdb.c h->ctx->db_id, CTDB_CTRL_FLAG_NOREPLY, h 740 source3/lib/dbwrap_ctdb.c h->ctx->transaction = NULL; h 741 source3/lib/dbwrap_ctdb.c talloc_free(h); h 753 source3/lib/dbwrap_ctdb.c struct db_ctdb_transaction_handle *h = ctx->transaction; h 755 source3/lib/dbwrap_ctdb.c if (h == NULL) { h 760 source3/lib/dbwrap_ctdb.c if (h->nesting != 0) { h 761 source3/lib/dbwrap_ctdb.c h->nesting--; h 762 source3/lib/dbwrap_ctdb.c h->nested_cancel = true; h 769 source3/lib/dbwrap_ctdb.c talloc_free(h); h 42 source3/lib/ldb/common/ldb_attributes.c struct ldb_attrib_handler *h; h 43 source3/lib/ldb/common/ldb_attributes.c h = talloc_realloc(ldb, ldb->schema.attrib_handlers, h 46 source3/lib/ldb/common/ldb_attributes.c if (h == NULL) { h 50 source3/lib/ldb/common/ldb_attributes.c ldb->schema.attrib_handlers = h; h 51 source3/lib/ldb/common/ldb_attributes.c memcpy(h + ldb->schema.num_attrib_handlers, h 52 source3/lib/ldb/common/ldb_attributes.c handlers, sizeof(*h) * num_handlers); h 54 source3/lib/ldb/common/ldb_attributes.c if (h[ldb->schema.num_attrib_handlers+i].flags & LDB_ATTR_FLAG_ALLOCATED) { h 55 source3/lib/ldb/common/ldb_attributes.c h[ldb->schema.num_attrib_handlers+i].attr = talloc_strdup(ldb->schema.attrib_handlers, h 56 source3/lib/ldb/common/ldb_attributes.c h[ldb->schema.num_attrib_handlers+i].attr); h 57 source3/lib/ldb/common/ldb_attributes.c if (h[ldb->schema.num_attrib_handlers+i].attr == NULL) { h 136 source3/lib/ldb/common/ldb_attributes.c const struct ldb_attrib_handler *h; h 138 source3/lib/ldb/common/ldb_attributes.c h = ldb_attrib_handler(ldb, attrib); h 139 source3/lib/ldb/common/ldb_attributes.c if (h == &ldb_default_attrib_handler) { h 142 source3/lib/ldb/common/ldb_attributes.c if (h->flags & LDB_ATTR_FLAG_ALLOCATED) { h 143 source3/lib/ldb/common/ldb_attributes.c talloc_free(discard_const_p(char, h->attr)); h 145 source3/lib/ldb/common/ldb_attributes.c i = h - ldb->schema.attrib_handlers; h 148 source3/lib/ldb/common/ldb_attributes.c h+1, sizeof(*h) * (ldb->schema.num_attrib_handlers-(i+1))); h 159 source3/lib/ldb/common/ldb_attributes.c const struct ldb_attrib_handler *h = ldb_attrib_handler_syntax(ldb, syntax); h 161 source3/lib/ldb/common/ldb_attributes.c if (h == NULL) { h 165 source3/lib/ldb/common/ldb_attributes.c h2 = *h; h 526 source3/lib/ldb/common/ldb_dn.c const struct ldb_attrib_handler *h; h 536 source3/lib/ldb/common/ldb_dn.c h = ldb_attrib_handler(ldb, base->components[n0].name); h 537 source3/lib/ldb/common/ldb_dn.c ret = h->comparison_fn(ldb, ldb, &(base->components[n0].value), h 616 source3/lib/ldb/common/ldb_dn.c const struct ldb_attrib_handler *h; h 625 source3/lib/ldb/common/ldb_dn.c h = ldb_attrib_handler(ldb, dc.name); h 626 source3/lib/ldb/common/ldb_dn.c ret = h->canonicalise_fn(ldb, cedn->components, h 308 source3/lib/ldb/common/ldb_ldif.c const struct ldb_attrib_handler *h; h 310 source3/lib/ldb/common/ldb_ldif.c h = ldb_attrib_handler(ldb, msg->elements[i].name); h 331 source3/lib/ldb/common/ldb_ldif.c ret = h->ldif_write_fn(ldb, mem_ctx, &msg->elements[i].values[j], &v); h 577 source3/lib/ldb/common/ldb_ldif.c const struct ldb_attrib_handler *h; h 623 source3/lib/ldb/common/ldb_ldif.c h = ldb_attrib_handler(ldb, attr); h 634 source3/lib/ldb/common/ldb_ldif.c ret = h->ldif_read_fn(ldb, ldif, &value, &el->values[el->num_values]); h 663 source3/lib/ldb/common/ldb_ldif.c ret = h->ldif_read_fn(ldb, ldif, &value, &el->values[0]); h 106 source3/lib/ldb/common/ldb_match.c const struct ldb_attrib_handler *h; h 117 source3/lib/ldb/common/ldb_match.c h = ldb_attrib_handler(ldb, el->name); h 120 source3/lib/ldb/common/ldb_match.c ret = h->comparison_fn(ldb, ldb, &el->values[i], &tree->u.comparison.value); h 146 source3/lib/ldb/common/ldb_match.c const struct ldb_attrib_handler *h; h 172 source3/lib/ldb/common/ldb_match.c h = ldb_attrib_handler(ldb, el->name); h 175 source3/lib/ldb/common/ldb_match.c if (h->comparison_fn(ldb, ldb, &tree->u.equality.value, h 188 source3/lib/ldb/common/ldb_match.c const struct ldb_attrib_handler *h; h 196 source3/lib/ldb/common/ldb_match.c h = ldb_attrib_handler(ldb, tree->u.substring.attr); h 198 source3/lib/ldb/common/ldb_match.c if(h->canonicalise_fn(ldb, ldb, &value, &val) != 0) h 207 source3/lib/ldb/common/ldb_match.c if(h->canonicalise_fn(ldb, ldb, chunk, &cnk) != 0) goto failed; h 224 source3/lib/ldb/common/ldb_match.c if(h->canonicalise_fn(ldb, ldb, chunk, &cnk) != 0) goto failed; h 328 source3/lib/ldb/ldb_ildap/ldb_ildap.c struct ldb_handle *h; h 330 source3/lib/ldb/ldb_ildap/ldb_ildap.c h = talloc_zero(ildb->ldap, struct ldb_handle); h 331 source3/lib/ldb/ldb_ildap/ldb_ildap.c if (h == NULL) { h 336 source3/lib/ldb/ldb_ildap/ldb_ildap.c h->module = module; h 338 source3/lib/ldb/ldb_ildap/ldb_ildap.c ildb_ac = talloc(h, struct ildb_context); h 341 source3/lib/ldb/ldb_ildap/ldb_ildap.c talloc_free(h); h 345 source3/lib/ldb/ldb_ildap/ldb_ildap.c h->private_data = (void *)ildb_ac; h 347 source3/lib/ldb/ldb_ildap/ldb_ildap.c h->state = LDB_ASYNC_INIT; h 348 source3/lib/ldb/ldb_ildap/ldb_ildap.c h->status = LDB_SUCCESS; h 354 source3/lib/ldb/ldb_ildap/ldb_ildap.c return h; h 364 source3/lib/ldb/ldb_ildap/ldb_ildap.c struct ldb_handle *h = init_ildb_handle(module, context, callback); h 368 source3/lib/ldb/ldb_ildap/ldb_ildap.c if (!h) { h 372 source3/lib/ldb/ldb_ildap/ldb_ildap.c ildb_ac = talloc_get_type(h->private_data, struct ildb_context); h 388 source3/lib/ldb/ldb_ildap/ldb_ildap.c req->time_event = event_add_timed(req->conn->event.event_ctx, h, h 390 source3/lib/ldb/ldb_ildap/ldb_ildap.c ildb_request_timeout, h); h 394 source3/lib/ldb/ldb_ildap/ldb_ildap.c req->async.private_data = (void *)h; h 397 source3/lib/ldb/ldb_ildap/ldb_ildap.c *handle = h; h 403 source3/lib/ldb/ldb_ildap/ldb_ildap.c struct ldb_handle *h = init_ildb_handle(module, req->context, req->callback); h 407 source3/lib/ldb/ldb_ildap/ldb_ildap.c if (!h) { h 411 source3/lib/ldb/ldb_ildap/ldb_ildap.c ildb_ac = talloc_get_type(h->private_data, struct ildb_context); h 413 source3/lib/ldb/ldb_ildap/ldb_ildap.c req->handle = h; h 71 source3/lib/ldb/ldb_ldap/ldb_ldap.c struct ldb_handle *h; h 73 source3/lib/ldb/ldb_ldap/ldb_ldap.c h = talloc_zero(lldb, struct ldb_handle); h 74 source3/lib/ldb/ldb_ldap/ldb_ldap.c if (h == NULL) { h 79 source3/lib/ldb/ldb_ldap/ldb_ldap.c h->module = module; h 81 source3/lib/ldb/ldb_ldap/ldb_ldap.c ac = talloc(h, struct lldb_context); h 84 source3/lib/ldb/ldb_ldap/ldb_ldap.c talloc_free(h); h 88 source3/lib/ldb/ldb_ldap/ldb_ldap.c h->private_data = (void *)ac; h 90 source3/lib/ldb/ldb_ldap/ldb_ldap.c h->state = LDB_ASYNC_INIT; h 91 source3/lib/ldb/ldb_ldap/ldb_ldap.c h->status = LDB_SUCCESS; h 100 source3/lib/ldb/ldb_ldap/ldb_ldap.c return h; h 64 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c struct ldb_handle *h; h 66 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = talloc_zero(lsqlite3, struct ldb_handle); h 67 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c if (h == NULL) { h 72 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->module = module; h 74 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c ac = talloc(h, struct lsql_context); h 77 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c talloc_free(h); h 81 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->private_data = (void *)ac; h 83 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->state = LDB_ASYNC_INIT; h 84 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->status = LDB_SUCCESS; h 90 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c return h; h 285 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c const struct ldb_attrib_handler *h; h 345 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(module->ldb, attr); h 348 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, mem_ctx, &(t->u.equality.value), &value); h 410 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(module->ldb, attr); h 416 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, mem_ctx, &(subval), &value); h 431 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(module->ldb, attr); h 434 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, mem_ctx, &(t->u.equality.value), &value); h 450 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(module->ldb, attr); h 453 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, mem_ctx, &(t->u.equality.value), &value); h 482 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(module->ldb, attr); h 485 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, mem_ctx, &(t->u.equality.value), &value); h 623 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c const struct ldb_attrib_handler *h; h 631 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(ldb, attr); h 636 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c ret = h->comparison_fn(ldb, ldb, &valY, &valX); h 645 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(ldb, attr); h 650 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c ret = h->comparison_fn(ldb, ldb, &valY, &valX); h 1103 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c const struct ldb_attrib_handler *h; h 1114 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(module->ldb, el->name); h 1122 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, lsql_ac, &(el->values[j]), &value); h 1204 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c const struct ldb_attrib_handler *h; h 1217 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h = ldb_attrib_handler(module->ldb, el->name); h 1253 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, lsql_ac, &(el->values[j]), &value); h 1314 source3/lib/ldb/ldb_sqlite3/ldb_sqlite3.c h->canonicalise_fn(module->ldb, lsql_ac, &(el->values[j]), &value); h 131 source3/lib/ldb/ldb_tdb/ldb_cache.c const struct ldb_attrib_handler *h; h 155 source3/lib/ldb/ldb_tdb/ldb_cache.c h = ldb_attrib_handler_syntax(module->ldb, syntax); h 156 source3/lib/ldb/ldb_tdb/ldb_cache.c if (h == NULL) { h 162 source3/lib/ldb/ldb_tdb/ldb_cache.c h2 = *h; h 111 source3/lib/ldb/ldb_tdb/ldb_index.c const struct ldb_attrib_handler *h; h 119 source3/lib/ldb/ldb_tdb/ldb_index.c h = ldb_attrib_handler(ldb, attr); h 120 source3/lib/ldb/ldb_tdb/ldb_index.c if (h->canonicalise_fn(ldb, ldb, value, &v) != 0) { h 125 source3/lib/ldb/ldb_tdb/ldb_search.c const struct ldb_attrib_handler *h; h 126 source3/lib/ldb/ldb_tdb/ldb_search.c h = ldb_attrib_handler(ldb, msg->elements[i].name); h 127 source3/lib/ldb/ldb_tdb/ldb_search.c if (h->flags & LDB_ATTR_FLAG_HIDDEN) { h 85 source3/lib/ldb/ldb_tdb/ldb_tdb.c struct ldb_handle *h; h 87 source3/lib/ldb/ldb_tdb/ldb_tdb.c h = talloc_zero(req, struct ldb_handle); h 88 source3/lib/ldb/ldb_tdb/ldb_tdb.c if (h == NULL) { h 93 source3/lib/ldb/ldb_tdb/ldb_tdb.c h->module = module; h 95 source3/lib/ldb/ldb_tdb/ldb_tdb.c ac = talloc_zero(h, struct ltdb_context); h 98 source3/lib/ldb/ldb_tdb/ldb_tdb.c talloc_free(h); h 102 source3/lib/ldb/ldb_tdb/ldb_tdb.c h->private_data = (void *)ac; h 104 source3/lib/ldb/ldb_tdb/ldb_tdb.c h->state = LDB_ASYNC_INIT; h 105 source3/lib/ldb/ldb_tdb/ldb_tdb.c h->status = LDB_SUCCESS; h 111 source3/lib/ldb/ldb_tdb/ldb_tdb.c return h; h 555 source3/lib/ldb/ldb_tdb/ldb_tdb.c const struct ldb_attrib_handler *h; h 564 source3/lib/ldb/ldb_tdb/ldb_tdb.c h = ldb_attrib_handler(ldb, el->name); h 567 source3/lib/ldb/ldb_tdb/ldb_tdb.c if (h->comparison_fn(ldb, ldb, &el->values[i], val) == 0) { h 70 source3/lib/ldb/modules/asq.c struct ldb_handle *h; h 72 source3/lib/ldb/modules/asq.c h = talloc_zero(mem_ctx, struct ldb_handle); h 73 source3/lib/ldb/modules/asq.c if (h == NULL) { h 78 source3/lib/ldb/modules/asq.c h->module = module; h 80 source3/lib/ldb/modules/asq.c ac = talloc_zero(h, struct asq_context); h 83 source3/lib/ldb/modules/asq.c talloc_free(h); h 87 source3/lib/ldb/modules/asq.c h->private_data = (void *)ac; h 89 source3/lib/ldb/modules/asq.c h->state = LDB_ASYNC_INIT; h 90 source3/lib/ldb/modules/asq.c h->status = LDB_SUCCESS; h 96 source3/lib/ldb/modules/asq.c return h; h 215 source3/lib/ldb/modules/asq.c struct ldb_handle *h; h 239 source3/lib/ldb/modules/asq.c h = init_handle(req, module, req->context, req->callback); h 240 source3/lib/ldb/modules/asq.c if (!h) { h 243 source3/lib/ldb/modules/asq.c if (!(ac = talloc_get_type(h->private_data, struct asq_context))) { h 248 source3/lib/ldb/modules/asq.c req->handle = h; h 253 source3/lib/ldb/modules/asq.c return asq_terminate(h); h 105 source3/lib/ldb/modules/ldb_map.c static struct map_context *map_init_context(struct ldb_handle *h, struct ldb_request *req) h 109 source3/lib/ldb/modules/ldb_map.c ac = talloc_zero(h, struct map_context); h 111 source3/lib/ldb/modules/ldb_map.c map_oom(h->module); h 115 source3/lib/ldb/modules/ldb_map.c ac->module = h->module; h 143 source3/lib/ldb/modules/ldb_map.c struct ldb_handle *h; h 145 source3/lib/ldb/modules/ldb_map.c h = talloc_zero(req, struct ldb_handle); h 146 source3/lib/ldb/modules/ldb_map.c if (h == NULL) { h 151 source3/lib/ldb/modules/ldb_map.c h->module = module; h 153 source3/lib/ldb/modules/ldb_map.c ac = map_init_context(h, req); h 155 source3/lib/ldb/modules/ldb_map.c talloc_free(h); h 159 source3/lib/ldb/modules/ldb_map.c h->private_data = (void *)ac; h 161 source3/lib/ldb/modules/ldb_map.c h->state = LDB_ASYNC_INIT; h 162 source3/lib/ldb/modules/ldb_map.c h->status = LDB_SUCCESS; h 164 source3/lib/ldb/modules/ldb_map.c return h; h 222 source3/lib/ldb/modules/ldb_map_inbound.c struct ldb_handle *h; h 243 source3/lib/ldb/modules/ldb_map_inbound.c h = map_init_handle(req, module); h 244 source3/lib/ldb/modules/ldb_map_inbound.c if (h == NULL) { h 247 source3/lib/ldb/modules/ldb_map_inbound.c ac = talloc_get_type(h->private_data, struct map_context); h 293 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 294 source3/lib/ldb/modules/ldb_map_inbound.c return map_add_do_remote(h); h 304 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 305 source3/lib/ldb/modules/ldb_map_inbound.c return map_add_do_local(h); h 310 source3/lib/ldb/modules/ldb_map_inbound.c talloc_free(h); h 375 source3/lib/ldb/modules/ldb_map_inbound.c struct ldb_handle *h; h 398 source3/lib/ldb/modules/ldb_map_inbound.c h = map_init_handle(req, module); h 399 source3/lib/ldb/modules/ldb_map_inbound.c if (h == NULL) { h 402 source3/lib/ldb/modules/ldb_map_inbound.c ac = talloc_get_type(h->private_data, struct map_context); h 448 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 449 source3/lib/ldb/modules/ldb_map_inbound.c return map_modify_do_remote(h); h 460 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 466 source3/lib/ldb/modules/ldb_map_inbound.c talloc_free(h); h 512 source3/lib/ldb/modules/ldb_map_inbound.c struct ldb_handle *h; h 526 source3/lib/ldb/modules/ldb_map_inbound.c h = map_init_handle(req, module); h 527 source3/lib/ldb/modules/ldb_map_inbound.c if (h == NULL) { h 530 source3/lib/ldb/modules/ldb_map_inbound.c ac = talloc_get_type(h->private_data, struct map_context); h 555 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 556 source3/lib/ldb/modules/ldb_map_inbound.c return map_delete_do_remote(h); h 568 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 577 source3/lib/ldb/modules/ldb_map_inbound.c talloc_free(h); h 640 source3/lib/ldb/modules/ldb_map_inbound.c struct ldb_handle *h; h 661 source3/lib/ldb/modules/ldb_map_inbound.c h = map_init_handle(req, module); h 662 source3/lib/ldb/modules/ldb_map_inbound.c if (h == NULL) { h 665 source3/lib/ldb/modules/ldb_map_inbound.c ac = talloc_get_type(h->private_data, struct map_context); h 695 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 696 source3/lib/ldb/modules/ldb_map_inbound.c return map_rename_do_remote(h); h 712 source3/lib/ldb/modules/ldb_map_inbound.c req->handle = h; /* return our own handle to deal with this call */ h 721 source3/lib/ldb/modules/ldb_map_inbound.c talloc_free(h); h 1166 source3/lib/ldb/modules/ldb_map_outbound.c struct ldb_handle *h; h 1187 source3/lib/ldb/modules/ldb_map_outbound.c h = map_init_handle(req, module); h 1188 source3/lib/ldb/modules/ldb_map_outbound.c if (h == NULL) { h 1191 source3/lib/ldb/modules/ldb_map_outbound.c ac = talloc_get_type(h->private_data, struct map_context); h 1195 source3/lib/ldb/modules/ldb_map_outbound.c talloc_free(h); h 1209 source3/lib/ldb/modules/ldb_map_outbound.c ac->search_reqs[0]->handle = h; /* return our own handle to deal with this call */ h 1269 source3/lib/ldb/modules/ldb_map_outbound.c h->state = LDB_ASYNC_INIT; h 1270 source3/lib/ldb/modules/ldb_map_outbound.c h->status = LDB_SUCCESS; h 1276 source3/lib/ldb/modules/ldb_map_outbound.c req->handle = h; h 1283 source3/lib/ldb/modules/ldb_map_outbound.c talloc_free(h); h 61 source3/lib/ldb/modules/objectclass.c struct ldb_handle *h; h 63 source3/lib/ldb/modules/objectclass.c h = talloc_zero(req, struct ldb_handle); h 64 source3/lib/ldb/modules/objectclass.c if (h == NULL) { h 69 source3/lib/ldb/modules/objectclass.c h->module = module; h 71 source3/lib/ldb/modules/objectclass.c ac = talloc_zero(h, struct oc_context); h 74 source3/lib/ldb/modules/objectclass.c talloc_free(h); h 78 source3/lib/ldb/modules/objectclass.c h->private_data = (void *)ac; h 80 source3/lib/ldb/modules/objectclass.c h->state = LDB_ASYNC_INIT; h 81 source3/lib/ldb/modules/objectclass.c h->status = LDB_SUCCESS; h 86 source3/lib/ldb/modules/objectclass.c return h; h 391 source3/lib/ldb/modules/objectclass.c struct ldb_handle *h; h 394 source3/lib/ldb/modules/objectclass.c h = oc_init_handle(req, module); h 395 source3/lib/ldb/modules/objectclass.c if (!h) { h 398 source3/lib/ldb/modules/objectclass.c ac = talloc_get_type(h->private_data, struct oc_context); h 401 source3/lib/ldb/modules/objectclass.c req->handle = h; h 449 source3/lib/ldb/modules/objectclass.c static int objectclass_search_self(struct ldb_handle *h) { h 454 source3/lib/ldb/modules/objectclass.c ac = talloc_get_type(h->private_data, struct oc_context); h 482 source3/lib/ldb/modules/objectclass.c static int objectclass_do_mod(struct ldb_handle *h) { h 491 source3/lib/ldb/modules/objectclass.c ac = talloc_get_type(h->private_data, struct oc_context); h 563 source3/lib/ldb/modules/objectclass.c h->state = LDB_ASYNC_INIT; h 564 source3/lib/ldb/modules/objectclass.c h->status = LDB_SUCCESS; h 148 source3/lib/ldb/modules/paged_results.c struct ldb_handle *h; h 150 source3/lib/ldb/modules/paged_results.c h = talloc_zero(mem_ctx, struct ldb_handle); h 151 source3/lib/ldb/modules/paged_results.c if (h == NULL) { h 156 source3/lib/ldb/modules/paged_results.c h->module = module; h 158 source3/lib/ldb/modules/paged_results.c ac = talloc_zero(h, struct paged_context); h 161 source3/lib/ldb/modules/paged_results.c talloc_free(h); h 165 source3/lib/ldb/modules/paged_results.c h->private_data = (void *)ac; h 167 source3/lib/ldb/modules/paged_results.c h->state = LDB_ASYNC_INIT; h 168 source3/lib/ldb/modules/paged_results.c h->status = LDB_SUCCESS; h 174 source3/lib/ldb/modules/paged_results.c return h; h 239 source3/lib/ldb/modules/paged_results.c struct ldb_handle *h; h 264 source3/lib/ldb/modules/paged_results.c h = init_handle(req, module, req->context, req->callback); h 265 source3/lib/ldb/modules/paged_results.c if (!h) { h 268 source3/lib/ldb/modules/paged_results.c ac = talloc_get_type(h->private_data, struct paged_context); h 277 source3/lib/ldb/modules/paged_results.c talloc_free(h); h 315 source3/lib/ldb/modules/paged_results.c talloc_free(h); h 323 source3/lib/ldb/modules/paged_results.c req->handle = h; h 328 source3/lib/ldb/modules/paged_results.c h->status = LDB_SUCCESS; h 329 source3/lib/ldb/modules/paged_results.c h->state = LDB_ASYNC_DONE; h 67 source3/lib/ldb/modules/paged_searches.c struct ldb_handle *h; h 69 source3/lib/ldb/modules/paged_searches.c h = talloc_zero(mem_ctx, struct ldb_handle); h 70 source3/lib/ldb/modules/paged_searches.c if (h == NULL) { h 75 source3/lib/ldb/modules/paged_searches.c h->module = module; h 77 source3/lib/ldb/modules/paged_searches.c ac = talloc_zero(h, struct ps_context); h 80 source3/lib/ldb/modules/paged_searches.c talloc_free(h); h 84 source3/lib/ldb/modules/paged_searches.c h->private_data = (void *)ac; h 86 source3/lib/ldb/modules/paged_searches.c h->state = LDB_ASYNC_INIT; h 87 source3/lib/ldb/modules/paged_searches.c h->status = LDB_SUCCESS; h 97 source3/lib/ldb/modules/paged_searches.c return h; h 236 source3/lib/ldb/modules/paged_searches.c struct ldb_handle *h; h 254 source3/lib/ldb/modules/paged_searches.c h = init_handle(req, module, req->context, req->callback); h 255 source3/lib/ldb/modules/paged_searches.c if (!h) { h 258 source3/lib/ldb/modules/paged_searches.c ac = talloc_get_type(h->private_data, struct ps_context); h 291 source3/lib/ldb/modules/paged_searches.c req->handle = h; h 149 source3/lib/ldb/modules/rdn_name.c struct ldb_handle *h; h 159 source3/lib/ldb/modules/rdn_name.c h = talloc_zero(req, struct ldb_handle); h 160 source3/lib/ldb/modules/rdn_name.c if (h == NULL) { h 164 source3/lib/ldb/modules/rdn_name.c h->module = module; h 166 source3/lib/ldb/modules/rdn_name.c ac = talloc_zero(h, struct rename_context); h 171 source3/lib/ldb/modules/rdn_name.c h->private_data = (void *)ac; h 173 source3/lib/ldb/modules/rdn_name.c h->state = LDB_ASYNC_INIT; h 174 source3/lib/ldb/modules/rdn_name.c h->status = LDB_SUCCESS; h 186 source3/lib/ldb/modules/rdn_name.c req->handle = h; h 192 source3/lib/ldb/modules/rdn_name.c static int rdn_name_rename_do_mod(struct ldb_handle *h) { h 199 source3/lib/ldb/modules/rdn_name.c ac = talloc_get_type(h->private_data, struct rename_context); h 234 source3/lib/ldb/modules/rdn_name.c ldb_set_timeout_from_prev_req(h->module->ldb, ac->orig_req, ac->mod_req); h 239 source3/lib/ldb/modules/rdn_name.c return ldb_request(h->module->ldb, ac->mod_req); h 39 source3/lib/ldb/modules/sort.c const struct ldb_attrib_handler *h; h 61 source3/lib/ldb/modules/sort.c const struct ldb_attrib_handler *h; h 70 source3/lib/ldb/modules/sort.c struct ldb_handle *h; h 72 source3/lib/ldb/modules/sort.c h = talloc_zero(mem_ctx, struct ldb_handle); h 73 source3/lib/ldb/modules/sort.c if (h == NULL) { h 78 source3/lib/ldb/modules/sort.c h->module = module; h 80 source3/lib/ldb/modules/sort.c ac = talloc_zero(h, struct sort_context); h 83 source3/lib/ldb/modules/sort.c talloc_free(h); h 87 source3/lib/ldb/modules/sort.c h->private_data = (void *)ac; h 89 source3/lib/ldb/modules/sort.c h->state = LDB_ASYNC_INIT; h 90 source3/lib/ldb/modules/sort.c h->status = LDB_SUCCESS; h 96 source3/lib/ldb/modules/sort.c return h; h 163 source3/lib/ldb/modules/sort.c return ac->h->comparison_fn(ac->module->ldb, ac, &el2->values[0], &el1->values[0]); h 165 source3/lib/ldb/modules/sort.c return ac->h->comparison_fn(ac->module->ldb, ac, &el1->values[0], &el2->values[0]); h 221 source3/lib/ldb/modules/sort.c struct ldb_handle *h; h 239 source3/lib/ldb/modules/sort.c h = init_handle(req, module, req->context, req->callback); h 240 source3/lib/ldb/modules/sort.c if (!h) { h 243 source3/lib/ldb/modules/sort.c ac = talloc_get_type(h->private_data, struct sort_context); h 267 source3/lib/ldb/modules/sort.c h->status = LDB_ERR_UNSUPPORTED_CRITICAL_EXTENSION; h 268 source3/lib/ldb/modules/sort.c h->state = LDB_ASYNC_DONE; h 304 source3/lib/ldb/modules/sort.c req->handle = h; h 317 source3/lib/ldb/modules/sort.c ac->h = ldb_attrib_handler(ac->module->ldb, ac->attributeName); h 815 source3/lib/substitute.c char *h; h 816 source3/lib/substitute.c if ((h = get_user_home_dir(talloc_tos(), user))) h 817 source3/lib/substitute.c a_string = realloc_string_sub(a_string, "%H", h); h 818 source3/lib/substitute.c TALLOC_FREE(h); h 214 source3/modules/vfs_preopen.c static NTSTATUS preopen_init_helper(struct preopen_helper *h) h 225 source3/modules/vfs_preopen.c h->pid = sys_fork(); h 227 source3/modules/vfs_preopen.c if (h->pid == -1) { h 231 source3/modules/vfs_preopen.c if (h->pid == 0) { h 233 source3/modules/vfs_preopen.c preopen_helper(fdpair[1], h->state->to_read); h 237 source3/modules/vfs_preopen.c h->fd = fdpair[0]; h 238 source3/modules/vfs_preopen.c h->fde = event_add_fd(smbd_event_context(), h->state, h->fd, h 239 source3/modules/vfs_preopen.c EVENT_FD_READ, preopen_helper_readable, h); h 240 source3/modules/vfs_preopen.c if (h->fde == NULL) { h 241 source3/modules/vfs_preopen.c close(h->fd); h 242 source3/modules/vfs_preopen.c h->fd = -1; h 245 source3/modules/vfs_preopen.c h->busy = false; h 32 source3/torture/nsstest.c static void *h; h 39 source3/torture/nsstest.c if (!h) { h 40 source3/torture/nsstest.c h = dlopen(so_path, RTLD_LAZY); h 42 source3/torture/nsstest.c if (!h) { h 46 source3/torture/nsstest.c res = dlsym(h, s); h 306 source3/torture/torture.c char *h, *s; h 314 source3/torture/torture.c NULL, &h, &s)) { h 321 source3/torture/torture.c result = torture_open_connection_share(c, h, s); h 123 source3/utils/log2pcaphex.c struct tcpdump_file_header h; h 124 source3/utils/log2pcaphex.c h.magic = TCPDUMP_MAGIC; h 125 source3/utils/log2pcaphex.c h.major = 2; h 126 source3/utils/log2pcaphex.c h.minor = 4; h 127 source3/utils/log2pcaphex.c h.zone = 0; h 128 source3/utils/log2pcaphex.c h.sigfigs = 0; h 129 source3/utils/log2pcaphex.c h.snaplen = 102400; /* As long packets as possible */ h 130 source3/utils/log2pcaphex.c h.linktype = 101; /* Raw IP */ h 131 source3/utils/log2pcaphex.c fwrite(&h, sizeof(struct tcpdump_file_header), 1, out); h 105 source4/client/cifsdd.h bool dd_fill_block(struct dd_iohandle * h, uint8_t * buf, h 107 source4/client/cifsdd.h bool dd_flush_block(struct dd_iohandle * h, uint8_t * buf, h 35 source4/client/cifsddio.c struct dd_iohandle h; h 39 source4/client/cifsddio.c #define IO_HANDLE_TO_FD(h) (((struct fd_handle *)(h))->fd) h 105 source4/client/cifsddio.c fdh->h.io_read = fd_read_func; h 106 source4/client/cifsddio.c fdh->h.io_write = fd_write_func; h 107 source4/client/cifsddio.c fdh->h.io_seek = fd_seek_func; h 134 source4/client/cifsddio.c SMB_ASSERT((void *)fdh == (void *)&fdh->h); h 135 source4/client/cifsddio.c return(&fdh->h); h 144 source4/client/cifsddio.c struct dd_iohandle h; h 150 source4/client/cifsddio.c #define IO_HANDLE_TO_SMB(h) ((struct cifs_handle *)(h)) h 333 source4/client/cifsddio.c smbh->h.io_read = smb_read_func; h 334 source4/client/cifsddio.c smbh->h.io_write = smb_write_func; h 335 source4/client/cifsddio.c smbh->h.io_seek = smb_seek_func; h 349 source4/client/cifsddio.c return(&smbh->h); h 401 source4/client/cifsddio.c bool dd_fill_block(struct dd_iohandle * h, h 414 source4/client/cifsddio.c if (!h->io_read(h, buf + (*buf_size), block_size, &read_size)) { h 419 source4/client/cifsddio.c h->io_flags |= DD_END_OF_FILE; h 447 source4/client/cifsddio.c bool dd_flush_block(struct dd_iohandle * h, h 460 source4/client/cifsddio.c if (!h->io_write(h, buf, *buf_size, &write_size)) { h 478 source4/client/cifsddio.c if (!h->io_write(h, buf + total_size, block_size, &write_size)) { h 113 source4/heimdal/kdc/kaserver.c struct rx_header *h) h 117 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->epoch); h 119 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->connid); h 121 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->callid); h 123 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->seqno); h 125 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint32(sp, &h->serialno); h 127 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->type); h 129 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->flags); h 131 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->status); h 133 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint8(sp, &h->secindex); h 135 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint16(sp, &h->reserved); h 137 source4/heimdal/kdc/kaserver.c ret = krb5_ret_uint16(sp, &h->serviceid); h 144 source4/heimdal/kdc/kaserver.c encode_rx_header (struct rx_header *h, h 149 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->epoch); h 151 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->connid); h 153 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->callid); h 155 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->seqno); h 157 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint32(sp, h->serialno); h 159 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->type); h 161 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->flags); h 163 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->status); h 165 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint8(sp, h->secindex); h 167 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint16(sp, h->reserved); h 169 source4/heimdal/kdc/kaserver.c ret = krb5_store_uint16(sp, h->serviceid); h 46 source4/heimdal/kdc/misc.c hdb_entry_ex **h) h 74 source4/heimdal/kdc/misc.c *h = ent; h 98 source4/heimdal/kdc/misc.c hdb_entry_ex *h, h 112 source4/heimdal/kdc/misc.c ret = hdb_enctype2key(context, &h->entry, p[i], key); h 103 source4/heimdal/lib/asn1/hash.c Hashentry *h = _search(htab, ptr); h 108 source4/heimdal/lib/asn1/hash.c if (h) h 109 source4/heimdal/lib/asn1/hash.c free((void *) h->ptr); h 111 source4/heimdal/lib/asn1/hash.c h = (Hashentry *) malloc(sizeof(Hashentry)); h 112 source4/heimdal/lib/asn1/hash.c if (h == NULL) { h 116 source4/heimdal/lib/asn1/hash.c h->next = *tabptr; h 117 source4/heimdal/lib/asn1/hash.c *tabptr = h; h 118 source4/heimdal/lib/asn1/hash.c h->prev = tabptr; h 119 source4/heimdal/lib/asn1/hash.c if (h->next) h 120 source4/heimdal/lib/asn1/hash.c h->next->prev = &h->next; h 122 source4/heimdal/lib/asn1/hash.c h->ptr = ptr; h 123 source4/heimdal/lib/asn1/hash.c return h; h 131 source4/heimdal/lib/asn1/hash.c Hashentry *h; h 135 source4/heimdal/lib/asn1/hash.c h = _search(htab, ptr); h 136 source4/heimdal/lib/asn1/hash.c if (h) { h 138 source4/heimdal/lib/asn1/hash.c free(h->ptr); h 139 source4/heimdal/lib/asn1/hash.c if ((*(h->prev) = h->next)) h 140 source4/heimdal/lib/asn1/hash.c h->next->prev = h->prev; h 141 source4/heimdal/lib/asn1/hash.c free(h); h 153 source4/heimdal/lib/asn1/hash.c Hashentry **h, *g; h 157 source4/heimdal/lib/asn1/hash.c for (h = htab->tab; h < &htab->tab[htab->sz]; ++h) h 158 source4/heimdal/lib/asn1/hash.c for (g = *h; g; g = g->next) h 196 source4/heimdal/lib/asn1/hash.c unsigned h = 0; h 201 source4/heimdal/lib/asn1/hash.c h = (h << TWELVE) + *s; h 202 source4/heimdal/lib/asn1/hash.c if ((g = h & HIGH_BITS)) h 203 source4/heimdal/lib/asn1/hash.c h = (h ^ (g >> SEVENTYFIVE)) & ~HIGH_BITS; h 205 source4/heimdal/lib/asn1/hash.c return h; h 1786 source4/heimdal/lib/hcrypto/imath/imath.c char *h, *t; h 1795 source4/heimdal/lib/hcrypto/imath/imath.c h = str; h 1810 source4/heimdal/lib/hcrypto/imath/imath.c while(h < t) { h 1811 source4/heimdal/lib/hcrypto/imath/imath.c char tc = *h; h 1812 source4/heimdal/lib/hcrypto/imath/imath.c *h++ = *t; h 342 source4/heimdal/lib/hdb/hdb.c const struct hdb_method *h; h 344 source4/heimdal/lib/hdb/hdb.c for (h = methods; h->prefix != NULL; ++h) { h 345 source4/heimdal/lib/hdb/hdb.c if (strncmp (filename, h->prefix, strlen(h->prefix)) == 0) { h 346 source4/heimdal/lib/hdb/hdb.c *rest = filename + strlen(h->prefix); h 347 source4/heimdal/lib/hdb/hdb.c return h; h 366 source4/heimdal/lib/hdb/hdb.c const struct hdb_method *h; h 370 source4/heimdal/lib/hdb/hdb.c for (h = methods; h->prefix != NULL; ++h) { h 371 source4/heimdal/lib/hdb/hdb.c if (h->prefix[0] == '\0') h 373 source4/heimdal/lib/hdb/hdb.c len += strlen(h->prefix) + 2; h 384 source4/heimdal/lib/hdb/hdb.c for (h = methods; h->prefix != NULL; ++h) { h 385 source4/heimdal/lib/hdb/hdb.c if (h != methods) h 387 source4/heimdal/lib/hdb/hdb.c strlcat(buf, h->prefix, len); h 396 source4/heimdal/lib/hdb/hdb.c const struct hdb_method *h; h 404 source4/heimdal/lib/hdb/hdb.c h = find_method (filename, &residual); h 406 source4/heimdal/lib/hdb/hdb.c if (h == NULL) { h 410 source4/heimdal/lib/hdb/hdb.c h = _krb5_plugin_get_symbol(e); h 411 source4/heimdal/lib/hdb/hdb.c if (strncmp (filename, h->prefix, strlen(h->prefix)) == 0 h 412 source4/heimdal/lib/hdb/hdb.c && h->interface_version == HDB_INTERFACE_VERSION) { h 413 source4/heimdal/lib/hdb/hdb.c residual = filename + strlen(h->prefix); h 418 source4/heimdal/lib/hdb/hdb.c h = NULL; h 425 source4/heimdal/lib/hdb/hdb.c if (h == NULL) h 426 source4/heimdal/lib/hdb/hdb.c h = find_dynamic_method (context, filename, &residual); h 428 source4/heimdal/lib/hdb/hdb.c if (h == NULL) h 430 source4/heimdal/lib/hdb/hdb.c return (*h->create)(context, db, residual); h 127 source4/heimdal/lib/hx509/file.c hx509_pem_header *h; h 129 source4/heimdal/lib/hx509/file.c h = calloc(1, sizeof(*h)); h 130 source4/heimdal/lib/hx509/file.c if (h == NULL) h 132 source4/heimdal/lib/hx509/file.c h->header = strdup(header); h 133 source4/heimdal/lib/hx509/file.c if (h->header == NULL) { h 134 source4/heimdal/lib/hx509/file.c free(h); h 137 source4/heimdal/lib/hx509/file.c h->value = strdup(value); h 138 source4/heimdal/lib/hx509/file.c if (h->value == NULL) { h 139 source4/heimdal/lib/hx509/file.c free(h->header); h 140 source4/heimdal/lib/hx509/file.c free(h); h 144 source4/heimdal/lib/hx509/file.c h->next = *headers; h 145 source4/heimdal/lib/hx509/file.c *headers = h; h 153 source4/heimdal/lib/hx509/file.c hx509_pem_header *h; h 155 source4/heimdal/lib/hx509/file.c h = headers; h 157 source4/heimdal/lib/hx509/file.c free(h->header); h 158 source4/heimdal/lib/hx509/file.c free(h->value); h 159 source4/heimdal/lib/hx509/file.c free(h); h 168 source4/heimdal/lib/hx509/file.c hx509_pem_find_header(const hx509_pem_header *h, const char *header) h 170 source4/heimdal/lib/hx509/file.c while(h) { h 171 source4/heimdal/lib/hx509/file.c if (strcmp(header, h->header) == 0) h 172 source4/heimdal/lib/hx509/file.c return h->value; h 173 source4/heimdal/lib/hx509/file.c h = h->next; h 202 source4/heimdal/lib/krb5/addr_families.c uint32_t l, h, m = 0xffffffff; h 214 source4/heimdal/lib/krb5/addr_families.c h = l | ~m; h 226 source4/heimdal/lib/krb5/addr_families.c _krb5_put_int(high->address.data, h, high->address.length); h 272 source4/heimdal/lib/krb5/krbhst.c struct krb5_krbhst_info *h; h 274 source4/heimdal/lib/krb5/krbhst.c for(h = kd->hosts; h; h = h->next) h 275 source4/heimdal/lib/krb5/krbhst.c if(h->proto == host->proto && h 276 source4/heimdal/lib/krb5/krbhst.c h->port == host->port && h 277 source4/heimdal/lib/krb5/krbhst.c strcmp(h->hostname, host->hostname) == 0) { h 898 source4/heimdal/lib/krb5/krbhst.c krb5_krbhst_info *h, *next; h 903 source4/heimdal/lib/krb5/krbhst.c for (h = handle->hosts; h != NULL; h = next) { h 904 source4/heimdal/lib/krb5/krbhst.c next = h->next; h 905 source4/heimdal/lib/krb5/krbhst.c _krb5_free_krbhst_info(h); h 46 source4/heimdal/lib/roken/copyhostent.c copyhostent (const struct hostent *h) h 57 source4/heimdal/lib/roken/copyhostent.c res->h_addrtype = h->h_addrtype; h 58 source4/heimdal/lib/roken/copyhostent.c res->h_length = h->h_length; h 60 source4/heimdal/lib/roken/copyhostent.c res->h_name = strdup (h->h_name); h 65 source4/heimdal/lib/roken/copyhostent.c for (n = 0, p = h->h_aliases; *p != NULL; ++p) h 75 source4/heimdal/lib/roken/copyhostent.c res->h_aliases[i] = strdup (h->h_aliases[i]); h 82 source4/heimdal/lib/roken/copyhostent.c for (n = 0, p = h->h_addr_list; *p != NULL; ++p) h 93 source4/heimdal/lib/roken/copyhostent.c res->h_addr_list[i] = malloc (h->h_length); h 98 source4/heimdal/lib/roken/copyhostent.c memcpy (res->h_addr_list[i], h->h_addr_list[i], h->h_length); h 46 source4/heimdal/lib/roken/freehostent.c freehostent (struct hostent *h) h 50 source4/heimdal/lib/roken/freehostent.c free (h->h_name); h 51 source4/heimdal/lib/roken/freehostent.c if (h->h_aliases != NULL) { h 52 source4/heimdal/lib/roken/freehostent.c for (p = h->h_aliases; *p != NULL; ++p) h 54 source4/heimdal/lib/roken/freehostent.c free (h->h_aliases); h 56 source4/heimdal/lib/roken/freehostent.c if (h->h_addr_list != NULL) { h 57 source4/heimdal/lib/roken/freehostent.c for (p = h->h_addr_list; *p != NULL; ++p) h 59 source4/heimdal/lib/roken/freehostent.c free (h->h_addr_list); h 61 source4/heimdal/lib/roken/freehostent.c free (h); h 233 source4/heimdal/lib/roken/getaddrinfo.c char **h; h 260 source4/heimdal/lib/roken/getaddrinfo.c for (h = he->h_addr_list; *h != NULL; ++h) { h 262 source4/heimdal/lib/roken/getaddrinfo.c current, func, *h, canonname); h 49 source4/heimdal/lib/roken/hostent_find_fqdn.c const char **h; h 52 source4/heimdal/lib/roken/hostent_find_fqdn.c for (h = (const char **)he->h_aliases; *h != NULL; ++h) { h 53 source4/heimdal/lib/roken/hostent_find_fqdn.c if (strchr (*h, '.') != NULL) { h 54 source4/heimdal/lib/roken/hostent_find_fqdn.c ret = *h; h 421 source4/heimdal/lib/roken/resolve.c r->h.id = (p[0] << 8) | p[1]; h 422 source4/heimdal/lib/roken/resolve.c r->h.flags = 0; h 424 source4/heimdal/lib/roken/resolve.c r->h.flags |= rk_DNS_HEADER_RESPONSE_FLAG; h 425 source4/heimdal/lib/roken/resolve.c r->h.opcode = (p[2] >> 1) & 0xf; h 427 source4/heimdal/lib/roken/resolve.c r->h.flags |= rk_DNS_HEADER_AUTHORITIVE_ANSWER; h 429 source4/heimdal/lib/roken/resolve.c r->h.flags |= rk_DNS_HEADER_TRUNCATED_MESSAGE; h 431 source4/heimdal/lib/roken/resolve.c r->h.flags |= rk_DNS_HEADER_RECURSION_DESIRED; h 433 source4/heimdal/lib/roken/resolve.c r->h.flags |= rk_DNS_HEADER_RECURSION_AVAILABLE; h 435 source4/heimdal/lib/roken/resolve.c r->h.flags |= rk_DNS_HEADER_AUTHORITIVE_ANSWER; h 437 source4/heimdal/lib/roken/resolve.c r->h.flags |= rk_DNS_HEADER_CHECKING_DISABLED; h 438 source4/heimdal/lib/roken/resolve.c r->h.response_code = (p[3] >> 4) & 0xf; h 439 source4/heimdal/lib/roken/resolve.c r->h.qdcount = (p[4] << 8) | p[5]; h 440 source4/heimdal/lib/roken/resolve.c r->h.ancount = (p[6] << 8) | p[7]; h 441 source4/heimdal/lib/roken/resolve.c r->h.nscount = (p[8] << 8) | p[9]; h 442 source4/heimdal/lib/roken/resolve.c r->h.arcount = (p[10] << 8) | p[11]; h 446 source4/heimdal/lib/roken/resolve.c if(r->h.qdcount != 1) { h 471 source4/heimdal/lib/roken/resolve.c for(i = 0; i < r->h.ancount; i++) { h 478 source4/heimdal/lib/roken/resolve.c for(i = 0; i < r->h.nscount; i++) { h 485 source4/heimdal/lib/roken/resolve.c for(i = 0; i < r->h.arcount; i++) { h 281 source4/heimdal/lib/roken/resolve.h struct dns_header h; h 98 source4/heimdal/lib/roken/vis.c #include <ctype.h> h 99 source4/heimdal/lib/roken/vis.c #include <limits.h> h 100 source4/heimdal/lib/roken/vis.c #include <stdio.h> h 101 source4/heimdal/lib/roken/vis.c #include <string.h> h 606 source4/lib/ldb/common/ldb_modules.c struct ldb_handle *h; h 608 source4/lib/ldb/common/ldb_modules.c h = talloc_zero(mem_ctx, struct ldb_handle); h 609 source4/lib/ldb/common/ldb_modules.c if (h == NULL) { h 614 source4/lib/ldb/common/ldb_modules.c h->status = LDB_SUCCESS; h 615 source4/lib/ldb/common/ldb_modules.c h->state = LDB_ASYNC_INIT; h 616 source4/lib/ldb/common/ldb_modules.c h->ldb = ldb; h 618 source4/lib/ldb/common/ldb_modules.c return h; h 38 source4/lib/ldb/modules/sort.c const struct ldb_attrib_handler *h; h 394 source4/lib/registry/ldb.c static WERROR ldb_open_key(TALLOC_CTX *mem_ctx, const struct hive_key *h, h 401 source4/lib/registry/ldb.c struct ldb_key_data *kd = talloc_get_type(h, struct ldb_key_data); h 404 source4/lib/registry/ldb.c ldap_path = reg_path_to_ldb(mem_ctx, h, name, NULL); h 85 source4/lib/registry/rpc.c struct policy_handle *h); h 154 source4/lib/registry/rpc.c static WERROR rpc_open_key(TALLOC_CTX *mem_ctx, struct registry_key *h, h 157 source4/lib/registry/rpc.c struct rpc_key *parentkeydata = talloc_get_type(h, struct rpc_key), h 31 source4/lib/registry/tools/common.c struct registry_context *h = NULL; h 34 source4/lib/registry/tools/common.c error = reg_open_remote(&h, NULL, creds, lp_ctx, remote, ev_ctx); h 42 source4/lib/registry/tools/common.c return h; h 51 source4/lib/registry/tools/common.c struct registry_context *h = NULL; h 62 source4/lib/registry/tools/common.c error = reg_open_local(NULL, &h); h 69 source4/lib/registry/tools/common.c return reg_import_hive_key(h, hive_root, -1, NULL); h 77 source4/lib/registry/tools/common.c struct registry_context *h = NULL; h 79 source4/lib/registry/tools/common.c error = reg_open_samba(NULL, &h, ev_ctx, lp_ctx, NULL, creds); h 87 source4/lib/registry/tools/common.c return h; h 34 source4/lib/registry/tools/regpatch.c struct registry_context *h; h 55 source4/lib/registry/tools/regpatch.c h = reg_common_open_remote (remote, ev_ctx, cmdline_lp_ctx, cmdline_credentials); h 57 source4/lib/registry/tools/regpatch.c h = reg_common_open_local (cmdline_credentials, ev_ctx, cmdline_lp_ctx); h 60 source4/lib/registry/tools/regpatch.c if (h == NULL) h 71 source4/lib/registry/tools/regpatch.c reg_diff_apply(h, lp_iconv_convenience(cmdline_lp_ctx), patch); h 108 source4/lib/registry/tools/regtree.c struct registry_context *h = NULL; h 133 source4/lib/registry/tools/regtree.c h = reg_common_open_remote(remote, ev_ctx, cmdline_lp_ctx, cmdline_credentials); h 137 source4/lib/registry/tools/regtree.c h = reg_common_open_local(cmdline_credentials, ev_ctx, cmdline_lp_ctx); h 140 source4/lib/registry/tools/regtree.c if (h == NULL && start_key == NULL) h 151 source4/lib/registry/tools/regtree.c error = reg_get_predefined_key(h, h 24 source4/lib/registry/wine.c static WERROR wine_open_reg (struct registry_hive *h, struct registry_key **key) h 85 source4/libcli/dgram/mailslot.c struct dgram_mailslot_handler *h; h 86 source4/libcli/dgram/mailslot.c for (h=dgmsock->mailslot_handlers;h;h=h->next) { h 87 source4/libcli/dgram/mailslot.c if (strcasecmp(h->mailslot_name, mailslot_name) == 0) { h 88 source4/libcli/dgram/mailslot.c return h; h 724 source4/libcli/smb2/request.c void smb2_push_handle(uint8_t *data, struct smb2_handle *h) h 726 source4/libcli/smb2/request.c SBVAL(data, 0, h->data[0]); h 727 source4/libcli/smb2/request.c SBVAL(data, 8, h->data[1]); h 733 source4/libcli/smb2/request.c void smb2_pull_handle(uint8_t *ptr, struct smb2_handle *h) h 735 source4/libcli/smb2/request.c h->data[0] = BVAL(ptr, 0); h 736 source4/libcli/smb2/request.c h->data[1] = BVAL(ptr, 8); h 165 source4/libcli/smb2/transport.c struct smb2_handle h; h 169 source4/libcli/smb2/transport.c smb2_pull_handle(body+0x08, &h); h 171 source4/libcli/smb2/transport.c transport->oplock.handler(transport, &h, level, h 32 source4/libcli/smb2/util.c NTSTATUS smb2_util_close(struct smb2_tree *tree, struct smb2_handle h) h 37 source4/libcli/smb2/util.c c.in.file.handle = h; h 39 source4/nbt_server/wins/wins_hook.c void wins_hook(struct winsdb_handle *h, const struct winsdb_record *rec, h 49 source4/nbt_server/wins/wins_hook.c tmp_mem = talloc_new(h); h 42 source4/nbt_server/wins/wins_ldb.c struct winsdb_handle *h = talloc_get_type(ldb_get_opaque(ldb, "winsdb_handle"), h 64 source4/nbt_server/wins/wins_ldb.c if (!h) { h 69 source4/nbt_server/wins/wins_ldb.c switch (h->caller) { h 86 source4/nbt_server/wins/wins_ldb.c struct winsdb_handle *h; h 102 source4/nbt_server/wins/wins_ldb.c h = talloc_zero(module, struct winsdb_handle); h 103 source4/nbt_server/wins/wins_ldb.c if (!h) goto failed; h 104 source4/nbt_server/wins/wins_ldb.c h->ldb = ldb; h 105 source4/nbt_server/wins/wins_ldb.c h->caller = WINSDB_HANDLE_CALLER_ADMIN; h 106 source4/nbt_server/wins/wins_ldb.c h->local_owner = talloc_strdup(h, owner); h 107 source4/nbt_server/wins/wins_ldb.c if (!h->local_owner) goto failed; h 109 source4/nbt_server/wins/wins_ldb.c return ldb_set_opaque(ldb, "winsdb_handle", h); h 112 source4/nbt_server/wins/wins_ldb.c talloc_free(h); h 35 source4/nbt_server/wins/winsdb.c uint64_t winsdb_get_maxVersion(struct winsdb_handle *h) h 38 source4/nbt_server/wins/winsdb.c struct ldb_context *ldb = h->ldb; h 65 source4/nbt_server/wins/winsdb.c uint64_t winsdb_set_maxVersion(struct winsdb_handle *h, uint64_t newMaxVersion) h 72 source4/nbt_server/wins/winsdb.c struct ldb_context *wins_db = h->ldb; h 127 source4/nbt_server/wins/winsdb.c uint64_t winsdb_get_seqnumber(struct winsdb_handle *h) h 130 source4/nbt_server/wins/winsdb.c struct ldb_context *ldb = h->ldb; h 230 source4/nbt_server/wins/winsdb.c static NTSTATUS winsdb_addr_decode(struct winsdb_handle *h, struct winsdb_record *rec, struct ldb_val *val, h 282 source4/nbt_server/wins/winsdb.c wins_owner = h->local_owner; h 361 source4/nbt_server/wins/winsdb.c struct winsdb_handle *h= talloc_get_type(opaque, struct winsdb_handle); h 373 source4/nbt_server/wins/winsdb.c if (strcmp(a2->wins_owner, h->local_owner) == 0) { h 377 source4/nbt_server/wins/winsdb.c if (strcmp(a1->wins_owner, h->local_owner) == 0) { h 384 source4/nbt_server/wins/winsdb.c struct winsdb_addr **winsdb_addr_list_add(struct winsdb_handle *h, const struct winsdb_record *rec, h 442 source4/nbt_server/wins/winsdb.c if (strcmp(addresses[i]->wins_owner, h->local_owner) != 0) { h 510 source4/nbt_server/wins/winsdb.c ldb_qsort(addresses, len+1 , sizeof(addresses[0]), h, (ldb_qsort_cmp_fn_t)winsdb_addr_sort_list); h 571 source4/nbt_server/wins/winsdb.c NTSTATUS winsdb_lookup(struct winsdb_handle *h, h 580 source4/nbt_server/wins/winsdb.c struct ldb_context *wins_db = h->ldb; h 597 source4/nbt_server/wins/winsdb.c status = winsdb_record(h, res->msgs[0], tmp_ctx, now, &rec); h 610 source4/nbt_server/wins/winsdb.c NTSTATUS winsdb_record(struct winsdb_handle *h, struct ldb_message *msg, TALLOC_CTX *mem_ctx, time_t now, struct winsdb_record **_rec) h 650 source4/nbt_server/wins/winsdb.c rec->wins_owner = h->local_owner; h 686 source4/nbt_server/wins/winsdb.c status = winsdb_addr_decode(h, rec, &el->values[i], rec->addresses, &rec->addresses[j]); h 689 source4/nbt_server/wins/winsdb.c if (strcmp(rec->addresses[j]->wins_owner, h->local_owner) == 0) { h 812 source4/nbt_server/wins/winsdb.c uint8_t winsdb_add(struct winsdb_handle *h, struct winsdb_record *rec, uint32_t flags) h 815 source4/nbt_server/wins/winsdb.c struct ldb_context *wins_db = h->ldb; h 825 source4/nbt_server/wins/winsdb.c rec->version = winsdb_set_maxVersion(h, 0); h 829 source4/nbt_server/wins/winsdb.c rec->wins_owner = h->local_owner; h 840 source4/nbt_server/wins/winsdb.c wins_hook(h, rec, WINS_HOOK_ADD, h->hook_script); h 855 source4/nbt_server/wins/winsdb.c uint8_t winsdb_modify(struct winsdb_handle *h, struct winsdb_record *rec, uint32_t flags) h 858 source4/nbt_server/wins/winsdb.c struct ldb_context *wins_db = h->ldb; h 869 source4/nbt_server/wins/winsdb.c rec->version = winsdb_set_maxVersion(h, 0); h 873 source4/nbt_server/wins/winsdb.c rec->wins_owner = h->local_owner; h 889 source4/nbt_server/wins/winsdb.c wins_hook(h, rec, WINS_HOOK_MODIFY, h->hook_script); h 904 source4/nbt_server/wins/winsdb.c uint8_t winsdb_delete(struct winsdb_handle *h, struct winsdb_record *rec) h 906 source4/nbt_server/wins/winsdb.c struct ldb_context *wins_db = h->ldb; h 924 source4/nbt_server/wins/winsdb.c wins_hook(h, rec, WINS_HOOK_DELETE, h->hook_script); h 936 source4/nbt_server/wins/winsdb.c struct loadparm_context *lp_ctx, struct winsdb_handle *h) h 943 source4/nbt_server/wins/winsdb.c TALLOC_CTX *tmp_ctx = talloc_new(h); h 946 source4/nbt_server/wins/winsdb.c trans = ldb_transaction_start(h->ldb); h 950 source4/nbt_server/wins/winsdb.c dn = ldb_dn_new(tmp_ctx, h->ldb, "@MODULES"); h 954 source4/nbt_server/wins/winsdb.c ret = ldb_search(h->ldb, tmp_ctx, &res, dn, LDB_SCOPE_BASE, NULL, NULL); h 967 source4/nbt_server/wins/winsdb.c ret = ldb_add(h->ldb, msg); h 970 source4/nbt_server/wins/winsdb.c trans = ldb_transaction_commit(h->ldb); h 975 source4/nbt_server/wins/winsdb.c talloc_free(h->ldb); h 976 source4/nbt_server/wins/winsdb.c h->ldb = NULL; h 982 source4/nbt_server/wins/winsdb.c h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lock_path(h, lp_ctx, lp_wins_url(lp_ctx)), h 984 source4/nbt_server/wins/winsdb.c if (!h->ldb) goto failed; h 990 source4/nbt_server/wins/winsdb.c if (trans == LDB_SUCCESS) ldb_transaction_cancel(h->ldb); h 995 source4/nbt_server/wins/winsdb.c if (trans == LDB_SUCCESS) ldb_transaction_cancel(h->ldb); h 1006 source4/nbt_server/wins/winsdb.c struct winsdb_handle *h = NULL; h 1011 source4/nbt_server/wins/winsdb.c h = talloc_zero(mem_ctx, struct winsdb_handle); h 1012 source4/nbt_server/wins/winsdb.c if (!h) return NULL; h 1018 source4/nbt_server/wins/winsdb.c h->ldb = ldb_wrap_connect(h, ev_ctx, lp_ctx, lock_path(h, lp_ctx, lp_wins_url(lp_ctx)), h 1020 source4/nbt_server/wins/winsdb.c if (!h->ldb) goto failed; h 1022 source4/nbt_server/wins/winsdb.c h->caller = caller; h 1023 source4/nbt_server/wins/winsdb.c h->hook_script = lp_wins_hook(lp_ctx); h 1025 source4/nbt_server/wins/winsdb.c h->local_owner = talloc_strdup(h, owner); h 1026 source4/nbt_server/wins/winsdb.c if (!h->local_owner) goto failed; h 1029 source4/nbt_server/wins/winsdb.c ret = winsdb_check_or_add_module_list(ev_ctx, lp_ctx, h); h 1032 source4/nbt_server/wins/winsdb.c ldb_err = ldb_set_opaque(h->ldb, "winsdb_handle", h); h 1035 source4/nbt_server/wins/winsdb.c return h; h 1037 source4/nbt_server/wins/winsdb.c talloc_free(h); h 41 source4/ntvfs/cifs/vfs_cifs.c struct ntvfs_handle *h; h 115 source4/ntvfs/cifs/vfs_cifs.c struct ntvfs_handle *h = NULL; h 120 source4/ntvfs/cifs/vfs_cifs.c h = f->h; h 124 source4/ntvfs/cifs/vfs_cifs.c if (!h) { h 130 source4/ntvfs/cifs/vfs_cifs.c status = ntvfs_send_oplock_break(p->ntvfs, h, level); h 505 source4/ntvfs/cifs/vfs_cifs.c req->async_states->status = ntvfs_handle_set_backend_data(f->h, cvfs->ntvfs, f); h 507 source4/ntvfs/cifs/vfs_cifs.c file->ntvfs = f->h; h 521 source4/ntvfs/cifs/vfs_cifs.c struct ntvfs_handle *h; h 532 source4/ntvfs/cifs/vfs_cifs.c status = ntvfs_handle_new(ntvfs, req, &h); h 535 source4/ntvfs/cifs/vfs_cifs.c f = talloc_zero(h, struct cvfs_file); h 537 source4/ntvfs/cifs/vfs_cifs.c f->h = h; h 548 source4/ntvfs/cifs/vfs_cifs.c status = ntvfs_handle_set_backend_data(f->h, p->ntvfs, f); h 550 source4/ntvfs/cifs/vfs_cifs.c file->ntvfs = f->h; h 78 source4/ntvfs/ipc/vfs_ipc.c struct ntvfs_handle *h; h 80 source4/ntvfs/ipc/vfs_ipc.c h = ntvfs_handle_search_by_wire_key(ipriv->ntvfs, req, key); h 81 source4/ntvfs/ipc/vfs_ipc.c if (!h) return NULL; h 83 source4/ntvfs/ipc/vfs_ipc.c return pipe_state_find(ipriv, h); h 207 source4/ntvfs/ipc/vfs_ipc.c struct ntvfs_handle *h; h 209 source4/ntvfs/ipc/vfs_ipc.c status = ntvfs_handle_new(ntvfs, req, &h); h 212 source4/ntvfs/ipc/vfs_ipc.c p = talloc(h, struct pipe_state); h 223 source4/ntvfs/ipc/vfs_ipc.c p->handle = h; h 241 source4/ntvfs/ipc/vfs_ipc.c h->session_info, h 260 source4/ntvfs/ipc/vfs_ipc.c status = ntvfs_handle_set_backend_data(h, ipriv->ntvfs, p); h 56 source4/ntvfs/nbench/vfs_nbench.c static char *nbench_ntvfs_handle_string(struct ntvfs_request *req, struct ntvfs_handle *h) h 61 source4/ntvfs/nbench/vfs_nbench.c key = ntvfs_handle_get_wire_key(h, req); h 219 source4/ntvfs/ntvfs.h NTSTATUS (*create_new)(void *private_data, struct ntvfs_request *req, struct ntvfs_handle **h); h 220 source4/ntvfs/ntvfs.h NTSTATUS (*make_valid)(void *private_data, struct ntvfs_handle *h); h 221 source4/ntvfs/ntvfs.h void (*destroy)(void *private_data, struct ntvfs_handle *h); h 103 source4/ntvfs/ntvfs_util.c struct ntvfs_handle **h) h 108 source4/ntvfs/ntvfs_util.c return ntvfs->ctx->handles.create_new(ntvfs->ctx->handles.private_data, req, h); h 111 source4/ntvfs/ntvfs_util.c NTSTATUS ntvfs_handle_set_backend_data(struct ntvfs_handle *h, h 116 source4/ntvfs/ntvfs_util.c bool first_time = h->backend_data?false:true; h 118 source4/ntvfs/ntvfs_util.c for (d=h->backend_data; d; d = d->next) { h 124 source4/ntvfs/ntvfs_util.c d = talloc(h, struct ntvfs_handle_data); h 129 source4/ntvfs/ntvfs_util.c DLIST_ADD(h->backend_data, d); h 133 source4/ntvfs/ntvfs_util.c status = h->ctx->handles.make_valid(h->ctx->handles.private_data, h); h 140 source4/ntvfs/ntvfs_util.c void *ntvfs_handle_get_backend_data(struct ntvfs_handle *h, h 145 source4/ntvfs/ntvfs_util.c for (d=h->backend_data; d; d = d->next) { h 153 source4/ntvfs/ntvfs_util.c void ntvfs_handle_remove_backend_data(struct ntvfs_handle *h, h 158 source4/ntvfs/ntvfs_util.c for (d=h->backend_data; d; d = n) { h 161 source4/ntvfs/ntvfs_util.c DLIST_REMOVE(h->backend_data, d); h 166 source4/ntvfs/ntvfs_util.c if (h->backend_data) return; h 169 source4/ntvfs/ntvfs_util.c h->ctx->handles.destroy(h->ctx->handles.private_data, h); h 182 source4/ntvfs/ntvfs_util.c DATA_BLOB ntvfs_handle_get_wire_key(struct ntvfs_handle *h, TALLOC_CTX *mem_ctx) h 184 source4/ntvfs/ntvfs_util.c return h->ctx->handles.get_wire_key(h->ctx->handles.private_data, h, mem_ctx); h 188 source4/ntvfs/ntvfs_util.c NTSTATUS (*create_new)(void *private_data, struct ntvfs_request *req, struct ntvfs_handle **h), h 189 source4/ntvfs/ntvfs_util.c NTSTATUS (*make_valid)(void *private_data, struct ntvfs_handle *h), h 190 source4/ntvfs/ntvfs_util.c void (*destroy)(void *private_data, struct ntvfs_handle *h), h 34 source4/ntvfs/posix/pvfs_open.c struct ntvfs_request *req, struct ntvfs_handle *h) h 39 source4/ntvfs/posix/pvfs_open.c p = ntvfs_handle_get_backend_data(h, pvfs->ntvfs); h 51 source4/ntvfs/posix/pvfs_open.c static int pvfs_dir_handle_destructor(struct pvfs_file_handle *h) h 53 source4/ntvfs/posix/pvfs_open.c if (h->have_opendb_entry) { h 58 source4/ntvfs/posix/pvfs_open.c lck = odb_lock(h, h->pvfs->odb_context, &h->odb_locking_key); h 64 source4/ntvfs/posix/pvfs_open.c status = odb_close_file(lck, h, &delete_path); h 67 source4/ntvfs/posix/pvfs_open.c h->name->full_name, nt_errstr(status))); h 70 source4/ntvfs/posix/pvfs_open.c if (h->name->stream_name == NULL && delete_path) { h 71 source4/ntvfs/posix/pvfs_open.c status = pvfs_xattr_unlink_hook(h->pvfs, delete_path); h 179 source4/ntvfs/posix/pvfs_open.c struct ntvfs_handle *h; h 238 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_new(pvfs->ntvfs, req, &h); h 241 source4/ntvfs/posix/pvfs_open.c f = talloc(h, struct pvfs_file); h 265 source4/ntvfs/posix/pvfs_open.c f->ntvfs = h; h 408 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_set_backend_data(h, pvfs->ntvfs, f); h 416 source4/ntvfs/posix/pvfs_open.c io->generic.out.file.ntvfs = h; h 439 source4/ntvfs/posix/pvfs_open.c static int pvfs_handle_destructor(struct pvfs_file_handle *h) h 441 source4/ntvfs/posix/pvfs_open.c talloc_free(h->write_time.update_event); h 442 source4/ntvfs/posix/pvfs_open.c h->write_time.update_event = NULL; h 444 source4/ntvfs/posix/pvfs_open.c if ((h->create_options & NTCREATEX_OPTIONS_DELETE_ON_CLOSE) && h 445 source4/ntvfs/posix/pvfs_open.c h->name->stream_name) { h 447 source4/ntvfs/posix/pvfs_open.c status = pvfs_stream_delete(h->pvfs, h->name, h->fd); h 450 source4/ntvfs/posix/pvfs_open.c h->name->stream_name, h->name->full_name)); h 454 source4/ntvfs/posix/pvfs_open.c if (h->fd != -1) { h 455 source4/ntvfs/posix/pvfs_open.c if (close(h->fd) != 0) { h 457 source4/ntvfs/posix/pvfs_open.c h->fd, h->name->full_name, strerror(errno))); h 459 source4/ntvfs/posix/pvfs_open.c h->fd = -1; h 462 source4/ntvfs/posix/pvfs_open.c if (!h->write_time.update_forced && h 463 source4/ntvfs/posix/pvfs_open.c h->write_time.update_on_close && h 464 source4/ntvfs/posix/pvfs_open.c h->write_time.close_time == 0) { h 467 source4/ntvfs/posix/pvfs_open.c h->write_time.close_time = timeval_to_nttime(&tv); h 470 source4/ntvfs/posix/pvfs_open.c if (h->have_opendb_entry) { h 475 source4/ntvfs/posix/pvfs_open.c lck = odb_lock(h, h->pvfs->odb_context, &h->odb_locking_key); h 481 source4/ntvfs/posix/pvfs_open.c if (h->write_time.update_forced) { h 482 source4/ntvfs/posix/pvfs_open.c status = odb_get_file_infos(h->pvfs->odb_context, h 483 source4/ntvfs/posix/pvfs_open.c &h->odb_locking_key, h 485 source4/ntvfs/posix/pvfs_open.c &h->write_time.close_time); h 488 source4/ntvfs/posix/pvfs_open.c h->name->full_name, nt_errstr(status))); h 491 source4/ntvfs/posix/pvfs_open.c h->write_time.update_forced = false; h 492 source4/ntvfs/posix/pvfs_open.c h->write_time.update_on_close = true; h 493 source4/ntvfs/posix/pvfs_open.c } else if (h->write_time.update_on_close) { h 494 source4/ntvfs/posix/pvfs_open.c status = odb_set_write_time(lck, h->write_time.close_time, true); h 497 source4/ntvfs/posix/pvfs_open.c h->name->full_name, nt_errstr(status))); h 501 source4/ntvfs/posix/pvfs_open.c status = odb_close_file(lck, h, &delete_path); h 504 source4/ntvfs/posix/pvfs_open.c h->name->full_name, nt_errstr(status))); h 507 source4/ntvfs/posix/pvfs_open.c if (h->name->stream_name == NULL && h 508 source4/ntvfs/posix/pvfs_open.c h->open_completed && delete_path) { h 509 source4/ntvfs/posix/pvfs_open.c status = pvfs_xattr_unlink_hook(h->pvfs, delete_path); h 518 source4/ntvfs/posix/pvfs_open.c notify_trigger(h->pvfs->notify_context, h 523 source4/ntvfs/posix/pvfs_open.c h->write_time.update_on_close = false; h 529 source4/ntvfs/posix/pvfs_open.c if (h->write_time.update_on_close) { h 532 source4/ntvfs/posix/pvfs_open.c nttime_to_timeval(&tv[0], h->name->dos.access_time); h 533 source4/ntvfs/posix/pvfs_open.c nttime_to_timeval(&tv[1], h->write_time.close_time); h 536 source4/ntvfs/posix/pvfs_open.c if (utimes(h->name->full_name, tv) == -1) { h 538 source4/ntvfs/posix/pvfs_open.c h->name->full_name, strerror(errno))); h 573 source4/ntvfs/posix/pvfs_open.c struct brl_handle *h; h 590 source4/ntvfs/posix/pvfs_open.c h = brl_create_handle(mem_ctx, ntvfs, &key); h 591 source4/ntvfs/posix/pvfs_open.c NT_STATUS_HAVE_NO_MEMORY(h); h 593 source4/ntvfs/posix/pvfs_open.c *_h = h; h 607 source4/ntvfs/posix/pvfs_open.c struct ntvfs_handle *h; h 656 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_new(pvfs->ntvfs, req, &h); h 659 source4/ntvfs/posix/pvfs_open.c f = talloc(h, struct pvfs_file); h 719 source4/ntvfs/posix/pvfs_open.c status = pvfs_brl_locking_handle(f, name, h, &f->brl_handle); h 765 source4/ntvfs/posix/pvfs_open.c f->ntvfs = h; h 831 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_set_backend_data(h, pvfs->ntvfs, f); h 1186 source4/ntvfs/posix/pvfs_open.c struct ntvfs_handle *h; h 1399 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_new(pvfs->ntvfs, req, &h); h 1402 source4/ntvfs/posix/pvfs_open.c f = talloc(h, struct pvfs_file); h 1412 source4/ntvfs/posix/pvfs_open.c f->ntvfs = h; h 1441 source4/ntvfs/posix/pvfs_open.c status = pvfs_brl_locking_handle(f, name, h, &f->brl_handle); h 1602 source4/ntvfs/posix/pvfs_open.c status = ntvfs_handle_set_backend_data(h, ntvfs, f); h 1610 source4/ntvfs/posix/pvfs_open.c io->generic.out.file.ntvfs = h; h 1661 source4/ntvfs/posix/pvfs_open.c struct pvfs_file_handle *h = f->handle; h 1663 source4/ntvfs/posix/pvfs_open.c status = pvfs_resolve_name_handle(pvfs, h); h 1667 source4/ntvfs/posix/pvfs_open.c name = h->name; h 2011 source4/ntvfs/posix/pvfs_open.c bool pvfs_delete_on_close_set(struct pvfs_state *pvfs, struct pvfs_file_handle *h) h 2016 source4/ntvfs/posix/pvfs_open.c status = odb_get_file_infos(pvfs->odb_context, &h->odb_locking_key, h 38 source4/ntvfs/posix/pvfs_oplock.c static NTSTATUS pvfs_oplock_release_internal(struct pvfs_file_handle *h, h 44 source4/ntvfs/posix/pvfs_oplock.c if (h->fd == -1) { h 48 source4/ntvfs/posix/pvfs_oplock.c if (!h->have_opendb_entry) { h 52 source4/ntvfs/posix/pvfs_oplock.c if (!h->oplock) { h 56 source4/ntvfs/posix/pvfs_oplock.c olck = odb_lock(h, h->pvfs->odb_context, &h->odb_locking_key); h 63 source4/ntvfs/posix/pvfs_oplock.c h->oplock->level = OPLOCK_NONE; h 65 source4/ntvfs/posix/pvfs_oplock.c h->oplock->level = OPLOCK_LEVEL_II; h 69 source4/ntvfs/posix/pvfs_oplock.c h->oplock->level = OPLOCK_LEVEL_II; h 71 source4/ntvfs/posix/pvfs_oplock.c status = odb_update_oplock(olck, h, h->oplock->level); h 74 source4/ntvfs/posix/pvfs_oplock.c h->name->full_name, nt_errstr(status))); h 82 source4/ntvfs/posix/pvfs_oplock.c if (h->oplock->level == OPLOCK_NONE) { h 83 source4/ntvfs/posix/pvfs_oplock.c talloc_free(h->oplock); h 84 source4/ntvfs/posix/pvfs_oplock.c h->oplock = NULL; h 97 source4/ntvfs/posix/pvfs_oplock.c struct pvfs_file_handle *h = opl->handle; h 98 source4/ntvfs/posix/pvfs_oplock.c struct pvfs_state *pvfs = h->pvfs; h 126 source4/ntvfs/posix/pvfs_oplock.c __FUNCTION__, level, h->name->original_name, h)); h 143 source4/ntvfs/posix/pvfs_oplock.c __FUNCTION__, level, h->name->original_name, h)); h 153 source4/ntvfs/posix/pvfs_oplock.c __FUNCTION__, level, h->name->original_name, h)); h 154 source4/ntvfs/posix/pvfs_oplock.c status = pvfs_oplock_release_internal(h, level); h 273 source4/ntvfs/posix/pvfs_oplock.c struct pvfs_file_handle *h = f->handle; h 277 source4/ntvfs/posix/pvfs_oplock.c if (h->oplock && h->oplock->level != OPLOCK_LEVEL_II) { h 281 source4/ntvfs/posix/pvfs_oplock.c olck = odb_lock(h, h->pvfs->odb_context, &h->odb_locking_key); h 290 source4/ntvfs/posix/pvfs_oplock.c h->name->full_name, nt_errstr(status))); h 381 source4/ntvfs/posix/pvfs_qfileinfo.c struct pvfs_file_handle *h; h 389 source4/ntvfs/posix/pvfs_qfileinfo.c h = f->handle; h 397 source4/ntvfs/posix/pvfs_qfileinfo.c status = pvfs_resolve_name_handle(pvfs, h); h 402 source4/ntvfs/posix/pvfs_qfileinfo.c status = pvfs_map_fileinfo(pvfs, req, h->name, info, h->fd); h 409 source4/ntvfs/posix/pvfs_qfileinfo.c if (pvfs_delete_on_close_set(pvfs, h)) { h 417 source4/ntvfs/posix/pvfs_qfileinfo.c if (pvfs_delete_on_close_set(pvfs, h)) { h 424 source4/ntvfs/posix/pvfs_qfileinfo.c info->position_information.out.position = h->position; h 432 source4/ntvfs/posix/pvfs_qfileinfo.c info->mode_information.out.mode = h->mode; h 436 source4/ntvfs/posix/pvfs_qfileinfo.c if (pvfs_delete_on_close_set(pvfs, h)) { h 440 source4/ntvfs/posix/pvfs_qfileinfo.c info->all_info2.out.position = h->position; h 442 source4/ntvfs/posix/pvfs_qfileinfo.c info->all_info2.out.mode = h->mode; h 676 source4/ntvfs/posix/pvfs_resolve.c struct pvfs_file_handle *h) h 680 source4/ntvfs/posix/pvfs_resolve.c if (h->have_opendb_entry) { h 684 source4/ntvfs/posix/pvfs_resolve.c lck = odb_lock(h, h->pvfs->odb_context, &h->odb_locking_key); h 687 source4/ntvfs/posix/pvfs_resolve.c __FUNCTION__, h->name->full_name)); h 702 source4/ntvfs/posix/pvfs_resolve.c if (strcmp(h->name->full_name, name) != 0) { h 715 source4/ntvfs/posix/pvfs_resolve.c delim = strrchr(h->name->original_name, '\\'); h 718 source4/ntvfs/posix/pvfs_resolve.c orig_dir = h->name->original_name; h 719 source4/ntvfs/posix/pvfs_resolve.c new_orig = talloc_asprintf(h->name, "%s\\%s", h 726 source4/ntvfs/posix/pvfs_resolve.c new_orig = talloc_strdup(h->name, new_file); h 733 source4/ntvfs/posix/pvfs_resolve.c talloc_free(h->name->original_name); h 734 source4/ntvfs/posix/pvfs_resolve.c talloc_free(h->name->full_name); h 735 source4/ntvfs/posix/pvfs_resolve.c h->name->full_name = talloc_steal(h->name, name); h 736 source4/ntvfs/posix/pvfs_resolve.c h->name->original_name = new_orig; h 747 source4/ntvfs/posix/pvfs_resolve.c status = pvfs_resolve_name_fd(pvfs, h->fd, h->name, 0); h 750 source4/ntvfs/posix/pvfs_resolve.c if (!null_nttime(h->write_time.close_time)) { h 751 source4/ntvfs/posix/pvfs_resolve.c h->name->dos.write_time = h->write_time.close_time; h 35 source4/ntvfs/posix/pvfs_seek.c struct pvfs_file_handle *h; h 42 source4/ntvfs/posix/pvfs_seek.c h = f->handle; h 48 source4/ntvfs/posix/pvfs_seek.c h->seek_offset = io->lseek.in.offset; h 52 source4/ntvfs/posix/pvfs_seek.c h->seek_offset += io->lseek.in.offset; h 56 source4/ntvfs/posix/pvfs_seek.c status = pvfs_resolve_name_fd(pvfs, h->fd, h->name, PVFS_RESOLVE_NO_OPENDB); h 57 source4/ntvfs/posix/pvfs_seek.c h->seek_offset = h->name->st.st_size + io->lseek.in.offset; h 61 source4/ntvfs/posix/pvfs_seek.c io->lseek.out.offset = h->seek_offset; h 314 source4/ntvfs/posix/pvfs_setfileinfo.c struct pvfs_file_handle *h; h 325 source4/ntvfs/posix/pvfs_setfileinfo.c h = f->handle; h 333 source4/ntvfs/posix/pvfs_setfileinfo.c status = pvfs_resolve_name_handle(pvfs, h); h 341 source4/ntvfs/posix/pvfs_setfileinfo.c newstats = *h->name; h 367 source4/ntvfs/posix/pvfs_setfileinfo.c return pvfs_setfileinfo_ea_set(pvfs, h->name, h->fd, h 417 source4/ntvfs/posix/pvfs_setfileinfo.c h->position = info->position_information.in.position; h 428 source4/ntvfs/posix/pvfs_setfileinfo.c h->mode = info->mode_information.in.mode; h 433 source4/ntvfs/posix/pvfs_setfileinfo.c return pvfs_setfileinfo_rename(pvfs, req, h->name, f->handle->fd, h 434 source4/ntvfs/posix/pvfs_setfileinfo.c &h->odb_locking_key, h 441 source4/ntvfs/posix/pvfs_setfileinfo.c h->name->full_name); h 442 source4/ntvfs/posix/pvfs_setfileinfo.c return pvfs_acl_set(pvfs, req, h->name, h->fd, f->access_mask, info); h 449 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.st.st_size != h->name->st.st_size) { h 450 source4/ntvfs/posix/pvfs_setfileinfo.c if (h->name->dos.attrib & FILE_ATTRIBUTE_DIRECTORY) { h 453 source4/ntvfs/posix/pvfs_setfileinfo.c if (h->name->stream_name) { h 454 source4/ntvfs/posix/pvfs_setfileinfo.c status = pvfs_stream_truncate(pvfs, h->name, h->fd, newstats.st.st_size); h 464 source4/ntvfs/posix/pvfs_setfileinfo.c ret = ftruncate(h->fd, newstats.st.st_size); h 466 source4/ntvfs/posix/pvfs_setfileinfo.c ret = truncate(h->name->full_name, newstats.st.st_size); h 476 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.dos.create_time != h->name->dos.create_time) { h 479 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.dos.access_time != h->name->dos.access_time) { h 482 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.dos.write_time != h->name->dos.write_time) { h 493 source4/ntvfs/posix/pvfs_setfileinfo.c if (utimes(h->name->full_name, tv) == -1) { h 495 source4/ntvfs/posix/pvfs_setfileinfo.c h->name->full_name, strerror(errno))); h 503 source4/ntvfs/posix/pvfs_setfileinfo.c lck = odb_lock(req, h->pvfs->odb_context, &h->odb_locking_key); h 519 source4/ntvfs/posix/pvfs_setfileinfo.c h->write_time.update_forced = true; h 520 source4/ntvfs/posix/pvfs_setfileinfo.c h->write_time.update_on_close = false; h 521 source4/ntvfs/posix/pvfs_setfileinfo.c talloc_free(h->write_time.update_event); h 522 source4/ntvfs/posix/pvfs_setfileinfo.c h->write_time.update_event = NULL; h 526 source4/ntvfs/posix/pvfs_setfileinfo.c if (newstats.dos.attrib != h->name->dos.attrib) { h 529 source4/ntvfs/posix/pvfs_setfileinfo.c !(h->name->dos.attrib & FILE_ATTRIBUTE_DIRECTORY)) { h 533 source4/ntvfs/posix/pvfs_setfileinfo.c if (!(h->name->dos.attrib & FILE_ATTRIBUTE_DIRECTORY)) { h 534 source4/ntvfs/posix/pvfs_setfileinfo.c if (fchmod(h->fd, mode) == -1) { h 541 source4/ntvfs/posix/pvfs_setfileinfo.c *h->name = newstats; h 546 source4/ntvfs/posix/pvfs_setfileinfo.c h->name->full_name); h 548 source4/ntvfs/posix/pvfs_setfileinfo.c return pvfs_dosattrib_save(pvfs, h->name, h->fd); h 418 source4/ntvfs/posix/pvfs_streams.c struct pvfs_file_handle *h, void *data, size_t count, off_t offset) h 425 source4/ntvfs/posix/pvfs_streams.c status = pvfs_stream_load(pvfs, h, h->name, h->fd, offset+count, &blob); h 447 source4/ntvfs/posix/pvfs_streams.c struct pvfs_file_handle *h, const void *data, size_t count, off_t offset) h 463 source4/ntvfs/posix/pvfs_streams.c status = pvfs_stream_load(pvfs, h, h->name, h->fd, offset+count, &blob); h 480 source4/ntvfs/posix/pvfs_streams.c status = pvfs_xattr_save(pvfs, h->name->full_name, h->fd, XATTR_DOSSTREAM_PREFIX, h 481 source4/ntvfs/posix/pvfs_streams.c h->name->stream_name, &blob); h 490 source4/ntvfs/posix/pvfs_streams.c status = pvfs_stream_update_size(pvfs, h->name, h->fd, blob.length); h 32 source4/ntvfs/posix/pvfs_write.c struct pvfs_file_handle *h = talloc_get_type(private_data, h 38 source4/ntvfs/posix/pvfs_write.c lck = odb_lock(h, h->pvfs->odb_context, &h->odb_locking_key); h 55 source4/ntvfs/posix/pvfs_write.c h->write_time.update_event = NULL; h 58 source4/ntvfs/posix/pvfs_write.c static void pvfs_trigger_write_time_update(struct pvfs_file_handle *h) h 60 source4/ntvfs/posix/pvfs_write.c struct pvfs_state *pvfs = h->pvfs; h 63 source4/ntvfs/posix/pvfs_write.c if (h->write_time.update_triggered) { h 69 source4/ntvfs/posix/pvfs_write.c h->write_time.update_triggered = true; h 70 source4/ntvfs/posix/pvfs_write.c h->write_time.update_on_close = true; h 71 source4/ntvfs/posix/pvfs_write.c h->write_time.update_event = event_add_timed(pvfs->ntvfs->ctx->event_ctx, h 72 source4/ntvfs/posix/pvfs_write.c h, tv, h 74 source4/ntvfs/posix/pvfs_write.c h); h 75 source4/ntvfs/posix/pvfs_write.c if (!h->write_time.update_event) { h 47 source4/ntvfs/smb2/vfs_smb2.c struct ntvfs_handle *h; h 105 source4/ntvfs/smb2/vfs_smb2.c struct ntvfs_handle *h = NULL; h 110 source4/ntvfs/smb2/vfs_smb2.c h = f->h; h 114 source4/ntvfs/smb2/vfs_smb2.c if (!h) { h 120 source4/ntvfs/smb2/vfs_smb2.c status = ntvfs_send_oplock_break(p->ntvfs, h, level); h 351 source4/rpc_server/dcerpc_server.h #define DCESRV_CHECK_HANDLE(h) do {if (!(h)) DCESRV_FAULT(DCERPC_FAULT_CONTEXT_MISMATCH); } while (0) h 356 source4/rpc_server/dcerpc_server.h #define DCESRV_PULL_HANDLE_RETVAL(h, inhandle, t, retval) do { \ h 357 source4/rpc_server/dcerpc_server.h (h) = dcesrv_handle_fetch(dce_call->context, (inhandle), DCESRV_HANDLE_ANY); \ h 358 source4/rpc_server/dcerpc_server.h DCESRV_CHECK_HANDLE(h); \ h 359 source4/rpc_server/dcerpc_server.h if ((t) != DCESRV_HANDLE_ANY && (h)->wire_handle.handle_type != (t)) { \ h 366 source4/rpc_server/dcerpc_server.h #define DCESRV_PULL_HANDLE_FAULT(h, inhandle, t) do { \ h 367 source4/rpc_server/dcerpc_server.h (h) = dcesrv_handle_fetch(dce_call->context, (inhandle), t); \ h 368 source4/rpc_server/dcerpc_server.h DCESRV_CHECK_HANDLE(h); \ h 371 source4/rpc_server/dcerpc_server.h #define DCESRV_PULL_HANDLE(h, inhandle, t) DCESRV_PULL_HANDLE_RETVAL(h, inhandle, t, NT_STATUS_INVALID_HANDLE) h 372 source4/rpc_server/dcerpc_server.h #define DCESRV_PULL_HANDLE_WERR(h, inhandle, t) DCESRV_PULL_HANDLE_RETVAL(h, inhandle, t, WERR_BADFID) h 212 source4/rpc_server/drsuapi/dcesrv_drsuapi.c struct dcesrv_handle *h; h 216 source4/rpc_server/drsuapi/dcesrv_drsuapi.c DCESRV_PULL_HANDLE_WERR(h, r->in.bind_handle, DRSUAPI_BIND_HANDLE); h 218 source4/rpc_server/drsuapi/dcesrv_drsuapi.c talloc_free(h); h 338 source4/rpc_server/drsuapi/dcesrv_drsuapi.c struct dcesrv_handle *h; h 342 source4/rpc_server/drsuapi/dcesrv_drsuapi.c DCESRV_PULL_HANDLE_WERR(h, r->in.bind_handle, DRSUAPI_BIND_HANDLE); h 343 source4/rpc_server/drsuapi/dcesrv_drsuapi.c b_state = h->data; h 392 source4/rpc_server/drsuapi/dcesrv_drsuapi.c struct dcesrv_handle *h; h 396 source4/rpc_server/drsuapi/dcesrv_drsuapi.c DCESRV_PULL_HANDLE_WERR(h, r->in.bind_handle, DRSUAPI_BIND_HANDLE); h 397 source4/rpc_server/drsuapi/dcesrv_drsuapi.c b_state = h->data; h 732 source4/rpc_server/drsuapi/dcesrv_drsuapi.c struct dcesrv_handle *h; h 734 source4/rpc_server/drsuapi/dcesrv_drsuapi.c DCESRV_PULL_HANDLE_WERR(h, r->in.bind_handle, DRSUAPI_BIND_HANDLE); h 735 source4/rpc_server/drsuapi/dcesrv_drsuapi.c b_state = h->data; h 101 source4/rpc_server/epmapper/rpc_epmapper.c struct dcesrv_handle *h; h 109 source4/rpc_server/epmapper/rpc_epmapper.c DCESRV_PULL_HANDLE_FAULT(h, r->in.entry_handle, HTYPE_LOOKUP); h 111 source4/rpc_server/epmapper/rpc_epmapper.c eps = h->data; h 116 source4/rpc_server/epmapper/rpc_epmapper.c eps = talloc(h, struct rpc_eps); h 120 source4/rpc_server/epmapper/rpc_epmapper.c h->data = eps; h 122 source4/rpc_server/epmapper/rpc_epmapper.c eps->count = build_ep_list(h, dce_call->conn->dce_ctx->endpoint_list, &eps->e); h 131 source4/rpc_server/epmapper/rpc_epmapper.c *r->out.entry_handle = h->wire_handle; h 138 source4/rpc_server/epmapper/rpc_epmapper.c talloc_free(h); h 29 source4/rpc_server/handles.c static int dcesrv_handle_destructor(struct dcesrv_handle *h) h 31 source4/rpc_server/handles.c DLIST_REMOVE(h->context->handles, h); h 42 source4/rpc_server/handles.c struct dcesrv_handle *h; h 44 source4/rpc_server/handles.c h = talloc(context, struct dcesrv_handle); h 45 source4/rpc_server/handles.c if (!h) { h 48 source4/rpc_server/handles.c h->data = NULL; h 49 source4/rpc_server/handles.c h->context = context; h 51 source4/rpc_server/handles.c h->wire_handle.handle_type = handle_type; h 52 source4/rpc_server/handles.c h->wire_handle.uuid = GUID_random(); h 54 source4/rpc_server/handles.c DLIST_ADD(context->handles, h); h 56 source4/rpc_server/handles.c talloc_set_destructor(h, dcesrv_handle_destructor); h 58 source4/rpc_server/handles.c return h; h 70 source4/rpc_server/handles.c struct dcesrv_handle *h; h 76 source4/rpc_server/handles.c for (h=context->handles; h; h=h->next) { h 77 source4/rpc_server/handles.c if (h->wire_handle.handle_type == p->handle_type && h 78 source4/rpc_server/handles.c GUID_equal(&p->uuid, &h->wire_handle.uuid)) { h 85 source4/rpc_server/handles.c return h; h 86 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 90 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, DCESRV_HANDLE_ANY); h 92 source4/rpc_server/lsa/dcesrv_lsa.c talloc_free(h); h 116 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 119 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, DCESRV_HANDLE_ANY); h 121 source4/rpc_server/lsa/dcesrv_lsa.c if (h->wire_handle.handle_type == LSA_HANDLE_SECRET) { h 122 source4/rpc_server/lsa/dcesrv_lsa.c struct lsa_secret_state *secret_state = h->data; h 137 source4/rpc_server/lsa/dcesrv_lsa.c talloc_free(h); h 145 source4/rpc_server/lsa/dcesrv_lsa.c } else if (h->wire_handle.handle_type == LSA_HANDLE_TRUSTED_DOMAIN) { h 147 source4/rpc_server/lsa/dcesrv_lsa.c talloc_get_type(h->data, struct lsa_trusted_domain_state); h 173 source4/rpc_server/lsa/dcesrv_lsa.c talloc_free(h); h 177 source4/rpc_server/lsa/dcesrv_lsa.c } else if (h->wire_handle.handle_type == LSA_HANDLE_ACCOUNT) { h 185 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_ACCOUNT); h 187 source4/rpc_server/lsa/dcesrv_lsa.c astate = h->data; h 229 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 234 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 236 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 436 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 441 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 443 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 560 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h, *ah; h 564 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 566 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 602 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 609 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 611 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 1265 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1279 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, opn.out.trustdom_handle, DCESRV_HANDLE_ANY); h 1280 source4/rpc_server/lsa/dcesrv_lsa.c talloc_steal(mem_ctx, h); h 1317 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1333 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.trustdom_handle, LSA_HANDLE_TRUSTED_DOMAIN); h 1335 source4/rpc_server/lsa/dcesrv_lsa.c trusted_domain_state = talloc_get_type(h->data, struct lsa_trusted_domain_state); h 1412 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1427 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, opn.out.trustdom_handle, DCESRV_HANDLE_ANY); h 1428 source4/rpc_server/lsa/dcesrv_lsa.c talloc_steal(mem_ctx, h); h 1461 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1476 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, opn.out.trustdom_handle, DCESRV_HANDLE_ANY); h 1477 source4/rpc_server/lsa/dcesrv_lsa.c talloc_steal(mem_ctx, h); h 1679 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h, *ah; h 1685 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 1687 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 1724 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1733 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_ACCOUNT); h 1735 source4/rpc_server/lsa/dcesrv_lsa.c astate = h->data; h 1791 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1799 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 1801 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 1950 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1954 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_ACCOUNT); h 1956 source4/rpc_server/lsa/dcesrv_lsa.c astate = h->data; h 1987 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 1991 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_ACCOUNT); h 1993 source4/rpc_server/lsa/dcesrv_lsa.c astate = h->data; h 2396 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2408 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.sec_handle, LSA_HANDLE_SECRET); h 2410 source4/rpc_server/lsa/dcesrv_lsa.c secret_state = h->data; h 2562 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2579 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.sec_handle, LSA_HANDLE_SECRET); h 2592 source4/rpc_server/lsa/dcesrv_lsa.c secret_state = h->data; h 2689 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2693 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 2695 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 2716 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2721 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 2723 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 2754 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2759 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 2761 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 2792 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2799 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 2801 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 2843 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2846 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 2848 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 2863 source4/rpc_server/lsa/dcesrv_lsa.c struct dcesrv_handle *h; h 2866 source4/rpc_server/lsa/dcesrv_lsa.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 2868 source4/rpc_server/lsa/dcesrv_lsa.c state = h->data; h 634 source4/rpc_server/lsa/lsa_lookup.c struct dcesrv_handle *h; h 654 source4/rpc_server/lsa/lsa_lookup.c DCESRV_PULL_HANDLE(h, r2.in.handle, LSA_HANDLE_POLICY); h 655 source4/rpc_server/lsa/lsa_lookup.c talloc_steal(mem_ctx, h); h 829 source4/rpc_server/lsa/lsa_lookup.c struct dcesrv_handle *h; h 849 source4/rpc_server/lsa/lsa_lookup.c DCESRV_PULL_HANDLE(h, r2.in.handle, LSA_HANDLE_POLICY); h 850 source4/rpc_server/lsa/lsa_lookup.c talloc_steal(mem_ctx, h); h 879 source4/rpc_server/lsa/lsa_lookup.c struct dcesrv_handle *h; h 886 source4/rpc_server/lsa/lsa_lookup.c DCESRV_PULL_HANDLE(h, r->in.handle, LSA_HANDLE_POLICY); h 893 source4/rpc_server/lsa/lsa_lookup.c state = h->data; h 201 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 205 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.handle, DCESRV_HANDLE_ANY); h 207 source4/rpc_server/samr/dcesrv_samr.c talloc_free(h); h 231 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 236 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.handle, DCESRV_HANDLE_ANY); h 273 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 284 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.connect_handle, SAMR_HANDLE_CONNECT); h 286 source4/rpc_server/samr/dcesrv_samr.c c_state = h->data; h 339 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 352 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.connect_handle, SAMR_HANDLE_CONNECT); h 354 source4/rpc_server/samr/dcesrv_samr.c c_state = h->data; h 779 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 788 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 790 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 951 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 957 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 959 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1027 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1038 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1040 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1148 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1160 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1162 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1244 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1269 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1271 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1508 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1520 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1522 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1597 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1607 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1609 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1704 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1716 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1718 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1803 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1808 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1810 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1880 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1890 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1892 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 1961 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 1971 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 1973 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 2048 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2058 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 2060 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 2124 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2135 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.group_handle, SAMR_HANDLE_GROUP); h 2137 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2201 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2207 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.group_handle, SAMR_HANDLE_GROUP); h 2209 source4/rpc_server/samr/dcesrv_samr.c g_state = h->data; h 2255 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2265 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.group_handle, SAMR_HANDLE_GROUP); h 2267 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2330 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2336 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.group_handle, SAMR_HANDLE_GROUP); h 2338 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2357 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2367 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.group_handle, SAMR_HANDLE_GROUP); h 2369 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2433 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2441 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.group_handle, SAMR_HANDLE_GROUP); h 2443 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2521 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2531 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 2533 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 2598 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2608 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.alias_handle, SAMR_HANDLE_ALIAS); h 2610 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2655 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2661 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.alias_handle, SAMR_HANDLE_ALIAS); h 2663 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2706 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2712 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.alias_handle, SAMR_HANDLE_ALIAS); h 2714 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2733 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2743 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.alias_handle, SAMR_HANDLE_ALIAS); h 2745 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2797 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2803 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.alias_handle, SAMR_HANDLE_ALIAS); h 2805 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2839 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2848 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.alias_handle, SAMR_HANDLE_ALIAS); h 2850 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 2908 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2918 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 2920 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 2984 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 2990 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.user_handle, SAMR_HANDLE_USER); h 2992 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 3014 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 3025 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.user_handle, SAMR_HANDLE_USER); h 3027 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 3371 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 3378 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.user_handle, SAMR_HANDLE_USER); h 3380 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 3631 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 3639 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.user_handle, SAMR_HANDLE_USER); h 3641 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 3696 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 3708 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 3710 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 3941 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 3946 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.user_handle, SAMR_HANDLE_USER); h 3948 source4/rpc_server/samr/dcesrv_samr.c a_state = h->data; h 3966 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 3973 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 3975 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 4309 source4/rpc_server/samr/dcesrv_samr.c struct dcesrv_handle *h; h 4311 source4/rpc_server/samr/dcesrv_samr.c DCESRV_PULL_HANDLE(h, r->in.domain_handle, SAMR_HANDLE_DOMAIN); h 4313 source4/rpc_server/samr/dcesrv_samr.c d_state = h->data; h 45 source4/rpc_server/samr/samr_password.c struct dcesrv_handle *h; h 55 source4/rpc_server/samr/samr_password.c DCESRV_PULL_HANDLE(h, r->in.user_handle, SAMR_HANDLE_USER); h 57 source4/rpc_server/samr/samr_password.c a_state = h->data; h 574 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 578 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 579 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = talloc_get_type(h->data, struct ntptr_GenericHandle); h 636 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 640 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 642 source4/rpc_server/spoolss/dcesrv_spoolss.c talloc_free(h); h 657 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 660 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 661 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = talloc_get_type(h->data, struct ntptr_GenericHandle); h 689 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 692 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 693 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = talloc_get_type(h->data, struct ntptr_GenericHandle); h 721 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 725 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 726 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = talloc_get_type(h->data, struct ntptr_GenericHandle); h 757 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 760 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 761 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = talloc_get_type(h->data, struct ntptr_GenericHandle); h 789 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 793 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 794 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = talloc_get_type(h->data, struct ntptr_GenericHandle); h 1259 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 1294 source4/rpc_server/spoolss/dcesrv_spoolss.c h = dcesrv_handle_new(dce_call->context, handle->type); h 1295 source4/rpc_server/spoolss/dcesrv_spoolss.c W_ERROR_HAVE_NO_MEMORY(h); h 1297 source4/rpc_server/spoolss/dcesrv_spoolss.c h->data = talloc_steal(h, handle); h 1299 source4/rpc_server/spoolss/dcesrv_spoolss.c *r->out.handle = h->wire_handle; h 1491 source4/rpc_server/spoolss/dcesrv_spoolss.c struct dcesrv_handle *h; h 1494 source4/rpc_server/spoolss/dcesrv_spoolss.c DCESRV_PULL_HANDLE_WERR(h, r->in.handle, DCESRV_HANDLE_ANY); h 1495 source4/rpc_server/spoolss/dcesrv_spoolss.c handle = talloc_get_type(h->data, struct ntptr_GenericHandle); h 61 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 64 source4/rpc_server/winreg/rpc_winreg.c h = dcesrv_handle_new(dce_call->context, HTYPE_REGKEY); h 67 source4/rpc_server/winreg/rpc_winreg.c (struct registry_key **)&h->data); h 71 source4/rpc_server/winreg/rpc_winreg.c *outh = &h->wire_handle; h 98 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 100 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 102 source4/rpc_server/winreg/rpc_winreg.c talloc_free(h); h 116 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h, *newh; h 121 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 122 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 168 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 171 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 172 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 192 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 195 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 196 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 216 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 222 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 223 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 265 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 272 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 273 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 335 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 338 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 339 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 359 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 361 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 396 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h, *newh; h 400 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.parent_handle, HTYPE_REGKEY); h 401 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 409 source4/rpc_server/winreg/rpc_winreg.c newh = talloc_reference(dce_call->context, h); h 437 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 442 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 443 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 478 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 484 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 485 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 577 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 582 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 583 source4/rpc_server/winreg/rpc_winreg.c key = h->data; h 639 source4/rpc_server/winreg/rpc_winreg.c struct dcesrv_handle *h; h 641 source4/rpc_server/winreg/rpc_winreg.c DCESRV_PULL_HANDLE_FAULT(h, r->in.handle, HTYPE_REGKEY); h 1224 source4/smb_server/smb/reply.c struct smbsrv_handle *h, *nh; h 1235 source4/smb_server/smb/reply.c for (h=req->tcon->handles.list; h; h=nh) { h 1236 source4/smb_server/smb/reply.c nh = h->next; h 1237 source4/smb_server/smb/reply.c talloc_free(h); h 2019 source4/smb_server/smb/reply.c struct smbsrv_handle *h; h 2030 source4/smb_server/smb/reply.c h = i->handle; h 2031 source4/smb_server/smb/reply.c if (h->smbpid != smbpid) continue; h 2033 source4/smb_server/smb/reply.c talloc_free(h); h 2060 source4/smb_server/smb/reply.c struct smbsrv_handle *h; h 2073 source4/smb_server/smb/reply.c h = i->handle; h 2074 source4/smb_server/smb/reply.c talloc_free(h); h 715 source4/smb_server/smb/request.c struct ntvfs_handle *h; h 720 source4/smb_server/smb/request.c h = talloc_zero(handle, struct ntvfs_handle); h 721 source4/smb_server/smb/request.c if (!h) goto nomem; h 729 source4/smb_server/smb/request.c h->ctx = ntvfs->ctx; h 730 source4/smb_server/smb/request.c h->session_info = ntvfs->session_info; h 731 source4/smb_server/smb/request.c h->smbpid = ntvfs->smbpid; h 733 source4/smb_server/smb/request.c h->frontend_data.private_data = handle; h 735 source4/smb_server/smb/request.c *_h = h; h 742 source4/smb_server/smb/request.c NTSTATUS smbsrv_handle_make_valid(void *private_data, struct ntvfs_handle *h) h 745 source4/smb_server/smb/request.c struct smbsrv_handle *handle = talloc_get_type(h->frontend_data.private_data, h 748 source4/smb_server/smb/request.c handle->ntvfs = h; h 754 source4/smb_server/smb/request.c void smbsrv_handle_destroy(void *private_data, struct ntvfs_handle *h) h 756 source4/smb_server/smb/request.c struct smbsrv_handle *handle = talloc_get_type(h->frontend_data.private_data, h 497 source4/smb_server/smb/trans2.c struct ntvfs_handle *h; h 507 source4/smb_server/smb/trans2.c h = smbsrv_pull_fnum(req, trans->in.params.data, 0); h 510 source4/smb_server/smb/trans2.c st->generic.in.file.ntvfs = h; h 625 source4/smb_server/smb/trans2.c struct ntvfs_handle *h; h 635 source4/smb_server/smb/trans2.c h = smbsrv_pull_fnum(req, trans->in.params.data, 0); h 638 source4/smb_server/smb/trans2.c st->generic.in.file.ntvfs = h; h 382 source4/smb_server/smb2/fileio.c struct smb2_handle h; h 383 source4/smb_server/smb2/fileio.c h.data[0] = UINT64_MAX; h 384 source4/smb_server/smb2/fileio.c h.data[1] = UINT64_MAX; h 385 source4/smb_server/smb2/fileio.c smb2_push_handle(req->out.body + 0x08, &h); h 400 source4/smb_server/smb2/fileio.c struct smb2_handle h; h 416 source4/smb_server/smb2/fileio.c smb2_pull_handle(req->in.body + 0x08, &h); h 417 source4/smb_server/smb2/fileio.c if (h.data[0] == UINT64_MAX && h.data[1] == UINT64_MAX) { h 34 source4/smb_server/smb2/tcon.c static NTSTATUS smb2srv_send_oplock_break(void *p, struct ntvfs_handle *h, uint8_t level) h 36 source4/smb_server/smb2/tcon.c struct smbsrv_handle *handle = talloc_get_type(h->frontend_data.private_data, h 83 source4/smb_server/smb2/tcon.c smb2srv_push_handle(req->out.body, 0x08, h); h 184 source4/smb_server/smb2/tcon.c struct ntvfs_handle *h; h 189 source4/smb_server/smb2/tcon.c h = talloc_zero(handle, struct ntvfs_handle); h 190 source4/smb_server/smb2/tcon.c if (!h) goto nomem; h 198 source4/smb_server/smb2/tcon.c h->ctx = ntvfs->ctx; h 199 source4/smb_server/smb2/tcon.c h->session_info = ntvfs->session_info; h 200 source4/smb_server/smb2/tcon.c h->smbpid = ntvfs->smbpid; h 202 source4/smb_server/smb2/tcon.c h->frontend_data.private_data = handle; h 204 source4/smb_server/smb2/tcon.c *_h = h; h 211 source4/smb_server/smb2/tcon.c static NTSTATUS smb2srv_handle_make_valid(void *private_data, struct ntvfs_handle *h) h 214 source4/smb_server/smb2/tcon.c struct smbsrv_handle *handle = talloc_get_type(h->frontend_data.private_data, h 217 source4/smb_server/smb2/tcon.c handle->ntvfs = h; h 223 source4/smb_server/smb2/tcon.c static void smb2srv_handle_destroy(void *private_data, struct ntvfs_handle *h) h 225 source4/smb_server/smb2/tcon.c struct smbsrv_handle *handle = talloc_get_type(h->frontend_data.private_data, h 450 source4/torture/basic/misc.c char *h, *s; h 468 source4/torture/basic/misc.c NULL, &h, &s)) { h 477 source4/torture/basic/misc.c lpar->unc[conn_index-empty_lines]->host = h; h 156 source4/torture/gentest.c int h, i; h 159 source4/torture/gentest.c for (h=0;h<options.max_open_handles;h++) { h 160 source4/torture/gentest.c if (!open_handles[h].active) continue; h 164 source4/torture/gentest.c status = smb2_util_close(servers[i].smb2_tree[open_handles[h].instance], h 165 source4/torture/gentest.c open_handles[h].smb2_handle[i]); h 167 source4/torture/gentest.c status = smbcli_close(servers[i].smb_tree[open_handles[h].instance], h 168 source4/torture/gentest.c open_handles[h].smb_handle[i]); h 173 source4/torture/gentest.c open_handles[h].active = false; h 340 source4/torture/gentest.c int i, h; h 341 source4/torture/gentest.c for (h=0;h<options.max_open_handles;h++) { h 342 source4/torture/gentest.c if (!open_handles[h].active) break; h 344 source4/torture/gentest.c if (h == options.max_open_handles) { h 346 source4/torture/gentest.c h = random() % options.max_open_handles; h 349 source4/torture/gentest.c status = smb2_util_close(servers[i].smb2_tree[open_handles[h].instance], h 350 source4/torture/gentest.c open_handles[h].smb2_handle[i]); h 356 source4/torture/gentest.c printf("Recovered handle %d\n", h); h 360 source4/torture/gentest.c open_handles[h].smb2_handle[i] = handles[i]; h 361 source4/torture/gentest.c open_handles[h].instance = instance; h 362 source4/torture/gentest.c open_handles[h].active = true; h 363 source4/torture/gentest.c open_handles[h].name = name; h 368 source4/torture/gentest.c num_open_handles, h, name); h 376 source4/torture/gentest.c int i, h; h 377 source4/torture/gentest.c for (h=0;h<options.max_open_handles;h++) { h 378 source4/torture/gentest.c if (!open_handles[h].active) break; h 380 source4/torture/gentest.c if (h == options.max_open_handles) { h 382 source4/torture/gentest.c h = random() % options.max_open_handles; h 385 source4/torture/gentest.c status = smbcli_close(servers[i].smb_tree[open_handles[h].instance], h 386 source4/torture/gentest.c open_handles[h].smb_handle[i]); h 392 source4/torture/gentest.c printf("Recovered handle %d\n", h); h 396 source4/torture/gentest.c open_handles[h].smb_handle[i] = handles[i]; h 397 source4/torture/gentest.c open_handles[h].instance = instance; h 398 source4/torture/gentest.c open_handles[h].active = true; h 399 source4/torture/gentest.c open_handles[h].name = name; h 404 source4/torture/gentest.c num_open_handles, h, name); h 413 source4/torture/gentest.c int h; h 414 source4/torture/gentest.c for (h=0;h<options.max_open_handles;h++) { h 415 source4/torture/gentest.c if (instance == open_handles[h].instance && h 416 source4/torture/gentest.c smb2_handle_equal(&open_handles[h].smb2_handle[0], &handles[0])) { h 417 source4/torture/gentest.c open_handles[h].active = false; h 420 source4/torture/gentest.c num_open_handles, h, h 421 source4/torture/gentest.c open_handles[h].name); h 434 source4/torture/gentest.c int h; h 435 source4/torture/gentest.c for (h=0;h<options.max_open_handles;h++) { h 436 source4/torture/gentest.c if (instance == open_handles[h].instance && h 437 source4/torture/gentest.c open_handles[h].smb_handle[0] == handles[0]) { h 438 source4/torture/gentest.c open_handles[h].active = false; h 441 source4/torture/gentest.c num_open_handles, h, h 442 source4/torture/gentest.c open_handles[h].name); h 481 source4/torture/gentest.c uint16_t h; h 487 source4/torture/gentest.c h = random() % options.max_open_handles; h 488 source4/torture/gentest.c if (open_handles[h].active && h 489 source4/torture/gentest.c open_handles[h].instance == instance) { h 490 source4/torture/gentest.c return h; h 591 source4/torture/gentest.c uint16_t h; h 592 source4/torture/gentest.c h = gen_fnum(instance); h 593 source4/torture/gentest.c if (h == BAD_HANDLE) { h 596 source4/torture/gentest.c return open_handles[h].name; h 79 source4/torture/libnet/domain.c struct policy_handle h; h 99 source4/torture/libnet/domain.c if (!test_domainopen(net_ctx, mem_ctx, &name, &h)) { h 104 source4/torture/libnet/domain.c if (!test_cleanup(net_ctx->samr.pipe, mem_ctx, &h)) { h 79 source4/torture/libnet/groupinfo.c struct policy_handle h; h 99 source4/torture/libnet/groupinfo.c if (!test_opendomain(torture, p, mem_ctx, &h, &name, &sid)) { h 104 source4/torture/libnet/groupinfo.c if (!test_group_create(p, mem_ctx, &h, TEST_GROUPNAME, &rid)) { h 109 source4/torture/libnet/groupinfo.c if (!test_groupinfo(p, mem_ctx, &h, &sid, TEST_GROUPNAME, &rid)) { h 114 source4/torture/libnet/groupinfo.c if (!test_group_cleanup(p, mem_ctx, &h, TEST_GROUPNAME)) { h 57 source4/torture/libnet/groupman.c struct policy_handle h; h 73 source4/torture/libnet/groupman.c if (!test_opendomain(torture, p, mem_ctx, &h, &domain_name, &sid)) { h 78 source4/torture/libnet/groupman.c if (!test_groupadd(p, mem_ctx, &h, name)) { h 83 source4/torture/libnet/groupman.c if (!test_group_cleanup(p, mem_ctx, &h, name)) { h 41 source4/torture/libnet/libnet_domain.c struct policy_handle h, domain_handle; h 53 source4/torture/libnet/libnet_domain.c r1.out.connect_handle = &h; h 61 source4/torture/libnet/libnet_domain.c r2.in.connect_handle = &h; h 73 source4/torture/libnet/libnet_domain.c r3.in.connect_handle = &h; h 133 source4/torture/libnet/libnet_domain.c struct policy_handle h; h 163 source4/torture/libnet/libnet_domain.c lsa_close.out.handle = &h; h 186 source4/torture/libnet/libnet_domain.c struct policy_handle h; h 215 source4/torture/libnet/libnet_domain.c if (!test_opendomain_lsa(p, torture, &h, &domain_name, &access_mask)) { h 224 source4/torture/libnet/libnet_domain.c ctx->lsa.handle = h; h 314 source4/torture/libnet/libnet_domain.c struct policy_handle h; h 344 source4/torture/libnet/libnet_domain.c if (!test_opendomain_samr(p, torture, &h, &domain_name, &access_mask, &sid)) { h 353 source4/torture/libnet/libnet_domain.c ctx->samr.handle = h; h 142 source4/torture/libnet/libnet_group.c struct policy_handle h, domain_handle; h 152 source4/torture/libnet/libnet_group.c r1.out.connect_handle = &h; h 160 source4/torture/libnet/libnet_group.c r2.in.connect_handle = &h; h 172 source4/torture/libnet/libnet_group.c r3.in.connect_handle = &h; h 237 source4/torture/libnet/libnet_group.c struct policy_handle h; h 254 source4/torture/libnet/libnet_group.c if (!test_opendomain(p, prep_mem_ctx, &h, &domain_name)) { h 259 source4/torture/libnet/libnet_group.c if (!test_creategroup(p, prep_mem_ctx, &h, name)) { h 95 source4/torture/libnet/libnet_user.c struct policy_handle h, domain_handle; h 105 source4/torture/libnet/libnet_user.c r1.out.connect_handle = &h; h 113 source4/torture/libnet/libnet_user.c r2.in.connect_handle = &h; h 125 source4/torture/libnet/libnet_user.c r3.in.connect_handle = &h; h 286 source4/torture/libnet/libnet_user.c struct policy_handle h; h 310 source4/torture/libnet/libnet_user.c if (!test_opendomain(p, prep_mem_ctx, &h, &domain_name)) { h 315 source4/torture/libnet/libnet_user.c if (!test_createuser(p, prep_mem_ctx, &h, name)) { h 479 source4/torture/libnet/libnet_user.c struct policy_handle h; h 504 source4/torture/libnet/libnet_user.c if (!test_opendomain(p, prep_mem_ctx, &h, &domain_name)) { h 509 source4/torture/libnet/libnet_user.c if (!test_createuser(p, prep_mem_ctx, &h, name)) { h 619 source4/torture/libnet/libnet_user.c struct policy_handle h; h 636 source4/torture/libnet/libnet_user.c if (!test_opendomain(p, prep_mem_ctx, &h, &domain_name)) { h 641 source4/torture/libnet/libnet_user.c if (!test_createuser(p, prep_mem_ctx, &h, name)) { h 135 source4/torture/libnet/userinfo.c struct policy_handle h; h 155 source4/torture/libnet/userinfo.c if (!test_opendomain(torture, p, mem_ctx, &h, &name, &sid)) { h 160 source4/torture/libnet/userinfo.c if (!test_user_create(torture, p, mem_ctx, &h, TEST_USERNAME, &rid)) { h 165 source4/torture/libnet/userinfo.c if (!test_userinfo(p, mem_ctx, &h, &sid, TEST_USERNAME, &rid)) { h 170 source4/torture/libnet/userinfo.c if (!test_user_cleanup(torture, p, mem_ctx, &h, TEST_USERNAME)) { h 178 source4/torture/libnet/userinfo.c if (!test_opendomain(torture, p, mem_ctx, &h, &name, &sid)) { h 183 source4/torture/libnet/userinfo.c if (!test_user_create(torture, p, mem_ctx, &h, TEST_USERNAME, &rid)) { h 188 source4/torture/libnet/userinfo.c if (!test_userinfo_async(p, mem_ctx, &h, &sid, TEST_USERNAME, &rid)) { h 193 source4/torture/libnet/userinfo.c if (!test_user_cleanup(torture, p, mem_ctx, &h, TEST_USERNAME)) { h 308 source4/torture/libnet/userman.c struct policy_handle h; h 324 source4/torture/libnet/userman.c if (!test_opendomain(torture, p, mem_ctx, &h, &domain_name, &sid)) { h 329 source4/torture/libnet/userman.c if (!test_useradd(p, mem_ctx, &h, name)) { h 334 source4/torture/libnet/userman.c if (!test_user_cleanup(torture, p, mem_ctx, &h, name)) { h 339 source4/torture/libnet/userman.c if (!test_opendomain(torture, p, mem_ctx, &h, &domain_name, &sid)) { h 344 source4/torture/libnet/userman.c if (!test_useradd_async(p, mem_ctx, &h, name)) { h 349 source4/torture/libnet/userman.c if (!test_user_cleanup(torture, p, mem_ctx, &h, name)) { h 364 source4/torture/libnet/userman.c struct policy_handle h; h 383 source4/torture/libnet/userman.c if (!test_opendomain(torture, p, mem_ctx, &h, &domain_name, &sid)) { h 388 source4/torture/libnet/userman.c if (!test_user_create(torture, p, mem_ctx, &h, name, &rid)) { h 393 source4/torture/libnet/userman.c if (!test_userdel(p, mem_ctx, &h, name)) { h 408 source4/torture/libnet/userman.c struct policy_handle h; h 428 source4/torture/libnet/userman.c if (!test_opendomain(torture, p, mem_ctx, &h, &domain_name, &sid)) { h 433 source4/torture/libnet/userman.c if (!test_user_create(torture, p, mem_ctx, &h, name, &rid)) { h 441 source4/torture/libnet/userman.c if (!test_usermod(torture, p, mem_ctx, &h, i, &m, &name)) { h 446 source4/torture/libnet/userman.c if (!test_compare(torture, p, mem_ctx, &h, &m, name)) { h 453 source4/torture/libnet/userman.c if (!test_user_cleanup(torture, p, mem_ctx, &h, name)) { h 38 source4/torture/libnet/utils.c struct policy_handle h, domain_handle; h 48 source4/torture/libnet/utils.c r1.out.connect_handle = &h; h 53 source4/torture/libnet/utils.c r2.in.connect_handle = &h; h 62 source4/torture/libnet/utils.c r3.in.connect_handle = &h; h 139 source4/torture/locktest.c char *h, *s; h 147 source4/torture/locktest.c NULL, &h, &s)) { h 152 source4/torture/locktest.c server = talloc_strdup(mem_ctx, h); h 6504 source4/torture/rpc/samr.c struct policy_handle h; h 6512 source4/torture/rpc/samr.c r.out.connect_handle = &h; h 6520 source4/torture/rpc/samr.c *handle = h; h 6527 source4/torture/rpc/samr.c r2.out.connect_handle = &h; h 6538 source4/torture/rpc/samr.c *handle = h; h 6546 source4/torture/rpc/samr.c r3.out.connect_handle = &h; h 6557 source4/torture/rpc/samr.c *handle = h; h 6565 source4/torture/rpc/samr.c r4.out.connect_handle = &h; h 6576 source4/torture/rpc/samr.c *handle = h; h 6590 source4/torture/rpc/samr.c r5.out.connect_handle = &h; h 6601 source4/torture/rpc/samr.c *handle = h; h 36 source4/torture/rpc/samr_accessmask.c struct policy_handle *h) h 41 source4/torture/rpc/samr_accessmask.c cl.in.handle = h; h 42 source4/torture/rpc/samr_accessmask.c cl.out.handle = h; h 50 source4/torture/rpc/samr_accessmask.c uint32_t mask, struct policy_handle *h) h 64 source4/torture/rpc/samr_accessmask.c r5.out.connect_handle = h; h 77 source4/torture/rpc/samr_accessmask.c struct policy_handle h; h 85 source4/torture/rpc/samr_accessmask.c status = torture_samr_Connect5(tctx, p, mask, &h); h 121 source4/torture/rpc/samr_accessmask.c status = torture_samr_Close(tctx, p, &h); h 300 source4/torture/rpc/spoolss_notify.c struct policy_handle h; h 307 source4/torture/rpc/spoolss_notify.c r.out.handle = &h; h 315 source4/torture/rpc/spoolss_notify.c s.in.handle = &h; h 316 source4/torture/rpc/spoolss_notify.c s.out.handle = &h; h 31 source4/torture/rpc/svcctl.c static bool test_OpenSCManager(struct dcerpc_pipe *p, struct torture_context *tctx, struct policy_handle *h) h 38 source4/torture/rpc/svcctl.c r.out.handle = h; h 47 source4/torture/rpc/svcctl.c static bool test_CloseServiceHandle(struct dcerpc_pipe *p, struct torture_context *tctx, struct policy_handle *h) h 51 source4/torture/rpc/svcctl.c r.in.handle = h; h 52 source4/torture/rpc/svcctl.c r.out.handle = h; h 61 source4/torture/rpc/svcctl.c struct policy_handle *h, const char *name, struct policy_handle *s) h 65 source4/torture/rpc/svcctl.c r.in.scmanager_handle = h; h 83 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 87 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 90 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 103 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 112 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 120 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 123 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 150 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 161 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 167 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 170 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 192 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 201 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 209 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 212 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 257 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 267 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 272 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 275 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 310 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 320 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 322 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 325 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 342 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 352 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 355 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 358 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 374 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 383 source4/torture/rpc/svcctl.c struct policy_handle h; h 391 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 394 source4/torture/rpc/svcctl.c r.in.handle = &h; h 451 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 461 source4/torture/rpc/svcctl.c struct policy_handle h, s; h 469 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 472 source4/torture/rpc/svcctl.c if (!test_OpenService(p, tctx, &h, TORTURE_DEFAULT_SERVICE, &s)) h 514 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 523 source4/torture/rpc/svcctl.c struct policy_handle h; h 525 source4/torture/rpc/svcctl.c if (!test_OpenSCManager(p, tctx, &h)) h 528 source4/torture/rpc/svcctl.c if (!test_CloseServiceHandle(p, tctx, &h)) h 51 source4/torture/smb2/lock.c struct smb2_handle h; h 58 source4/torture/smb2/lock.c status = torture_smb2_testfile(tree, "lock1.txt", &h); h 61 source4/torture/smb2/lock.c status = smb2_util_write(tree, h, buf, 0, ARRAY_SIZE(buf)); h 68 source4/torture/smb2/lock.c lck.in.file.handle = h; h 78 source4/torture/smb2/lock.c lck.in.file.handle = h; h 94 source4/torture/smb2/lock.c lck.in.file.handle = h; h 131 source4/torture/smb2/lock.c lck.in.file.handle = h; h 182 source4/torture/smb2/lock.c lck.in.file.handle = h; h 192 source4/torture/smb2/lock.c lck.in.file.handle = h; h 211 source4/torture/smb2/lock.c lck.in.file.handle = h; h 242 source4/torture/smb2/lock.c lck.in.file.handle = h; h 489 source4/torture/smb2/lock.c struct smb2_handle h; h 496 source4/torture/smb2/lock.c status = torture_smb2_testfile(tree, "autounlock.txt", &h); h 499 source4/torture/smb2/lock.c status = smb2_util_write(tree, h, buf, 0, ARRAY_SIZE(buf)); h 505 source4/torture/smb2/lock.c lck.in.file.handle = h; h 54 source4/torture/smb2/read.c struct smb2_handle h; h 61 source4/torture/smb2/read.c status = torture_smb2_testfile(tree, FNAME, &h); h 64 source4/torture/smb2/read.c status = smb2_util_write(tree, h, buf, 0, ARRAY_SIZE(buf)); h 68 source4/torture/smb2/read.c rd.in.file.handle = h; h 137 source4/torture/smb2/read.c struct smb2_handle h; h 145 source4/torture/smb2/read.c status = torture_smb2_testfile(tree, FNAME, &h); h 148 source4/torture/smb2/read.c status = smb2_util_write(tree, h, buf, 0, ARRAY_SIZE(buf)); h 152 source4/torture/smb2/read.c rd.in.file.handle = h; h 162 source4/torture/smb2/read.c info.generic.in.file.handle = h; h 182 source4/torture/smb2/read.c struct smb2_handle h; h 186 source4/torture/smb2/read.c status = torture_smb2_testdir(tree, DNAME, &h); h 193 source4/torture/smb2/read.c rd.in.file.handle = h;