Home
last modified time | relevance | path

Searched refs:header (Results 1 – 25 of 465) sorted by relevance

12345678910>>...19

/titanic_50/usr/src/cmd/tic/
H A Dtic_read.c130 struct header header; local
150 read(fd, &header, sizeof (header));
153 header.magic = swap(header.magic);
154 header.name_size = swap(header.name_size);
155 header.bool_count = swap(header.bool_count);
156 header.num_count = swap(header.num_count);
157 header.str_count = swap(header.str_count);
158 header.str_size = swap(header.str_size);
161 if (header.magic != MAGIC) {
166 read(fd, TermNames, min(127, header.name_size));
[all …]
/titanic_50/usr/src/lib/libsip/common/
H A Dsip_headers.c176 sip_free_phdr(sip_parsed_header_t *header) in sip_free_phdr() argument
181 if (header == NULL) in sip_free_phdr()
183 value = (sip_hdr_value_t *)header->value; in sip_free_phdr()
190 free(header); in sip_free_phdr()
197 sip_free_cftr_header(sip_parsed_header_t *header) in sip_free_cftr_header() argument
202 if (header == NULL) in sip_free_cftr_header()
204 value = (sip_hdr_value_t *)header->value; in sip_free_cftr_header()
217 free(header); in sip_free_cftr_header()
296 _sip_copy_header(_sip_msg_t *sip_msg, _sip_header_t *header, char *extra_param, in _sip_copy_header() argument
317 if (header->sip_hdr_end - strlen(SIP_CRLF) <= in _sip_copy_header()
[all …]
H A Dsip_parse_hdrs.c52 sip_parse_acpt_header(_sip_header_t *sip_header, sip_parsed_header_t **header) in sip_parse_acpt_header() argument
55 return (sip_parse_hdr_empty(sip_header, header)); in sip_parse_acpt_header()
56 return (sip_parse_hdr_parser1(sip_header, header, SIP_SLASH)); in sip_parse_acpt_header()
66 sip_parsed_header_t **header) in sip_parse_acpt_encode_header() argument
68 return (sip_parse_hdr_parser1(sip_header, header, (char)NULL)); in sip_parse_acpt_encode_header()
78 sip_parsed_header_t **header) in sip_parse_acpt_lang_header() argument
81 return (sip_parse_hdr_empty(sip_header, header)); in sip_parse_acpt_lang_header()
82 return (sip_parse_hdr_parser1(sip_header, header, (char)NULL)); in sip_parse_acpt_lang_header()
90 sip_parse_alert_header(_sip_header_t *sip_header, sip_parsed_header_t **header) in sip_parse_alert_header() argument
92 return (sip_parse_hdr_parser3(sip_header, header, SIP_STR_VAL, B_TRUE)); in sip_parse_alert_header()
[all …]
/titanic_50/usr/src/lib/udapl/udapl_tavor/common/
H A Ddapl_sp_util.c83 sp_ptr->header.provider = ia_ptr->header.provider; in dapls_sp_alloc()
85 sp_ptr->header.magic = DAPL_MAGIC_PSP; in dapls_sp_alloc()
86 sp_ptr->header.handle_type = DAT_HANDLE_TYPE_PSP; in dapls_sp_alloc()
88 sp_ptr->header.magic = DAPL_MAGIC_RSP; in dapls_sp_alloc()
89 sp_ptr->header.handle_type = DAT_HANDLE_TYPE_RSP; in dapls_sp_alloc()
91 sp_ptr->header.owner_ia = ia_ptr; in dapls_sp_alloc()
92 sp_ptr->header.user_context.as_64 = 0; in dapls_sp_alloc()
93 sp_ptr->header.user_context.as_ptr = NULL; in dapls_sp_alloc()
94 dapl_llist_init_entry(&sp_ptr->header.ia_list_entry); in dapls_sp_alloc()
95 dapl_os_lock_init(&sp_ptr->header.lock); in dapls_sp_alloc()
[all …]
H A Ddapl_ia_util.c84 ia_ptr->header.provider = provider; in dapl_ia_alloc()
85 ia_ptr->header.magic = DAPL_MAGIC_IA; in dapl_ia_alloc()
86 ia_ptr->header.handle_type = DAT_HANDLE_TYPE_IA; in dapl_ia_alloc()
87 ia_ptr->header.owner_ia = ia_ptr; in dapl_ia_alloc()
88 ia_ptr->header.user_context.as_64 = 0; in dapl_ia_alloc()
89 ia_ptr->header.user_context.as_ptr = NULL; in dapl_ia_alloc()
90 dapl_llist_init_entry(&ia_ptr->header.ia_list_entry); in dapl_ia_alloc()
91 dapl_os_lock_init(&ia_ptr->header.lock); in dapl_ia_alloc()
166 &rmr_ptr->header.ia_list_entry); in dapl_ia_abrupt_close()
181 &sp_ptr->header.ia_list_entry); in dapl_ia_abrupt_close()
[all …]
H A Ddapl_get_consumer_context.c67 DAPL_HEADER *header; in dapl_get_consumer_context() local
71 header = (DAPL_HEADER *)dat_handle; in dapl_get_consumer_context()
72 if (((header) == NULL) || in dapl_get_consumer_context()
73 ((unsigned long)(header) & 3) || in dapl_get_consumer_context()
74 (header->magic != DAPL_MAGIC_IA && in dapl_get_consumer_context()
75 header->magic != DAPL_MAGIC_EVD && in dapl_get_consumer_context()
76 header->magic != DAPL_MAGIC_EP && in dapl_get_consumer_context()
77 header->magic != DAPL_MAGIC_LMR && in dapl_get_consumer_context()
78 header->magic != DAPL_MAGIC_RMR && in dapl_get_consumer_context()
79 header->magic != DAPL_MAGIC_PZ && in dapl_get_consumer_context()
[all …]
H A Ddapl_get_handle_type.c66 DAPL_HEADER *header; in dapl_get_handle_type() local
70 header = (DAPL_HEADER *)dat_handle; in dapl_get_handle_type()
71 if (((header) == NULL) || in dapl_get_handle_type()
72 ((unsigned long)(header) & 3) || in dapl_get_handle_type()
73 (header->magic != DAPL_MAGIC_IA && in dapl_get_handle_type()
74 header->magic != DAPL_MAGIC_EVD && in dapl_get_handle_type()
75 header->magic != DAPL_MAGIC_EP && in dapl_get_handle_type()
76 header->magic != DAPL_MAGIC_LMR && in dapl_get_handle_type()
77 header->magic != DAPL_MAGIC_RMR && in dapl_get_handle_type()
78 header->magic != DAPL_MAGIC_PZ && in dapl_get_handle_type()
[all …]
H A Ddapl_set_consumer_context.c68 DAPL_HEADER *header; in dapl_set_consumer_context() local
72 header = (DAPL_HEADER *)dat_handle; in dapl_set_consumer_context()
73 if (((header) == NULL) || in dapl_set_consumer_context()
74 ((unsigned long) (header) & 3) || in dapl_set_consumer_context()
75 (header->magic != DAPL_MAGIC_IA && in dapl_set_consumer_context()
76 header->magic != DAPL_MAGIC_EVD && in dapl_set_consumer_context()
77 header->magic != DAPL_MAGIC_EP && in dapl_set_consumer_context()
78 header->magic != DAPL_MAGIC_LMR && in dapl_set_consumer_context()
79 header->magic != DAPL_MAGIC_RMR && in dapl_set_consumer_context()
80 header->magic != DAPL_MAGIC_PZ && in dapl_set_consumer_context()
[all …]
H A Ddapl_rmr_util.c51 rmr->header.provider = pz->header.provider; in dapl_rmr_alloc()
52 rmr->header.magic = DAPL_MAGIC_RMR; in dapl_rmr_alloc()
53 rmr->header.handle_type = DAT_HANDLE_TYPE_RMR; in dapl_rmr_alloc()
54 rmr->header.owner_ia = pz->header.owner_ia; in dapl_rmr_alloc()
55 rmr->header.user_context.as_64 = 0; in dapl_rmr_alloc()
56 rmr->header.user_context.as_ptr = 0; in dapl_rmr_alloc()
57 dapl_llist_init_entry(&rmr->header.ia_list_entry); in dapl_rmr_alloc()
58 dapl_ia_link_rmr(rmr->header.owner_ia, rmr); in dapl_rmr_alloc()
59 dapl_os_lock_init(&rmr->header.lock); in dapl_rmr_alloc()
64 rmr->param.ia_handle = (DAT_IA_HANDLE)pz->header.owner_ia; in dapl_rmr_alloc()
[all …]
H A Ddapl_cr_util.c80 cr_ptr->header.provider = ia_ptr->header.provider; in dapls_cr_alloc()
81 cr_ptr->header.magic = DAPL_MAGIC_CR; in dapls_cr_alloc()
82 cr_ptr->header.handle_type = DAT_HANDLE_TYPE_CR; in dapls_cr_alloc()
83 cr_ptr->header.owner_ia = ia_ptr; in dapls_cr_alloc()
84 cr_ptr->header.user_context.as_64 = 0; in dapls_cr_alloc()
85 cr_ptr->header.user_context.as_ptr = NULL; in dapls_cr_alloc()
86 dapl_llist_init_entry(&cr_ptr->header.ia_list_entry); in dapls_cr_alloc()
87 dapl_os_lock_init(&cr_ptr->header.lock); in dapls_cr_alloc()
112 dapl_os_assert(cr_ptr->header.magic == DAPL_MAGIC_CR || in dapls_cr_free()
113 cr_ptr->header.magic == DAPL_MAGIC_CR_DESTROYED); in dapls_cr_free()
[all …]
H A Ddapl_pz_util.c76 pz->header.provider = ia->header.provider; in dapl_pz_alloc()
77 pz->header.magic = DAPL_MAGIC_PZ; in dapl_pz_alloc()
78 pz->header.handle_type = DAT_HANDLE_TYPE_PZ; in dapl_pz_alloc()
79 pz->header.owner_ia = ia; in dapl_pz_alloc()
80 pz->header.user_context.as_64 = 0; in dapl_pz_alloc()
81 pz->header.user_context.as_ptr = NULL; in dapl_pz_alloc()
82 dapl_llist_init_entry(&pz->header.ia_list_entry); in dapl_pz_alloc()
84 dapl_os_lock_init(&pz->header.lock); in dapl_pz_alloc()
114 pz->header.magic = DAPL_MAGIC_INVALID; in dapl_pz_dealloc()
115 dapl_ia_unlink_pz(pz->header.owner_ia, pz); in dapl_pz_dealloc()
[all …]
H A Ddapl_srq_util.c72 srq_ptr->header.provider = ia_ptr->header.provider; in dapl_srq_alloc()
73 srq_ptr->header.magic = DAPL_MAGIC_SRQ; in dapl_srq_alloc()
74 srq_ptr->header.handle_type = DAT_HANDLE_TYPE_SRQ; in dapl_srq_alloc()
75 srq_ptr->header.owner_ia = ia_ptr; in dapl_srq_alloc()
76 srq_ptr->header.user_context.as_64 = 0; in dapl_srq_alloc()
77 dapl_llist_init_entry(&srq_ptr->header.ia_list_entry); in dapl_srq_alloc()
78 dapl_os_lock_init(&srq_ptr->header.lock); in dapl_srq_alloc()
113 dapl_os_assert(srq_ptr->header.magic == DAPL_MAGIC_SRQ); in dapl_srq_dealloc()
116 srq_ptr->header.magic = DAPL_MAGIC_INVALID; in dapl_srq_dealloc()
120 dapl_os_lock_destroy(&srq_ptr->header.lock); in dapl_srq_dealloc()
H A Ddapl_cno_util.c75 cno_ptr->header.provider = ia_ptr->header.provider; in dapl_cno_alloc()
76 cno_ptr->header.magic = DAPL_MAGIC_CNO; in dapl_cno_alloc()
77 cno_ptr->header.handle_type = DAT_HANDLE_TYPE_CNO; in dapl_cno_alloc()
78 cno_ptr->header.owner_ia = ia_ptr; in dapl_cno_alloc()
79 cno_ptr->header.user_context.as_64 = 0; in dapl_cno_alloc()
80 cno_ptr->header.user_context.as_ptr = NULL; in dapl_cno_alloc()
81 dapl_llist_init_entry(&cno_ptr->header.ia_list_entry); in dapl_cno_alloc()
83 dapl_os_lock_init(&cno_ptr->header.lock); in dapl_cno_alloc()
117 dapl_os_assert(cno_ptr->header.magic == DAPL_MAGIC_CNO); in dapl_cno_dealloc()
124 cno_ptr->header.magic = DAPL_MAGIC_INVALID; in dapl_cno_dealloc()
H A Ddapl_lmr_util.c67 lmr->header.provider = ia->header.provider; in dapl_lmr_alloc()
68 lmr->header.magic = DAPL_MAGIC_LMR; in dapl_lmr_alloc()
69 lmr->header.handle_type = DAT_HANDLE_TYPE_LMR; in dapl_lmr_alloc()
70 lmr->header.owner_ia = ia; in dapl_lmr_alloc()
71 lmr->header.user_context.as_64 = 0; in dapl_lmr_alloc()
72 lmr->header.user_context.as_ptr = NULL; in dapl_lmr_alloc()
73 dapl_llist_init_entry(&lmr->header.ia_list_entry); in dapl_lmr_alloc()
75 dapl_os_lock_init(&lmr->header.lock); in dapl_lmr_alloc()
95 lmr->header.magic = DAPL_MAGIC_INVALID; in dapl_lmr_dealloc()
96 dapl_ia_unlink_lmr(lmr->header.owner_ia, lmr); in dapl_lmr_dealloc()
[all …]
/titanic_50/usr/src/cmd/format/
H A Dmenu_cache.c99 struct scsi_ms_header header; in ca_write_display() local
110 MAX_MODE_SENSE_SIZE, &header); in ca_write_display()
128 struct scsi_ms_header header; in ca_write_enable() local
141 MAX_MODE_SENSE_SIZE, &header); in ca_write_enable()
147 MAX_MODE_SENSE_SIZE, &header); in ca_write_enable()
151 (caddr_t)page8, MAX_MODE_SENSE_SIZE, &header); in ca_write_enable()
165 header.mode_header.length = 0; in ca_write_enable()
166 header.mode_header.device_specific = 0; in ca_write_enable()
169 (caddr_t)page8, length, &header); in ca_write_enable()
189 struct scsi_ms_header header; in ca_write_disable() local
[all …]
/titanic_50/usr/src/uts/intel/io/drm/
H A Dr300_cmdbuf.c261 drm_radeon_kcmd_buffer_t *cmdbuf, drm_r300_cmd_header_t header) in r300_emit_carefully_checked_packet0() argument
269 sz = header.packet0.count; in r300_emit_carefully_checked_packet0()
270 reg = (header.packet0.reghi << 8) | header.packet0.reglo; in r300_emit_carefully_checked_packet0()
315 drm_r300_cmd_header_t header) in r300_emit_packet0() argument
321 sz = header.packet0.count; in r300_emit_packet0()
322 reg = (header.packet0.reghi << 8) | header.packet0.reglo; in r300_emit_packet0()
339 cmdbuf, header)); in r300_emit_packet0()
363 drm_radeon_kcmd_buffer_t *cmdbuf, drm_r300_cmd_header_t header) in r300_emit_vpu() argument
369 sz = header.vpu.count; in r300_emit_vpu()
370 addr = (header.vpu.adrhi << 8) | header.vpu.adrlo; in r300_emit_vpu()
[all …]
/titanic_50/usr/src/uts/common/ipp/flowacct/
H A Dflowacct.c109 flowacct_port_info(header_t *header, void *iph, int af, mblk_t *mp) in flowacct_port_info() argument
125 header->sport = (uint16_t)*up++; in flowacct_port_info()
126 header->dport = (uint16_t)*up; in flowacct_port_info()
177 header->proto = *nexthdrp; in flowacct_port_info()
179 header->sport = (uint16_t)*up++; in flowacct_port_info()
180 header->dport = (uint16_t)*up; in flowacct_port_info()
187 header->proto = *nexthdrp; in flowacct_port_info()
210 flowacct_find_ids(mblk_t *mp, header_t *header) in flowacct_find_ids() argument
216 header->uid = crgetuid(cr); in flowacct_find_ids()
217 header->projid = crgetprojid(cr); in flowacct_find_ids()
[all …]
/titanic_50/usr/src/cmd/loadkeys/type_101/
H A Dneaten.sh54 header=/tmp/header.$$
59 echo "#" > $header
60 echo "$sccsid" >> $header
61 echo "#" >> $header
62 echo "# Copyright (c) `date +%Y` by Sun Microsystems, Inc." >> $header
63 echo "# All rights reserved." >> $header
64 echo "#" >> $header
74 $i >> $header
75 echo '#' >> $header
98 cat $header $sorted > $i.neat
[all …]
/titanic_50/usr/src/uts/common/io/xge/hal/include/
H A Dxge-list.h50 static inline void xge_list_init (xge_list_t *header) in xge_list_init() argument
52 header->next = header; in xge_list_init()
53 header->prev = header; in xge_list_init()
64 static inline int xge_list_is_empty(xge_list_t *header) in xge_list_is_empty() argument
66 xge_assert(header != NULL); in xge_list_is_empty()
68 return header->next == header; in xge_list_is_empty()
79 static inline xge_list_t *xge_list_first_get(xge_list_t *header) in xge_list_first_get() argument
81 xge_assert(header != NULL); in xge_list_first_get()
82 xge_assert(header->next != NULL); in xge_list_first_get()
83 xge_assert(header->prev != NULL); in xge_list_first_get()
[all …]
/titanic_50/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dmknames.awk36 function header(file, array) { function
64 header("boolname.c", "boolnames");
65 header("boolcode.c", "boolcodes");
66 header("boolfnam.c", "boolfnames");
67 header("numname.c", "numnames");
68 header("numcode.c", "numcodes");
69 header("numfnam.c", "numfnames");
70 header("strname.c", "strnames");
71 header("strcode.c", "strcodes");
72 header("strfnam.c", "strfnames");
/titanic_50/usr/src/lib/libxcurses2/src/libc/xcurses/
H A Dmknames.awk36 function header(file, array) { function
65 header("boolname.c", "boolnames");
66 header("boolcode.c", "boolcodes");
67 header("boolfnam.c", "boolfnames");
68 header("numname.c", "numnames");
69 header("numcode.c", "numcodes");
70 header("numfnam.c", "numfnames");
71 header("strname.c", "strnames");
72 header("strcode.c", "strcodes");
73 header("strfnam.c", "strfnames");
/titanic_50/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_dns.c53 static size_t skip_question(const uchar_t *header, const uchar_t *data,
55 static size_t print_question(char *line, const uchar_t *header,
57 static size_t print_answer(char *line, const uchar_t *header,
64 static const uchar_t *get_domain_name(const uchar_t *header,
66 static size_t print_domain_name(char *line, const uchar_t *header,
73 dns_header header; in interpret_dns() local
107 (void) memcpy(&header, data, sizeof (header)); in interpret_dns()
108 id = ntohs(header.id); in interpret_dns()
109 qdcount = ntohs(header.qdcount); in interpret_dns()
110 ancount = ntohs(header.ancount); in interpret_dns()
[all …]
/titanic_50/usr/src/lib/libshell/common/sh/
H A Darray.c45 Namarr_t header; member
55 Namarr_t header; member
106 struct index_array *aq = (struct index_array*)ap->header.scope; in array_covered()
107 if(!ap->header.fun && aq) in array_covered()
118 while(*fp && *fp!= &old->header.hdr) in array_setptr()
122 new->header.hdr.next = (*fp)->next; in array_setptr()
123 *fp = &new->header.hdr; in array_setptr()
216 ap->header.nelem &= ~ARRAY_NOSCOPE; in array_find()
218 ap->header.nelem |= ARRAY_NOSCOPE; in array_find()
219 if(wasundef = ap->header.nelem&ARRAY_UNDEF) in array_find()
[all …]
/titanic_50/usr/src/lib/libmalloc/common/
H A Dmalloc.c116 static struct header arena[4] = {
130 static struct header *arenaend; /* ptr to block marking high end of arena */
131 static struct header *lastblk; /* the highest block in the arena */
155 register struct header *p; in checkq()
201 struct header *hd; in memalign()
281 hd = (struct header *)((char *)fr - minhead); in memalign()
283 hd->nextblk = ((struct header *)((char *)alloc_buf - minhead))->nextblk; in memalign()
284 ((struct header *)((char *)alloc_buf - minhead))->nextblk = SETBUSY(hd); in memalign()
311 struct header *blk; in malloc_unlocked()
317 arena[1].nextblk = (struct header *)BUSY; in malloc_unlocked()
[all …]
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dsgcn.c233 cnsram_header header; in sgcn_attach() local
255 rv = iosram_read(SBBC_CONSOLE_KEY, 0, (caddr_t)&header, in sgcn_attach()
259 if (header.cnsram_magic != CNSRAM_MAGIC) in sgcn_attach()
261 if (!header.cnsram_in_end && !header.cnsram_in_begin) in sgcn_attach()
263 if (!header.cnsram_out_end && !header.cnsram_out_begin) in sgcn_attach()
271 header.cnsram_in_end - header.cnsram_in_begin; in sgcn_attach()
911 sgcn_read_header(int rw, cnsram_header *header) in sgcn_read_header() argument
916 rv = iosram_read(SBBC_CONSOLE_KEY, 0, (caddr_t)header, in sgcn_read_header()
930 OFFSETOF((*header), cnsram_in_wrptr), in sgcn_read_header()
931 POINTER((*header), cnsram_in_wrptr), in sgcn_read_header()
[all …]

12345678910>>...19