/kernel/linux/linux-6.6/arch/sparc/lib/ |
H A D | udivdi3.S | 25 sub %i0,%o3,%i0 ! this kills msb of n 26 addx %i0,%i0,%i0 ! so this cannot give carry 33 sub %i0,%o3,%i0 ! this kills msb of n 38 ! Got carry from n. Subtract next step to cancel this carry. 63 sub %o4,%o3,%o4 ! this kills msb of n 64 addx %o4,%o4,%o4 ! so this cannot give carry 71 sub %o4,%o3,%o4 ! this kills msb of n 76 ! Got carry from n. Subtract next step to cancel this carry. 89 sub %i0,%o3,%i0 ! this kills msb of n 90 addx %i0,%i0,%i0 ! so this canno [all...] |
/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | sdio_cis.c | 246 struct sdio_func_tuple *this, **prev; in sdio_read_cis() local 250 * Note that this works for the common CIS (function number 0) as in sdio_read_cis() 302 this = kmalloc(sizeof(*this) + tpl_link, GFP_KERNEL); in sdio_read_cis() 303 if (!this) in sdio_read_cis() 308 ptr + i, 0, &this->data[i]); in sdio_read_cis() 313 kfree(this); in sdio_read_cis() 320 tpl_code, this->data, tpl_link); in sdio_read_cis() 326 this->next = NULL; in sdio_read_cis() 327 this in sdio_read_cis() [all...] |
/kernel/linux/linux-5.10/net/ |
H A D | devres.c | 14 static void devm_free_netdev(struct device *dev, void *this) in devm_free_netdev() argument 16 struct net_device_devres *res = this; in devm_free_netdev() 42 static void devm_unregister_netdev(struct device *dev, void *this) in devm_unregister_netdev() argument 44 struct net_device_devres *res = this; in devm_unregister_netdev() 49 static int netdev_devres_match(struct device *dev, void *this, void *match_data) in netdev_devres_match() argument 51 struct net_device_devres *res = this; in netdev_devres_match() 59 * @dev: managing device for this netdev - usually the parent device
|
/kernel/linux/linux-6.6/net/ |
H A D | devres.c | 14 static void devm_free_netdev(struct device *dev, void *this) in devm_free_netdev() argument 16 struct net_device_devres *res = this; in devm_free_netdev() 42 static void devm_unregister_netdev(struct device *dev, void *this) in devm_unregister_netdev() argument 44 struct net_device_devres *res = this; in devm_unregister_netdev() 49 static int netdev_devres_match(struct device *dev, void *this, void *match_data) in netdev_devres_match() argument 51 struct net_device_devres *res = this; in netdev_devres_match() 59 * @dev: managing device for this netdev - usually the parent device
|
/kernel/linux/linux-5.10/drivers/mtd/nand/raw/ |
H A D | ams-delta.c | 46 u8 (*io_read)(struct gpio_nand *this); 47 void (*io_write)(struct gpio_nand *this, u8 byte); 139 static int gpio_nand_exec_op(struct nand_chip *this, in gpio_nand_exec_op() argument 142 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_exec_op() 178 nand_gpio_waitrdy(this, priv->gpiod_rdy, in gpio_nand_exec_op() 180 nand_soft_waitrdy(this, in gpio_nand_exec_op() 194 static int gpio_nand_setup_interface(struct nand_chip *this, int csline, in gpio_nand_setup_interface() argument 197 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_setup_interface() 199 struct device *dev = &nand_to_mtd(this)->dev; in gpio_nand_setup_interface() 242 struct nand_chip *this; in gpio_nand_probe() local [all...] |
/kernel/linux/linux-6.6/drivers/mtd/nand/raw/ |
H A D | ams-delta.c | 46 u8 (*io_read)(struct gpio_nand *this); 47 void (*io_write)(struct gpio_nand *this, u8 byte); 139 static int gpio_nand_exec_op(struct nand_chip *this, in gpio_nand_exec_op() argument 142 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_exec_op() 178 nand_gpio_waitrdy(this, priv->gpiod_rdy, in gpio_nand_exec_op() 180 nand_soft_waitrdy(this, in gpio_nand_exec_op() 194 static int gpio_nand_setup_interface(struct nand_chip *this, int csline, in gpio_nand_setup_interface() argument 197 struct gpio_nand *priv = nand_get_controller_data(this); in gpio_nand_setup_interface() 199 struct device *dev = &nand_to_mtd(this)->dev; in gpio_nand_setup_interface() 242 struct nand_chip *this; in gpio_nand_probe() local [all...] |
/kernel/linux/linux-6.6/kernel/futex/ |
H A D | waitwake.c | 10 * READ this before attempting to hack on futexes! 28 * the hb spinlock can be avoided and simply return. In order for this 110 * The hash bucket lock must be held when this is called. 141 * Wake up waiters matching bitset queued on this futex (uaddr). 146 struct futex_q *this, *next; in futex_wake() local 166 plist_for_each_entry_safe(this, next, &hb->chain, list) { in futex_wake() 167 if (futex_match (&this->key, &key)) { in futex_wake() 168 if (this->pi_state || this->rt_waiter) { in futex_wake() 174 if (!(this in futex_wake() 243 struct futex_q *this, *next; futex_wake_op() local [all...] |
H A D | requeue.c | 16 * On !PREEMPT_RT this is not a problem and everything could be serialized 18 * this allows to avoid doing the requeue when the task is already on the 35 * The requeue side ignores a waiter with state Q_REQUEUE_PI_IGNORE as this 189 * will modify q->requeue_state after this point. in futex_requeue_pi_wakeup_sync() 215 * this point the waiter task can return from the syscall immediately in 257 * @exiting is only set when the return value is -EBUSY. If so, this holds 297 * Ensure that this is a waiter sitting in futex_wait_requeue_pi() in futex_proxy_trylock_atomic() 307 /* Ensure that this does not race against an early wakeup */ in futex_proxy_trylock_atomic() 340 * guaranteed to be reached with this function returning 0. in futex_proxy_trylock_atomic() 371 struct futex_q *this, *nex in futex_requeue() local [all...] |
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hmm/ |
H A D | hmm_bo.c | 80 struct hmm_buffer_object *this, *ret_bo, *temp_bo; in __bo_search_and_remove_from_free_rbtree() local 82 this = rb_entry(node, struct hmm_buffer_object, node); in __bo_search_and_remove_from_free_rbtree() 83 if (this->pgnr == pgnr || in __bo_search_and_remove_from_free_rbtree() 84 (this->pgnr > pgnr && !this->node.rb_left)) { in __bo_search_and_remove_from_free_rbtree() 87 if (this->pgnr < pgnr) { in __bo_search_and_remove_from_free_rbtree() 88 if (!this->node.rb_right) in __bo_search_and_remove_from_free_rbtree() 91 this->node.rb_right, pgnr); in __bo_search_and_remove_from_free_rbtree() 94 this->node.rb_left, pgnr); in __bo_search_and_remove_from_free_rbtree() 97 if (this in __bo_search_and_remove_from_free_rbtree() 183 struct hmm_buffer_object *this; __bo_insert_to_free_rbtree() local 216 struct hmm_buffer_object *this; __bo_insert_to_alloc_rbtree() local [all...] |
/kernel/linux/linux-5.10/net/caif/ |
H A D | cfctrl.c | 38 struct cfctrl *this = in cfctrl_create() local 40 if (!this) in cfctrl_create() 45 cfsrvl_init(&this->serv, 0, &dev_info, false); in cfctrl_create() 46 atomic_set(&this->req_seq_no, 1); in cfctrl_create() 47 atomic_set(&this->rsp_seq_no, 1); in cfctrl_create() 48 this->serv.layer.receive = cfctrl_recv; in cfctrl_create() 49 sprintf(this->serv.layer.name, "ctrl"); in cfctrl_create() 50 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd; in cfctrl_create() 52 spin_lock_init(&this->loop_linkid_lock); in cfctrl_create() 53 this in cfctrl_create() 165 struct cfctrl *this = container_obj(layer); cfctrl_get_respfuncs() local 558 struct cfctrl *this = container_obj(layr); cfctrl_ctrlcmd() local [all...] |
H A D | cfcnfg.c | 74 struct cfcnfg *this; in cfcnfg_create() local 79 /* Initiate this layer */ in cfcnfg_create() 80 this = kzalloc(sizeof(struct cfcnfg), GFP_ATOMIC); in cfcnfg_create() 81 if (!this) in cfcnfg_create() 83 this->mux = cfmuxl_create(); in cfcnfg_create() 84 if (!this->mux) in cfcnfg_create() 86 this->ctrl = cfctrl_create(); in cfcnfg_create() 87 if (!this->ctrl) in cfcnfg_create() 90 resp = cfctrl_get_respfuncs(this->ctrl); in cfcnfg_create() 100 INIT_LIST_HEAD(&this in cfcnfg_create() [all...] |
H A D | cfmuxl.c | 50 struct cfmuxl *this = kzalloc(sizeof(struct cfmuxl), GFP_ATOMIC); in cfmuxl_create() local 52 if (!this) in cfmuxl_create() 54 this->layer.receive = cfmuxl_receive; in cfmuxl_create() 55 this->layer.transmit = cfmuxl_transmit; in cfmuxl_create() 56 this->layer.ctrlcmd = cfmuxl_ctrlcmd; in cfmuxl_create() 57 INIT_LIST_HEAD(&this->srvl_list); in cfmuxl_create() 58 INIT_LIST_HEAD(&this->frml_list); in cfmuxl_create() 59 spin_lock_init(&this->transmit_lock); in cfmuxl_create() 60 spin_lock_init(&this->receive_lock); in cfmuxl_create() 61 snprintf(this in cfmuxl_create() [all...] |
/kernel/linux/linux-6.6/net/caif/ |
H A D | cfctrl.c | 38 struct cfctrl *this = in cfctrl_create() local 40 if (!this) in cfctrl_create() 45 cfsrvl_init(&this->serv, 0, &dev_info, false); in cfctrl_create() 46 atomic_set(&this->req_seq_no, 1); in cfctrl_create() 47 atomic_set(&this->rsp_seq_no, 1); in cfctrl_create() 48 this->serv.layer.receive = cfctrl_recv; in cfctrl_create() 49 sprintf(this->serv.layer.name, "ctrl"); in cfctrl_create() 50 this->serv.layer.ctrlcmd = cfctrl_ctrlcmd; in cfctrl_create() 52 spin_lock_init(&this->loop_linkid_lock); in cfctrl_create() 53 this in cfctrl_create() 165 struct cfctrl *this = container_obj(layer); cfctrl_get_respfuncs() local 558 struct cfctrl *this = container_obj(layr); cfctrl_ctrlcmd() local [all...] |
H A D | cfcnfg.c | 74 struct cfcnfg *this; in cfcnfg_create() local 79 /* Initiate this layer */ in cfcnfg_create() 80 this = kzalloc(sizeof(struct cfcnfg), GFP_ATOMIC); in cfcnfg_create() 81 if (!this) in cfcnfg_create() 83 this->mux = cfmuxl_create(); in cfcnfg_create() 84 if (!this->mux) in cfcnfg_create() 86 this->ctrl = cfctrl_create(); in cfcnfg_create() 87 if (!this->ctrl) in cfcnfg_create() 90 resp = cfctrl_get_respfuncs(this->ctrl); in cfcnfg_create() 100 INIT_LIST_HEAD(&this in cfcnfg_create() [all...] |
H A D | cfmuxl.c | 50 struct cfmuxl *this = kzalloc(sizeof(struct cfmuxl), GFP_ATOMIC); in cfmuxl_create() local 52 if (!this) in cfmuxl_create() 54 this->layer.receive = cfmuxl_receive; in cfmuxl_create() 55 this->layer.transmit = cfmuxl_transmit; in cfmuxl_create() 56 this->layer.ctrlcmd = cfmuxl_ctrlcmd; in cfmuxl_create() 57 INIT_LIST_HEAD(&this->srvl_list); in cfmuxl_create() 58 INIT_LIST_HEAD(&this->frml_list); in cfmuxl_create() 59 spin_lock_init(&this->transmit_lock); in cfmuxl_create() 60 spin_lock_init(&this->receive_lock); in cfmuxl_create() 61 snprintf(this in cfmuxl_create() [all...] |
/kernel/linux/linux-6.6/rust/kernel/init/ |
H A D | __internal.rs | 12 /// See the [nomicon] for what subtyping is. See also [this table]. 15 /// [this table]: https://doc.rust-lang.org/nomicon/phantom-data.html#table-of-phantomdata-patterns 18 /// This is the module-internal type implementing `PinInit` and `Init`. It is unsafe to create this 52 /// Only the `init` module is allowed to use this trait. 63 /// Only the `init` module is allowed to use this trait. 81 /// Only the `init` module is allowed to use this trait. 92 /// Only the `init` module is allowed to use this trait. 127 /// Stack initializer helper type. Use [`stack_pin_init`] instead of this primitive. 143 // SAFETY: As we are being dropped, we only call this once. And since `self.is_init` is in drop() 151 /// Creates a new [`StackInit<T>`] that is uninitialized. Use [`stack_pin_init`] instead of this [all...] |
/kernel/linux/linux-6.6/net/core/ |
H A D | flow_offload.c | 22 * Caller can override this if it wants stats for a given action. in flow_rule_alloc() 43 * Caller can override this if it wants stats for a given action. in offload_action_alloc() 466 struct flow_block_cb *this, *next; in __flow_block_indr_cleanup() local 468 list_for_each_entry_safe(this, next, &flow_block_indr_list, indr.list) { in __flow_block_indr_cleanup() 469 if (this->release == release && in __flow_block_indr_cleanup() 470 this->indr.cb_priv == cb_priv) in __flow_block_indr_cleanup() 471 list_move(&this->indr.list, cleanup_list); in __flow_block_indr_cleanup() 477 struct flow_block_cb *this, *next; in flow_block_indr_notify() local 479 list_for_each_entry_safe(this, next, cleanup_list, indr.list) { in flow_block_indr_notify() 480 list_del(&this in flow_block_indr_notify() 488 struct flow_indr_dev *this, *next, *indr_dev = NULL; flow_indr_dev_unregister() local 610 struct flow_indr_dev *this; flow_indr_dev_setup_offload() local [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/loongson/ |
H A D | lsdc_gfxpll.h | 23 int (*init)(struct loongson_gfxpll * const this); 25 int (*update)(struct loongson_gfxpll * const this, 28 void (*get_rates)(struct loongson_gfxpll * const this, 31 void (*print)(struct loongson_gfxpll * const this,
|
/kernel/linux/linux-5.10/drivers/mtd/chips/ |
H A D | chipreg.c | 35 struct mtd_chip_driver *ret = NULL, *this; in get_mtd_chip_driver() local 40 this = list_entry(pos, typeof(*this), list); in get_mtd_chip_driver() 42 if (!strcmp(this->name, name)) { in get_mtd_chip_driver() 43 ret = this; in get_mtd_chip_driver() 74 probe-only module, which is no longer required from this in do_map_probe() 84 * Make sure the MTD device is already unregistered before calling this
|
/kernel/linux/linux-5.10/drivers/extcon/ |
H A D | devres.c | 40 struct extcon_dev_notifier_devres *this = res; in devm_extcon_dev_notifier_unreg() local 42 extcon_unregister_notifier(this->edev, this->id, this->nb); in devm_extcon_dev_notifier_unreg() 47 struct extcon_dev_notifier_devres *this = res; in devm_extcon_dev_notifier_all_unreg() local 49 extcon_unregister_notifier_all(this->edev, this->nb); in devm_extcon_dev_notifier_all_unreg() 109 * this function, that extcon device is automatically unregistered on driver 110 * detach. Internally this function calls extcon_dev_register() function. 113 * If extcon device is registered with this functio [all...] |
/kernel/linux/linux-5.10/net/rds/ |
H A D | info.c | 7 * COPYING in the main directory of this source tree, or the 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 118 unsigned long this; in rds_info_copy() local 124 this = min(bytes, PAGE_SIZE - iter->offset); in rds_info_copy() 126 rdsdebug("page %p addr %p offset %lu this %lu data %p " in rds_info_copy() 128 iter->offset, this, data, bytes); in rds_info_copy() 130 memcpy(iter->addr + iter->offset, data, this); in rds_info_copy() 132 data += this; in rds_info_copy() 133 bytes -= this; in rds_info_copy() [all...] |
/kernel/linux/linux-6.6/drivers/extcon/ |
H A D | devres.c | 40 struct extcon_dev_notifier_devres *this = res; in devm_extcon_dev_notifier_unreg() local 42 extcon_unregister_notifier(this->edev, this->id, this->nb); in devm_extcon_dev_notifier_unreg() 47 struct extcon_dev_notifier_devres *this = res; in devm_extcon_dev_notifier_all_unreg() local 49 extcon_unregister_notifier_all(this->edev, this->nb); in devm_extcon_dev_notifier_all_unreg() 109 * this function, that extcon device is automatically unregistered on driver 110 * detach. Internally this function calls extcon_dev_register() function. 113 * If extcon device is registered with this functio [all...] |
/kernel/linux/linux-6.6/net/rds/ |
H A D | info.c | 7 * COPYING in the main directory of this source tree, or the 15 * copyright notice, this list of conditions and the following 19 * copyright notice, this list of conditions and the following 118 unsigned long this; in rds_info_copy() local 124 this = min(bytes, PAGE_SIZE - iter->offset); in rds_info_copy() 126 rdsdebug("page %p addr %p offset %lu this %lu data %p " in rds_info_copy() 128 iter->offset, this, data, bytes); in rds_info_copy() 130 memcpy(iter->addr + iter->offset, data, this); in rds_info_copy() 132 data += this; in rds_info_copy() 133 bytes -= this; in rds_info_copy() [all...] |
/kernel/linux/linux-6.6/rust/alloc/vec/ |
H A D | drain.rs | 46 /// Returns the remaining items of this iterator as a slice. in fmt() 92 // At this moment layout looks like this: in fmt() 103 // a. In case of ZST, this is the only thing we want to do in fmt() 105 let mut this = ManuallyDrop::new(self); in fmt() variables 108 let source_vec = this.vec.as_mut(); in fmt() 111 let tail = this.tail_start; in fmt() 113 let unyielded_len = this.iter.len(); in fmt() 114 let unyielded_ptr = this.iter.as_slice().as_ptr(); in fmt() 132 ptr::copy(src, dst, this in fmt() [all...] |
/kernel/linux/linux-6.6/security/landlock/ |
H A D | ruleset.c | 137 * contains one entry and this entry is not assigned to any level. In this 160 struct landlock_rule *const this = in insert_rule() local 163 if (this->object != object) { in insert_rule() 165 if (this->object < object) in insert_rule() 182 if (WARN_ON_ONCE(this->num_layers != 1)) in insert_rule() 184 if (WARN_ON_ONCE(this->layers[0].level != 0)) in insert_rule() 186 this->layers[0].access |= (*layers)[0].access; in insert_rule() 190 if (WARN_ON_ONCE(this->layers[0].level == 0)) in insert_rule() 197 new_rule = create_rule(object, &this in insert_rule() 464 struct landlock_rule *this = landlock_find_rule() local [all...] |