Lines Matching refs:instructions
50 struct list_head *instructions[MAX_WDAT_ACTIONS]; member
115 if (action >= ARRAY_SIZE(wdat->instructions)) in wdat_wdt_run_action()
118 if (!wdat->instructions[action]) in wdat_wdt_run_action()
124 list_for_each_entry(instr, wdat->instructions[action], node) { in wdat_wdt_run_action()
372 struct list_head *instructions; in wdat_wdt_probe() local
420 instructions = wdat->instructions[action]; in wdat_wdt_probe()
421 if (!instructions) { in wdat_wdt_probe()
422 instructions = devm_kzalloc(&pdev->dev, in wdat_wdt_probe()
423 sizeof(*instructions), GFP_KERNEL); in wdat_wdt_probe()
424 if (!instructions) in wdat_wdt_probe()
427 INIT_LIST_HEAD(instructions); in wdat_wdt_probe()
428 wdat->instructions[action] = instructions; in wdat_wdt_probe()
431 list_add_tail(&instr->node, instructions); in wdat_wdt_probe()