dev_cfg_data 130 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_device_data *dev_cfg_data; dev_cfg_data 132 drivers/crypto/qat/qat_common/adf_cfg.c dev_cfg_data = kzalloc(sizeof(*dev_cfg_data), GFP_KERNEL); dev_cfg_data 133 drivers/crypto/qat/qat_common/adf_cfg.c if (!dev_cfg_data) dev_cfg_data 135 drivers/crypto/qat/qat_common/adf_cfg.c INIT_LIST_HEAD(&dev_cfg_data->sec_list); dev_cfg_data 136 drivers/crypto/qat/qat_common/adf_cfg.c init_rwsem(&dev_cfg_data->lock); dev_cfg_data 137 drivers/crypto/qat/qat_common/adf_cfg.c accel_dev->cfg = dev_cfg_data; dev_cfg_data 140 drivers/crypto/qat/qat_common/adf_cfg.c dev_cfg_data->debug = debugfs_create_file("dev_cfg", S_IRUSR, dev_cfg_data 142 drivers/crypto/qat/qat_common/adf_cfg.c dev_cfg_data, dev_cfg_data 152 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_device_data *dev_cfg_data = accel_dev->cfg; dev_cfg_data 154 drivers/crypto/qat/qat_common/adf_cfg.c down_write(&dev_cfg_data->lock); dev_cfg_data 155 drivers/crypto/qat/qat_common/adf_cfg.c adf_cfg_section_del_all(&dev_cfg_data->sec_list); dev_cfg_data 156 drivers/crypto/qat/qat_common/adf_cfg.c up_write(&dev_cfg_data->lock); dev_cfg_data 172 drivers/crypto/qat/qat_common/adf_cfg.c struct adf_cfg_device_data *dev_cfg_data = accel_dev->cfg; dev_cfg_data 174 drivers/crypto/qat/qat_common/adf_cfg.c if (!dev_cfg_data) dev_cfg_data 177 drivers/crypto/qat/qat_common/adf_cfg.c down_write(&dev_cfg_data->lock); dev_cfg_data 178 drivers/crypto/qat/qat_common/adf_cfg.c adf_cfg_section_del_all(&dev_cfg_data->sec_list); dev_cfg_data 179 drivers/crypto/qat/qat_common/adf_cfg.c up_write(&dev_cfg_data->lock); dev_cfg_data 180 drivers/crypto/qat/qat_common/adf_cfg.c debugfs_remove(dev_cfg_data->debug); dev_cfg_data 181 drivers/crypto/qat/qat_common/adf_cfg.c kfree(dev_cfg_data);