Searched refs:wmp (Results 1 - 8 of 8) sorted by relevance
/illumos-gate/usr/src/uts/common/sys/scsi/targets/ |
H A D | sddef.h | 782 #define ONLIST(un, wmp) \ 783 (((un)->un_wm == (wmp)) || ((wmp)->wm_prev != NULL)) 789 #define FREE_ONLIST_WMAP(un, wmp) \ 790 if (!(wmp)->wm_wanted_count) { \ 791 sd_free_inlist_wmap((un), (wmp)); \ 792 (wmp) = NULL; \ 795 #define CHK_N_FREEWMP(un, wmp) \ 796 if (!ONLIST((un), (wmp))) { \ 797 kmem_cache_free((un)->un_wm_cache, (wmp)); \ [all...] |
/illumos-gate/usr/src/uts/common/fs/sockfs/ |
H A D | nl7curi.c | 1712 mblk_t *mp, *wmp, *persist; local 1749 wmp = NULL; 1793 if (wmp == NULL) { 1794 wmp = mp; 1796 wmp->b_next->b_cont = mp; 1797 wmp->b_next = mp->b_next; 1802 wmp->b_next = NULL; 1805 if ((error = kstrwritempnoqwait(vp, wmp)) != 0) 1814 if ((error = kstrwritemp(vp, wmp, fflg)) != 0) { 1818 kstrwritempnoqwait(vp, wmp)) ! [all...] |
/illumos-gate/usr/src/lib/lvm/libmeta/common/ |
H A D | meta_sp.c | 2424 mp_watermark_t *wmp, *watermarks; local 2451 wmp = watermarks = 2459 wmp->wm_magic = MD_SP_MAGIC; 2460 wmp->wm_version = MD_SP_VERSION; 2461 wmp->wm_type = ext->ext_type; 2462 wmp->wm_seq = ext->ext_seq; 2463 wmp->wm_length = ext->ext_length - MD_SP_WMSIZE; 2467 (void) strcpy(wmp->wm_mdname, 2470 (void) strcpy(wmp->wm_mdname, MD_SP_FREEWMNAME); 2473 (void) strcpy(wmp [all...] |
/illumos-gate/usr/src/uts/common/inet/sctp/ |
H A D | sctp_asconf.c | 150 mblk_t *wmp; local 154 wmp = allocb(sizeof (*wph) + sizeof (cid), BPRI_MED); 155 if (wmp == NULL) { 159 wmp->b_wptr += sizeof (*wph) + sizeof (cid); 160 wph = (sctp_parm_hdr_t *)wmp->b_rptr; 165 wmp->b_cont = mp; 166 return (wmp);
|
/illumos-gate/usr/src/uts/common/sys/lvm/ |
H A D | mdio.h | 229 uint64_t wmp; /* Pointer to array of watermarks */ member in struct:md_sp_update_wm 237 uint64_t wmp; /* Pointer to wm buffer */ member in struct:md_sp_read_wm
|
/illumos-gate/usr/src/uts/common/io/scsi/targets/ |
H A D | sd.c | 1641 static void sd_free_inlist_wmap(struct sd_lun *un, struct sd_w_map *wmp); 29317 struct sd_w_map *wmp = NULL; local 29346 if ((wmp != NULL) && ONLIST(un, wmp)) { 29350 * will also do wmp = NULL; 29352 FREE_ONLIST_WMAP(un, wmp); 29377 if (wmp == NULL) 29378 wmp = kmem_cache_alloc(un->un_wm_cache, 29380 if (wmp == NULL) { 29384 wmp 29479 struct sd_w_map *wmp; local 29509 sd_free_inlist_wmap(struct sd_lun *un, struct sd_w_map *wmp) argument [all...] |
/illumos-gate/usr/src/uts/common/io/lvm/softpart/ |
H A D | sp_ioctl.c | 271 if (ddi_copyin((void *)(uintptr_t)mup->wmp, watermarks, wsz, mode)) { 421 if (ddi_copyout(&watermark, (void *)(uintptr_t)mrp->wmp,
|
/illumos-gate/usr/src/cmd/syslogd/ |
H A D | syslogd.c | 191 static pthread_mutex_t wmp = PTHREAD_MUTEX_INITIALIZER; /* wallmsg lock */ variable 1915 (void) pthread_mutex_lock(&wmp); 1917 (void) pthread_mutex_unlock(&wmp);
|
Completed in 171 milliseconds