/src/lib/libc/compat/gen/ |
compat_timezone.c | 64 static char czone[TZ_MAX_CHARS]; /* space for zone name */ 67 timezone(int zone, int dst) 83 return(_tztab(zone,dst)); /* default: table or created zone */ 86 static const struct zone { struct 111 * check static tables or create a new zone name; broken out so that 112 * we can make a guess as to what the zone is if the standard tables 117 _tztab(int zone, int dst) 119 const struct zone *zp; 123 if (zp->offset == zone) { [all...] |
/src/lib/libutil/ |
parsedate.y | 138 | zone { param->yyHaveZone++; } 325 zone: label 623 { "eet", tZONE, -HOUR(2) }, /* Eastern Europe, USSR Zone 1 */ 624 { "bt", tZONE, -HOUR(3) }, /* Baghdad, USSR Zone 2 */ 626 { "zp4", tZONE, -HOUR(4) }, /* USSR Zone 3 */ 627 { "zp5", tZONE, -HOUR(5) }, /* USSR Zone 4 */ 629 { "zp6", tZONE, -HOUR(6) }, /* USSR Zone 5 */ 634 { "sst", tZONE, -HOUR(7) }, /* South Sumatra, USSR Zone 6 */ 644 { "cct", tZONE, -HOUR(8) }, /* China Coast, USSR Zone 7 */ 647 { "jst", tZONE, -HOUR(9) }, /* Japan Standard, USSR Zone 8 * [all...] |
/src/sys/fs/filecorefs/ |
filecore_bmap.c | 138 u_long frag, sect, zone, izone, a, b, m, n; local in function:filecore_map 151 zone = frag / fcmp->idspz; 153 zone = fcmp->drec.nzones / 2; 154 izone = zone; 155 if (zone != 0) 156 zaddr=((8<<fcmp->drec.log2secsize)-fcmp->drec.zone_spare)*zone 164 error=bread(fcmp->fc_devvp, fcmp->map + zone, 168 fcmp->map+zone, 1 << fcmp->drec.log2secsize, bp, error); 174 ptr = (u_long *)(bp->b_data) + 1; /* skip map zone header */ 175 if (zone == 0 [all...] |
/src/usr.bin/mkcsmapper/ |
yacc.y | 122 %type <i_value> dst types oob_mode_sel zone 147 src_zone : R_SRC_ZONE zone { set_src_zone($2); } 148 zone : range { label 621 yyerror("illegal zone");
|
/src/lib/libc/citrus/ |
citrus_csmapper.c | 179 struct zone { struct 192 struct zone z1, z2;
|
/src/lib/libc/citrus/modules/ |
citrus_mapper_zone.c | 78 struct _zone zone; member in union:_parse_state::__anondbc1d557020a 82 #define ps_zone u.zone
|
/src/sys/external/bsd/drm2/dist/drm/ttm/ |
ttm_memory.c | 89 struct ttm_mem_zone *zone = local in function:ttm_mem_zone_kobj_release 92 pr_info("Zone %7s: Used memory at exit: %llu KiB\n", 93 zone->name, (unsigned long long)zone->used_mem >> 10); 94 kfree(zone); 101 struct ttm_mem_zone *zone = local in function:ttm_mem_zone_show 105 spin_lock(&zone->glob->lock); 107 val = zone->zone_mem; 109 val = zone->emer_mem; 111 val = zone->max_mem 129 struct ttm_mem_zone *zone = local in function:ttm_mem_zone_store 250 struct ttm_mem_zone *zone; local in function:ttm_zones_above_swap_target 311 struct ttm_mem_zone *zone = kzalloc(sizeof(*zone), GFP_KERNEL); local in function:ttm_mem_init_kernel_zone 347 struct ttm_mem_zone *zone; local in function:ttm_mem_init_highmem_zone 387 struct ttm_mem_zone *zone = kzalloc(sizeof(*zone), GFP_KERNEL); local in function:ttm_mem_init_dma32_zone 441 struct ttm_mem_zone *zone; local in function:ttm_mem_global_init 487 struct ttm_mem_zone *zone; local in function:ttm_mem_global_release 517 struct ttm_mem_zone *zone; local in function:ttm_check_swapping 540 struct ttm_mem_zone *zone; local in function:ttm_mem_global_free_zone 595 struct ttm_mem_zone *zone; local in function:ttm_mem_global_reserve 665 struct ttm_mem_zone *zone = NULL; local in function:ttm_mem_global_alloc_page 685 struct ttm_mem_zone *zone = NULL; local in function:ttm_mem_global_free_page [all...] |
/src/common/dist/zlib/test/ |
infcover.c | 75 struct mem_zone *zone = mem; local in function:mem_alloc 79 if (zone == NULL || (zone->limit && zone->total + len > zone->limit)) 99 item->next = zone->first; 100 zone->first = item; 103 zone->total += item->size; 104 if (zone->total > zone->highwater 115 struct mem_zone *zone = mem; local in function:mem_free 160 struct mem_zone *zone; local in function:mem_setup 178 struct mem_zone *zone = strm->opaque; local in function:mem_limit 186 struct mem_zone *zone = strm->opaque; local in function:mem_used 194 struct mem_zone *zone = strm->opaque; local in function:mem_high 204 struct mem_zone *zone = strm->opaque; local in function:mem_done [all...] |
/src/sys/arch/macppc/dev/ |
smusat.c | 64 int zone; member in struct:smusat_sensor 167 if (OF_getprop(node, "zone", &sensor->zone, 168 sizeof(sensor->zone)) <= 0) 188 DPRINTF("sensor: location %s reg %x zone %d type %s\n", 189 sensor->location, sensor->reg, sensor->zone, type); 225 CTLTYPE_INT, "zone", "sensor zone", 226 NULL, 0, &sensor->zone, 0,
|
smu.c | 66 int zone; member in struct:smu_fan 317 if (OF_getprop(node, "zone", &fan->zone , 318 sizeof(fan->zone)) <= 0) 340 DPRINTF("fan: location %s reg %x zone %d rpm_ctl %d " 342 fan->location, fan->reg, fan->zone, fan->rpm_ctl, 865 "using %d fans for CPU zone\n", z->nfans); 880 "using %d fans for drive bay zone\n", z->nfans); 895 "using %d fans for expansion slots zone\n", z->nfans);
|
/src/sys/lib/libsa/ |
minixfs3.c | 220 * Given an offset in a file, find the disk block number (not zone!) 231 zone_t zone; local in function:block_map 235 int scale = fs->mfs_log_zone_size; /* for block-zone conversion */ 242 * hold zone numbers for zones 247 * holds zone numbers for zones 252 * holds zone numbers for INDEX blocks for zones 257 zone = file_block >> scale; 258 boff = (int) (file_block - (zone << scale) ); /* relative blk in zone */ 260 if (zone < NR_DZONES) [all...] |
/src/sys/arch/powerpc/powerpc/ |
db_interface.c | 640 int i, zone, tlbsize; local in function:db_ppc4xx_dumptlb 670 zone = (tlblo & TLB_ZSEL_MASK) >> TLB_ZSEL_SHFT; 676 db_printf(" RPN 0x%08lx ZONE %2d%c %s %s %c%c%c%c%c %s", 678 zone, 679 "NTTA"[(zpr >> ((15 - zone) * 2)) & 3],
|
/src/usr.bin/mail/ |
format.c | 476 const char *zone; member in struct:convert_obs_zone::obs_zone_tbl_s 516 for (zp = obs_zone_tbl; zp->zone; zp++) { 517 if (strcmp(obs_zone, zp->zone) == 0) 544 * time = time-of-day FWS zone 549 * zone = (( "+" / "-" ) 4DIGIT) / obs-zone 615 * zone offset. 652 char zone[4]; local in function:hl_date_to_tm 656 zone[0] = '\0'; 674 * XXX - Is the zone name always 3 characters as in isdate() [all...] |
/src/sys/netinet6/ |
nd6.c | 610 u_int32_t zone; local in function:nd6_is_new_addr_neighbor 619 if (in6_setscope(&sin6_copy.sin6_addr, ifp, &zone)) 621 if (sin6_copy.sin6_scope_id == zone) 660 u_int32_t zone; local in function:nd6_is_addr_neighbor 669 if (in6_setscope(&sin6_copy.sin6_addr, ifp, &zone)) 671 if (sin6_copy.sin6_scope_id == zone)
|
ip6_output.c | 225 u_int32_t zone; local in function:ip6_output 562 * The outgoing interface must be in the zone of source and 578 if (in6_setscope(&src0, origifp, &zone)) 581 if (sa6_recoverscope(&src_sa) || zone != src_sa.sin6_scope_id) 585 if (in6_setscope(&dst0, origifp, &zone)) 589 if (sa6_recoverscope(&dst_sa) || zone != dst_sa.sin6_scope_id) 2611 /* Fill in the scope zone ID */ 2637 * zone unless an interface is provided. Thus, we 2639 * zone as the last resort. 2919 * may not have enough information about its scope zone, an [all...] |
/src/bin/sh/ |
var.c | 1503 static timezone_t last_zone; /* timezone data for tzs zone */ 1508 timezone_t zone = NULL; local in function:get_tod 1528 last_zone = zone = tzalloc(tz); 1531 zone = tzalloc(tz); 1533 zone = last_zone; 1535 tmp = localtime_rz(zone, &now, &tm_now); 1545 if (zone && zone != last_zone) { 1546 tzfree(zone); 1554 if (zone != NULL) [all...] |
/src/sys/arch/mac68k/obio/ |
iwm_fd.c | 1487 * to our zone recorded real Sony drive by splitting the disk 1491 * Look if logical block number is in current zone 1492 * NO: Add # of tracks for current zone to track counter 1493 * Process next zone 1495 * YES: Subtract (number of first sector of current zone times heads) 1497 * in tracks/side/sectors (spt is constant within a zone). 1504 int zone, spt; local in function:remap_geometry 1511 for (zone = 0; zone < IWM_GCR_DISK_ZONES; zone++) [all...] |
/src/usr.sbin/fstyp/ |
hammer_disk.h | 70 * Per-Zone storage limit: 60 bits 1 MTB 86 #define HAMMER_OFF_ZONE_MASK 0xF000000000000000ULL /* zone portion */ 141 * encode a vol_no. Zone bits are not a part of filesystem capacity as 142 * the zone bits aren't directly or indirectly mapped to physical volumes. 148 * zone 0: available, a big-block that contains the offset is unused 149 * zone 1 (z,v,o): raw volume relative (offset 0 is the volume header) 150 * zone 2 (z,v,o): raw buffer relative (offset 0 is the first buffer) 151 * zone 3 (z,o): undo/redo fifo - fixed zone-2 offset array in volume header 152 * zone 4 (z,v,o): freemap - only real blockma 447 uint8_t zone; \/* typed allocation zone *\/ member in struct:hammer_blockmap_layer2 [all...] |
/src/lib/libc/time/ |
zic.c | 6 /* Compile .zi time zone data into TZif binary files. */ 136 struct zone { struct 206 static void outzone(const struct zone * zp, ptrdiff_t ntzones); 254 ** Which fields are which on a Zone line. 271 ** Which fields are which on a Zone continuation line. 351 static struct zone * zones; 376 { "Zone", LC_ZONE }, 1158 ** Find the next non-continuation zone entry. 1635 register struct zone * zp; 1696 error("%s", _("%s in ruleless zone")); [all...] |