/freebsd-current/contrib/jemalloc/src/ |
H A D | bitmap.c | 21 * progressively work upward through the levels until reaching a level 24 binfo->levels[0].group_offset = 0; 28 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset 32 binfo->levels[i].group_offset = binfo->levels[i-1].group_offset 34 assert(binfo->levels[i].group_offset <= BITMAP_GROUPS_MAX); 41 return binfo->levels[binfo->nlevels].group_offset; 70 bitmap[binfo->levels[1].group_offset - 1] >>= extra; 73 size_t group_count = binfo->levels[ [all...] |
/freebsd-current/sys/sys/ |
H A D | backlight.h | 38 uint32_t levels[BACKLIGHTMAXLEVELS]; member in struct:backlight_props
|
/freebsd-current/usr.sbin/bhyve/ |
H A D | acpi.h | 63 void dsdt_indent(int levels); 64 void dsdt_unindent(int levels);
|
H A D | acpi.c | 153 dsdt_indent(int levels) argument 156 dsdt_indent_level += levels; 161 dsdt_unindent(int levels) argument 164 assert(dsdt_indent_level >= levels); 165 dsdt_indent_level -= levels;
|
/freebsd-current/crypto/openssl/crypto/ |
H A D | sparse_array.c | 52 int levels; member in struct:sparse_array_st 88 if (l < sa->levels - 1) { 166 for (level = sa->levels - 1; p != NULL && level > 0; level--) 192 for (;sa->levels < level; sa->levels++) { 203 for (level = sa->levels - 1; level > 0; level--) {
|
/freebsd-current/sys/dev/pwm/ |
H A D | pwm_backlight.c | 64 uint32_t *levels; member in struct:pwm_backlight_softc 115 if (OF_hasprop(node, "brightness-levels")) { 116 sc->nlevels = OF_getencprop_alloc(node, "brightness-levels", 117 (void **)&sc->levels); 119 device_printf(dev, "Cannot parse brightness levels\n"); 126 device_printf(dev, "No default-brightness-level while brightness-levels is specified\n"); 130 device_printf(dev, "default-brightness-level isn't present in brightness-levels range\n"); 133 sc->channel->duty = sc->channel->period * sc->levels[sc->default_level] / 100; 137 device_printf(dev, "Number of levels: %zd\n", sc->nlevels); 178 OF_prop_free(sc->levels); [all...] |
/freebsd-current/sys/kern/ |
H A D | kern_cpu.c | 56 * Number of levels we can handle. Levels are synthesized from settings 57 * so for M settings and N drivers, there may be M*N levels. 106 static int cf_levels_method(device_t dev, struct cf_level *levels, 140 "Don't provide levels below this frequency."); 190 cpufreq_levels_sysctl, "A", "CPU frequency levels"); 193 * Queue a one-shot broadcast that levels have changed. 245 /* We are going to change levels so notify the pre-change handler. */ 301 /* Reject levels that are below our specified threshold. */ 410 * We changed levels (or attempted to) so notify the post-change 431 /* Returns the index into *levels wit 433 cpufreq_get_level(device_t dev, struct cf_level *levels, int count) argument 456 struct cf_level *levels; local 631 cf_levels_method(device_t dev, struct cf_level *levels, int *count) argument 937 struct cf_level *levels; local 992 struct cf_level *levels; local [all...] |
/freebsd-current/lib/libc/db/btree/ |
H A D | bt_debug.c | 248 int levels; local 272 /* Count the levels of the tree. */ 273 for (i = P_ROOT, levels = 0 ;; ++levels) { 276 if (levels == 0) 277 levels = 1; 286 levels, levels == 1 ? "" : "s", nkeys);
|
/freebsd-current/tools/test/stress2/tools/ |
H A D | fstool.c | 162 int c, i, levels, leave, times; local 170 levels = 1; 191 levels = atoi(optarg); 222 max = levels;
|
/freebsd-current/crypto/openssl/crypto/x509/ |
H A D | pcy_tree.c | 60 curr = tree->levels + tree->nlevel; 66 (long)(curr - tree->levels)); 67 for (plev = tree->levels; plev != curr; plev++) { 71 (long)(plev - tree->levels), plev->flags); 189 if ((tree->levels = OPENSSL_zalloc(sizeof(*tree->levels)*(n+1))) == NULL) { 195 level = tree->levels; 205 * In this pass initialize all the tree levels and whether anyPolicy and 441 if (curr == tree->levels) { 488 curr = tree->levels [all...] |
H A D | pcy_lib.c | 32 return tree->levels + i;
|
H A D | pcy_local.h | 120 X509_POLICY_LEVEL *levels; member in struct:X509_POLICY_TREE_st
|
/freebsd-current/usr.sbin/makefs/ |
H A D | zfs.c | 646 * Do we need indirect blocks? Figure out how many levels are needed 676 _dnode_cursor_flush(zfs_opt_t *zfs, struct dnode_cursor *c, unsigned int levels) argument 683 assert(levels > 0); 684 assert(levels <= c->dnode->dn_nlevels - 1U); 688 for (unsigned int level = 1; level <= levels; level++) { 727 unsigned int levels; local 739 for (levels = 0; levels < c->dnode->dn_nlevels - 1U; levels++) { 744 if (levels > 756 unsigned int levels; local [all...] |
/freebsd-current/contrib/jemalloc/include/jemalloc/internal/ |
H A D | bitmap.h | 56 * Assuming the number of levels, number of groups required for a given number 95 * Maximum number of levels possible. This could be statically computed based 118 /* levels. */ \ 157 /* Number of levels necessary for nbits. */ 161 * Only the first (nlevels+1) elements are used, and levels are ordered 162 * bottom to top (e.g. the bottom level is stored in levels[0]). 164 bitmap_level_t levels[BITMAP_MAX_LEVELS+1]; member in struct:bitmap_info_s 178 size_t rgoff = binfo->levels[binfo->nlevels].group_offset - 1; 227 gp = &bitmap[binfo->levels[i].group_offset + goff]; 250 bitmap_t group = bitmap[binfo->levels[leve [all...] |
/freebsd-current/lib/libc/amd64/string/ |
H A D | amd64_archlevel.c | 49 } levels[] = { variable in typeref:struct:archlevel 113 const struct archlevel *lvl = &levels[level]; 139 const char *candidate = levels[level].name; 195 * Valid architecture levels are those defined in the levels array.
|
/freebsd-current/sys/dev/acpica/ |
H A D | acpi_thermal.c | 59 #define TZ_NOTIFY_LEVELS 0x81 /* Cooling levels changed. */ 524 * Note that the _ACx levels sort from hot to cold. 1044 struct cf_level *levels; local 1047 levels = malloc(CPUFREQ_MAX_LEVELS * sizeof(*levels), M_TEMP, M_NOWAIT); 1048 if (levels == NULL) 1061 error = CPUFREQ_GET(dev, &levels[0]); 1064 freq = levels[0].total_set.freq; 1066 /* Get the current available frequency levels. */ 1068 error = CPUFREQ_LEVELS(dev, levels, [all...] |
H A D | acpi_video.c | 352 * brightness levels. 673 OID_AUTO, "levels", 676 "supported brightness levels"); 1091 int num, i, n, *levels; local 1111 levels = AcpiOsAllocate(num * sizeof(*levels)); 1112 if (levels == NULL) 1115 if (acpi_PkgInt32(res, i, &levels[n]) == 0) 1118 AcpiOsFree(levels); 1121 *levelp = levels; [all...] |
/freebsd-current/sys/arm64/vmm/ |
H A D | vmm_arm64.c | 199 vmm_vtcr_el2_sl(u_int levels) argument 202 switch (levels) { 210 panic("%s: Invalid number of page table levels %u", __func__, 211 levels); 214 switch (levels) { 222 panic("%s: Invalid number of page table levels %u", __func__, 223 levels); 265 * Use 3 levels to give us up to 39 bits with 4k pages, or 268 /* TODO: Check the number of levels for 64k pages */ 839 int address_bits, granule_shift, ia_bits, levels, pte_shif local [all...] |
/freebsd-current/sys/x86/x86/ |
H A D | tsc.c | 817 * When cpufreq levels change, find out about the (new) max frequency. We 824 struct cf_level *levels; local 841 levels = malloc(count * sizeof(*levels), M_TEMP, M_NOWAIT); 842 if (levels == NULL) 844 error = CPUFREQ_LEVELS(cf_dev, levels, &count); 846 max_freq = (uint64_t)levels[0].total_set.freq * 1000000; 850 free(levels, M_TEMP);
|
/freebsd-current/contrib/ofed/opensm/opensm/ |
H A D | osm_qos_parser_l.l | 164 QOS_LEVELS_START qos\-levels 165 QOS_LEVELS_END end\-qos\-levels
|
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_consume.c | 59 #define lquantize_levels u.lquantize.levels 63 uint16_t levels; member in struct:dt_prepare_args::__anon3::lquantize_args 69 #define llquantize_levels u.llquantize.levels 78 int levels; member in struct:dt_prepare_args::__anon3::llquantize_args 960 uint16_t step, levels; local 972 levels = DTRACE_LQUANTIZE_LEVELS(arg); 975 last_bin = levels + 1; 977 if (size != sizeof (uint64_t) * (levels + 2)) { 982 while (first_bin <= levels + 1 && data[first_bin] == 0) 985 if (first_bin > levels 1014 uint16_t step, levels; local 1059 uint16_t step, levels; local 1116 uint16_t step, levels; local 1164 int i, first_bin, last_bin, bin = 1, order, levels; local 1240 int first_bin, last_bin, bin = 1, order, levels; local 1315 int i, first_bin, last_bin, bin = 1, order, levels; local [all...] |
/freebsd-current/contrib/bmake/unit-tests/ |
H A D | varcmd.mk | 5 # FIXME: The purpose of this test is unclear. The test uses six levels of
|
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_htree.c | 120 int levels = 0; local 131 levels++; 140 while (levels > 0) { 141 levels--; 268 uint32_t levels, cnt; local 300 if ((levels = rootp->h_info.h_ind_levels) > 1) 330 if (levels == 0) 332 levels--;
|
/freebsd-current/contrib/libpcap/ |
H A D | optimize.c | 272 struct block **levels; member in struct:__anon135 396 b->link = opt_state->levels[level]; 397 opt_state->levels[level] = b; 401 * Level graph. The levels go from 0 at the leaves to 402 * N_LEVELS at the root. The opt_state->levels[] array points to the 409 memset((char *)opt_state->levels, 0, opt_state->n_blocks * sizeof(*opt_state->levels)); 446 for (b = opt_state->levels[level]; b; b = b->link) { 491 for (b = opt_state->levels[level]; b != 0; b = b->link) { 519 for (b = opt_state->levels[leve [all...] |
/freebsd-current/usr.bin/backlight/ |
H A D | backlight.c | 178 printf("levels:"); 180 printf(" %d", props.levels[i]);
|