Lines Matching defs:fn
244 * @fn - Function to be called upon completion of the activation.
245 * Function fn is called with data (below) and the error code.
246 * Function fn may be called from the same calling context. So,
247 * do not hold the lock in the caller which may be needed in fn.
248 * @data - data passed to the function fn upon completion.
251 int scsi_dh_activate(struct request_queue *q, activate_complete fn, void *data)
258 if (fn)
259 fn(data, err);
275 err = sdev->handler->activate(sdev, fn, data);
282 if (fn)
283 fn(data, err);