| /freebsd/crypto/krb5/src/kdc/ |
| H A D | kdc_audit.c | 46 static audit_module_handle *handles = NULL; variable 67 * modules is stored as an array in handles. Use unload_audit_modules() to free 80 if (context == NULL || handles != NULL) in load_audit_modules() 121 handles = list; in load_audit_modules() 136 free_handles(handles); in unload_audit_modules() 233 if (handles == NULL) in kau_kdc_stop() 236 for (hp = handles; *hp != NULL; hp++) { in kau_kdc_stop() 248 if (handles == NULL) in kau_kdc_start() 251 for (hp = handles; *hp != NULL; hp++) { in kau_kdc_start() 265 if (handles == NULL) in kau_as_req() [all …]
|
| H A D | policy.c | 46 static kdcpolicy_handle *handles; variable 120 for (hp = handles; *hp != NULL; hp++) { in check_kdcpolicy_as() 160 for (hp = handles; *hp != NULL; hp++) { in check_kdcpolicy_tgs() 183 for (hp = handles; hp != NULL && *hp != NULL; hp++) { in unload_kdcpolicy_plugins() 189 free(handles); in unload_kdcpolicy_plugins() 190 handles = NULL; in unload_kdcpolicy_plugins() 206 handles = k5calloc(count + 1, sizeof(*handles), &ret); in load_kdcpolicy_plugins() 207 if (handles == NULL) in load_kdcpolicy_plugins() 236 handles[count++] = h; in load_kdcpolicy_plugins()
|
| /freebsd/crypto/krb5/src/lib/kadm5/srv/ |
| H A D | kadm5_hook.c | 54 /* Allocate a large enough list of handles. */ in k5_kadm5_hook_load() 97 k5_kadm5_hook_free_handles(krb5_context context, kadm5_hook_handle *handles) in k5_kadm5_hook_free_handles() argument 101 if (handles == NULL) in k5_kadm5_hook_free_handles() 103 for (hp = handles; *hp != NULL; hp++) { in k5_kadm5_hook_free_handles() 109 free(handles); in k5_kadm5_hook_free_handles() 126 for (; *handles; handles++) { \ 127 kadm5_hook_handle h = *handles; \ 142 k5_kadm5_hook_chpass(krb5_context context, kadm5_hook_handle *handles, in k5_kadm5_hook_chpass() argument 154 k5_kadm5_hook_create(krb5_context context, kadm5_hook_handle *handles, in k5_kadm5_hook_create() argument 165 k5_kadm5_hook_modify(krb5_context context, kadm5_hook_handle *handles, in k5_kadm5_hook_modify() argument [all …]
|
| H A D | pwqual.c | 56 /* Allocate a large enough list of handles. */ in k5_pwqual_load() 99 k5_pwqual_free_handles(krb5_context context, pwqual_handle *handles) in k5_pwqual_free_handles() argument 103 if (handles == NULL) in k5_pwqual_free_handles() 105 for (hp = handles; *hp != NULL; hp++) { in k5_pwqual_free_handles() 111 free(handles); in k5_pwqual_free_handles()
|
| /freebsd/sys/ofed/drivers/infiniband/core/ |
| H A D | ib_uverbs_std_types_device.c | 65 u32 *handles; in gather_objects_handle() local 70 handles = uverbs_zalloc(attrs, out_len); in gather_objects_handle() 71 if (IS_ERR(handles)) in gather_objects_handle() 72 return handles; in gather_objects_handle() 84 handles[count] = obj_id; in gather_objects_handle() 90 return handles; in gather_objects_handle() 100 u32 *handles; in UVERBS_HANDLER() local 115 handles = gather_objects_handle(attrs->ufile, uapi_object, attrs, in UVERBS_HANDLER() 117 if (IS_ERR(handles)) in UVERBS_HANDLER() 118 return PTR_ERR(handles); in UVERBS_HANDLER() [all …]
|
| /freebsd/stand/efi/libefi/ |
| H A D | eficom.c | 48 int ioaddr; /* index in handles array */ 97 EFI_HANDLE *handles; in efi_serial_init() local 103 handles = NULL; in efi_serial_init() 104 status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles); in efi_serial_init() 108 if ((handles = malloc(bufsz)) == NULL) in efi_serial_init() 115 status = BS->LocateHandle(ByProtocol, &serial, NULL, &bufsz, handles); in efi_serial_init() 117 free(handles); in efi_serial_init() 120 *handlep = handles; in efi_serial_init() 155 * The order of handles from LocateHandle() is not known, we need to 156 * iterate handles, pick device path for handle, and check the device [all …]
|
| H A D | efi_driver_utils.c | 40 EFI_HANDLE *handles; in connect_controllers() local 52 handles = malloc(hsize); in connect_controllers() 53 if (handles == NULL) in connect_controllers() 58 &hsize, handles); in connect_controllers() 65 BS->ConnectController(handles[i], NULL, NULL, true); in connect_controllers() 68 free(handles); in connect_controllers()
|
| H A D | efinet.c | 361 EFI_HANDLE *handles, *handles2; in efinet_dev_init() local 368 handles = NULL; in efinet_dev_init() 371 handles = (EFI_HANDLE *)malloc(sz); in efinet_dev_init() 372 if (handles == NULL) in efinet_dev_init() 375 handles); in efinet_dev_init() 377 free(handles); in efinet_dev_init() 383 free(handles); in efinet_dev_init() 388 devpath = efi_lookup_devpath(handles[i]); in efinet_dev_init() 398 handles2[nifs] = handles[i]; in efinet_dev_init() 401 free(handles); in efinet_dev_init()
|
| /freebsd/crypto/krb5/src/lib/kadm5/ |
| H A D | server_internal.h | 178 k5_pwqual_free_handles(krb5_context context, pwqual_handle *handles); 222 /** Free handles allocated by k5_kadm5_hook_load(). */ 224 k5_kadm5_hook_free_handles(krb5_context context, kadm5_hook_handle *handles); 226 /** Call the chpass entry point on every kadm5_hook in @a handles. */ 229 kadm5_hook_handle *handles, 239 kadm5_hook_handle *handles, 249 kadm5_hook_handle *handles, 256 kadm5_hook_handle *handles, 263 kadm5_hook_handle *handles, 270 kadm5_hook_handle *handles,
|
| /freebsd/crypto/krb5/src/kadmin/server/ |
| H A D | auth.c | 43 static auth_handle *handles; variable 50 if (handles == NULL) in auth_fini() 52 for (hp = handles; *hp != NULL; hp++) { in auth_fini() 58 free(handles); in auth_fini() 59 handles = NULL; in auth_fini() 81 /* Allocate a large enough list of handles. */ in auth_init() 83 handles = k5calloc(count + 1, sizeof(*handles), &ret); in auth_init() 84 if (handles == NULL) in auth_init() 115 handles[count++] = h; in auth_init() 116 handles[count] = NULL; in auth_init() [all …]
|
| /freebsd/contrib/wpa/src/utils/ |
| H A D | eloop_win.c | 68 HANDLE *handles; member 80 eloop.handles = os_malloc(eloop.num_handles * in eloop_init() 81 sizeof(eloop.handles[0])); in eloop_init() 82 if (eloop.handles == NULL) in eloop_init() 89 os_free(eloop.handles); in eloop_init() 103 n = os_realloc_array(eloop.handles, eloop.num_handles * 2, in eloop_prepare_handles() 104 sizeof(eloop.handles[0])); in eloop_prepare_handles() 107 eloop.handles = n; in eloop_prepare_handles() 554 eloop.handles[count++] = eloop.events[i].event; in eloop_run() 557 eloop.handles[count++] = eloop.readers[i].event; in eloop_run() [all …]
|
| /freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/ |
| H A D | events_002_pos.ksh | 30 # Verify ZED handles missed events from a pool when starting. 34 # 2. Start the ZED and verify it handles missed events. 37 # 5. Start the ZED and verify it only handles the new missed events. 51 log_assert "Verify ZED handles missed events when starting" 61 # 2. Start the ZED and verify it handles missed events. 95 log_pass "Verify ZED handles missed events on when starting"
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/ |
| H A D | DynamicLibrary.cpp | 27 HandleList Handles; member in DynamicLibrary::HandleSet 38 HandleList::iterator Find(void *Handle) { return find(Handles, Handle); } in Find() 41 return Handle == Process || Find(Handle) != Handles.end(); in Contains() 53 if (!AllowDuplicates && Find(Handle) != Handles.end()) { in AddLibrary() 58 Handles.push_back(Handle); in AddLibrary() 76 if (it != Handles.end()) { in CloseLibrary() 77 Handles.erase(it); in CloseLibrary() 83 for (void *Handle : Handles) { in LibLookup() 88 for (void *Handle : llvm::reverse(Handles)) { in LibLookup() 125 // Collections of known library handles.
|
| /freebsd/contrib/llvm-project/llvm/lib/Support/Windows/ |
| H A D | DynamicLibrary.inc | 25 for (void *Handle : llvm::reverse(Handles)) 98 // | Handles | DbgHelp.dll | CreateSnapshot | EnumProcessModulesEx 119 std::vector<HMODULE> Handles; 123 Handles.resize(Bytes / sizeof(HMODULE)); 124 if (!GetProcessModules(Self, Bytes, Handles.data())) 126 } while (Bytes != (Handles.size() * sizeof(HMODULE))); 129 if (FARPROC Ptr = GetProcAddress(HMODULE(Handles.front()), Symbol)) 132 if (Handles.size() > 1) { 139 for (auto I = Handles.rbegin(), E = Handles.rend() - 1; I != E; ++I) {
|
| /freebsd/sys/contrib/x86emu/ |
| H A D | x86emu.c | 174 * Handles any pending asychronous interrupts. 1463 * Handles opcode 0x3a 1479 * Handles opcode 0x3b 1514 * Handles opcode 0x3c 1527 * Handles opcode 0x3d 1558 * Handles opcode 0x60 1590 * Handles opcode 0x61 1621 * Handles opcode 0x68 1641 * Handles opcode 0x6a 1658 * Handles opcode 0x6c and 0x6d [all …]
|
| /freebsd/stand/efi/boot1/ |
| H A D | boot1.c | 174 EFI_HANDLE *handles; in efi_main() local 228 /* Fetch all the block I/O handles, we have to search through them later */ in efi_main() 232 handles = malloc(hsize); in efi_main() 233 if (handles == NULL) in efi_main() 234 efi_panic(EFI_OUT_OF_RESOURCES, "Failed to allocate %d handles\n", in efi_main() 237 NULL, &hsize, handles); in efi_main() 239 efi_panic(status, "Failed to get device handles\n"); in efi_main() 240 nhandles = hsize / sizeof(*handles); in efi_main() 268 choice_protocol(handles, nhandles, imgpath); in efi_main()
|
| /freebsd/crypto/krb5/src/lib/krb5/krb/ |
| H A D | preauth2.c | 52 clpreauth_handle *handles; member 61 /* Release the memory used by a list of handles. */ 63 free_handles(krb5_context context, clpreauth_handle *handles) in free_handles() argument 67 if (handles == NULL) in free_handles() 69 for (hp = handles; *hp != NULL; hp++) { in free_handles() 75 free(handles); in free_handles() 78 /* Return an index into handles which can process pa_type, or -1 if none is 81 search_module_list(clpreauth_handle *handles, krb5_preauthtype pa_type) in search_module_list() argument 86 for (i = 0; handles[i] != NULL; i++) { in search_module_list() 87 h = handles[i]; in search_module_list() [all …]
|
| /freebsd/crypto/krb5/src/lib/krb5/os/ |
| H A D | localauth.c | 49 /* Release a list of localauth module handles. */ 51 free_handles(krb5_context context, struct localauth_module_handle **handles) in free_handles() argument 55 if (handles == NULL) in free_handles() 57 for (hp = handles; *hp != NULL; hp++) { in free_handles() 63 free(handles); in free_handles() 68 find_typed_module(struct localauth_module_handle **handles, const char *type) in find_typed_module() argument 73 for (hp = handles; *hp != NULL; hp++) { in find_typed_module() 84 * with any of the handles in list. Return 0 otherwise. */ 143 /* Initialize context->localauth_handles with a list of module handles. */ 156 /* Allocate a large enough list of handles. */ in load_localauth_modules()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | EpochTracker.h | 29 /// ("handles") pointing into themselves fail-fast. When building without 32 /// DebugEpochBase does not by itself track handles pointing into itself. The 33 /// expectation is that routines touching the handles will poll on 43 /// Calling incrementEpoch invalidates all handles pointing into the 51 /// A base class for iterator classes ("handles") that wish to poll for
|
| /freebsd/crypto/heimdal/appl/gssmask/ |
| H A D | gssmask.c | 55 struct handle *handles; member 113 h->next = c->handles; in add_handle() 114 c->handles = h; in add_handle() 286 struct handle *h = c->handles; in HandleOP() 326 ctx = find_handle(c->handles, hContext, handle_context); in HandleOP() 329 creds = find_handle(c->handles, hCred, handle_cred); in HandleOP() 382 del_handle(&c->handles, hContext); in HandleOP() 436 ctx = find_handle(c->handles, hContext, handle_context); in HandleOP() 462 del_handle(&c->handles, hContext); in HandleOP() 510 del_handle(&c->handles, handle); in HandleOP() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
| H A D | GlobalsModRef.cpp | 236 GAR->Handles.erase(I); in deleted() 269 Handles.emplace_front(*this, &F); in AnalyzeGlobals() 270 Handles.front().I = Handles.begin(); in AnalyzeGlobals() 283 Handles.emplace_front(*this, &GV); in AnalyzeGlobals() 284 Handles.front().I = Handles.begin(); in AnalyzeGlobals() 288 Handles.emplace_front(*this, Reader); in AnalyzeGlobals() 289 Handles.front().I = Handles.begin(); in AnalyzeGlobals() 297 Handles.emplace_front(*this, Writer); in AnalyzeGlobals() 298 Handles.front().I = Handles.begin(); in AnalyzeGlobals() 466 Handles.emplace_front(*this, AllocRelatedValues.back()); in AnalyzeIndirectGlobalMemory() [all …]
|
| /freebsd/contrib/llvm-project/clang/include/clang/Basic/ |
| H A D | TokenKinds.def | 880 // handles them. 885 // handles them. 890 // handles them. 895 // handles them. 905 // handles them. 910 // handles them. 915 // handles them. 920 // handles them. 925 // handles them. 930 // handles them. [all …]
|
| /freebsd/sys/contrib/device-tree/Bindings/net/ |
| H A D | mediatek-net.txt | 33 - mediatek,ethsys: phandle to the syscon node that handles the port setup 34 - mediatek,infracfg: phandle to the syscon node that handles the path from 36 - mediatek,sgmiisys: a list of phandles to the syscon node that handles the 41 - mediatek,pctl: phandle to the syscon node that handles the ports slew rate
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/ |
| H A D | libzfs_mount.c | 1048 * Given a mountpoint specified by idx in the handles array, find the first 1054 non_descendant_idx(zfs_handle_t **handles, size_t num_handles, int idx) in non_descendant_idx() argument 1060 verify(zfs_prop_get(handles[idx], ZFS_PROP_MOUNTPOINT, parent, in non_descendant_idx() 1064 verify(zfs_prop_get(handles[i], ZFS_PROP_MOUNTPOINT, child, in non_descendant_idx() 1087 zfs_dispatch_mount(libzfs_handle_t *hdl, zfs_handle_t **handles, in zfs_dispatch_mount() argument 1094 mnt_param->mnt_zhps = handles; in zfs_dispatch_mount() 1164 zfs_handle_t **handles = mp->mnt_zhps; in zfs_mount_task() local 1168 verify(zfs_prop_get(handles[idx], ZFS_PROP_MOUNTPOINT, mountpoint, in zfs_mount_task() 1171 if (mp->mnt_func(handles[idx], mp->mnt_data) != 0) in zfs_mount_task() 1183 i = non_descendant_idx(handles, num_handles, i)) { in zfs_mount_task() [all …]
|
| /freebsd/crypto/krb5/src/lib/krb5/ccache/ |
| H A D | ccselect.c | 39 free_handles(krb5_context context, struct ccselect_module_handle **handles) in free_handles() argument 43 if (handles == NULL) in free_handles() 45 for (hp = handles; *hp != NULL; hp++) { in free_handles() 51 free(handles); in free_handles() 83 /* Allocate a large enough list of handles. */ in load_modules()
|