Searched refs:cb_info (Results 1 – 2 of 2) sorted by relevance
184 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_create_svc() local191 if (cb_info->serv) in nfs_callback_create_svc()192 return cb_info->serv; in nfs_callback_create_svc()198 if (cb_info->users) in nfs_callback_create_svc()200 cb_info->users); in nfs_callback_create_svc()213 cb_info->serv = serv; in nfs_callback_create_svc()228 struct nfs_callback_data *cb_info = &nfs_callback_info[minorversion]; in nfs_callback_up() local248 cb_info->users++; in nfs_callback_up()250 if (!cb_info->users) { in nfs_callback_up()251 svc_set_num_threads(cb_info->serv, NULL, 0); in nfs_callback_up()[all …]
1139 struct notifier_cb_info *cb_info = NULL; in update_notifier_cb() local1142 cb_info = notifier_hash_node_get(notify_id, type); in update_notifier_cb()1143 cb_found = !!cb_info; in update_notifier_cb()1149 cb_info = kzalloc(sizeof(*cb_info), GFP_KERNEL); in update_notifier_cb()1150 if (!cb_info) in update_notifier_cb()1153 cb_info->type = type; in update_notifier_cb()1154 cb_info->cb = cb; in update_notifier_cb()1155 cb_info->cb_data = cb_data; in update_notifier_cb()1157 hash_add(drv_info->notifier_hash, &cb_info->hnode, notify_id); in update_notifier_cb()1159 hash_del(&cb_info->hnode); in update_notifier_cb()[all …]