struct_w1_async_cmd(9)

struct_w1_async_cmd9

Execute callback from the w1_process kthread

Usage

struct w1_async_cmd {
  struct list_head async_entry;
  void (* cb) (struct w1_master *dev, struct w1_async_cmd *async_cmd);
};  

Members

async_entry

link entry

cb

callback function, must list_del and destroy this list before returning

Overview

When inserted into the w1_master async_list, w1_process will execute the callback. Embed this into the structure with the command details.

Releases

2 releases since Debian 8 (Jessie); the text changed 1 time.

  1. 8
  2. 9

Author

David Fries <[email protected]>

Author.

From linux-manual-4.9 4.9.228-1 in Debian 9 (Stretch). Parsed by carta from the page's man source.