Home
last modified time | relevance | path

Searched refs:type_ (Results 1 – 11 of 11) sorted by relevance

/linux/drivers/android/binder/
H A Dallocation.rs381 newobj.hdr.type_ = if strong { in transfer_binder_object()
401 newobj.hdr.type_ = if strong { in transfer_binder_object()
426 match header.type_ { in cleanup_object()
429 let strong = header.type_ == BINDER_TYPE_BINDER; in cleanup_object()
439 let strong = header.type_ == BINDER_TYPE_HANDLE; in cleanup_object()
517 let type_ = unsafe { obj.assume_init_ref().hdr.type_ }; localVariable
518 if Self::type_to_size(type_).is_none() {
533 match self.hdr.type_ { in as_ref()
548 let type_ = unsafe { self.hdr.type_ }; in size() localVariable
551 unsafe { Self::type_to_size(type_).unwrap_unchecked() } in size()
[all …]
H A Dthread.rs673 let strong = obj.hdr.type_ == BINDER_TYPE_BINDER; in translate_object()
687 let strong = obj.hdr.type_ == BINDER_TYPE_HANDLE; in translate_object()
712 obj_write.hdr.type_ = BINDER_TYPE_FD; in translate_object()
796 obj_write.hdr.type_ = BINDER_TYPE_PTR; in translate_object()
885 obj_write.hdr.type_ = BINDER_TYPE_FDA; in translate_object()
/linux/tools/testing/selftests/damon/
H A Ddrgn_dump_damon_status.py157 type_ = dict_['type']
158 if type_ == 'memcg':
160 elif type_ == 'addr':
163 elif type_ == 'target':
165 elif type_ == 'hugepage_size':
H A Dsysfs.py97 assert_true(filter_.type_ == dump['type'], 'type', dump)
101 if filter_.type_ == 'addr':
104 elif filter_.type_ == 'target':
107 elif filter_.type_ == 'hugepage_size':
256 type_='memcg', matching=True, allow=True, memcg_path='/')
332 _damon_sysfs.DamosFilter(type_='addr', matching=True,
337 _damon_sysfs.DamosFilter(type_='anon', matching=True,
H A Dsysfs_no_op_commit_break.py36 type_='anon',
H A D_damon_sysfs.py256 type_ = None
268 def __init__(self, type_='anon', matching=False, allow=False,
271 self.type_ = type_
285 err = write_file(os.path.join(self.sysfs_dir(), 'type'), self.type_)
233 type_ = None global() variable in DamosFilter
245 __init__(self, type_='anon', matching=False, allow=False, memcg_path='', addr_start=0, addr_end=0, target_idx=0, min_=0, max_=0) global() argument
/linux/rust/macros/
H A Dmodule.rs369 type_: Type, in module()
384 type as type_ [required] => input.parse()?, in module()
416 type_, in module()
431 type_, in module()
503 type LocalModule = #type_; in module()
505 impl ::kernel::ModuleMetadata for #type_ { in module()
201 type_: String, global() field
/linux/tools/net/ynl/pyynl/lib/
H A Ddoc_generator.py238 type_ = entry.get("type")
239 if type_:
302 type_ = attr.get("type")
304 if type_:
H A Dynl.py437 type_ = attr.as_scalar('u32')
438 policy['type'] = Netlink.AttrType(type_).name
/linux/rust/kernel/
H A Di2c.rs443 pub const fn new(type_: &'static CStr, addr: u16) -> Self { in new()
444 let src = type_.to_bytes_with_nul(); in new()
449 i2c_board_info.type_[i] = src[i]; in new()
/linux/net/xfrm/
H A Dxfrm_state.c245 WARN_ON((afi)->type_ ## name); \ in xfrm_register_type()
246 (afi)->type_ ## name = (T); \ in xfrm_register_type()
290 WARN_ON((afi)->type_ ## name != (T)); \ in xfrm_unregister_type()
291 (afi)->type_ ## name = NULL; \ in xfrm_unregister_type()