121 copy = ( ( (
void * )
blob ) +
sizeof ( *
blob ) );
#define NULL
NULL pointer (VOID *).
struct arbelprm_rc_send_wqe rc
static struct process_descriptor blob_process_desc
Data blob process descriptor.
static void blob_close(struct blob *blob, int rc)
Close data blob.
int blob_open(struct interface *xfer, const void *data, size_t len)
Open data blob.
static struct interface_operation blob_xfer_op[]
Data blob interface operations.
static void blob_step(struct blob *blob)
Process data blob.
static struct interface_descriptor blob_xfer_desc
Data blob interface descriptor.
uint8_t data[48]
Additional event data.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
#define ENOMEM
Not enough space.
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
void * memcpy(void *dest, const void *src, size_t len) __nonnull
void intf_close(struct interface *intf, int rc)
Close an object interface.
void intf_plug_plug(struct interface *a, struct interface *b)
Plug two object interfaces together.
void intf_shutdown(struct interface *intf, int rc)
Shut down an object interface.
#define INTF_DESC(object_type, intf, operations)
Define an object interface descriptor.
static void intf_init(struct interface *intf, struct interface_descriptor *desc, struct refcnt *refcnt)
Initialise an object interface.
#define INTF_OP(op_type, object_type, op_func)
Define an object interface operation.
void * zalloc(size_t size)
Allocate cleared memory.
Dynamic memory allocation.
void process_del(struct process *process)
Remove process from process list.
#define PROC_DESC_ONCE(object_type, process, _step)
Define a process descriptor for a process that runs only once.
static void process_init(struct process *process, struct process_descriptor *desc, struct refcnt *refcnt)
Initialise process and add to process list.
#define ref_put(refcnt)
Drop reference to object.
#define ref_init(refcnt, free)
Initialise a reference counter.
struct refcnt refcnt
Reference count.
struct interface xfer
Data transfer interface.
struct process process
Download process.
size_t len
Length of data.
An object interface descriptor.
An object interface operation.
size_t xfer_window(struct interface *intf)
Check flow control window.
void xfer_window_changed(struct interface *intf)
Report change of flow control window.
int xfer_deliver_raw(struct interface *intf, const void *data, size_t len)
Deliver datagram as raw data without metadata.
Data transfer interfaces.