Home
last modified time | relevance | path

Searched refs:hint (Results 1 – 25 of 88) sorted by relevance

1234

/titanic_50/usr/src/uts/common/disp/
H A Dcmt_policy.c122 int hint, i, cpu, nsiblings; in cmt_balance() local
162 hint = CPU_PSEUDO_RANDOM() % nsiblings; in cmt_balance()
168 i = hint; in cmt_balance()
187 } while (i != hint); in cmt_balance()
214 hint = CPU_PSEUDO_RANDOM() % tgt_size; in cmt_balance()
215 cpu = hint; in cmt_balance()
225 } while (cpu != hint); in cmt_balance()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/support/
H A Dfake-addrinfo.c312 const struct addrinfo *hint, in system_getaddrinfo() argument
315 return getaddrinfo(name, serv, hint, res); in system_getaddrinfo()
406 const struct addrinfo *hint) in debug_dump_getaddrinfo_args() argument
413 if (hint) { in debug_dump_getaddrinfo_args()
416 #define Z(FLAG) if (hint->ai_flags & AI_##FLAG) fprintf(stderr, "%s%s", sep, #FLAG), sep = "|" in debug_dump_getaddrinfo_args()
424 if (hint->ai_family) in debug_dump_getaddrinfo_args()
425 fprintf(stderr, " %s", familyname(hint->ai_family, buf)); in debug_dump_getaddrinfo_args()
426 if (hint->ai_socktype) in debug_dump_getaddrinfo_args()
427 fprintf(stderr, " SOCK_%s", socktypename(hint->ai_socktype, buf)); in debug_dump_getaddrinfo_args()
428 if (hint->ai_protocol) in debug_dump_getaddrinfo_args()
[all …]
/titanic_50/usr/src/uts/common/io/aggr/
H A Daggr_send.c72 #define HASH_HINT(hint) \ argument
73 ((hint) ^ ((hint) >> 24) ^ ((hint) >> 16) ^ ((hint) >> 8))
80 aggr_find_tx_ring(void *arg, mblk_t *mp, uintptr_t hint, mac_ring_handle_t *rh) in aggr_find_tx_ring() argument
106 if (hint == 0) { in aggr_find_tx_ring()
110 hash = hint; in aggr_find_tx_ring()
/titanic_50/usr/src/lib/libdhcpagent/common/
H A Ddhcp_stable.c261 make_stable_iaid(const char *intf, uint32_t hint) in make_stable_iaid() argument
269 return (hint); in make_stable_iaid()
289 if (ie.ie_iaid == hint) in make_stable_iaid()
290 hint = 0; in make_stable_iaid()
296 if (hint != 0) in make_stable_iaid()
297 return (hint); in make_stable_iaid()
/titanic_50/usr/src/cmd/avs/sdbc/
H A Dscmadm.c843 save_hint(int cd, int hint, int flag) in save_hint() argument
852 if (hint != NSC_WRTHRU && hint != NSC_NOCACHE) in save_hint()
892 if (hint == NSC_WRTHRU) in save_hint()
906 else if (hint == NSC_WRTHRU) in save_hint()
940 int hint; in scmadm_lintmain() local
1125 if ((hint = SDBC_IOCTL(SDBC_GET_NODE_HINT, 0, 0, in scmadm_lintmain()
1136 print_hint(hint, 1); in scmadm_lintmain()
1139 print_hint(hint, 0); in scmadm_lintmain()
1142 if (get_hint(argv[optind], &hint, &flag) == -1) in scmadm_lintmain()
1144 if (hint == -1) { in scmadm_lintmain()
[all …]
/titanic_50/usr/src/uts/common/io/
H A Detheraddr.c38 localetheraddr(struct ether_addr *hint, struct ether_addr *result) in localetheraddr() argument
45 if (hint == NULL) { in localetheraddr()
50 addr = *hint; in localetheraddr()
/titanic_50/usr/src/lib/libtnfprobe/
H A Dtnf_buf.c696 uint_t *hint = (uint_t *)((uintptr_t)fh + fh->next_fw_alloc); in tnfw_b_fw_alloc() local
709 sprintf(tmp_buf, "tnfw_b_vw_alloc: (1)hint=%p\n", hint); in tnfw_b_fw_alloc()
713 while ((uintptr_t)hint != (uintptr_t)zone_end) { in tnfw_b_fw_alloc()
716 hint, zone_end); in tnfw_b_fw_alloc()
728 sprintf(tmp_buf, "tnfw_b_vw_alloc: *hint=%ld\n", *hint); in tnfw_b_fw_alloc()
731 if (*hint == 0) { in tnfw_b_fw_alloc()
732 swapin = tnfw_b_atomic_swap(hint, TNFW_B_FW_INVALID); in tnfw_b_fw_alloc()
736 *hint = swapin; in tnfw_b_fw_alloc()
742 ++hint; in tnfw_b_fw_alloc()
744 sprintf(tmp_buf, "tnfw_b_vw_alloc: (3)hint=%p\n", hint); in tnfw_b_fw_alloc()
[all …]
/titanic_50/usr/src/uts/sun4u/serengeti/io/
H A Dssm.c99 ssm_generate_event(int node, int board, int hint);
882 int hint = SE_NO_HINT; in ssm_ioctl() local
887 hint = SE_HINT_INSERT; in ssm_ioctl()
890 hint = SE_HINT_REMOVE; in ssm_ioctl()
895 hint); in ssm_ioctl()
946 ssm_generate_event(int node, int board, int hint) in ssm_generate_event() argument
979 evnt_val.value.sv_string = SE_HINT2STR(hint); in ssm_generate_event()
1015 int hint; in ssm_dr_event_handler() local
1036 hint = SE_HINT_REMOVE; in ssm_dr_event_handler()
1039 hint = SE_HINT_INSERT; in ssm_dr_event_handler()
[all …]
/titanic_50/usr/src/lib/efcode/packages/
H A Dmemalloc.c45 void *hint; in claim() local
51 hint = (void *)POP(DS); in claim()
55 fc_int2cell(align), fc_size2cell(size), fc_ptr2cell(hint), &vaddr); in claim()
/titanic_50/usr/src/cmd/picl/plugins/sun4v/mdesc/
H A Dmdescplugin.c106 char *hint; in dr_handler() local
132 if (nvlist_lookup_string(nvlp, PICLEVENTARG_HINT, &hint)) { in dr_handler()
145 if (strcmp(hint, DR_HINT_INSERT) == 0) in dr_handler()
147 else if (strcmp(hint, DR_HINT_REMOVE) == 0) in dr_handler()
/titanic_50/usr/src/cmd/kvmstat/
H A Dkvmstat.c271 int hint = field->ksf_hint; in kstat_instances_read() local
276 if (hint < 0 || hint >= ksp->ks_ndata || in kstat_instances_read()
277 strcmp(field->ksf_name, nm[hint].name) != 0) { in kstat_instances_read()
278 hint = kstat_field_hint(ksp, field); in kstat_instances_read()
281 ksi->ksi_data[ksi->ksi_gen][i] = nm[hint].value.ui64; in kstat_instances_read()
/titanic_50/usr/src/uts/common/avs/ns/sdbc/
H A DCACHE_SPEC.txt100 This hint can be set on a node, a device or per access.
102 If this hint is cleared, when only one node is up,
105 This is a node hint.
108 This hint can be set on a device or per access.
349 _sd_set_hint(cd, hint)
350 _sd_clear_hint(cd, hint)
351 _sd_get_cd_hint(cd, &hint)
352 _sd_set_node_hint(hint)
353 _sd_clear_node_hint(hint)
354 _sd_get_node_hint(&hint)
[all …]
H A Dsd_bcache.h1115 extern int _sd_set_hint(int cd, uint_t hint);
1116 extern int _sd_clear_hint(int cd, uint_t hint);
1117 extern int _sd_get_cd_hint(int cd, uint_t *hint);
1118 extern int _sd_set_node_hint(uint_t hint);
1119 extern int _sd_clear_node_hint(uint_t hint);
1120 extern int _sd_get_node_hint(uint_t *hint);
/titanic_50/usr/src/uts/i86pc/io/
H A Dimmu_qinv.c165 uint64_t addr, uint_t am, uint_t hint, tlb_inv_g_t type);
236 uint64_t addr, uint_t am, uint_t hint, tlb_inv_g_t type) in qinv_iotlb_common() argument
256 dsc.hi = IOTLB_INV_DSC_HIGH(addr, hint, am); in qinv_iotlb_common()
605 uint64_t dvma, uint_t count, uint_t hint, immu_inv_wait_t *iwp) in immu_qinv_iotlb_psi() argument
618 dvma, am, hint, TLB_INV_G_PAGE); in immu_qinv_iotlb_psi()
625 dvma, 0, hint, TLB_INV_G_DOMAIN); in immu_qinv_iotlb_psi()
631 0, hint, TLB_INV_G_DOMAIN); in immu_qinv_iotlb_psi()
/titanic_50/usr/src/lib/gss_mechs/mech_krb5/krb5/os/
H A Dlocate_kdc.c273 struct addrinfo *addrs, *a, *anext, hint; in krb5int_add_host_to_list() local
282 memset(&hint, 0, sizeof(hint)); in krb5int_add_host_to_list()
283 hint.ai_family = family; in krb5int_add_host_to_list()
284 hint.ai_socktype = socktype; in krb5int_add_host_to_list()
286 hint.ai_flags = AI_NUMERICSERV; in krb5int_add_host_to_list()
290 err = getaddrinfo (hostname, portbuf, &hint, &addrs); in krb5int_add_host_to_list()
308 hint.ai_family = AF_INET; in krb5int_add_host_to_list()
309 err = getaddrinfo (hostname, secportbuf, &hint, &addrs); in krb5int_add_host_to_list()
/titanic_50/usr/src/lib/libslp/javalib/com/sun/slp/
H A DServiceLocationManager.java329 Vector hint = config.getTypeHint(); in performSADiscovery() local
334 int i, n = hint.size(); in performSADiscovery()
340 buf.append(hint.elementAt(i).toString()); in performSADiscovery()
H A DSLPConfig.java797 Vector hint = new Vector(); in getTypeHint() local
801 return hint; in getTypeHint()
809 hint = SrvLocHeader.parseCommaSeparatedListIn(sTypeList, true); in getTypeHint()
811 int i, n = hint.size(); in getTypeHint()
814 String type = (String)hint.elementAt(i); in getTypeHint()
816 hint.setElementAt(new ServiceType(type), i); in getTypeHint()
824 hint.removeAllElements(); in getTypeHint()
828 return hint; in getTypeHint()
/titanic_50/usr/src/cmd/sendmail/aux/
H A Deditmap.c293 char *hint; local
296 (hint = smdb_db_definition(typename)) != NULL)
299 progname, hint, typename);
H A Dmakemap.c327 char *hint; local
330 (hint = smdb_db_definition(typename)) != NULL)
333 progname, hint, typename);
/titanic_50/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c1149 mibcache_realloc(int hint) in mibcache_realloc() argument
1151 uint_t count = (uint_t)hint; in mibcache_realloc()
1154 if (hint < 0) in mibcache_realloc()
1159 if (hint < n_mibcache_rows) { in mibcache_realloc()
1332 refreshq_realloc(int hint) in refreshq_realloc() argument
1334 uint_t count = (uint_t)hint; in refreshq_realloc()
1337 if (hint < 0) in refreshq_realloc()
1340 if (hint < n_refreshq_slots) { in refreshq_realloc()
/titanic_50/usr/src/lib/libshell/common/sh/
H A Dio.c120 getaddrinfo(const char* node, const char* service, const struct addrinfo* hint, struct addrinfo **a… in getaddrinfo() argument
143 if (hint) in getaddrinfo()
144 switch (hint->ai_socktype) in getaddrinfo()
147 switch (hint->ai_protocol) in getaddrinfo()
178 if (hint) in getaddrinfo()
179 *ap = *hint; in getaddrinfo()
213 struct addrinfo hint; in inetopen() local
217 memset(&hint, 0, sizeof(hint)); in inetopen()
218 hint.ai_family = PF_UNSPEC; in inetopen()
228 hint.ai_socktype = SOCK_STREAM; in inetopen()
[all …]
/titanic_50/usr/src/cmd/latencytop/common/
H A Ddisplay.c541 print_hint(const char *hint) in print_hint() argument
562 if (hint == NULL) { in print_hint()
567 hint = HINTS[index]; in print_hint()
578 (void) mvwprintw(hintbar, 0, (screen_width - strlen(hint)) / 2, in print_hint()
579 "%s", hint); in print_hint()
/titanic_50/usr/src/uts/sun4u/os/
H A Dppage.c156 ppmapin(page_t *pp, uint_t vprot, caddr_t hint) in ppmapin() argument
167 if ((intptr_t)hint != -1L) { in ppmapin()
168 color = addr_to_vcolor(hint); in ppmapin()
/titanic_50/usr/src/uts/common/os/
H A Dddi_hp_impl.c421 ddi_hp_cn_sysevent_t event_sub_class, int hint, int kmflag) in ddihp_cn_gen_sysevent() argument
484 switch (hint) { in ddihp_cn_gen_sysevent()
489 SE_HINT2STR(hint)); in ddihp_cn_gen_sysevent()
514 switch (hint) { in ddihp_cn_gen_sysevent()
519 SE_REQ2STR(hint)); in ddihp_cn_gen_sysevent()
/titanic_50/usr/src/cmd/syseventd/daemons/syseventconfd/
H A Dsyseventconfd.h86 static arg_t *init_arglist(int hint);

1234