Lines Matching defs:thing

158 	void *thing = NULL;
382 ASSERT(thing == NULL);
383 thing = kmem_alloc(thingsize, KM_SLEEP);
397 if (thing) {
398 if (copyin(cmaddr, thing, thingsize)) {
399 kmem_free(thing, thingsize);
410 if (thing != NULL)
411 kmem_free(thing, thingsize);
441 proc_t *prp = thing;
448 thing = NULL;
454 user_t *userp = thing;
462 thing = NULL;
551 if (thing && thingsize != (Nlwp+1) * sizeof (id_t)) {
552 kmem_free(thing, thingsize);
553 thing = NULL;
555 if (thing == NULL) {
557 thing = kmem_alloc(thingsize, KM_NOSLEEP);
559 if (thing == NULL) {
564 idp = thing;
565 thing = NULL;
806 bzero(thing, thingsize);
810 prgetprxregs(lwp, thing);
814 if (copyout(thing, cmaddr, thingsize))
820 if (thing) {
821 kmem_free(thing, thingsize);
822 thing = NULL;
831 else if (thing) {
834 prsetprxregs(lwp, thing);
838 if (thing) {
839 kmem_free(thing, thingsize);
840 thing = NULL;
860 if (thing && thingsize != (Nlwp+1) * sizeof (prstatus_t)) {
861 kmem_free(thing, thingsize);
862 thing = NULL;
864 if (thing == NULL) {
866 thing = kmem_alloc(thingsize, KM_NOSLEEP);
868 if (thing == NULL) {
873 Bprsp = thing;
874 thing = NULL;
919 struct sigaction *sap = thing;
928 thing = NULL;
1134 if (thing && thingsize !=
1136 kmem_free(thing, thingsize);
1137 thing = NULL;
1139 if (thing == NULL) {
1142 thing = kmem_alloc(thingsize, KM_NOSLEEP);
1144 if (thing == NULL) {
1149 pup = thing;
1211 kmem_free(thing, thingsize);
1212 thing = NULL;
1263 if (thing && thingsize != (n+1) * sizeof (*ssd)) {
1264 kmem_free(thing, thingsize);
1265 thing = NULL;
1267 if (thing == NULL) {
1269 thing = kmem_alloc(thingsize, KM_NOSLEEP);
1271 if (thing == NULL) {
1278 ssd = thing;
1279 thing = NULL;
1298 gwindows_t *gwp = thing;
1309 thing = NULL;
1321 ASSERT(thing == NULL);
1688 void *thing = NULL;
1937 ASSERT(thing == NULL);
1938 thing = kmem_alloc(thingsize, KM_SLEEP);
1952 if (thing) {
1953 if (copyin(cmaddr, thing, thingsize)) {
1954 kmem_free(thing, thingsize);
1965 if (thing != NULL)
1966 kmem_free(thing, thingsize);
1996 proc_t *prp = thing;
2003 thing = NULL;
2009 user_t *userp = thing;
2017 thing = NULL;
2128 if (thing && thingsize != (Nlwp+1) * sizeof (id_t)) {
2129 kmem_free(thing, thingsize);
2130 thing = NULL;
2132 if (thing == NULL) {
2134 thing = kmem_alloc(thingsize, KM_NOSLEEP);
2136 if (thing == NULL) {
2141 idp = thing;
2142 thing = NULL;
2405 bzero(thing, thingsize);
2409 prgetprxregs(lwp, thing);
2415 copyout(thing, cmaddr, thingsize))
2417 if (thing) {
2418 kmem_free(thing, thingsize);
2419 thing = NULL;
2430 else if (thing) {
2433 prsetprxregs(lwp, thing);
2437 if (thing) {
2438 kmem_free(thing, thingsize);
2439 thing = NULL;
2464 if (thing) {
2465 kmem_free(thing, thingsize);
2466 thing = NULL;
2474 if (thing && thingsize != (Nlwp+1) * sizeof (prstatus32_t)) {
2475 kmem_free(thing, thingsize);
2476 thing = NULL;
2478 if (thing == NULL) {
2480 thing = kmem_alloc(thingsize, KM_NOSLEEP);
2482 if (thing == NULL) {
2487 Bprsp = (prstatus32_t *)thing;
2488 thing = NULL;
2533 struct sigaction32 *sap = thing;
2547 thing = NULL;
2756 if (thing && thingsize !=
2758 kmem_free(thing, thingsize);
2759 thing = NULL;
2761 if (thing == NULL) {
2764 thing = kmem_alloc(thingsize, KM_NOSLEEP);
2766 if (thing == NULL) {
2771 pup = (prhusage_t *)thing;
2833 kmem_free(thing, thingsize);
2834 thing = NULL;
2895 if (thing && thingsize != (n+1) * sizeof (*ssd)) {
2896 kmem_free(thing, thingsize);
2897 thing = NULL;
2899 if (thing == NULL) {
2901 thing = kmem_alloc(thingsize, KM_NOSLEEP);
2903 if (thing == NULL) {
2910 ssd = thing;
2911 thing = NULL;
2930 gwindows32_t *gwp = thing;
2946 thing = NULL;
2958 ASSERT(thing == NULL);