Searched defs:kf (Results 1 - 10 of 10) sorted by relevance

/illumos-gate/usr/src/lib/fm/topo/modules/sun4u/chip/
H A Dchip_sun4u.c183 kstat_named_t *ks, *kf; local
234 if ((kf = kstat_data_lookup(chip->chip_cpustats[i], "cpu_fru"))
235 != NULL && strcmp(KSTAT_NAMED_STR_PTR(kf),
240 if (topo_mod_str2nvl(mod, KSTAT_NAMED_STR_PTR(kf),
246 if ((lp = strchr(KSTAT_NAMED_STR_PTR(kf), '='))
/illumos-gate/usr/src/lib/krb5/kdb/
H A Dkdb_default.c150 FILE *kf; local
173 if (!(kf = fopen(keyfile, "wbF")))
175 if (!(kf = fopen(keyfile, "wF")))
189 2, 1, kf) != 1) ||
191 sizeof(key->length), 1, kf) != 1) ||
194 kf) != key->length)) {
196 (void) fclose(kf);
198 if (fclose(kf) == EOF)
218 FILE *kf = NULL; local
230 if (!(kf
[all...]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c280 int kf; local
283 kf = KM_SLEEP;
285 kf = KM_NOSLEEP;
318 kf);
350 in_pktp->pkt_cdbp = kmem_alloc(cmdlen, kf);
357 in_pktp->pkt_private = kmem_alloc(pplen, kf);
365 in_pktp->pkt_scbp = kmem_alloc(statuslen, kf);
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dhba.c1286 int kf = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; local
1298 if ((cmd = kmem_cache_alloc(sp->s_cmd_cache, kf)) == NULL) {
1321 if (scsa1394_cmd_ext_alloc(sp, cmd, kf) !=
1416 scsa1394_cmd_cache_constructor(void *buf, void *cdrarg, int kf) argument
1437 scsa1394_cmd_ext_alloc(scsa1394_state_t *sp, scsa1394_cmd_t *cmd, int kf) argument
1443 if ((buf = kmem_zalloc(cmd->sc_cdb_len, kf)) == NULL) {
1451 if ((buf = kmem_zalloc(cmd->sc_scb_len, kf)) == NULL) {
1460 if ((buf = kmem_zalloc(cmd->sc_priv_len, kf)) == NULL) {
1519 int kf = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; local
1607 if (scsa1394_cmd_dmac2seg(sp, cmd, &dmac, ccount, kf) !
1653 scsa1394_cmd_dmac2seg(scsa1394_state_t *sp, scsa1394_cmd_t *cmd, ddi_dma_cookie_t *dmac, uint_t ccount, int kf) argument
2653 scsa1394_kmem_realloc(void *old_buf, int old_size, int new_size, size_t elsize, int kf) argument
[all...]
/illumos-gate/usr/src/uts/intel/io/scsi/adapters/pvscsi/
H A Dpvscsi.c1166 pvscsi_cmd_ext_alloc(pvscsi_softc_t *pvs, pvscsi_cmd_t *cmd, int kf) argument
1172 if ((buf = kmem_zalloc(cmd->cmdlen, kf)) == NULL)
1179 if ((buf = kmem_zalloc(cmd->statuslen, kf)) == NULL)
1187 if ((buf = kmem_zalloc(cmd->tgtlen, kf)) == NULL)
2013 int kf = (callback == SLEEP_FUNC) ? KM_SLEEP: KM_NOSLEEP; local
2029 if ((cmd = kmem_cache_alloc(pvs->cmd_cache, kf)) == NULL)
2063 if (pvscsi_cmd_ext_alloc(pvs, cmd, kf) != DDI_SUCCESS) {
/illumos-gate/usr/src/uts/sun/io/scsi/adapters/
H A Dsf.c1352 int tgtlen, int statuslen, int kf)
1362 if ((tgt = kmem_zalloc(tgtlen, kf)) == NULL) {
1370 if ((scbp = kmem_zalloc((size_t)statuslen, kf)) == NULL) {
1421 int kf; local
1445 kf = (callback == SLEEP_FUNC)? KM_SLEEP: KM_NOSLEEP;
1447 if ((cmd = kmem_cache_alloc(sf->sf_pkt_cache, kf)) != NULL) {
1490 tgtlen, statuslen, kf);
1351 sf_pkt_alloc_extern(struct sf *sf, struct sf_pkt *cmd, int tgtlen, int statuslen, int kf) argument
H A Dfas.c209 int cmdlen, int tgtlen, int statuslen, int kf);
2067 int kf; local
2085 kf = (callback == SLEEP_FUNC)? KM_SLEEP: KM_NOSLEEP;
2090 cmd = kmem_cache_alloc(fas->f_kmem_cache, kf);
2127 cmdlen, tgtlen, statuslen, kf);
2268 int cmdlen, int tgtlen, int statuslen, int kf)
2275 if ((cdbp = kmem_zalloc((size_t)cmdlen, kf)) == NULL) {
2283 if ((tgt = kmem_zalloc(tgtlen, kf)) == NULL) {
2291 if ((scbp = kmem_zalloc((size_t)statuslen, kf)) == NULL) {
2267 fas_pkt_alloc_extern(struct fas *fas, struct fas_cmd *sp, int cmdlen, int tgtlen, int statuslen, int kf) argument
/illumos-gate/usr/src/uts/common/io/aac/
H A Daac.c5136 int kf = (cb == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; local
5296 acp->left_cookien, kf);
/illumos-gate/usr/src/uts/common/io/fibre-channel/ulp/
H A Dfcp.c11380 int kf; local
11399 kf = (callback == SLEEP_FUNC) ? KM_SLEEP: KM_NOSLEEP;
11428 if (fc_ulp_init_packet(pptr->port_fp_handle, fpkt, kf)
/illumos-gate/usr/src/uts/common/io/scsi/adapters/mpt_sas/
H A Dmptsas.c281 int cmdlen, int tgtlen, int statuslen, int kf);
3625 int kf; local
3627 kf = (callback == SLEEP_FUNC)? KM_SLEEP: KM_NOSLEEP;
3657 cmd = kmem_cache_alloc(mpt->m_kmem_cache, kf);
3688 cmdlen, tgtlen, statuslen, kf);
3869 cmd->cmd_cookiec), kf);
4109 mptsas_cmdarqsize(mptsas_t *mpt, mptsas_cmd_t *cmd, size_t senselength, int kf) argument
4119 i = (kf == KM_SLEEP ? rmalloc_wait : rmalloc)
4144 int cmdlen, int tgtlen, int statuslen, int kf)
4149 "cmd=0x%p cmdlen=%d tgtlen=%d statuslen=%d kf
4143 mptsas_pkt_alloc_extern(mptsas_t *mpt, mptsas_cmd_t *cmd, int cmdlen, int tgtlen, int statuslen, int kf) argument
[all...]

Completed in 196 milliseconds