/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | segoff.h | 14 * is offset:segment. 18 uint16_t segment; member in struct:__anon2148 24 /* Macros for converting from virtual to segment:offset addresses, 32 printf ( "FATAL ERROR: segment address out of range\n" );
|
H A D | pci_io.c | 98 unsigned short segment; member in struct:__anon2098 104 unsigned short segment; member in struct:__anon2099
|
/illumos-gate/usr/src/lib/libdscfg/common/ |
H A D | cfg_lockdlck.c | 54 cfg_filelock(int segment, int flag) argument 59 off_t off = segment_off(segment); 85 cfg_fileunlock(int segment) argument 88 off_t off = segment_off(segment); 102 cfg_readpid(int segment, pid_t *pidp) argument 104 off_t off = segment_off(segment); 110 cfg_writepid(int segment, pid_t pid) argument 112 off_t off = segment_off(segment);
|
/illumos-gate/usr/src/lib/libfru/libfruraw/ |
H A D | fruraw.h | 44 segment_t *segment; member in struct:segment_list
|
H A D | fruraw.c | 297 segment_t *segment) 325 *segment = segs[j]; 339 segment_t *segment) 366 if (find_seg_in_sect(&(sect[i]), seg_name, prot_flg, segment) 383 segment_t segment; local 385 if ((err = find_segment(handle, seg_name, &prot_flg, &segment)) 390 (void) memcpy(def->name, segment.name, SEG_NAME_LEN); 392 def->desc.raw_data = segment.descriptor; 393 def->size = segment.length; 394 def->address = segment 296 find_seg_in_sect(section_t *sect, const char *seg_name, int *prot_flg, segment_t *segment) argument 338 find_segment(fru_treehdl_t handle, const char *seg_name, int *prot_flg, segment_t *segment) argument [all...] |
H A D | fru_access_impl.h | 79 /* defines fixed segment */ 122 uint8_t segmentcount; /* total number of segment */ 125 /* segment header layout */ 127 uint16_t name; /* segment name */ 129 uint16_t offset; /* segment data offset */ 130 uint16_t length; /* segment length */ 133 /* segment information used in finding new offset for a new segment */ 135 int segnum; /* segment number */ 136 int offset; /* segment offse 161 segment_t segment; member in struct:__anon3262 [all...] |
H A D | raw_access.c | 510 fru_get_segments(section_hdl_t section, segment_t *segment, int maxseg, argument 540 segment->handle = seg_object->obj_hdl; 541 (void) memcpy(segment->name, 542 seg_object->u.seg_obj->segment.name, SEG_NAME_LEN); 543 segment->descriptor = seg_object->u.seg_obj->segment.descriptor; 545 segment->offset = seg_object->u.seg_obj->segment.offset; 546 segment->length = seg_object->u.seg_obj->segment 967 fru_get_num_packets(segment_hdl_t segment, door_cred_t *cred) argument 1033 fru_get_packets(segment_hdl_t segment, packet_t *packet, int maxpackets, door_cred_t *cred) argument [all...] |
/illumos-gate/usr/src/uts/intel/sys/acpi/ |
H A D | acpi_pci.h | 44 UINT16 segment; member in struct:cfg_base_addr_alloc
|
/illumos-gate/usr/src/test/zfs-tests/cmd/getholes/ |
H A D | getholes.c | 42 typedef struct segment { struct 182 * the last segment, otherwise this is the end of the file, so 183 * discard the remaining zero length segment.
|
/illumos-gate/usr/src/test/zfs-tests/cmd/mkholes/ |
H A D | mkholes.c | 35 typedef struct segment { struct
|
/illumos-gate/usr/src/lib/libfru/libnvfru/ |
H A D | nvfru.c | 314 convert_packets_in_segment(fru_seghdl_t segment, void *args) argument 321 ret = fru_get_segment_name(segment, &name); 326 /* create a new nvlist for each segment */ 333 /* convert the segment to an nvlist */ 334 ret = fru_for_each_packet(segment, convert_packet, nv_segment); 341 /* add the nvlist for this segment */
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lw8/fruaccess/ |
H A D | libfruaccess.c | 60 int fru_get_segments(section_hdl_t section, segment_t *segment, 62 int fru_add_segment(section_hdl_t section, segment_t *segment, 64 int fru_delete_segment(segment_hdl_t segment, 66 ssize_t fru_read_segment(segment_hdl_t segment, void *buffer, 68 ssize_t fru_write_segment(segment_hdl_t segment, const void *data, 71 int fru_get_num_packets(segment_hdl_t segment, door_cred_t *cred); 72 int fru_get_packets(segment_hdl_t segment, packet_t *packet, 76 int fru_append_packet(segment_hdl_t segment, packet_t *packet, 207 fru_get_segments(section_hdl_t section, segment_t *segment, int max_segments, argument 218 segments.frus = segment; 227 fru_add_segment(section_hdl_t section, segment_t *segment, section_hdl_t *newsection, door_cred_t *cred) argument 257 fru_delete_segment(segment_hdl_t segment, section_hdl_t *newsection, door_cred_t *cred) argument 283 fru_read_segment(segment_hdl_t segment, void *buffer, size_t nbytes, door_cred_t *cred) argument 303 fru_write_segment(segment_hdl_t segment, const void *buffer, size_t nbytes, segment_hdl_t *newsegment, door_cred_t *cred) argument 325 fru_get_num_packets(segment_hdl_t segment, door_cred_t *cred) argument 343 fru_get_packets(segment_hdl_t segment, packet_t *packet, int max_packets, door_cred_t *cred) argument 409 fru_append_packet(segment_hdl_t segment, packet_t *packet, const void *payload, size_t nbytes, segment_hdl_t *newsegment, door_cred_t *cred) argument [all...] |
/illumos-gate/usr/src/tools/ctf/dwarf/common/ |
H A D | dwarf_arange.c | 82 /* Size in bytes of segment offsets in target. */ 167 read is a segment selector (new in DWARF4) */ 553 /* New for DWARF4, entries may have segment information. 554 *segment is only meaningful if *segment_entry_size is non-zero. */ 557 Dwarf_Unsigned* segment, 569 if(segment != NULL) { 570 *segment = arange->ar_segment_selector; 556 dwarf_get_arange_info_b(Dwarf_Arange arange, Dwarf_Unsigned* segment, Dwarf_Unsigned* segment_entry_size, Dwarf_Addr * start, Dwarf_Unsigned* length, Dwarf_Off * cu_die_offset, Dwarf_Error * error) argument
|
/illumos-gate/usr/src/grub/grub-0.97/stage2/ |
H A D | bios.c | 33 int nsec, int segment); 49 from/into SEGMENT segment. If READ is BIOSDISK_READ, then read it, 55 unsigned long long sector, int nsec, int segment) 87 dap.buffer = segment << 16; 107 return biosdisk (read, drive, geometry, sector, nsec, segment); 128 nsec, segment); 52 biosdisk(int read, int drive, struct geometry *geometry, unsigned long long sector, int nsec, int segment) argument
|
H A D | asm.S | 286 shrl $4,%eax /* get segment */ 338 .word 0 /* segment */ 443 /* copy the original int13 handler segment:offset */ 482 .word 0 /* segment */ 781 /* compute the segment */ 880 * chain_stage1(segment, offset, part_table_addr) 882 * This starts another stage1 loader, at segment:offset. 895 /* store new segment */ 897 movw %ax, segment 916 * chain_stage2(segment, offse 2706 segment: label [all...] |
/illumos-gate/usr/src/boot/sys/boot/i386/libi386/ |
H A D | linux.c | 287 uint16_t segment; local 391 segment = linux_data_real_addr >> 4; 392 relocator_ds = segment; 393 relocator_es = segment; 394 relocator_fs = segment; 395 relocator_gs = segment; 396 relocator_ss = segment; 399 relocator_cs = segment + 0x20;
|
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/blade/fruaccess/ |
H A D | fru_access_impl.h | 87 /* defines fixed segment */ 125 uint8_t segmentcount; /* total number of segment */ 128 /* segment header layout */ 130 uint16_t name; /* segment name */ 132 uint16_t offset; /* segment data offset */ 133 uint16_t length; /* segment length */ 136 /* segment information used in finding new offset for a new segment */ 138 int segnum; /* segment number */ 139 int offset; /* segment offse 163 segment_t segment; member in struct:__anon1090 [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/lib/fruaccess/ |
H A D | fru_access_impl.h | 85 /* defines fixed segment */ 128 uint8_t segmentcount; /* total number of segment */ 131 /* segment header layout */ 133 uint16_t name; /* segment name */ 135 uint16_t offset; /* segment data offset */ 136 uint16_t length; /* segment length */ 139 /* segment information used in finding new offset for a new segment */ 141 int segnum; /* segment number */ 142 int offset; /* segment offse 167 segment_t segment; member in struct:__anon1158 [all...] |
/illumos-gate/usr/src/cmd/prtfru/ |
H A D | prtfru.c | 1086 * Print a segment's name and the contents of each data element in the segment 1089 print_packets_in_segment(fru_seghdl_t segment, void *args) argument 1096 if ((status = fru_get_segment_name(segment, &name)) != FRU_SUCCESS) { 1099 error(gettext("Error getting segment name: %s\n"), 1114 /* Iterate over the packets in the segment, printing the contents */ 1115 if ((status = fru_for_each_packet(segment, print_packet, args)) 1118 error(gettext("Error processing data in segment \"%s\": %s\n"), 1232 /* Print the contents of each packet in each segment of a container */
|
/illumos-gate/usr/src/cmd/fruadm/ |
H A D | fruadm.c | 54 /* currently supported segment name */ 377 * nodehdl represents the fru, segment represents the segment name in the fru. 382 convert_update(fru_nodehdl_t nodehdl, char *segment, char *field_name, argument 452 if ((err = fru_update_field(nodehdl, segment, 0, field_name, data, 466 update_unixtimestamp(fru_nodehdl_t nodehdl, char *segment, char **ptr) argument 484 if ((err = fru_update_field(nodehdl, segment, 0, field_name, 494 * create segment on the specified fru represented by nodehdl. 658 /* look for the field in either of the segment if found update it */ 689 /* field not found add the the record in one of the segment */ [all...] |
/illumos-gate/usr/src/lib/libfru/libfrupicl/ |
H A D | frupicl.c | 394 * Find the handle of the segment node "segment". 395 * also returns the hardware description of this segment. (read from the 397 * If the ign_cor_flg is set this will still succeed even if the segment is 403 get_segment_node(picl_nodehdl_t handle, const char *segment, argument 438 if (strcmp(segment, name) == 0) { 441 /* NUM_TAGS prop exists iff segment is OK */ 480 * For the section handle passed add to list all the segment names found. 507 /* get the first segment */ 634 * for every section which has a ADD_SEGMENT_PROP try and add the segment 806 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument 949 fpt_for_each_segment(fru_treehdl_t treenode, int (*function)(fru_treeseghdl_t segment, void *args), void *args) argument 958 section, segment; local 1019 fpt_get_segment_name(fru_treeseghdl_t segment, char **name) argument 1064 picl_nodehdl_t segment = TREESEGHDL_TO_PICLHDL(treesegment); local [all...] |
/illumos-gate/usr/src/lib/libfru/libfrupicltree/ |
H A D | frupicltree.c | 405 * Find the handle of the segment node "segment". 406 * also returns the hardware description of this segment. (read from the 408 * If the ign_cor_flg is set this will still succeed even if the segment is 414 get_segment_node(picl_nodehdl_t handle, const char *segment, argument 449 if (strcmp(segment, name) == 0) { 452 /* NUM_TAGS prop exists iff segment is OK */ 491 * For the section handle passed add to list all the segment names found. 518 /* get the first segment */ 645 * for every section which has a ADD_SEGMENT_PROP try and add the segment 818 get_tag_handle(picl_nodehdl_t handle, const char *segment, fru_tag_t tag, int instance, picl_nodehdl_t *segHdl, picl_prophdl_t *tagHdl) argument 961 fpt_for_each_segment(fru_treehdl_t treenode, int (*function)(fru_treeseghdl_t segment, void *args), void *args) argument 970 section, segment; local 1031 fpt_get_segment_name(fru_treeseghdl_t segment, char **name) argument 1079 picl_nodehdl_t segment = TREESEGHDL_TO_PICLHDL(treesegment); local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/frudata/ |
H A D | fru_data.c | 387 * called to allocate segment node object. 391 alloc_segment_node_object(picl_nodehdl_t nodehdl, segment_t *segment) argument 396 /* allocate segment node object */ 402 /* allocate segment hash object */ 410 seg_node->segment_hdl = segment->handle; 482 /* add new segment hash object to the existing list */ 559 * free the segment hash node object. 569 /* segment hash object list */ 575 /* find the segment hash from the segment lis 1390 create_segment_node(hash_obj_t *sec_obj, picl_nodehdl_t sec_node, segment_t *segment, container_tbl_t *cont_tbl, door_cred_t *cred) argument 1547 segment_t *segment; local 1642 segment_t segment; local [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/littleneck/psvcpolicy/ |
H A D | psvcpolicy.c | 86 static int32_t find_segment(psvc_opaque_t hdlp, char *fru, seg_desc_t *segment, 206 find_segment(psvc_opaque_t hdlp, char *fru, seg_desc_t *segment, argument 237 * Read in each segment to find the segment we are looking for 249 fru_data.buf = (char *)segment; 276 seg_desc_t segment; local 294 seg_found = find_segment(hdlp, fru, &segment, "ES"); 304 temp_address = segment.segoffset + TEMP_OFFSET; 319 temp_address = segment.segoffset + data_offset; 343 * have the ES segment programme [all...] |
/illumos-gate/usr/src/cmd/picl/plugins/sun4u/psvc/psvcpolicy/ |
H A D | psvcpolicy.c | 222 seg_desc_t segment; local 259 fru_data.buf = (char *)&segment; 274 temp_address = segment.segoffset + TEMP_OFFSET;
|