SysTutorials Posts

  • |

    hx509_ca_tbs_add_crl_dp_uri (3) Linux Manual Page

    NAME hx509 CA functions – Functions int hx509_ca_tbs_init (hx509_context context, hx509_ca_tbs *tbs) void hx509_ca_tbs_free (hx509_ca_tbs *tbs) int hx509_ca_tbs_set_notBefore (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter_lifetime (hx509_context context, hx509_ca_tbs tbs, time_t delta) struct units * hx509_ca_tbs_template_units (void) int hx509_ca_tbs_set_template (hx509_context context, hx509_ca_tbs tbs, int flags, hx509_cert cert)…

  • |

    hx509_ca_sign_self (3) Linux Manual Page

    NAME hx509 CA functions – Functions int hx509_ca_tbs_init (hx509_context context, hx509_ca_tbs *tbs) void hx509_ca_tbs_free (hx509_ca_tbs *tbs) int hx509_ca_tbs_set_notBefore (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter_lifetime (hx509_context context, hx509_ca_tbs tbs, time_t delta) struct units * hx509_ca_tbs_template_units (void) int hx509_ca_tbs_set_template (hx509_context context, hx509_ca_tbs tbs, int flags, hx509_cert cert)…

  • |

    hx509_ca_sign (3) Linux Manual Page

    NAME hx509 CA functions – Functions int hx509_ca_tbs_init (hx509_context context, hx509_ca_tbs *tbs) void hx509_ca_tbs_free (hx509_ca_tbs *tbs) int hx509_ca_tbs_set_notBefore (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter_lifetime (hx509_context context, hx509_ca_tbs tbs, time_t delta) struct units * hx509_ca_tbs_template_units (void) int hx509_ca_tbs_set_template (hx509_context context, hx509_ca_tbs tbs, int flags, hx509_cert cert)…

  • |

    hx509_ca (3) Linux Manual Page

    NAME hx509 CA functions – Functions int hx509_ca_tbs_init (hx509_context context, hx509_ca_tbs *tbs) void hx509_ca_tbs_free (hx509_ca_tbs *tbs) int hx509_ca_tbs_set_notBefore (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter (hx509_context context, hx509_ca_tbs tbs, time_t t) int hx509_ca_tbs_set_notAfter_lifetime (hx509_context context, hx509_ca_tbs tbs, time_t delta) struct units * hx509_ca_tbs_template_units (void) int hx509_ca_tbs_set_template (hx509_context context, hx509_ca_tbs tbs, int flags, hx509_cert cert)…

  • |

    hx509_bitstring_print (3) Linux Manual Page

    NAME hx509 printing functions – Functions void hx509_bitstring_print (const heim_bit_string *, hx509_vprint_func, void *) int hx509_cert_keyusage_print (hx509_context, hx509_cert, char **) void hx509_oid_print (const heim_oid *, hx509_vprint_func, void *) int hx509_oid_sprint (const heim_oid *, char **) void hx509_print_stdout (void *, const char *, va_list) int hx509_validate_cert (hx509_context, hx509_validate_ctx, hx509_cert) void hx509_validate_ctx_add_flags (hx509_validate_ctx, int) void hx509_validate_ctx_free (hx509_validate_ctx)…

  • |

    hx509 (3) Linux Manual Page

    NAME hx509 library – Functions int hx509_context_init (hx509_context *context) void hx509_context_free (hx509_context *context) Detailed Description Function Documentation void hx509_context_free (hx509_context *context) Free the context allocated by hx509_context_init(). Parameters: context context to be freed. int hx509_context_init (hx509_context *context) Creates a hx509 context that most functions in the library uses. The context is only allowed to be…

  • |

    hwlocality_xmlexport (3) Linux Manual Page

    NAME hwlocality_xmlexport – Exporting Topologies to XML Functions int hwloc_topology_export_xml (hwloc_topology_t topology, const char *xmlpath) int hwloc_topology_export_xmlbuffer (hwloc_topology_t topology, char **xmlbuffer, int *buflen) void hwloc_free_xmlbuffer (hwloc_topology_t topology, char *xmlbuffer) void hwloc_topology_set_userdata_export_callback (hwloc_topology_t topology, void(*export_cb)(void *reserved, hwloc_topology_t topology, hwloc_obj_t obj)) int hwloc_export_obj_userdata (void *reserved, hwloc_topology_t topology, hwloc_obj_t obj, const char *name, const void *buffer, size_t length)…

  • |

    hwlocality_tinker (3) Linux Manual Page

    NAME hwlocality_tinker – Modifying a loaded Topology Enumerations enum hwloc_restrict_flags_e { HWLOC_RESTRICT_FLAG_ADAPT_DISTANCES, HWLOC_RESTRICT_FLAG_ADAPT_MISC, HWLOC_RESTRICT_FLAG_ADAPT_IO } Functions hwloc_obj_t hwloc_topology_insert_misc_object_by_cpuset (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, const char *name) hwloc_obj_t hwloc_topology_insert_misc_object_by_parent (hwloc_topology_t topology, hwloc_obj_t parent, const char *name) int hwloc_topology_restrict (hwloc_topology_t restrict topology, hwloc_const_cpuset_t cpuset, unsigned long flags) Detailed Description Enumeration Type Documentation enum hwloc_restrict_flags_e Flags to be given…

  • |

    hwlocality_syntheticexport (3) Linux Manual Page

    NAME hwlocality_syntheticexport – Exporting Topologies to Synthetic Enumerations enum hwloc_topology_export_synthetic_flags_e { HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES, HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_ATTRS } Functions int hwloc_topology_export_synthetic (hwloc_topology_t topology, char *buffer, size_t buflen, unsigned long flags) Detailed Description Enumeration Type Documentation enum hwloc_topology_export_synthetic_flags_e Flags for exporting synthetic topologies. Flags to be given as a OR’ed set to hwloc_topology_export_synthetic(). Enumerator HWLOC_TOPOLOGY_EXPORT_SYNTHETIC_FLAG_NO_EXTENDED_TYPES Export extended types such as…

  • |

    hwlocality_openfabrics (3) Linux Manual Page

    NAME hwlocality_openfabrics – Interoperability with OpenFabrics Functions static int hwloc_ibv_get_device_cpuset (hwloc_topology_t topology, struct ibv_device *ibdev, hwloc_cpuset_t set) static hwloc_obj_t hwloc_ibv_get_device_osdev_by_name (hwloc_topology_t topology, const char *ibname) static hwloc_obj_t hwloc_ibv_get_device_osdev (hwloc_topology_t topology, struct ibv_device *ibdev) Detailed Description This interface offers ways to retrieve topology information about OpenFabrics devices. Function Documentation static int hwloc_ibv_get_device_cpuset (hwloc_topology_t topology, struct ibv_device…

  • |

    hwlocality_opencl (3) Linux Manual Page

    NAME hwlocality_opencl – Interoperability with OpenCL Functions static int hwloc_opencl_get_device_cpuset (hwloc_topology_t topology, cl_device_id device, hwloc_cpuset_t set) static hwloc_obj_t hwloc_opencl_get_device_osdev_by_index (hwloc_topology_t topology, unsigned platform_index, unsigned device_index) static hwloc_obj_t hwloc_opencl_get_device_osdev (hwloc_topology_t topology, cl_device_id device) Detailed Description This interface offers ways to retrieve topology information about OpenCL devices. Only the AMD OpenCL interface currently offers useful locality information…

  • |

    hwlocality_objects (3) Linux Manual Page

    NAME hwlocality_objects – Object Structure and Attributes Data Structures struct hwloc_obj_memory_s struct hwloc_obj_memory_s::hwloc_obj_memory_page_type_s struct hwloc_obj union hwloc_obj_attr_u struct hwloc_obj_attr_u::hwloc_osdev_attr_s struct hwloc_obj_attr_u::hwloc_bridge_attr_s struct hwloc_obj_attr_u::hwloc_pcidev_attr_s struct hwloc_obj_attr_u::hwloc_group_attr_s struct hwloc_obj_attr_u::hwloc_cache_attr_s struct hwloc_distances_s struct hwloc_obj_info_s Typedefs typedef struct hwloc_obj * hwloc_obj_t Detailed Description Typedef Documentation typedef struct hwloc_obj* hwloc_obj_t Convenience typedef; a pointer to a struct hwloc_obj. Author Generated…

  • |

    hwlocality_object_types (3) Linux Manual Page

    NAME hwlocality_object_types – Object Types Typedefs typedef enum hwloc_obj_cache_type_e hwloc_obj_cache_type_t typedef enum hwloc_obj_bridge_type_e hwloc_obj_bridge_type_t typedef enum hwloc_obj_osdev_type_e hwloc_obj_osdev_type_t Enumerations enum hwloc_obj_type_t { HWLOC_OBJ_SYSTEM, HWLOC_OBJ_MACHINE, HWLOC_OBJ_NUMANODE, HWLOC_OBJ_PACKAGE, HWLOC_OBJ_CACHE, HWLOC_OBJ_CORE, HWLOC_OBJ_PU, HWLOC_OBJ_GROUP, HWLOC_OBJ_MISC, HWLOC_OBJ_BRIDGE, HWLOC_OBJ_PCI_DEVICE, HWLOC_OBJ_OS_DEVICE, HWLOC_OBJ_TYPE_MAX } enum hwloc_obj_cache_type_e { HWLOC_OBJ_CACHE_UNIFIED, HWLOC_OBJ_CACHE_DATA, HWLOC_OBJ_CACHE_INSTRUCTION } enum hwloc_obj_bridge_type_e { HWLOC_OBJ_BRIDGE_HOST, HWLOC_OBJ_BRIDGE_PCI } enum hwloc_obj_osdev_type_e { HWLOC_OBJ_OSDEV_BLOCK, HWLOC_OBJ_OSDEV_GPU, HWLOC_OBJ_OSDEV_NETWORK,…

  • |

    hwlocality_object_strings (3) Linux Manual Page

    NAME hwlocality_object_strings – Manipulating Object Type, Sets and Attributes as Strings Functions const char * hwloc_obj_type_string (hwloc_obj_type_t type) int hwloc_obj_type_sscanf (const char *string, hwloc_obj_type_t *typep, int *depthattrp, void *typeattrp, size_t typeattrsize) int hwloc_obj_type_snprintf (char *restrict string, size_t size, hwloc_obj_t obj, int verbose) int hwloc_obj_attr_snprintf (char *restrict string, size_t size, hwloc_obj_t obj, const char *restrict separator,…

  • |

    hwlocality_object_sets (3) Linux Manual Page

    NAME hwlocality_object_sets – Object Sets (hwloc_cpuset_t and hwloc_nodeset_t) Typedefs typedef hwloc_bitmap_t hwloc_cpuset_t typedef hwloc_const_bitmap_t hwloc_const_cpuset_t typedef hwloc_bitmap_t hwloc_nodeset_t typedef hwloc_const_bitmap_t hwloc_const_nodeset_t Detailed Description Hwloc uses bitmaps to represent two distinct kinds of object sets: CPU sets (hwloc_cpuset_t) and NUMA node sets (hwloc_nodeset_t). These types are both typedefs to a common back end type (hwloc_bitmap_t), and…

  • |

    hwlocality_nvml (3) Linux Manual Page

    NAME hwlocality_nvml – Interoperability with the NVIDIA Management Library Functions static int hwloc_nvml_get_device_cpuset (hwloc_topology_t topology, nvmlDevice_t device, hwloc_cpuset_t set) static hwloc_obj_t hwloc_nvml_get_device_osdev_by_index (hwloc_topology_t topology, unsigned idx) static hwloc_obj_t hwloc_nvml_get_device_osdev (hwloc_topology_t topology, nvmlDevice_t device) Detailed Description This interface offers ways to retrieve topology information about devices managed by the NVIDIA Management Library (NVML). Function Documentation static…

  • |

    hwlocality_myriexpress (3) Linux Manual Page

    NAME hwlocality_myriexpress – Interoperability with Myrinet Express Functions static int hwloc_mx_board_get_device_cpuset (hwloc_topology_t topology, unsigned id, hwloc_cpuset_t set) static int hwloc_mx_endpoint_get_device_cpuset (hwloc_topology_t topology, mx_endpoint_t endpoint, hwloc_cpuset_t set) Detailed Description This interface offers ways to retrieve topology information about Myrinet Express hardware. Function Documentation static int hwloc_mx_board_get_device_cpuset (hwloc_topology_t topology, unsigned id, hwloc_cpuset_t set) [inline], [static] Get the…

  • |

    hwlocality_membinding (3) Linux Manual Page

    NAME hwlocality_membinding – Memory binding Enumerations enum hwloc_membind_policy_t { HWLOC_MEMBIND_DEFAULT, HWLOC_MEMBIND_FIRSTTOUCH, HWLOC_MEMBIND_BIND, HWLOC_MEMBIND_INTERLEAVE, HWLOC_MEMBIND_REPLICATE, HWLOC_MEMBIND_NEXTTOUCH, HWLOC_MEMBIND_MIXED } enum hwloc_membind_flags_t { HWLOC_MEMBIND_PROCESS, HWLOC_MEMBIND_THREAD, HWLOC_MEMBIND_STRICT, HWLOC_MEMBIND_MIGRATE, HWLOC_MEMBIND_NOCPUBIND } Functions int hwloc_set_membind_nodeset (hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, hwloc_membind_policy_t policy, int flags) int hwloc_set_membind (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, hwloc_membind_policy_t policy, int flags) int hwloc_get_membind_nodeset (hwloc_topology_t topology, hwloc_nodeset_t nodeset, hwloc_membind_policy_t *policy,…

  • |

    hwlocality_linux_libnuma_ulongs (3) Linux Manual Page

    NAME hwlocality_linux_libnuma_ulongs – Interoperability with Linux libnuma unsigned long masks Functions static int hwloc_cpuset_to_linux_libnuma_ulongs (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset, unsigned long *mask, unsigned long *maxnode) static int hwloc_nodeset_to_linux_libnuma_ulongs (hwloc_topology_t topology, hwloc_const_nodeset_t nodeset, unsigned long *mask, unsigned long *maxnode) static int hwloc_cpuset_from_linux_libnuma_ulongs (hwloc_topology_t topology, hwloc_cpuset_t cpuset, const unsigned long *mask, unsigned long maxnode) static int hwloc_nodeset_from_linux_libnuma_ulongs (hwloc_topology_t…

  • |

    hwlocality_linux_libnuma_bitmask (3) Linux Manual Page

    NAME hwlocality_linux_libnuma_bitmask – Interoperability with Linux libnuma bitmask Functions static struct bitmask * hwloc_cpuset_to_linux_libnuma_bitmask (hwloc_topology_t topology, hwloc_const_cpuset_t cpuset) static struct bitmask * hwloc_nodeset_to_linux_libnuma_bitmask (hwloc_topology_t topology, hwloc_const_nodeset_t nodeset) static int hwloc_cpuset_from_linux_libnuma_bitmask (hwloc_topology_t topology, hwloc_cpuset_t cpuset, const struct bitmask *bitmask) static int hwloc_nodeset_from_linux_libnuma_bitmask (hwloc_topology_t topology, hwloc_nodeset_t nodeset, const struct bitmask *bitmask) Detailed Description This interface helps converting…