Home
last modified time | relevance | path

Searched refs:ref (Results 1 – 25 of 157) sorted by relevance

1234567

/titanic_41/usr/src/cmd/geniconvtbl/
H A Dassemble.c110 itmc_ref_t *ref; in assemble() local
171 for (ref = ref_first[i], j = 0; ref; ref = ref->next, j++) { in assemble()
174 j, ref, in assemble()
175 ref->name, ref->referencee, in assemble()
176 ref->reloc.itm_ptr, ref->size, in assemble()
177 ref->referencer, ref->next)); in assemble()
201 itmc_ref_t *ref; in relocation_I() local
212 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_STRING]; in relocation_I()
213 ref; sec_num += 1, sec_size += ref->size, ref = ref->next) {} in relocation_I()
221 for (sec_num = 0, sec_size = 0, ref = ref_first[ITMC_OBJ_DIREC]; in relocation_I()
[all …]
/titanic_41/usr/src/uts/common/sys/
H A Dtnf_writer.h128 #define tnf_char(ops, item, ref) (item) argument
131 #define tnf_int8(ops, item, ref) (item) argument
134 #define tnf_uint8(ops, item, ref) (item) argument
137 #define tnf_int16(ops, item, ref) (item) argument
140 #define tnf_uint16(ops, item, ref) (item) argument
143 #define tnf_int32(ops, item, ref) (item) argument
146 #define tnf_uint32(ops, item, ref) (item) argument
149 #define tnf_int64(ops, item, ref) (item) argument
152 #define tnf_uint64(ops, item, ref) (item) argument
155 #define tnf_float32(ops, item, ref) (item) argument
[all …]
/titanic_41/usr/src/cmd/sgs/libelf/common/
H A Dbegin.c51 _elf_member(int fd, Elf * ref, unsigned flags) in _elf_member() argument
57 if (ref->ed_nextoff >= ref->ed_fsz) in _elf_member()
59 if (ref->ed_fd == -1) /* disabled */ in _elf_member()
65 if (ref->ed_fd != fd) { in _elf_member()
69 if ((_elf_vm(ref, ref->ed_nextoff, sizeof (struct ar_hdr)) != in _elf_member()
70 OK_YES) || ((mh = _elf_armem(ref, in _elf_member()
71 ref->ed_ident + ref->ed_nextoff, ref->ed_fsz)) == 0)) in _elf_member()
74 base = ref->ed_nextoff + sizeof (struct ar_hdr); in _elf_member()
75 if (ref->ed_fsz - base < mh->m_hdr.ar_size) { in _elf_member()
83 ++ref->ed_activ; in _elf_member()
[all …]
/titanic_41/usr/src/uts/common/xen/os/
H A Dgnttab.c218 int ref, rc; in get_free_entries() local
227 ref = head = gnttab_free_head; in get_free_entries()
234 return (ref); in get_free_entries()
238 put_free_entry(grant_ref_t ref) in put_free_entry() argument
240 ASSERT(VALID_GRANT_REF(ref)); in put_free_entry()
243 GNTTAB_ENTRY(ref) = gnttab_free_head; in put_free_entry()
244 gnttab_free_head = ref; in put_free_entry()
257 int ref; in gnttab_grant_foreign_access() local
259 if ((ref = get_free_entries(1)) == -1) in gnttab_grant_foreign_access()
262 ASSERT(VALID_GRANT_REF(ref)); in gnttab_grant_foreign_access()
[all …]
/titanic_41/usr/src/uts/common/fs/zfs/
H A Drefcount.c81 reference_t *ref; in refcount_destroy_many() local
84 while (ref = list_head(&rc->rc_list)) { in refcount_destroy_many()
85 list_remove(&rc->rc_list, ref); in refcount_destroy_many()
86 kmem_cache_free(reference_cache, ref); in refcount_destroy_many()
90 while (ref = list_head(&rc->rc_removed)) { in refcount_destroy_many()
91 list_remove(&rc->rc_removed, ref); in refcount_destroy_many()
92 kmem_cache_free(reference_history_cache, ref->ref_removed); in refcount_destroy_many()
93 kmem_cache_free(reference_cache, ref); in refcount_destroy_many()
120 reference_t *ref = NULL; in refcount_add_many() local
124 ref = kmem_cache_alloc(reference_cache, KM_SLEEP); in refcount_add_many()
[all …]
H A Dlz4.c555 const BYTE *ref; in LZ4_compressCtx() local
570 ref = base + HashTable[h]; in LZ4_compressCtx()
573 } while ((ref < ip - MAX_DISTANCE) || (A32(ref) != A32(ip))); in LZ4_compressCtx()
576 while ((ip > anchor) && (ref > (BYTE *) source) && in LZ4_compressCtx()
577 unlikely(ip[-1] == ref[-1])) { in LZ4_compressCtx()
579 ref--; in LZ4_compressCtx()
605 LZ4_WRITE_LITTLEENDIAN_16(op, ip - ref); in LZ4_compressCtx()
609 ref += MINMATCH; /* MinMatch verified */ in LZ4_compressCtx()
612 UARCH diff = AARCH(ref) ^ AARCH(ip); in LZ4_compressCtx()
615 ref += STEPSIZE; in LZ4_compressCtx()
[all …]
/titanic_41/usr/src/cmd/perl/contrib/Sun/Solaris/Project/
H A DProject.pm158 my ($ret, $ref);
180 ($ret, $ref) = projent_parse($line, {});
182 $ref = projf_combine_errors(
184 $ref);
185 push(@errs, @$ref);
189 $projent = $ref;
203 ($ret, $ref) = projf_validate(\@projents, $flags);
205 push(@errs, @$ref);
277 my ($ret, $ref);
301 ($ret, $ref) = projent_parse_name($projname);
[all …]
/titanic_41/usr/src/cmd/localedef/
H A Dcollate.c143 int32_t ref; member
153 int32_t ref[COLL_WEIGHTS_MAX]; member
166 int32_t ref[COLL_WEIGHTS_MAX]; member
176 int32_t ref[COLL_WEIGHTS_MAX]; member
188 int32_t ref[COLLATE_STR_LEN]; member
268 get_pri(int32_t ref) in get_pri() argument
270 if ((ref < 0) || (ref > numpri)) { in get_pri()
274 return (&prilist[ref]); in get_pri()
278 set_pri(int32_t ref, int32_t v, res_t res) in set_pri() argument
282 pri = get_pri(ref); in set_pri()
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/common/
H A Dreferral.c54 ldap_next_reference( LDAP *ld, LDAPMessage *ref ) in ldap_next_reference() argument
56 if ( !NSLDAPI_VALID_LDAP_POINTER( ld ) || ref == NULLMSG ) { in ldap_next_reference()
60 for ( ref = ref->lm_chain; ref != NULLMSG; ref = ref->lm_chain ) { in ldap_next_reference()
61 if ( ref->lm_msgtype == LDAP_RES_SEARCH_REFERENCE ) { in ldap_next_reference()
62 return( ref ); in ldap_next_reference()
95 ldap_parse_reference( LDAP *ld, LDAPMessage *ref, char ***referralsp, in ldap_parse_reference() argument
101 !NSLDAPI_VALID_LDAPMESSAGE_REFERENCE_POINTER( ref )) { in ldap_parse_reference()
105 err = nsldapi_parse_reference( ld, ref->lm_ber, referralsp, in ldap_parse_reference()
111 ldap_msgfree( ref ); in ldap_parse_reference()
/titanic_41/usr/src/lib/smbsrv/libmlrpc/common/
H A Dndr_ops.c202 ndo_malloc(ndr_stream_t *nds, unsigned len, ndr_ref_t *ref) in ndo_malloc() argument
214 ndo_free(ndr_stream_t *nds, char *p, ndr_ref_t *ref) in ndo_free() argument
231 ndo_grow_pdu(ndr_stream_t *nds, unsigned long want_end_offset, ndr_ref_t *ref) in ndo_grow_pdu() argument
236 ndo_printf(nds, ref, "grow %d", want_end_offset); in ndo_grow_pdu()
261 unsigned long n_bytes, ndr_ref_t *ref) in ndo_pad_pdu() argument
268 ndo_printf(nds, ref, "pad %d@%-3d", n_bytes, pdu_offset); in ndo_pad_pdu()
284 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) in ndo_get_pdu() argument
294 ndo_printf(nds, ref, "get %d@%-3d = %s", in ndo_get_pdu()
314 unsigned long n_bytes, char *buf, int swap_bytes, ndr_ref_t *ref) in ndo_put_pdu() argument
324 ndo_printf(nds, ref, "put %d@%-3d = %s", in ndo_put_pdu()
[all …]
/titanic_41/usr/src/cmd/audio/utilities/
H A DAudioExtent.cc41 Audio("[extent]"), ref(obj) in AudioExtent()
43 ref->Reference(); // reference audio object in AudioExtent()
52 ref->Dereference(); // clear audio object reference in ~AudioExtent()
59 return (ref); in GetRef()
67 if (ref == r) // object is not changing in SetRef()
69 ref->Dereference(); // dereference previous object in SetRef()
71 ref = r; in SetRef()
72 ref->Reference(); // reference new object in SetRef()
105 return (ref->GetLength()); in GetEnd()
117 len = ref->GetLength(); in SetEnd()
[all …]
/titanic_41/usr/src/uts/common/tnf/
H A Dtnf_types.h251 #define tnf_derived_base(ops, item, ref)\ argument
252 tnf_tag_element_1(ops, item, ref, tnf_derived_base_tag_data)
256 #define tnf_element_type(ops, item, ref)\ argument
257 tnf_tag_element_1(ops, item, ref, tnf_element_type_tag_data)
261 #define tnf_type_array(ops, item, ref) \ argument
262 tnf_tag_array_1(ops, item, ref, tnf_type_array_tag_data)
266 #define tnf_slot_types(ops, item, ref) \ argument
267 tnf_tag_array_1(ops, item, ref, tnf_slot_types_tag_data)
271 #define tnf_properties(ops, item, ref) \ argument
272 tnf_tag_properties_1(ops, item, ref, tnf_properties_tag_data)
[all …]
/titanic_41/usr/src/lib/libast/common/hash/
H A Dhashalloc.c41 hashalloc(Hash_table_t* ref, ...) in hashalloc() argument
53 va_start(ap, ref); in hashalloc()
60 if (!ref && n == HASH_region) in hashalloc()
72 if (ref) in hashalloc()
74 tab->flags = ref->flags & ~HASH_RESET; in hashalloc()
75 tab->root = ref->root; in hashalloc()
101 if (ref) goto out; in hashalloc()
113 if (ref) goto out; in hashalloc()
117 if (ref) goto out; in hashalloc()
121 if (ref) goto out; in hashalloc()
[all …]
/titanic_41/usr/src/uts/common/fs/sockfs/
H A Dnl7curi.h78 (container)->ref.cnt = (count); \
79 (container)->ref.last = (void (*)(void *))((inactive)); \
80 (container)->ref.kmc = (kmem); \
84 atomic_inc_32(&(container)->ref.cnt); \
85 ASSERT((container)->ref.cnt != 0); \
89 if (atomic_dec_32_nv(&(container)->ref.cnt) == 0) { \
90 (container)->ref.last((container)); \
91 kmem_cache_free((container)->ref.kmc, (container)); \
95 #define REF_COUNT(container) (container)->ref.cnt
98 ASSERT((container)->ref.cnt == (count));
[all …]
/titanic_41/usr/src/grub/grub-0.97/stage2/
H A Dzfs_lz4.c193 const BYTE *restrict ref; in LZ4_uncompress_unknownOutputSize() local
248 LZ4_READ_LITTLEENDIAN_16(ref, cpy, ip); in LZ4_uncompress_unknownOutputSize()
250 if (ref < (BYTE * const) dest) in LZ4_uncompress_unknownOutputSize()
268 if unlikely(op - ref < STEPSIZE) { in LZ4_uncompress_unknownOutputSize()
271 size_t dec2 = dec2table[op - ref]; in LZ4_uncompress_unknownOutputSize()
275 *op++ = *ref++; in LZ4_uncompress_unknownOutputSize()
276 *op++ = *ref++; in LZ4_uncompress_unknownOutputSize()
277 *op++ = *ref++; in LZ4_uncompress_unknownOutputSize()
278 *op++ = *ref++; in LZ4_uncompress_unknownOutputSize()
279 ref -= dec[op - ref]; in LZ4_uncompress_unknownOutputSize()
[all …]
/titanic_41/usr/src/uts/common/xen/sys/
H A Dgnttab.h96 int gnttab_end_foreign_access_ref(grant_ref_t ref, int readonly);
104 void gnttab_end_foreign_access(grant_ref_t ref, int readonly,
109 gnttab_frame_t gnttab_end_foreign_transfer_ref(grant_ref_t ref);
110 gnttab_frame_t gnttab_end_foreign_transfer(grant_ref_t ref);
112 int gnttab_query_foreign_access(grant_ref_t ref);
119 void gnttab_free_grant_reference(grant_ref_t ref);
135 void gnttab_grant_foreign_access_ref(grant_ref_t ref, domid_t domid,
/titanic_41/usr/src/cmd/fs.d/autofs/
H A Dns_fnmount.c81 process_ref(const FN_ref_t *ref, const char *cname, char *map, char *key,
98 frontier(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen,
110 frontier_aux(mapent *mapents, const FN_ref_t *ref, char *map, size_t maplen,
119 exported(const FN_ref_t *ref, const char *cname, FN_status_t *status);
128 addr_from_ref(const FN_ref_t *ref, const char *cname, addrtype_t *typep,
218 FN_ref_t *ref; in getmapent_fn() local
282 ref = fn_ctx_lookup(init_ctx, compname, status); in getmapent_fn()
290 if (ref == NULL) { in getmapent_fn()
300 process_ref(ref, cname, map, key, opts, root, shallow, status); in getmapent_fn()
301 fn_ref_destroy(ref); in getmapent_fn()
[all …]
/titanic_41/usr/src/cmd/sendmail/db/mp/
H A Dmp_sync.c133 if (F_ISSET(bhp, BH_DIRTY) || bhp->ref != 0) {
157 if (bhp->ref == 0) {
158 ++bhp->ref;
191 if (bharray[next]->ref > 1) {
192 --bharray[next]->ref;
201 --bharray[next]->ref;
218 --bharray[next]->ref;
355 if (bhp->ref != 0 || F_ISSET(bhp, BH_LOCKED)) {
360 ++bhp->ref;
392 if (bharray[next]->ref > 1) {
[all …]
/titanic_41/usr/src/lib/libsldap/common/
H A Dns_common.c1343 ns_referral_info_t *ref, *tmpref; in __s_api_addRefInfo() local
1374 ref = (ns_referral_info_t *)calloc(1, in __s_api_addRefInfo()
1376 if (ref == NULL) { in __s_api_addRefInfo()
1395 free(ref); in __s_api_addRefInfo()
1408 free(ref); in __s_api_addRefInfo()
1411 ref->refHost = strdup(ld_defhost); in __s_api_addRefInfo()
1412 if (ref->refHost == NULL) { in __s_api_addRefInfo()
1414 free(ref); in __s_api_addRefInfo()
1428 ref->refHost = (char *)malloc(hostlen); in __s_api_addRefInfo()
1429 if (ref->refHost == NULL) { in __s_api_addRefInfo()
[all …]
/titanic_41/usr/src/cmd/sgs/libconv/common/
H A Ddeftag.c35 conv_def_tag(Symref ref, Conv_inv_buf_t *inv_buf) in conv_def_tag() argument
41 if (ref >= REF_NUM) in conv_def_tag()
42 return (conv_invalid_val(inv_buf, ref, 0)); in conv_def_tag()
44 return (MSG_ORIG(refs[ref])); in conv_def_tag()
/titanic_41/usr/src/lib/libpp/common/
H A Dppmisc.c35 pprefmac(char* name, int ref) in pprefmac() argument
39 …if (!(sym = ppsymget(pp.symtab, name)) && (ref <= REF_NORMAL && pp.macref || ref == REF_CREATE || in pprefmac()
45 if (sym && ref <= REF_NORMAL) in pprefmac()
47 …acref)(sym, error_info.file, error_info.line, ref == REF_NORMAL && (pp.state & CONDITIONAL) ? REF_… in pprefmac()
53 …if (ref == REF_IF && sym && (sym->flags & SYM_PREDEFINED) && *name != '_' && !(pp.mode & (HOSTED|I… in pprefmac()
/titanic_41/usr/src/lib/fm/topo/maps/i86pc/
H A Dfan-hc-topology.xmlgen319 foreach my $ref (@refs) {
321 printf($ref, @indices);
354 foreach my $ref (@refs) {
356 printf($ref, @indices);
411 foreach my $ref (@refs) {
413 printf($ref, @indices);
428 foreach my $ref (@refs) {
430 printf($ref, @indices);
/titanic_41/usr/src/cmd/krb5/kadmin/gui/visualrt/sunsoft/jws/visual/rt/shadow/
H A DImageLabelShadow.java96 ImageRef ref = (ImageRef)value; in setOnBody() local
97 if (ref == null) in setOnBody()
102 label.setImage(ref.getImage(label, applet)); in setOnBody()
103 label.setDefaultWidth(ref.getWidth(label, applet)); in setOnBody()
105 ref.getHeight(label, applet)); in setOnBody()
/titanic_41/usr/src/lib/libshell/common/edit/
H A Dhexpand.c153 Sfio_t *ref=0, /* line referenced by event designator */
216 ref = 0;
246 ref = sfopen(ref, cc, "s"); /* open as file */
316 ref = sh.hist_ptr->histfp;
319 if(!ref)
369 ref = wm;
374 w[1] = sftell(ref) + hl.hist_char;
445 while((c = sfgetc(ref)) > 0)
476 while((c = sfgetc(ref)) > 0 && (!isspace(c) || q));
478 if(w[0] == -2 && sftell(ref) > w[1])
[all …]
/titanic_41/usr/src/lib/libsqlite/test/
H A Dpager.test37 } {ref 0 page 0 max 10 size -1 state 0 err 0 hit 0 miss 0 ovfl 0}
43 } {ref 0 page 0 max 10 size -1 state 0 err 0 hit 0 miss 0 ovfl 0}
66 } {ref 0 page 0 max 10 size -1 state 0 err 0 hit 0 miss 0 ovfl 0}
76 } {ref 1 page 1 max 10 size 0 state 1 err 0 hit 0 miss 1 ovfl 0}
83 } {ref 1 page 1 max 10 size 0 state 1 err 0 hit 0 miss 1 ovfl 0}
90 } {ref 1 page 1 max 10 size 0 state 1 err 0 hit 0 miss 1 ovfl 0}
93 } {ref 1 page 1 max 10 size 0 state 1 err 0 hit 0 miss 1 ovfl 0}
99 } {ref 1 page 1 max 10 size 0 state 1 err 0 hit 0 miss 1 ovfl 0}
111 } {ref 0 page 0 max 10 size -1 state 0 err 0 hit 0 miss 1 ovfl 0}
121 } {ref 1 page 1 max 10 size 0 state 1 err 0 hit 0 miss 2 ovfl 0}
[all …]

1234567