Lines Matching defs:nsm
50 struct nsm { struct
58 struct nsm_msg msg; argument
67 static struct nsm *file_to_nsm(struct file *file) in file_to_nsm() argument
151 static int fill_req_raw(struct nsm *nsm, struct nsm_data_req *req, in fill_req_raw()
169 static int parse_resp_raw(struct nsm *nsm, struct nsm_data_resp *resp, in parse_resp_raw()
186 struct nsm *nsm = vq->vdev->priv; in nsm_vq_callback() local
192 static int nsm_sendrecv_msg_locked(struct nsm *nsm) in nsm_sendrecv_msg_locked()
260 static int fill_req_get_random(struct nsm *nsm, struct nsm_data_req *req) in fill_req_get_random()
275 static int parse_resp_get_random(struct nsm *nsm, struct nsm_data_resp *resp, in parse_resp_get_random()
325 struct nsm *nsm = hwrng_to_nsm(rng); in nsm_rng_read() local
357 struct nsm *nsm = file_to_nsm(file); in nsm_dev_ioctl() local
405 struct nsm *nsm = vdev->priv; in nsm_device_init_vq() local
424 struct nsm *nsm; in nsm_device_probe() local
482 struct nsm *nsm = vdev->priv; in nsm_device_remove() local