Searched refs:tres (Results 1 - 9 of 9) sorted by relevance

/linux-4.4.14/drivers/pnp/
H A Dresource.c169 struct resource *tres; pnp_check_port() local
196 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IO, i)); i++) { pnp_check_port()
197 if (tres != res && tres->flags & IORESOURCE_IO) { pnp_check_port()
198 tport = &tres->start; pnp_check_port()
199 tend = &tres->end; pnp_check_port()
210 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i)); pnp_for_each_dev()
212 if (tres->flags & IORESOURCE_IO) { pnp_for_each_dev()
213 if (cannot_compare(tres->flags)) pnp_for_each_dev()
215 if (tres->flags & IORESOURCE_WINDOW) pnp_for_each_dev()
217 tport = &tres->start; pnp_for_each_dev()
218 tend = &tres->end; pnp_for_each_dev()
232 struct resource *tres; pnp_check_mem() local
259 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_MEM, i)); i++) { pnp_check_mem()
260 if (tres != res && tres->flags & IORESOURCE_MEM) { pnp_check_mem()
261 taddr = &tres->start; pnp_check_mem()
262 tend = &tres->end; pnp_check_mem()
273 (tres = pnp_get_resource(tdev, IORESOURCE_MEM, i)); pnp_for_each_dev()
275 if (tres->flags & IORESOURCE_MEM) { pnp_for_each_dev()
276 if (cannot_compare(tres->flags)) pnp_for_each_dev()
278 if (tres->flags & IORESOURCE_WINDOW) pnp_for_each_dev()
280 taddr = &tres->start; pnp_for_each_dev()
281 tend = &tres->end; pnp_for_each_dev()
355 struct resource *tres; pnp_check_irq() local
375 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IRQ, i)); i++) { pnp_check_irq()
376 if (tres != res && tres->flags & IORESOURCE_IRQ) { pnp_check_irq()
377 if (tres->start == *irq) pnp_check_irq()
400 (tres = pnp_get_resource(tdev, IORESOURCE_IRQ, i)); pnp_for_each_dev()
402 if (tres->flags & IORESOURCE_IRQ) { pnp_for_each_dev()
403 if (cannot_compare(tres->flags)) pnp_for_each_dev()
405 if (tres->start == *irq) pnp_for_each_dev()
419 struct resource *tres; pnp_check_dma() local
439 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_DMA, i)); i++) { pnp_check_dma()
440 if (tres != res && tres->flags & IORESOURCE_DMA) { pnp_check_dma()
441 if (tres->start == *dma) pnp_check_dma()
459 (tres = pnp_get_resource(tdev, IORESOURCE_DMA, i)); pnp_for_each_dev()
461 if (tres->flags & IORESOURCE_DMA) { pnp_for_each_dev()
462 if (cannot_compare(tres->flags)) pnp_for_each_dev()
464 if (tres->start == *dma) pnp_for_each_dev()
/linux-4.4.14/fs/xfs/libxfs/
H A Dxfs_log_rlimit.c98 struct xfs_trans_res tres = {0}; xfs_log_calc_minimum_size() local
103 xfs_log_get_max_trans_res(mp, &tres); xfs_log_calc_minimum_size()
105 max_logres = xfs_log_calc_unit_res(mp, tres.tr_logres); xfs_log_calc_minimum_size()
106 if (tres.tr_logcount > 1) xfs_log_calc_minimum_size()
107 max_logres *= tres.tr_logcount; xfs_log_calc_minimum_size()
H A Dxfs_attr.c207 struct xfs_trans_res tres; xfs_attr_set() local
265 tres.tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + xfs_attr_set()
267 tres.tr_logcount = XFS_ATTRSET_LOG_COUNT; xfs_attr_set()
268 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; xfs_attr_set()
269 error = xfs_trans_reserve(args.trans, &tres, args.total, 0); xfs_attr_set()
/linux-4.4.14/drivers/pci/hotplug/
H A Dcpqphp_pci.c1480 struct pci_resource *res, *tres; cpqhp_destroy_resource_list() local
1486 tres = res; cpqhp_destroy_resource_list()
1488 kfree(tres); cpqhp_destroy_resource_list()
1495 tres = res; cpqhp_destroy_resource_list()
1497 kfree(tres); cpqhp_destroy_resource_list()
1504 tres = res; cpqhp_destroy_resource_list()
1506 kfree(tres); cpqhp_destroy_resource_list()
1513 tres = res; cpqhp_destroy_resource_list()
1515 kfree(tres); cpqhp_destroy_resource_list()
1527 struct pci_resource *res, *tres; cpqhp_destroy_board_resources() local
1533 tres = res; cpqhp_destroy_board_resources()
1535 kfree(tres); cpqhp_destroy_board_resources()
1542 tres = res; cpqhp_destroy_board_resources()
1544 kfree(tres); cpqhp_destroy_board_resources()
1551 tres = res; cpqhp_destroy_board_resources()
1553 kfree(tres); cpqhp_destroy_board_resources()
1560 tres = res; cpqhp_destroy_board_resources()
1562 kfree(tres); cpqhp_destroy_board_resources()
H A Dcpqphp_core.c1315 struct pci_resource *tres; unload_cpqphpd() local
1338 tres = res; unload_cpqphpd()
1340 kfree(tres); unload_cpqphpd()
1345 tres = res; unload_cpqphpd()
1347 kfree(tres); unload_cpqphpd()
1352 tres = res; unload_cpqphpd()
1354 kfree(tres); unload_cpqphpd()
1359 tres = res; unload_cpqphpd()
1361 kfree(tres); unload_cpqphpd()
1376 tres = res; unload_cpqphpd()
1378 kfree(tres); unload_cpqphpd()
1383 tres = res; unload_cpqphpd()
1385 kfree(tres); unload_cpqphpd()
1390 tres = res; unload_cpqphpd()
1392 kfree(tres); unload_cpqphpd()
1397 tres = res; unload_cpqphpd()
1399 kfree(tres); unload_cpqphpd()
/linux-4.4.14/fs/xfs/
H A Dxfs_trans.c1028 struct xfs_trans_res tres; __xfs_trans_roll() local
1041 tres.tr_logres = trans->t_log_res; __xfs_trans_roll()
1042 tres.tr_logcount = trans->t_log_count; __xfs_trans_roll()
1067 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; __xfs_trans_roll()
1068 error = xfs_trans_reserve(trans, &tres, 0, 0); __xfs_trans_roll()
H A Dxfs_inode.c1151 struct xfs_trans_res *tres; xfs_create() local
1174 tres = &M_RES(mp)->tr_mkdir; xfs_create()
1178 tres = &M_RES(mp)->tr_create; xfs_create()
1188 error = xfs_trans_reserve(tp, tres, resblks, 0); xfs_create()
1192 error = xfs_trans_reserve(tp, tres, resblks, 0); xfs_create()
1197 error = xfs_trans_reserve(tp, tres, 0, 0); xfs_create()
1332 struct xfs_trans_res *tres; xfs_create_tmpfile() local
1353 tres = &M_RES(mp)->tr_create_tmpfile; xfs_create_tmpfile()
1354 error = xfs_trans_reserve(tp, tres, resblks, 0); xfs_create_tmpfile()
1358 error = xfs_trans_reserve(tp, tres, 0, 0); xfs_create_tmpfile()
/linux-4.4.14/drivers/net/ethernet/sun/
H A Dniu.h2715 tres:2,
2722 tres:2,
/linux-4.4.14/drivers/gpu/drm/i915/
H A Di915_gem.c1350 s64 tres = *timeout - (now - before); __i915_wait_request() local
1352 *timeout = tres < 0 ? 0 : tres; __i915_wait_request()

Completed in 390 milliseconds