Home
last modified time | relevance | path

Searched refs:is_null (Results 1 – 21 of 21) 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 Dmm.rs182 if !vma.is_null() { in lock_vma_under_rcu()
249 if vma.is_null() { in vma_lookup()
H A Ddriver.rs251 if raw_id.is_null() { in acpi_id_info()
285 if raw_id.is_null() { in of_id_info()
H A Ddevice.rs316 if unsafe { bindings::dev_get_drvdata(self.as_raw()) }.is_null() { in drvdata()
344 if parent.is_null() { in parent()
476 if fwnode_handle.is_null() { in fwnode()
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()
495 while !node.is_null() { in find_best_match()
544 while !next.is_null() { in drop()
1165 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 Dplatform.rs242 if resource.is_null() { in resource_by_index()
263 if resource.is_null() { in resource_by_name()
H A Dmodule_param.rs64 if val.is_null() { in set_param()
H A Di2c.rs205 if raw_id.is_null() { in i2c_id_info()
516 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.rs483 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.rs310 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.rs254 if addr.is_null() { in ioremap()
/linux/drivers/android/binder/
H A Drust_binder_main.rs345 if !device.is_null() { in rust_binder_remove_context()
364 assert!(!device.is_null()); in rust_binder_open()
/linux/drivers/gpu/drm/xe/
H A Dxe_pt.c534 bool is_null = xe_vma_is_null(xe_walk->vma); in xe_pt_stage_bind_entry() local
535 bool is_vram = is_null ? false : xe_res_is_vram(curs); in xe_pt_stage_bind_entry()
542 pte = vm->pt_ops->pte_encode_vma(is_null ? 0 : in xe_pt_stage_bind_entry()
547 if (!is_null) in xe_pt_stage_bind_entry()
571 if (!is_null && !xe_walk->clear_pt) in xe_pt_stage_bind_entry()
/linux/kernel/bpf/
H A Dverifier.c16579 bool is_null) in mark_ptr_or_null_reg() argument
16598 if (is_null) { in mark_ptr_or_null_reg()
16628 bool is_null) in mark_ptr_or_null_regs() argument
16635 if (ref_obj_id && ref_obj_id == id && is_null) in mark_ptr_or_null_regs()
16643 mark_ptr_or_null_reg(state, reg, id, is_null); in mark_ptr_or_null_regs()