/** * wcnss_debugfs_open() - SSR wrapper for __wcnss_debugfs_open * @inode: inode pointer * @file: file pointer * * Return: 0 on success, error number otherwise */ static int wcnss_debugfs_open(struct inode *inode, struct file *file) { int ret; vos_ssr_protect(__func__); ret = __wcnss_debugfs_open(inode, file); vos_ssr_unprotect(__func__); return ret; }
/** * iw_set_scan() - SSR wrapper for __iw_set_scan * @dev: Pointer to the net device. * @info: Pointer to the iw_request_info. * @wrqu: Pointer to the iwreq_data. * @extra: Pointer to the data. * * Return: 0 on success, error number otherwise */ int iw_set_scan(struct net_device *dev, struct iw_request_info *info, union iwreq_data *wrqu, char *extra) { int ret; vos_ssr_protect(__func__); ret = __iw_set_scan(dev, info, wrqu, extra); vos_ssr_unprotect(__func__); return ret; }
/** * wcnss_patterngen_write() - SSR wrapper for __wcnss_patterngen_write * @file: file pointer * @buf: buffer * @count: count * @ppos: position pointer * * Return: 0 on success, error number otherwise */ static ssize_t wcnss_patterngen_write(struct file *file, const char __user *buf, size_t count, loff_t *ppos) { ssize_t ret; vos_ssr_protect(__func__); ret = __wcnss_patterngen_write(file, buf, count, ppos); vos_ssr_unprotect(__func__); return ret; }
void wmi_rx_event_work(struct work_struct *work) { vos_ssr_protect(__func__); __wmi_rx_event_work(work); vos_ssr_unprotect(__func__); }