Searched refs:vh (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/lib/libparted/common/libparted/fs/hfs/
H A Dprobe.c127 HfsPVolumeHeader *vh; local
128 vh = (HfsPVolumeHeader *) buf;
132 || (vh->signature != PED_CPU_TO_BE16 (HFSP_SIGNATURE)))
140 max = ((PedSector) PED_BE32_TO_CPU (vh->total_blocks) + 1)
141 * ( PED_BE32_TO_CPU (vh->block_size) / PED_SECTOR_SIZE_DEFAULT )
143 search = max - 2 * ( PED_BE32_TO_CPU (vh->block_size)
154 if (vh->signature == PED_CPU_TO_BE16 (HFSP_SIGNATURE))
157 search = ((PedSector) PED_BE32_TO_CPU (vh->total_blocks) - 1)
158 * ( PED_BE32_TO_CPU (vh->block_size) / PED_SECTOR_SIZE_DEFAULT )
163 || vh
198 HfsPVolumeHeader *vh = (HfsPVolumeHeader *) buf; local
[all...]
H A Dhfs.c395 free(priv_data->vh);
407 HfsPVolumeHeader* vh; local
417 vh = (HfsPVolumeHeader*) ped_malloc (sizeof (HfsPVolumeHeader));
418 if (!vh) goto hpo_fs;
460 memcpy (vh, buf, sizeof (HfsPVolumeHeader));
461 priv_data->vh = vh;
463 if (vh->signature != PED_CPU_TO_BE16(HFSP_SIGNATURE)
464 && vh->signature != PED_CPU_TO_BE16(HFSX_SIGNATURE)) {
473 if (vh
604 HfsPVolumeHeader* vh = priv_data->vh; local
1183 HfsPVolumeHeader* vh = priv_data->vh; local
[all...]
H A Dreloc_plus.c89 while (stop < PED_BE32_TO_CPU(priv_data->vh->total_blocks)
104 priv_data->vh->block_size)
174 memcpy (node, priv_data->vh, sizeof (HfsPVolumeHeader));
227 ( (uint8_t*)priv_data->vh + ref->ref_offset );
331 map_sectors = ( PED_BE32_TO_CPU (priv_data->vh->total_blocks)
390 extent = priv_data->vh->allocation_file.extents;
397 0, /* unused for vh */
398 ((uint8_t*)extent) - ((uint8_t*)priv_data->vh),
406 extent = priv_data->vh->extents_file.extents;
413 0, /* unused for vh */
862 HfsPVolumeHeader* vh = priv_data->vh; local
[all...]
H A Dadvfs_plus.c277 HfsPVolumeHeader* vh = priv_data->vh; local
301 block < PED_BE32_TO_CPU (vh->total_blocks);
309 block = PED_BE32_TO_CPU (vh->total_blocks) - end_free_blocks;
311 return (PedSector) block * ( PED_BE32_TO_CPU (vh->block_size)
368 for (block = PED_BE32_TO_CPU (priv_data->vh->total_blocks) - 1;
H A Djournal.c63 priv_data->vh->journal_info_block = PED_CPU_TO_BE32(block);
83 binsect = HFS_32_TO_CPU(priv_data->vh->block_size, is_le) / PED_SECTOR_SIZE_DEFAULT;
193 /* check if wrapper mdb or vh with no wrapper has
199 /* check if vh of embedded hfs+ has changed */
238 binsect = PED_BE32_TO_CPU(priv_data->vh->block_size) / PED_SECTOR_SIZE_DEFAULT;
240 PED_BE32_TO_CPU(priv_data->vh->journal_info_block);
H A Dfile_plus.c115 priv_data->vh->block_size)
H A Dhfs.h114 #define HFSP_VH_FILENAME "vh.hfsplus"
790 HfsPVolumeHeader* vh; member in struct:_HfsPPrivateFSData
/osnet-11/usr/src/lib/libparted/common/libparted/labels/
H A Ddvh.c85 struct volume_header *vh; local
91 vh = (struct volume_header *) label;
93 bool found = PED_BE32_TO_CPU (vh->vh_magic) == VHMAGIC;
307 struct volume_header vh; local
320 memcpy (&vh, s0, sizeof vh);
323 if (_checksum ((uint32_t*) &vh, sizeof (struct volume_header))) {
333 PED_ASSERT (PED_BE32_TO_CPU (vh.vh_magic) == VHMAGIC, return 0);
335 dvh_disk_data->dev_params = vh.vh_dp;
336 strncpy (boot_name, vh
459 struct volume_header vh; local
[all...]
/osnet-11/usr/src/lib/libvrrpadm/common/
H A Dlibvrrpadm.c280 vrrp_open(vrrp_handle_t *vh) argument
287 if ((*vh = malloc(sizeof (struct vrrp_handle))) == NULL) {
291 (*vh)->vh_dh = dh;
296 vrrp_close(vrrp_handle_t vh) argument
298 if (vh != NULL) {
299 dladm_close(vh->vh_dh);
300 free(vh);
323 vrrp_create(vrrp_handle_t vh, vrrp_vr_conf_t *conf) argument
358 vrrp_delete(vrrp_handle_t vh, const char *vn) argument
382 vrrp_enable(vrrp_handle_t vh, cons argument
404 vrrp_disable(vrrp_handle_t vh, const char *vn) argument
426 vrrp_modify(vrrp_handle_t vh, vrrp_vr_conf_t *conf, uint32_t mask) argument
511 vrrp_list(vrrp_handle_t vh, vrid_t vrid, const char *intf, int af, uint32_t *cnt, char *names) argument
599 vrrp_query(vrrp_handle_t vh, const char *vn, vrrp_queryinfo_t **vqp) argument
667 vrrp_is_vrrp_vnic(vrrp_handle_t vh, datalink_id_t vnicid, datalink_id_t *linkidp, uint16_t *vidp, vrid_t *vridp, int *afp) argument
709 vrrp_get_vnicname(vrrp_handle_t vh, vrid_t vrid, int af, char *link, datalink_id_t *linkidp, uint16_t *vidp, char *vnic, size_t len) argument
[all...]
/osnet-11/usr/src/grub/grub2/util/
H A Dgrub-install.in809 dvhtool -d "${install_device}" --unix-to-vh "{grubdir}/core.${imgext}" grub
/osnet-11/usr/src/cmd/perl/5.8.4/distrib/lib/
H A DCGI.pm2869 my $vh = http('x_forwarded_host') || http('host') || '';
2870 $vh =~ s/\:\d+$//; # some clients add the port number (incorrectly). Get rid of it.
2872 $url .= $vh || server_name();
3209 my $vh = http('x_forwarded_host') || http('host') || server_name();
3210 $vh =~ s/:\d+$//; # get rid of port number
3211 return $vh;
3295 my $vh = $self->http('x_forwarded_host') || $self->http('host');
3297 if ($vh) {
3298 return ($vh =~ /:(\d+)$/)[0] || ($protocol eq 'https' ? 443 : 80);

Completed in 258 milliseconds