Displaying 3 results from an estimated 3 matches for "type_binary".
2012 Oct 12
9
[PATCH] Fits: tool to parse stream
...OVE_XATTR",
+ "WRITE",
+ "CLONE",
+ "TRUNCATE",
+ "CHMOD",
+ "CHOWN",
+ "UTIMES",
+ "END"
+};
+#define MAX_CMDS (sizeof(cmd_names) / sizeof(char *))
+
+#define TYPE_UNDEF 0
+#define TYPE_INT 1
+#define TYPE_STRING 2
+#define TYPE_BINARY 3
+#define TYPE_TIME 4
+#define TYPE_HEX 5
+#define TYPE_OCTAL 6
+#define TYPE_LEN_ONLY 7
+
+struct attr_types {
+ const char *name;
+ int type;
+} attrs[] = {
+ { "UNSPEC", TYPE_UNDEF },
+ { "UUID", TYPE_BINARY },
+ { "CTRANSID", TYPE_INT },
+ { "INO", TYPE...
2024 Mar 20
1
[PATCH] [v4] nouveau: add command-line GSP-RM registry support
...ading_guest_driver(struct
> > nvkm_gsp *gsp, bool suspend)
> > ?? return nvkm_gsp_rpc_wr(gsp, rpc, true);
> > ??}
> > ??
> > +enum registry_type {
> > + REGISTRY_TABLE_ENTRY_TYPE_DWORD = 1, /* 32-bit unsigned
> > integer */
> > + REGISTRY_TABLE_ENTRY_TYPE_BINARY = 2, /* Binary blob */
> > + REGISTRY_TABLE_ENTRY_TYPE_STRING = 3, /* Null-terminated string
> > */
> > +};
> > +
> > +/**
> > + * registry_list_entry - linked list member for a registry key/value
> > + * @head: list_head struct
> > + * @type: dword,...
2024 Feb 20
2
[PATCH] [v4] nouveau: add command-line GSP-RM registry support
...GSP_MSG_MAX_SIZE GSP_PAGE_MIN_SIZE * 16
@@ -1082,51 +1084,376 @@ r535_gsp_rpc_unloading_guest_driver(struct nvkm_gsp *gsp, bool suspend)
return nvkm_gsp_rpc_wr(gsp, rpc, true);
}
+enum registry_type {
+ REGISTRY_TABLE_ENTRY_TYPE_DWORD = 1, /* 32-bit unsigned integer */
+ REGISTRY_TABLE_ENTRY_TYPE_BINARY = 2, /* Binary blob */
+ REGISTRY_TABLE_ENTRY_TYPE_STRING = 3, /* Null-terminated string */
+};
+
+/**
+ * registry_list_entry - linked list member for a registry key/value
+ * @head: list_head struct
+ * @type: dword, binary, or string
+ * @klen: the length of name of the key
+ * @vlen: the length...