Home
last modified time | relevance | path

Searched refs:new_on (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/fs/kernfs/
Dfile.c545 struct kernfs_open_node *on, *new_on = NULL; in kernfs_get_open_node() local
551 if (!kn->attr.open && new_on) { in kernfs_get_open_node()
552 kn->attr.open = new_on; in kernfs_get_open_node()
553 new_on = NULL; in kernfs_get_open_node()
566 kfree(new_on); in kernfs_get_open_node()
571 new_on = kmalloc(sizeof(*new_on), GFP_KERNEL); in kernfs_get_open_node()
572 if (!new_on) in kernfs_get_open_node()
575 atomic_set(&new_on->refcnt, 0); in kernfs_get_open_node()
576 atomic_set(&new_on->event, 1); in kernfs_get_open_node()
577 init_waitqueue_head(&new_on->poll); in kernfs_get_open_node()
[all …]
/Linux-v5.4/drivers/hid/
Dhid-sony.c1907 u8 new_on, new_off; in sony_led_blink_set() local
1924 new_on = *delay_on / 10; in sony_led_blink_set()
1937 if (new_on != drv_data->led_delay_on[n] || in sony_led_blink_set()
1939 drv_data->led_delay_on[n] = new_on; in sony_led_blink_set()