Home
last modified time | relevance | path

Searched refs:is_null (Results 1 – 20 of 20) sorted by relevance

/linux/rust/kernel/
H A Dlist.rs477 self.first.is_null() in is_empty()
507 if next.is_null() { in insert_inner()
599 debug_assert_eq!(next.is_null(), prev.is_null()); in remove()
600 if !next.is_null() { in remove()
783 if self.current.is_null() { in next()
966 if next.is_null() { in prev_ptr()
980 if self.next.is_null() { in peek_next()
997 if prev.is_null() { in peek_prev()
1015 if self.next.is_null() { in move_next()
1048 let ptr = if self.next.is_null() { in insert_inner()
H A Ddevice.rs249 if ptr.is_null() { in drvdata_obtain()
322 if unsafe { bindings::dev_get_drvdata(self.as_raw()) }.is_null() { in drvdata()
350 if parent.is_null() { in parent()
482 if fwnode_handle.is_null() { in fwnode()
H A Dmm.rs182 if !vma.is_null() { in lock_vma_under_rcu()
249 if vma.is_null() { in vma_lookup()
H A Ddriver.rs313 if raw_id.is_null() { in acpi_id_info()
347 if raw_id.is_null() { in of_id_info()
H A Dmaple_tree.rs278 if ptr.is_null() { in free_all_entries()
379 if ret.is_null() { in load()
573 if ret.is_null() { in find()
H A Drbtree.rs197 self.root.rb_node.is_null() in is_empty()
365 while !(*child_field_of_parent).is_null() { in raw_entry()
413 while !node.is_null() { in get()
498 while !node.is_null() { in find_best_match()
547 while !next.is_null() { in drop()
1168 if self.next.is_null() { in next()
H A Dcpufreq.rs612 if self.as_ref().freq_table.is_null() { in freq_table()
635 if self.as_ref().driver_data.is_null() { in data()
649 if self.as_ref().driver_data.is_null() { in set_data()
660 if self.as_ref().driver_data.is_null() { in clear_data()
H A Dmodule_param.rs64 if val.is_null() { in set_param()
H A Dplatform.rs273 if resource.is_null() { in resource_by_name()
294 if resource.is_null() { in io_request_by_name()
H A Di2c.rs214 if raw_id.is_null() { in i2c_id_info()
525 if unsafe { bindings::i2c_verify_client(dev.as_raw()).is_null() } { in try_from()
H A Dtypes.rs76 if ptr.is_null() { in try_from_foreign()
H A Derror.rs182 if ptr.is_null() { in name()
H A Dscatterlist.rs484 self.pos = (!next.is_null() && self.nents > 0).then(|| { in next()
H A Dstr.rs839 if !ptr.is_null() { in try_from_fmt()
H A Dconfigfs.rs309 let is_root = unsafe { (*this).cg_subsys.is_null() }; in get_group_data()
/linux/drivers/infiniband/hw/mlx5/
H A Dcmd.c12 bool is_terminate, is_dump, is_null; in mlx5r_cmd_query_special_mkeys() local
17 is_null = MLX5_CAP_GEN(dev->mdev, null_mkey); in mlx5r_cmd_query_special_mkeys()
20 if (!is_terminate && !is_dump && !is_null) in mlx5r_cmd_query_special_mkeys()
33 if (is_null) in mlx5r_cmd_query_special_mkeys()
/linux/rust/kernel/io/
H A Dresource.rs150 if name.is_null() { in name()
H A Dmem.rs263 if addr.is_null() {
/linux/drivers/android/binder/
H A Dpage_range.rs82 if shrinker.is_null() { in register()
/linux/kernel/bpf/
H A Dverifier.c17113 bool is_null) in mark_ptr_or_null_reg() argument
17132 if (is_null) { in mark_ptr_or_null_reg()
17162 bool is_null) in mark_ptr_or_null_regs() argument
17169 if (ref_obj_id && ref_obj_id == id && is_null) in mark_ptr_or_null_regs()
17177 mark_ptr_or_null_reg(state, reg, id, is_null); in mark_ptr_or_null_regs()