A jailhouse term used by inmates to define a shared-feast, in which each inmate involved contributes at least one food item (like chips, ramen noodles, etc), which is then mixed together and enjoyed by all the participating inmates.
Getting stoned. Smoking marijuana. The phrase comes the act of "cooking" weed in a vaporizer, which sometimes resembles a rice cooker. Hence, cooking up some rice.