Home
last modified time | relevance | path

Searched refs:dres (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/fs/xfs/libxfs/
Dxfs_defer.c276 struct xfs_defer_resources *dres, in xfs_defer_save_resources() argument
283 BUILD_BUG_ON(NBBY * sizeof(dres->dr_ordered) < XFS_DEFER_OPS_NR_BUFS); in xfs_defer_save_resources()
291 if (dres->dr_bufs >= XFS_DEFER_OPS_NR_BUFS) { in xfs_defer_save_resources()
296 dres->dr_ordered |= in xfs_defer_save_resources()
297 (1U << dres->dr_bufs); in xfs_defer_save_resources()
300 dres->dr_bp[dres->dr_bufs++] = bli->bli_buf; in xfs_defer_save_resources()
307 if (dres->dr_inos >= XFS_DEFER_OPS_NR_INODES) { in xfs_defer_save_resources()
313 dres->dr_ip[dres->dr_inos++] = ili->ili_inode; in xfs_defer_save_resources()
328 struct xfs_defer_resources *dres) in xfs_defer_restore_resources() argument
333 for (i = 0; i < dres->dr_inos; i++) in xfs_defer_restore_resources()
[all …]
Dxfs_defer.h123 struct xfs_defer_resources *dres);
126 void xfs_defer_resources_rele(struct xfs_defer_resources *dres);
/linux-6.1.9/drivers/firmware/arm_scmi/
Dnotify.c1441 struct scmi_notifier_devres *dres = res; in scmi_devm_release_notifier() local
1443 scmi_notifier_unregister(dres->handle, dres->proto_id, dres->evt_id, in scmi_devm_release_notifier()
1444 dres->src_id, dres->nb); in scmi_devm_release_notifier()
1469 struct scmi_notifier_devres *dres; in scmi_devm_notifier_register() local
1471 dres = devres_alloc(scmi_devm_release_notifier, in scmi_devm_notifier_register()
1472 sizeof(*dres), GFP_KERNEL); in scmi_devm_notifier_register()
1473 if (!dres) in scmi_devm_notifier_register()
1479 devres_free(dres); in scmi_devm_notifier_register()
1483 dres->handle = sdev->handle; in scmi_devm_notifier_register()
1484 dres->proto_id = proto_id; in scmi_devm_notifier_register()
[all …]
Ddriver.c1686 struct scmi_protocol_devres *dres = res; in scmi_devm_release_protocol() local
1688 scmi_protocol_release(dres->handle, dres->protocol_id); in scmi_devm_release_protocol()
1695 struct scmi_protocol_devres *dres; in scmi_devres_protocol_instance_get() local
1697 dres = devres_alloc(scmi_devm_release_protocol, in scmi_devres_protocol_instance_get()
1698 sizeof(*dres), GFP_KERNEL); in scmi_devres_protocol_instance_get()
1699 if (!dres) in scmi_devres_protocol_instance_get()
1704 devres_free(dres); in scmi_devres_protocol_instance_get()
1708 dres->handle = sdev->handle; in scmi_devres_protocol_instance_get()
1709 dres->protocol_id = protocol_id; in scmi_devres_protocol_instance_get()
1710 devres_add(&sdev->dev, dres); in scmi_devres_protocol_instance_get()
[all …]
/linux-6.1.9/drivers/gpio/
Dgpiolib-devres.c110 struct devres *dres; in devm_gpiod_get_index() local
112 dres = devres_find(dev, devm_gpiod_release, in devm_gpiod_get_index()
114 if (dres) in devm_gpiod_get_index()
165 struct devres *dres; in devm_gpiod_get_from_of_node() local
167 dres = devres_find(dev, devm_gpiod_release, in devm_gpiod_get_from_of_node()
169 if (dres) in devm_gpiod_get_from_of_node()
/linux-6.1.9/scripts/kconfig/
Dmconf.c394 int dres, vscroll = 0, hscroll = 0; in search_conf() local
405 dres = dialog_inputbox("Search Configuration Parameter", in search_conf()
408 switch (dres) { in search_conf()
443 dres = show_textbox_ext("Search Results", (char *) in search_conf()
449 if (dres == keys[i]) { in search_conf()
Dnconf.c695 int dres; in search_conf() local
702 dres = dialog_inputbox(main_window, in search_conf()
706 switch (dres) { in search_conf()
/linux-6.1.9/fs/xfs/
Dxfs_log_recover.c2468 struct xfs_defer_resources dres; in xlog_finish_defer_ops() local
2492 xfs_defer_ops_continue(dfc, tp, &dres); in xlog_finish_defer_ops()
2494 xfs_defer_resources_rele(&dres); in xlog_finish_defer_ops()