Lines Matching defs:filesem
328 /* filesem protects: backing files in use */
329 struct rw_semaphore filesem;
1730 up_read(&fsg->filesem);
1731 down_write(&fsg->filesem);
1733 up_write(&fsg->filesem);
1734 down_read(&fsg->filesem);
2267 down_read(&fsg->filesem); // We're using the backing file
2470 up_read(&fsg->filesem);
3036 struct rw_semaphore *filesem = dev_get_drvdata(dev);
3038 container_of(filesem, struct fsg_dev, filesem);
3286 dev_set_drvdata(&curlun->dev, &fsg->filesem);
3511 init_rwsem(&fsg->filesem);