---
name: "struct_w1_async_cmd"
section: "9"
platform: "linux"
package: "linux-manual-4.9"
version: "4.9.228-1"
release: "Debian 9 (Stretch)"
platforms: ["linux"]
url: "https://new.carta.tech/struct_w1_async_cmd"
---

# struct\_w1\_async\_cmd(9)

execute callback from the w1\_process kthread

## NAME

struct\_w1\_async\_cmd - execute callback from the w1\_process kthread

## SYNOPSIS

```
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

## DESCRIPTION

When inserted into the w1\_master async\_list, w1\_process will execute the callback. Embed this into the structure with the command details.

## AUTHOR

**David Fries** \<David@Fries.net\>

Author.

## COPYRIGHT
