memtrack.c (278886) | memtrack.c (300050) |
---|---|
1/* 2 This software is available to you under a choice of one of two 3 licenses. You may choose to be licensed under the terms of the GNU 4 General Public License (GPL) Version 2, available at 5 <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD 6 license, available in the LICENSE.TXT file accompanying this 7 software. These details are also available at 8 <http://openib.org/license.html>. --- 496 unchanged lines hidden (view full) --- 505 if (!strcmp(func_name, str_cmp_arr[i])) 506 return 1; 507 return 0; 508} 509EXPORT_SYMBOL(is_non_trackable_free_func); 510 511 512/* WA - In this function handles confirm | 1/* 2 This software is available to you under a choice of one of two 3 licenses. You may choose to be licensed under the terms of the GNU 4 General Public License (GPL) Version 2, available at 5 <http://www.fsf.org/copyleft/gpl.html>, or the OpenIB.org BSD 6 license, available in the LICENSE.TXT file accompanying this 7 software. These details are also available at 8 <http://openib.org/license.html>. --- 496 unchanged lines hidden (view full) --- 505 if (!strcmp(func_name, str_cmp_arr[i])) 506 return 1; 507 return 0; 508} 509EXPORT_SYMBOL(is_non_trackable_free_func); 510 511 512/* WA - In this function handles confirm |
513 the the function name is | 513 the function name is |
514 '__ib_umem_release' or 'ib_umem_get' 515 In this case we won't track the 516 memory there because the kernel 517 was the one who allocated it. 518 Return value: 519 1 - if the function name is match, else 0 */ 520int is_umem_put_page(const char *func_name) 521{ --- 437 unchanged lines hidden --- | 514 '__ib_umem_release' or 'ib_umem_get' 515 In this case we won't track the 516 memory there because the kernel 517 was the one who allocated it. 518 Return value: 519 1 - if the function name is match, else 0 */ 520int is_umem_put_page(const char *func_name) 521{ --- 437 unchanged lines hidden --- |