Searched refs:listSize (Results 1 - 7 of 7) sorted by relevance
/kernel/liteos_a/syscall/ |
H A D | process_syscall.c | 997 static int SetGroups(int listSize, const int *safeList, int size) in SetGroups() argument 1002 User *newUser = LOS_MemAlloc(m_aucSysMem1, sizeof(User) + listSize * sizeof(int)); in SetGroups() 1013 if (listSize == size) { in SetGroups() 1014 newUser->groups[listSize] = oldUser->gid; in SetGroups() 1017 newUser->groupNumber = listSize + 1; in SetGroups() 1031 unsigned int listSize; in GetGroups() local 1037 listSize = groupCount * sizeof(int); in GetGroups() 1046 safeList = LOS_MemAlloc(m_aucSysMem1, listSize); in GetGroups() 1052 (void)memcpy_s(safeList, listSize, &OsCurrProcessGet()->user->groups[0], listSize); in GetGroups() 1096 int listSize = size; SysSetGroups() local [all...] |
/kernel/liteos_a/fs/vfs/operation/ |
H A D | vfs_other.c | 328 int listSize = MAX_DIR_ENT; in scandir_get_file_list() local 341 list = (struct dirent **)malloc(listSize * sizeof(struct dirent *)); in scandir_get_file_list() 352 if (n == listSize) { in scandir_get_file_list() 353 listSize += MAX_DIR_ENT; in scandir_get_file_list() 354 newList = (struct dirent **)malloc(listSize * sizeof(struct dirent *)); in scandir_get_file_list() 359 err = memcpy_s(newList, listSize * sizeof(struct dirent *), list, n * sizeof(struct dirent *)); in scandir_get_file_list()
|
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom.c | 52 bool ath9k_hw_get_lower_upper_index(u8 target, u8 *pList, u16 listSize, in ath9k_hw_get_lower_upper_index() argument 61 if (target >= pList[listSize - 1]) { in ath9k_hw_get_lower_upper_index() 62 *indexL = *indexR = (u16) (listSize - 1); in ath9k_hw_get_lower_upper_index() 66 for (i = 0; i < listSize - 1; i++) { in ath9k_hw_get_lower_upper_index()
|
H A D | eeprom.h | 677 bool ath9k_hw_get_lower_upper_index(u8 target, u8 *pList, u16 listSize,
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/ |
H A D | eeprom.c | 52 bool ath9k_hw_get_lower_upper_index(u8 target, u8 *pList, u16 listSize, in ath9k_hw_get_lower_upper_index() argument 61 if (target >= pList[listSize - 1]) { in ath9k_hw_get_lower_upper_index() 62 *indexL = *indexR = (u16) (listSize - 1); in ath9k_hw_get_lower_upper_index() 66 for (i = 0; i < listSize - 1; i++) { in ath9k_hw_get_lower_upper_index()
|
H A D | eeprom.h | 677 bool ath9k_hw_get_lower_upper_index(u8 target, u8 *pList, u16 listSize,
|
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/ |
H A D | reugid_test_001.cpp | 38 static int Child1(int *list, int listSize) in Child1() argument 74 ICUNIT_ASSERT_EQUAL(size, listSize, size); in Child1() 77 ICUNIT_ASSERT_EQUAL(size, listSize, size); in Child1()
|
Completed in 10 milliseconds