/kernel/linux/linux-5.10/drivers/pnp/ |
H A D | resource.c | 170 struct resource *tres; in pnp_check_port() local 197 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IO, i)); i++) { in pnp_check_port() 198 if (tres != res && tres->flags & IORESOURCE_IO) { in pnp_check_port() 199 tport = &tres->start; in pnp_check_port() 200 tend = &tres->end; in pnp_check_port() 211 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i)); in pnp_check_port() 213 if (tres->flags & IORESOURCE_IO) { in pnp_check_port() 214 if (cannot_compare(tres->flags)) in pnp_check_port() 216 if (tres in pnp_check_port() 233 struct resource *tres; pnp_check_mem() local 356 struct resource *tres; pnp_check_irq() local 420 struct resource *tres; pnp_check_dma() local [all...] |
/kernel/linux/linux-6.6/drivers/pnp/ |
H A D | resource.c | 171 struct resource *tres; in pnp_check_port() local 198 for (i = 0; (tres = pnp_get_resource(dev, IORESOURCE_IO, i)); i++) { in pnp_check_port() 199 if (tres != res && tres->flags & IORESOURCE_IO) { in pnp_check_port() 200 tport = &tres->start; in pnp_check_port() 201 tend = &tres->end; in pnp_check_port() 212 (tres = pnp_get_resource(tdev, IORESOURCE_IO, i)); in pnp_check_port() 214 if (tres->flags & IORESOURCE_IO) { in pnp_check_port() 215 if (cannot_compare(tres->flags)) in pnp_check_port() 217 if (tres in pnp_check_port() 234 struct resource *tres; pnp_check_mem() local 357 struct resource *tres; pnp_check_irq() local 421 struct resource *tres; pnp_check_dma() local [all...] |
/kernel/linux/linux-5.10/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 84 struct xfs_trans_res tres = {0}; in xfs_log_calc_minimum_size() local 89 xfs_log_get_max_trans_res(mp, &tres); in xfs_log_calc_minimum_size() 91 max_logres = xfs_log_calc_unit_res(mp, tres.tr_logres); in xfs_log_calc_minimum_size() 92 if (tres.tr_logcount > 1) in xfs_log_calc_minimum_size() 93 max_logres *= tres.tr_logcount; in xfs_log_calc_minimum_size()
|
H A D | xfs_attr.c | 396 struct xfs_trans_res tres; in xfs_attr_set() local 439 tres.tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_attr_set() 442 tres.tr_logcount = XFS_ATTRSET_LOG_COUNT; in xfs_attr_set() 443 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_attr_set() 448 tres = M_RES(mp)->tr_attrrm; in xfs_attr_set() 456 error = xfs_trans_alloc(mp, &tres, total, 0, in xfs_attr_set()
|
/kernel/linux/linux-6.6/fs/xfs/libxfs/ |
H A D | xfs_log_rlimit.c | 151 struct xfs_trans_res tres = {0}; in xfs_log_calc_minimum_size() local 156 xfs_log_get_max_trans_res(mp, &tres); in xfs_log_calc_minimum_size() 158 max_logres = xfs_log_calc_unit_res(mp, tres.tr_logres); in xfs_log_calc_minimum_size() 159 if (tres.tr_logcount > 1) in xfs_log_calc_minimum_size() 160 max_logres *= tres.tr_logcount; in xfs_log_calc_minimum_size()
|
H A D | xfs_attr.c | 321 struct xfs_trans_res *tres, in xfs_init_attr_trans() 327 tres->tr_logres = M_RES(mp)->tr_attrsetm.tr_logres + in xfs_init_attr_trans() 330 tres->tr_logcount = XFS_ATTRSET_LOG_COUNT; in xfs_init_attr_trans() 331 tres->tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_init_attr_trans() 334 *tres = M_RES(mp)->tr_attrrm; in xfs_init_attr_trans() 968 struct xfs_trans_res tres; in xfs_attr_set() local 1023 xfs_init_attr_trans(args, &tres, &total); in xfs_attr_set() 1024 error = xfs_trans_alloc_inode(dp, &tres, total, 0, rsvd, &args->trans); in xfs_attr_set() 319 xfs_init_attr_trans( struct xfs_da_args *args, struct xfs_trans_res *tres, unsigned int *total) xfs_init_attr_trans() argument
|
H A D | xfs_attr.h | 552 void xfs_init_attr_trans(struct xfs_da_args *args, struct xfs_trans_res *tres,
|
/kernel/linux/linux-5.10/drivers/pci/hotplug/ |
H A D | cpqphp_pci.c | 1476 struct pci_resource *res, *tres; in cpqhp_destroy_resource_list() local 1482 tres = res; in cpqhp_destroy_resource_list() 1484 kfree(tres); in cpqhp_destroy_resource_list() 1491 tres = res; in cpqhp_destroy_resource_list() 1493 kfree(tres); in cpqhp_destroy_resource_list() 1500 tres = res; in cpqhp_destroy_resource_list() 1502 kfree(tres); in cpqhp_destroy_resource_list() 1509 tres = res; in cpqhp_destroy_resource_list() 1511 kfree(tres); in cpqhp_destroy_resource_list() 1523 struct pci_resource *res, *tres; in cpqhp_destroy_board_resources() local [all...] |
H A D | cpqphp_core.c | 1254 struct pci_resource *tres; in unload_cpqphpd() local 1277 tres = res; in unload_cpqphpd() 1279 kfree(tres); in unload_cpqphpd() 1284 tres = res; in unload_cpqphpd() 1286 kfree(tres); in unload_cpqphpd() 1291 tres = res; in unload_cpqphpd() 1293 kfree(tres); in unload_cpqphpd() 1298 tres = res; in unload_cpqphpd() 1300 kfree(tres); in unload_cpqphpd() 1315 tres in unload_cpqphpd() [all...] |
/kernel/linux/linux-6.6/drivers/pci/hotplug/ |
H A D | cpqphp_pci.c | 1478 struct pci_resource *res, *tres; in cpqhp_destroy_resource_list() local 1484 tres = res; in cpqhp_destroy_resource_list() 1486 kfree(tres); in cpqhp_destroy_resource_list() 1493 tres = res; in cpqhp_destroy_resource_list() 1495 kfree(tres); in cpqhp_destroy_resource_list() 1502 tres = res; in cpqhp_destroy_resource_list() 1504 kfree(tres); in cpqhp_destroy_resource_list() 1511 tres = res; in cpqhp_destroy_resource_list() 1513 kfree(tres); in cpqhp_destroy_resource_list() 1525 struct pci_resource *res, *tres; in cpqhp_destroy_board_resources() local [all...] |
H A D | cpqphp_core.c | 1255 struct pci_resource *tres; in unload_cpqphpd() local 1278 tres = res; in unload_cpqphpd() 1280 kfree(tres); in unload_cpqphpd() 1285 tres = res; in unload_cpqphpd() 1287 kfree(tres); in unload_cpqphpd() 1292 tres = res; in unload_cpqphpd() 1294 kfree(tres); in unload_cpqphpd() 1299 tres = res; in unload_cpqphpd() 1301 kfree(tres); in unload_cpqphpd() 1316 tres in unload_cpqphpd() [all...] |
/kernel/linux/linux-5.10/fs/xfs/ |
H A D | xfs_trans.c | 985 struct xfs_trans_res tres; in xfs_trans_roll() local 993 tres.tr_logres = trans->t_log_res; in xfs_trans_roll() 994 tres.tr_logcount = trans->t_log_count; in xfs_trans_roll() 1017 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_trans_roll() 1018 return xfs_trans_reserve(*tpp, &tres, 0, 0); in xfs_trans_roll()
|
H A D | xfs_inode.c | 1127 struct xfs_trans_res *tres; in xfs_create() local 1148 tres = &M_RES(mp)->tr_mkdir; in xfs_create() 1151 tres = &M_RES(mp)->tr_create; in xfs_create() 1160 error = xfs_trans_alloc(mp, tres, resblks, 0, 0, &tp); in xfs_create() 1164 error = xfs_trans_alloc(mp, tres, resblks, 0, 0, &tp); in xfs_create() 1278 struct xfs_trans_res *tres; in xfs_create_tmpfile() local 1296 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile() 1298 error = xfs_trans_alloc(mp, tres, resblks, 0, 0, &tp); in xfs_create_tmpfile()
|
/kernel/linux/linux-6.6/fs/xfs/ |
H A D | xfs_trans.c | 1140 struct xfs_trans_res tres; in xfs_trans_roll() local 1148 tres.tr_logres = trans->t_log_res; in xfs_trans_roll() 1149 tres.tr_logcount = trans->t_log_count; in xfs_trans_roll() 1172 tres.tr_logflags = XFS_TRANS_PERM_LOG_RES; in xfs_trans_roll() 1173 return xfs_trans_reserve(*tpp, &tres, 0, 0); in xfs_trans_roll()
|
H A D | xfs_inode.c | 973 struct xfs_trans_res *tres; in xfs_create() local 996 tres = &M_RES(mp)->tr_mkdir; in xfs_create() 999 tres = &M_RES(mp)->tr_create; in xfs_create() 1008 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create() 1013 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, in xfs_create() 1124 struct xfs_trans_res *tres; in xfs_create_tmpfile() local 1144 tres = &M_RES(mp)->tr_create_tmpfile; in xfs_create_tmpfile() 1146 error = xfs_trans_alloc_icreate(mp, tres, udqp, gdqp, pdqp, resblks, in xfs_create_tmpfile()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/sun/ |
H A D | niu.h | 2716 tres:2, 2723 tres:2,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/sun/ |
H A D | niu.h | 2716 tres:2, 2723 tres:2,
|
/kernel/linux/linux-5.10/tools/power/pm-graph/ |
H A D | sleepgraph.py | 1991 tres = [] 1996 tres.append(t) 2004 c = self.addProcessUsageEvent(ps, tres)
|