/src/sys/external/bsd/drm/dist/bsd-core/ |
drm_hashtab.c | 44 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) 46 ht->size = 1 << order; 47 ht->order = order; 48 ht->table = NULL; 49 ht->table = hashinit(ht->size, HASH_LIST, false, &ht->mask); 50 if (!ht->table) { 57 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key) 64 hashed_key = hash32_buf(&key, sizeof(key), ht->order) [all...] |
drm_hashtab.h | 53 extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order); 54 extern int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 55 extern int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 58 extern int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 60 extern void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key); 61 extern int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key); 62 extern int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item); 63 extern void drm_ht_remove(struct drm_open_hash *ht);
|
/src/sys/external/bsd/drm2/dist/drm/ |
drm_hashtab.c | 50 int drm_ht_create(struct drm_open_hash *ht, unsigned int order) 54 ht->order = order; 55 ht->table = NULL; 56 if (size <= PAGE_SIZE / sizeof(*ht->table)) 57 ht->table = kcalloc(size, sizeof(*ht->table), GFP_KERNEL); 59 ht->table = vzalloc(array_size(size, sizeof(*ht->table))); 60 if (!ht->table) { 68 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key [all...] |
/src/sys/external/bsd/drm2/dist/include/drm/ |
drm_hashtab.h | 56 int drm_ht_create(struct drm_open_hash *ht, unsigned int order); 57 int drm_ht_insert_item(struct drm_open_hash *ht, struct drm_hash_item *item); 58 int drm_ht_just_insert_please(struct drm_open_hash *ht, struct drm_hash_item *item, 61 int drm_ht_find_item(struct drm_open_hash *ht, unsigned long key, struct drm_hash_item **item); 63 void drm_ht_verbose_list(struct drm_open_hash *ht, unsigned long key); 64 int drm_ht_remove_key(struct drm_open_hash *ht, unsigned long key); 65 int drm_ht_remove_item(struct drm_open_hash *ht, struct drm_hash_item *item); 66 void drm_ht_remove(struct drm_open_hash *ht);
|
drm_modes.h | 137 #define DRM_MODE(nm, t, c, hd, hss, hse, ht, hsk, vd, vss, vse, vt, vs, f) \ 140 .htotal = (ht), .hskew = (hsk), .vdisplay = (vd), \
|
/src/usr.bin/config/ |
hash.c | 98 ht_init(struct hashtab *ht, size_t sz) 102 ht->ht_tab = emalloc(sz * sizeof (ht->ht_tab[0])); 103 ht->ht_size = sz; 104 ht->ht_mask = sz - 1; 106 TAILQ_INIT(&ht->ht_tab[n]); 107 ht->ht_used = 0; 108 ht->ht_lim = HASHFRACTION(sz); 115 ht_expand(struct hashtab *ht) 121 n = ht->ht_size * 2 209 struct hashtab *ht; local in function:intern 233 struct hashtab *ht; local in function:ht_new [all...] |
defs.h | 547 #define ht_insert2(ht, nam1, nam2, val) ht_insrep2(ht, nam1, nam2, val, 0) 548 #define ht_insert(ht, nam, val) ht_insrep(ht, nam, val, 0) 549 #define ht_replace(ht, nam, val) ht_insrep(ht, nam, val, 1) 561 /* typed hash, named struct HT, whose type is string -> struct VT */ 562 #define DECLHASH(HT, VT) \ 563 struct HT; \ 564 struct HT *HT##_create(void); [all...] |
main.c | 211 static void defopt(struct dlhash *ht, const char *fname, 979 defopt(struct dlhash *ht, const char *fname, struct defoptlist *opts, 1014 if (dlhash_insert(ht, dl->dl_name, dl)) { 1070 mkoptvar(struct dlhash *ht, struct defoptlist *opts) 1075 defined_dl = dlhash_lookup(ht, dl->dl_name); 1333 do_option(struct hashtab *ht, struct nvlist **npp, struct nvlist ***next, 1341 if (ht_insert(ht, name, nv) != 0) { 1344 if ((onv = ht_lookup(ht, name)) == NULL) 1352 if (undo_option(ht, npp, next, name, type, 0)) 1359 if (ht_insert(ht, name, nv) != 0 [all...] |
/src/usr.sbin/ldpd/ |
fsm.c | 54 run_ldp_hello(const struct ldp_pdu * pduid, const struct hello_tlv * ht, 64 if ((!pduid) || (!ht)) 68 debugp("Hello: Type: 0x%.4X Length: %.2d ID: %.8X\n", ht->type, 69 ht->length, ht->messageid); 71 if (ht->length <= 4) /* Common hello parameters */ 74 " Hold time: %d\n", ntohs(ht->ch.type), ntohs(ht->ch.length), 75 ht->ch.holdtime); 81 trtlv = (const struct transport_address_tlv *)(ht + 1) [all...] |
conffile.c | 263 int ht = atoi(line); local in function:Fhellotime 264 if (ht <= 0) 266 ldp_hello_time = ht;
|
/src/sys/external/bsd/drm2/dist/drm/vmwgfx/ |
vmwgfx_validation.h | 60 * @ht: Hash table used to find resource- or buffer object duplicates 78 struct drm_open_hash *ht; member in struct:vmw_validation_context 110 { .ht = _ht, \ 151 * @ht: Pointer to a hash table to use for duplicate finding 156 struct drm_open_hash *ht) 158 ctx->ht = ht;
|
ttm_object.c | 255 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; local in function:ttm_base_object_noref_lookup 259 ret = drm_ht_find_item_rcu(ht, key, &hash); 275 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; local in function:ttm_base_object_lookup 279 ret = drm_ht_find_item_rcu(ht, key, &hash); 319 struct drm_open_hash *ht = &tfile->ref_hash[TTM_REF_USAGE]; local in function:ttm_ref_object_exists 324 if (unlikely(drm_ht_find_item_rcu(ht, base->handle, &hash) != 0)) 356 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; local in function:ttm_ref_object_add 374 ret = drm_ht_find_item_rcu(ht, base->handle, &hash); 405 ret = drm_ht_insert_item_rcu(ht, &ref->hash); 433 struct drm_open_hash *ht; variable in typeref:struct:drm_open_hash * 453 struct drm_open_hash *ht = &tfile->ref_hash[ref_type]; local in function:ttm_ref_object_base_unref [all...] |
vmwgfx_validation.c | 190 if (ctx->ht) { 193 if (!drm_ht_find_item(ctx->ht, (unsigned long) vbo, &hash)) 227 if (ctx->ht) { 230 if (!drm_ht_find_item(ctx->ht, (unsigned long) res, &hash)) 285 if (ctx->ht) { 287 ret = drm_ht_insert_item(ctx->ht, &bo_node->hash); 340 if (ctx->ht) { 342 ret = drm_ht_insert_item(ctx->ht, &node->hash); 691 if (!ctx->ht) 695 (void) drm_ht_remove_item(ctx->ht, &entry->hash) [all...] |
/src/share/man/man4/man4.vax/ |
Makefile | 9 hdh.4 hk.4 hp.4 ht.4 hy.4 \
|
/src/sys/dev/acpi/ |
dwiic_acpi.c | 49 uint32_t ht; member in struct:dwiic_acpi_param 156 param->ht = (uint32_t)obj->Package.Elements[2].Integer.Value; 176 sc->sda_hold_time = fmcn.ht;
|
/src/sys/arch/arm/iomd/ |
makemodes.awk | 235 ht = split(modes[loop, 4], htimings, ","); 236 if (ht != 6) continue;
|
/src/usr.bin/skeyinit/ |
skeyinit.c | 55 char lastc, me[LOGIN_NAME_MAX+1], *p, *pw, *ht = NULL; local in function:main 130 ht = optarg; 216 if (ht) { 218 if (strcmp(ht, skey_get_algorithm()) && skey_set_algorithm(ht))
|
/src/lib/libskey/ |
skeylogin.c | 130 const char *ht = NULL; local in function:skeylookup 154 ht = cp; 158 ht = "md4"; 173 if (ht && skey_set_algorithm(ht) == NULL) { 174 warnx("Unknown hash algorithm %s, using %s", ht,
|
/src/etc/etc.vax/ |
MAKEDEV.conf | 37 ht[0-9]*|tm[0-9]*|mt[0-9]*|ts[0-9]*|ut[0-9]*) 39 ht*) name=ht; unit=${i#ht}; blk=1; chr=5 ;;
|
/src/sbin/dmesg/ |
dmesg.c | 79 fmtydhmsf(char *b, size_t l, intmax_t t, long nsec, int ht) 122 if (nsec && ht == 2) { 126 if (nsec || ht > 2)
|
/src/sys/dev/videomode/ |
videomode.c | 25 #define M(nm,hr,vr,clk,hs,he,ht,vs,ve,vt,f) \ 26 { clk, hr, hs, he, ht, vr, vs, ve, vt, f, nm }
|
/src/share/terminfo/ |
terminfo | 317 bel=^G, clear=^L, cr=\r, cub1=^H, cud1=\n, ht=^I, kcub1=^H, 347 cbt=\E[Z, ht=^I, hts=\EH, tbc=\E[3g, 534 ht=^I, use=ansi-mini, use=ansi+local1, 569 home=\E[H, ht=^I, il1=\E[L$<5*/>, ind=\ED, kbs=^H, 590 dch1=\E[P, dl1=\E[M, ed=\E[J, el=\E[K, home=\E[H, ht=^I, 618 ech=\E[%p1%dX, el1=\E[1K, hpa=\E[%i%p1%dG, ht=\E[I, 835 cuu1=\EA, dl1=\EM, ed=\EJ, el=\EK, el1=\Eo, home=\EH, ht=^I, 854 dl1=\E[M, ed=\E[J, el=\E[K, el1=\E[1K, home=\E[H, ht=^I, 882 dim=\Em, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL, 901 dim=\Em, dl1=\EM, ed=\EJ, el=\EK, home=\EH, ht=^I, il1=\EL [all...] |
/src/sys/external/bsd/drm2/dist/drm/i2c/ |
ch7006_mode.c | 110 #define __MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ 120 .htotal = ht, \ 140 #define MODE(f, hd, vd, ht, vt, hsynp, vsynp, \ 142 __MODE(f, hd, vd, ht, vt, hsynp, vsynp, subc, scale, \
|
/src/sys/external/bsd/drm2/dist/drm/ast/ |
ast_drv.h | 260 u32 ht; member in struct:ast_vbios_enhtable
|
/src/sbin/brconfig/ |
brconfig.c | 384 u_int8_t ht, fd, ma; local in function:show_config 392 ht = param.ifbrp_hellotime; 403 prefix, pri, ht, fd, ma);
|