Searched refs:hdr (Results 51 - 75 of 503) sorted by relevance

1234567891011>>

/freebsd-10.0-release/sys/netgraph/
H A Dng_atmllc.c150 struct atmllc *hdr; local
162 hdr = mtod(m, struct atmllc *);
179 hdr = mtod(m, struct atmllc *);
180 if (ATM_LLC_TYPE(hdr) == NG_ATMLLC_TYPE_ETHERNET_NOFCS) {
184 } else if (ATM_LLC_TYPE(hdr) == NG_ATMLLC_TYPE_ETHERNET_FCS) {
188 } else if (ATM_LLC_TYPE(hdr) == NG_ATMLLC_TYPE_FDDI_NOFCS) {
192 } else if (ATM_LLC_TYPE(hdr) == NG_ATMLLC_TYPE_FDDI_FCS) {
198 ATM_LLC_TYPE(hdr));
211 hdr = mtod(m, struct atmllc *);
212 bzero((void *)hdr, sizeo
[all...]
/freebsd-10.0-release/usr.sbin/btxld/
H A Dbtxld.c73 struct hdr { struct
120 static void gethdr(int, struct hdr *);
121 static void puthdr(int, struct hdr *);
203 struct hdr ihdr, ohdr;
324 gethdr(int fd, struct hdr *hdr) argument
333 memset(hdr, 0, sizeof(*hdr));
338 hdr->size = sb.st_size;
339 if (!hdr
402 puthdr(int fd, struct hdr *hdr) argument
[all...]
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Darc.c601 #define ARC_FREE_IN_PROGRESS (1 << 15) /* hdr about to be freed */
606 #define HDR_IN_HASH_TABLE(hdr) ((hdr)->b_flags & ARC_IN_HASH_TABLE)
607 #define HDR_IO_IN_PROGRESS(hdr) ((hdr)->b_flags & ARC_IO_IN_PROGRESS)
608 #define HDR_IO_ERROR(hdr) ((hdr)->b_flags & ARC_IO_ERROR)
609 #define HDR_PREFETCH(hdr) ((hdr)->b_flags & ARC_PREFETCH)
610 #define HDR_FREED_IN_READ(hdr) ((hd
847 buf_discard_identity(arc_buf_hdr_t *hdr) argument
1470 arc_buf_hdr_t *hdr; local
1522 arc_buf_hdr_t *hdr = buf->b_hdr; local
1535 arc_buf_hdr_t *hdr; local
1551 arc_buf_hdr_t *hdr = from->b_hdr; local
1583 arc_buf_hdr_t *hdr; local
1620 arc_buf_hdr_t *hdr = buf->b_hdr; local
1708 arc_hdr_destroy(arc_buf_hdr_t *hdr) argument
1788 arc_buf_hdr_t *hdr = buf->b_hdr; local
1835 arc_buf_hdr_t *hdr = buf->b_hdr; local
1881 arc_buf_hdr_t *hdr; local
2761 arc_buf_hdr_t *hdr = buf->b_hdr; local
2940 arc_buf_hdr_t *hdr, *found; local
3089 arc_buf_hdr_t *hdr; local
3395 arc_buf_hdr_t *hdr; local
3425 arc_buf_hdr_t *hdr; local
3514 arc_buf_hdr_t *hdr; local
3679 arc_buf_hdr_t *hdr = buf->b_hdr; local
3707 arc_buf_hdr_t *hdr = buf->b_hdr; local
3785 arc_buf_hdr_t *hdr = buf->b_hdr; local
4607 arc_buf_hdr_t *hdr; local
5195 l2arc_decompress_zio(zio_t *zio, arc_buf_hdr_t *hdr, enum zio_compress c) argument
[all...]
/freebsd-10.0-release/sys/geom/part/
H A Dg_part_gpt.c79 struct gpt_hdr *hdr; member in struct:g_part_gpt_table
361 struct gpt_hdr *buf, *hdr; local
383 hdr = NULL;
392 hdr = g_malloc(sz, M_WAITOK | M_ZERO);
393 bcopy(buf, hdr, sz);
394 hdr->hdr_size = sz;
400 hdr->hdr_crc_self = crc;
403 hdr->hdr_revision = le32toh(buf->hdr_revision);
404 if (hdr->hdr_revision < GPT_HDR_REVISION)
406 hdr
461 gpt_read_tbl(struct g_part_gpt_table *table, struct g_consumer *cp, enum gpt_elt elt, struct gpt_hdr *hdr) argument
[all...]
/freebsd-10.0-release/contrib/libpcap/
H A Dpcap-common.c1047 swap_linux_usb_header(const struct pcap_pkthdr *hdr, u_char *buf, argument
1066 if (hdr->caplen < offset)
1073 if (hdr->caplen < offset)
1080 if (hdr->caplen < offset)
1085 if (hdr->caplen < offset)
1090 if (hdr->caplen < offset)
1095 if (hdr->caplen < offset)
1100 if (hdr->caplen < offset)
1106 if (hdr->caplen < offset)
1111 if (hdr
[all...]
H A Dpcap-common.h24 extern void swap_linux_usb_header(const struct pcap_pkthdr *hdr, u_char *buf,
/freebsd-10.0-release/sys/kern/
H A Dkern_ctf.c62 Elf_Ehdr *hdr = NULL; local
124 if ((hdr = malloc(sizeof(*hdr), M_LINKER, M_WAITOK)) == NULL) {
130 if ((error = vn_rdwr(UIO_READ, nd.ni_vp, hdr, sizeof(*hdr),
136 if (!IS_ELF(*hdr)) {
141 nbytes = hdr->e_shnum * hdr->e_shentsize;
142 if (nbytes == 0 || hdr->e_shoff == 0 ||
143 hdr
[all...]
/freebsd-10.0-release/contrib/binutils/bfd/
H A Darchive.c374 struct ar_hdr hdr;
375 char *hdrp = (char *) &hdr;
389 if (strncmp (hdr.ar_fmag, ARFMAG, 2) != 0
391 || strncmp (hdr.ar_fmag, mag, 2) != 0))
398 parsed_size = strtol (hdr.ar_size, NULL, 10);
408 if ((hdr.ar_name[0] == '/'
409 || (hdr.ar_name[0] == ' '
410 && memchr (hdr.ar_name, '/', ar_maxnamelen (abfd)) == NULL))
413 filename = get_extended_arelt_filename (abfd, hdr.ar_name);
419 else if (hdr
371 struct ar_hdr hdr; local
1266 struct ar_hdr *hdr = arch_hdr (current); local
1308 struct ar_hdr *hdr = arch_hdr (current); local
1365 struct ar_hdr *hdr; local
1445 struct ar_hdr *hdr; local
1505 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local
1537 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local
1585 struct ar_hdr *hdr = (struct ar_hdr *) arhdr; local
1694 struct ar_hdr hdr; local
1719 struct ar_hdr *hdr = arch_hdr (current); local
1939 struct ar_hdr hdr; local
2020 struct ar_hdr hdr; local
2089 struct ar_hdr hdr; local
[all...]
H A Darchive64.c158 struct ar_hdr hdr; local
171 memset (&hdr, ' ', sizeof (struct ar_hdr));
172 memcpy (hdr.ar_name, "/SYM64/", strlen ("/SYM64/"));
173 _bfd_ar_spacepad (hdr.ar_size, sizeof (hdr.ar_size), "%-10ld",
175 _bfd_ar_spacepad (hdr.ar_date, sizeof (hdr.ar_date), "%ld",
178 _bfd_ar_spacepad (hdr.ar_uid, sizeof (hdr.ar_uid), "%ld", 0);
179 _bfd_ar_spacepad (hdr
[all...]
/freebsd-10.0-release/sys/geom/raid/
H A Dmd_ddf.c60 struct ddf_header *hdr; member in struct:ddf_meta
72 struct ddf_header *hdr; member in struct:ddf_vol_meta
177 #define GETCRNUM(m) (GET32((m), hdr->cr_length) / \
178 GET16((m), hdr->Configuration_Record_Length))
181 (n) * GET16((m), hdr->Configuration_Record_Length) * \
185 (n) * GET16((m), hdr->Configuration_Record_Length) * \
235 print_guid(meta->hdr->DDF_Header_GUID);
237 printf("DDF_rev %8.8s\n", (char *)&meta->hdr->DDF_rev[0]);
238 printf("Sequence_Number 0x%08x\n", GET32(meta, hdr->Sequence_Number));
239 printf("TimeStamp 0x%08x\n", GET32(meta, hdr
758 struct ddf_header *hdr; local
846 struct ddf_header *hdr; local
875 struct ddf_header *hdr; local
1042 struct ddf_header *ahdr, *hdr; local
[all...]
/freebsd-10.0-release/sys/dev/acpica/Osd/
H A DOsdTable.c72 ACPI_TABLE_HEADER *hdr; local
89 hdr = preload_fetch_addr(acpi_table);
91 if (hdr == NULL || sz == 0)
97 *NewTable = hdr;
/freebsd-10.0-release/sys/contrib/ngatm/netnatm/msg/
H A Duni_msg.c76 if(uni_encode_msg_hdr(msg, &p->hdr, UNI_ALERTING, cx, &mlen))
110 enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen,
120 out->connid.h = *hdr;
121 if (hdr->present & UNI_IE_ERROR)
128 out->epref.h = *hdr;
129 if (hdr->present & UNI_IE_ERROR)
136 out->notify.h = *hdr;
137 if (hdr->present & UNI_IE_ERROR)
146 out->git[i].h = *hdr;
147 if (hdr
109 decode_alerting(struct uni_alerting *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
255 decode_call_proc(struct uni_call_proc *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
471 decode_connect(struct uni_connect *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
694 decode_connect_ack(struct uni_connect_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
824 decode_release(struct uni_release *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
998 decode_release_compl(struct uni_release_compl *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
1373 decode_setup(struct uni_setup *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
1774 decode_status(struct uni_status *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
1877 decode_status_enq(struct uni_status_enq *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
1962 decode_notify(struct uni_notify *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
2055 decode_restart(struct uni_restart *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
2148 decode_restart_ack(struct uni_restart_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
2388 decode_add_party(struct uni_add_party *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
2715 decode_add_party_ack(struct uni_add_party_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
2905 decode_party_alerting(struct uni_party_alerting *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
3054 decode_add_party_rej(struct uni_add_party_rej *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
3210 decode_drop_party(struct uni_drop_party *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
3358 decode_drop_party_ack(struct uni_drop_party_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
3521 decode_leaf_setup_req(struct uni_leaf_setup_req *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
3694 decode_leaf_setup_fail(struct uni_leaf_setup_fail *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
3835 decode_cobisetup(struct uni_cobisetup *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
3970 decode_facility(struct uni_facility *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
4113 decode_modify_req(struct uni_modify_req *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
4256 decode_modify_ack(struct uni_modify_ack *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
4385 decode_modify_rej(struct uni_modify_rej *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
4506 decode_conn_avail(struct uni_conn_avail *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
4607 decode_unknown(struct uni_unknown *out, struct uni_msg *msg, enum uni_ietype ie, struct uni_iehdr *hdr, u_int ielen, struct unicx *cx) argument
[all...]
/freebsd-10.0-release/sbin/ggate/ggatec/
H A Dggatec.c93 struct g_gate_hdr hdr; local
140 hdr.gh_cmd = GGATE_CMD_READ;
143 hdr.gh_cmd = GGATE_CMD_WRITE;
146 hdr.gh_seq = ggio.gctl_seq;
147 hdr.gh_offset = ggio.gctl_offset;
148 hdr.gh_length = ggio.gctl_length;
149 hdr.gh_error = 0;
150 g_gate_swap2n_hdr(&hdr);
152 data = g_gate_send(sendfd, &hdr, sizeof(hdr), MSG_NOSIGNA
187 struct g_gate_hdr hdr; local
[all...]
/freebsd-10.0-release/sys/boot/common/
H A Dpart.c146 gpt_checkhdr(struct gpt_hdr *hdr, uint64_t lba_self, uint64_t lba_last, argument
151 if (memcmp(hdr->hdr_sig, GPT_HDR_SIG, sizeof(hdr->hdr_sig)) != 0) {
155 sz = le32toh(hdr->hdr_size);
160 crc = le32toh(hdr->hdr_crc_self);
161 hdr->hdr_crc_self = 0;
162 if (crc32(hdr, sz) != crc) {
166 hdr->hdr_crc_self = crc;
167 hdr->hdr_revision = le32toh(hdr
199 gpt_checktbl(const struct gpt_hdr *hdr, u_char *tbl, size_t size, uint64_t lba_last) argument
230 struct gpt_hdr *phdr, hdr; local
[all...]
/freebsd-10.0-release/tools/tools/ath/athalq/
H A Dar5212_ds.c49 (unsigned int) be32toh(a->hdr.tstamp_sec),
50 (unsigned int) be32toh(a->hdr.tstamp_usec),
51 (unsigned long long) be64toh(a->hdr.threadid),
90 (unsigned int) be32toh(a->hdr.tstamp_sec),
91 (unsigned int) be32toh(a->hdr.tstamp_usec),
92 (unsigned long long) be64toh(a->hdr.threadid));
155 (unsigned int) be32toh(a->hdr.tstamp_sec),
156 (unsigned int) be32toh(a->hdr.tstamp_usec),
157 (unsigned long long) be64toh(a->hdr.threadid),
209 switch (be16toh(a->hdr
[all...]
/freebsd-10.0-release/sys/dev/hyperv/vmbus/
H A Dhv_channel_mgmt.c45 static void vmbus_channel_on_offer(hv_vmbus_channel_msg_header* hdr);
46 static void vmbus_channel_on_open_result(hv_vmbus_channel_msg_header* hdr);
47 static void vmbus_channel_on_offer_rescind(hv_vmbus_channel_msg_header* hdr);
48 static void vmbus_channel_on_gpadl_created(hv_vmbus_channel_msg_header* hdr);
49 static void vmbus_channel_on_gpadl_torndown(hv_vmbus_channel_msg_header* hdr);
50 static void vmbus_channel_on_offers_delivered(hv_vmbus_channel_msg_header* hdr);
51 static void vmbus_channel_on_version_response(hv_vmbus_channel_msg_header* hdr);
376 vmbus_channel_on_offer(hv_vmbus_channel_msg_header* hdr) argument
381 offer = (hv_vmbus_channel_offer_channel*) hdr;
413 vmbus_channel_on_offer_rescind(hv_vmbus_channel_msg_header* hdr) argument
433 vmbus_channel_on_offers_delivered(hv_vmbus_channel_msg_header* hdr) argument
445 vmbus_channel_on_open_result(hv_vmbus_channel_msg_header* hdr) argument
487 vmbus_channel_on_gpadl_created(hv_vmbus_channel_msg_header* hdr) argument
529 vmbus_channel_on_gpadl_torndown(hv_vmbus_channel_msg_header* hdr) argument
574 vmbus_channel_on_version_response(hv_vmbus_channel_msg_header* hdr) argument
610 hv_vmbus_channel_msg_header* hdr; local
[all...]
/freebsd-10.0-release/sys/dev/e1000/
H A De1000_manage.c132 struct e1000_host_mng_dhcp_cookie *hdr = &hw->mng_cookie; local
163 hdr_csum = hdr->checksum;
164 hdr->checksum = 0;
165 csum = e1000_calculate_checksum((u8 *)hdr,
171 if ((hdr_csum != csum) || (hdr->signature != E1000_IAMT_SIGNATURE)) {
177 if (!(hdr->status & E1000_MNG_DHCP_COOKIE_STATUS_PARSING))
186 * @hdr: pointer to the host interface command header
191 struct e1000_host_mng_command_header *hdr)
199 hdr->checksum = e1000_calculate_checksum((u8 *)hdr, lengt
190 e1000_mng_write_cmd_header_generic(struct e1000_hw *hw, struct e1000_host_mng_command_header *hdr) argument
299 struct e1000_host_mng_command_header hdr; local
[all...]
/freebsd-10.0-release/sys/boot/i386/zfsboot/
H A Dzfsboot.c351 struct gpt_hdr hdr; local
378 memcpy(&hdr, sec, sizeof(hdr));
379 if (memcmp(hdr.hdr_sig, GPT_HDR_SIG, sizeof(hdr.hdr_sig)) != 0 ||
380 hdr.hdr_lba_self != 1 || hdr.hdr_revision < 0x00010000 ||
381 hdr.hdr_entsz < sizeof(*ent) || DEV_BSIZE % hdr.hdr_entsz != 0) {
391 entries_per_sec = DEV_BSIZE / hdr
609 } hdr; local
[all...]
/freebsd-10.0-release/sys/dev/nand/
H A Dnandsim_log.c89 char hdr[TIME_STR_SIZE]; local
108 hdr_len = sprintf(hdr, "%08jd.%08li [chip:%d, ctrl:%d]: ",
114 printf("%s", hdr);
127 bcopy(hdr, &sc->log_buff[sc->log_idx],
132 bcopy(hdr, &sc->log_buff[sc->log_idx], rest);
133 bcopy(&hdr[rest], sc->log_buff,
161 strcat(string, hdr);
164 strlcat(string, hdr, NANDSIM_ENTRY_SIZE + 1);
167 strcpy(string, &hdr[rest]);
/freebsd-10.0-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Dsa_impl.h183 #define SA_HDR_LAYOUT_NUM(hdr) BF32_GET(hdr->sa_layout_info, 0, 10)
184 #define SA_HDR_SIZE(hdr) BF32_GET_SB(hdr->sa_layout_info, 10, 6, 3, 0)
245 #define SA_ATTR_LEN(sa, idx, attr, hdr) ((SA_REGISTERED_LEN(sa, attr) == 0) ?\
246 hdr->sa_lengths[TOC_LEN_IDX(idx->sa_idx_tab[attr])] : \
249 #define SA_SET_HDR(hdr, num, size) \
251 hdr->sa_magic = SA_MAGIC; \
252 SA_HDR_LAYOUT_INFO_ENCODE(hdr->sa_layout_info, num, size); \
255 #define SA_ATTR_INFO(sa, idx, hdr, att
[all...]
/freebsd-10.0-release/sys/dev/fb/
H A Dsplash_pcx.c175 const struct pcx_header *hdr = data; local
178 hdr->manufactor != 10 ||
179 hdr->version != 5 ||
180 hdr->encoding != 1 ||
181 hdr->nplanes != 1 ||
182 hdr->bpp != 8 ||
183 hdr->bpsl > MAXSCANLINE ||
188 pcx_info.width = hdr->xmax - hdr->xmin + 1;
189 pcx_info.height = hdr
[all...]
/freebsd-10.0-release/sys/dev/hatm/
H A Dif_hatm_intr.c207 err = bus_dmamap_create(sc->mbuf_tag, 0, &pg->hdr.map);
214 err = bus_dmamap_load(sc->mbuf_tag, pg->hdr.map, pg, MBUF_ALLOC_SIZE,
215 hatm_extbuf_helper, &pg->hdr.phys, BUS_DMA_NOWAIT);
219 bus_dmamap_destroy(sc->mbuf_tag, pg->hdr.map);
229 pg->hdr.pool = 0;
230 pg->hdr.nchunks = MBUF0_PER_PAGE;
231 pg->hdr.chunksize = MBUF0_CHUNK;
232 pg->hdr.hdroff = sizeof(c->storage);
235 c->hdr.pageno = sc->mbuf_npages;
236 c->hdr
[all...]
/freebsd-10.0-release/contrib/wpa/src/ap/
H A Diapp.c181 struct iapp_hdr *hdr; local
188 hdr = (struct iapp_hdr *) buf;
189 hdr->version = IAPP_VERSION;
190 hdr->command = IAPP_CMD_ADD_notify;
191 hdr->identifier = host_to_be16(iapp->identifier++);
192 hdr->length = host_to_be16(sizeof(*hdr) + sizeof(*add));
194 add = (struct iapp_add_notify *) (hdr + 1);
273 struct iapp_hdr *hdr, int len)
275 struct iapp_add_notify *add = (struct iapp_add_notify *) (hdr
271 iapp_process_add_notify(struct iapp_data *iapp, struct sockaddr_in *from, struct iapp_hdr *hdr, int len) argument
321 struct iapp_hdr *hdr; local
[all...]
/freebsd-10.0-release/contrib/wpa/src/wps/
H A Dhttpread.c74 char hdr[HTTPREAD_HEADER_MAX_SIZE+1]; /* headers stored here */ member in struct:httpread
94 int chunk_start; /* offset in body of chunk hdr or data */
95 int chunk_size; /* data of chunk (not hdr or ending CRLF)*/
226 char *hbp = h->hdr; /* pointer into h->hdr */
446 hbp = h->hdr + h->hdr_nbytes;
473 wpa_printf(MSG_DEBUG, "httpread bad hdr(%p)", h);
479 "httpread no body hdr end(%p)", h);
494 if (!os_strncasecmp(h->hdr, "SUBSCRIBE", 9) ||
495 !os_strncasecmp(h->hdr, "UNSUBSCRIB
838 char *hdr = h->hdr; local
[all...]
/freebsd-10.0-release/sys/boot/i386/gptboot/
H A Dgptboot.c245 } hdr; local
261 if (xfsread(ino, &hdr, sizeof(hdr)))
263 if (N_GETMAGIC(hdr.ex) == ZMAGIC)
265 else if (IS_ELF(hdr.eh))
272 addr = hdr.ex.a_entry & 0xffffff;
275 if (xfsread(ino, p, hdr.ex.a_text))
277 p += roundup2(hdr.ex.a_text, PAGE_SIZE);
278 if (xfsread(ino, p, hdr.ex.a_data))
280 p += hdr
[all...]

Completed in 242 milliseconds

1234567891011>>