Lines Matching refs:fw_work

1015 	struct firmware_work *fw_work;  in request_firmware_work_func()  local
1018 fw_work = container_of(work, struct firmware_work, work); in request_firmware_work_func()
1020 _request_firmware(&fw, fw_work->name, fw_work->device, NULL, 0, 0, in request_firmware_work_func()
1021 fw_work->opt_flags); in request_firmware_work_func()
1022 fw_work->cont(fw, fw_work->context); in request_firmware_work_func()
1023 put_device(fw_work->device); /* taken in request_firmware_nowait() */ in request_firmware_work_func()
1025 module_put(fw_work->module); in request_firmware_work_func()
1026 kfree_const(fw_work->name); in request_firmware_work_func()
1027 kfree(fw_work); in request_firmware_work_func()
1059 struct firmware_work *fw_work; in request_firmware_nowait() local
1061 fw_work = kzalloc(sizeof(struct firmware_work), gfp); in request_firmware_nowait()
1062 if (!fw_work) in request_firmware_nowait()
1065 fw_work->module = module; in request_firmware_nowait()
1066 fw_work->name = kstrdup_const(name, gfp); in request_firmware_nowait()
1067 if (!fw_work->name) { in request_firmware_nowait()
1068 kfree(fw_work); in request_firmware_nowait()
1071 fw_work->device = device; in request_firmware_nowait()
1072 fw_work->context = context; in request_firmware_nowait()
1073 fw_work->cont = cont; in request_firmware_nowait()
1074 fw_work->opt_flags = FW_OPT_NOWAIT | in request_firmware_nowait()
1078 kfree_const(fw_work->name); in request_firmware_nowait()
1079 kfree(fw_work); in request_firmware_nowait()
1084 kfree_const(fw_work->name); in request_firmware_nowait()
1085 kfree(fw_work); in request_firmware_nowait()
1089 get_device(fw_work->device); in request_firmware_nowait()
1090 INIT_WORK(&fw_work->work, request_firmware_work_func); in request_firmware_nowait()
1091 schedule_work(&fw_work->work); in request_firmware_nowait()