/kernel/linux/linux-6.6/drivers/accel/habanalabs/common/ |
H A D | command_submission.c | 50 * It uses 2 lists: used list and free list. in hl_push_cs_outcome() 55 * information is filled in, and the node is moved to the used list. in hl_push_cs_outcome() 58 * will pop the OLDEST node from the used list, and make it free. in hl_push_cs_outcome() 59 * On pop, the node is searched for in the used list (using a search in hl_push_cs_outcome() 61 * If found, the node is then removed from the used list, and moved in hl_push_cs_outcome() 160 * hl_gen_sob_mask() - Generates a sob mask to be used in a monitor arm packet 555 if (!mcs_compl->used) { in force_complete_multi_cs() 601 if (!mcs_compl->used) in complete_multi_cs() 612 if (mcs_compl->used && in complete_multi_cs() 733 * was submitted. We used 'cs_mirror_loc in cs_do_release() [all...] |
/kernel/linux/linux-5.10/drivers/crypto/hisilicon/sec2/ |
H A D | sec_crypto.c | 166 atomic_inc(&qp->qp_status.used); in sec_req_cb() 200 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_bd_send() 208 atomic_read(&qp_ctx->qp->qp_status.used) && !ret) { in sec_bd_send() 286 * To improve performance, pbuffer is used for 1072 atomic_read(&qp_ctx->qp->qp_status.used) && in sec_back_req_clear()
|
/kernel/linux/linux-5.10/drivers/md/ |
H A D | dm-ioctl.c | 97 * fast since it's only used by the ioctl interface. 1117 * Copies device info back to user space, used by 1144 size_t remaining, len, used = 0; in retrieve_status() local 1196 used = param->data_start + (outptr - outbuf); in retrieve_status() 1202 if (used) in retrieve_status() 1203 param->data_size = used; in retrieve_status() 1454 * Retrieves a list of devices used by a particular dm device. 1657 * which has a variable size, is not used by the function processing
|
/kernel/linux/linux-5.10/drivers/media/platform/qcom/venus/ |
H A D | helpers.c | 393 if (!inst->tss[i].used) { in put_ts_metadata() 406 inst->tss[slot].used = true; in put_ts_metadata() 420 if (!inst->tss[i].used) in venus_helper_get_ts_metadata() 426 inst->tss[i].used = false; in venus_helper_get_ts_metadata()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.c | 777 * and 100% for Tx. The weight is used to split cpdma resources 1057 /* Relaxed IO accessors can be used here as there is read barrier in cpdma_chan_submit_si() 1279 int used = 0, ret = 0; in cpdma_chan_process() local 1284 while (used < quota) { in cpdma_chan_process() 1288 used++; in cpdma_chan_process() 1290 return used; in cpdma_chan_process()
|
/kernel/linux/linux-5.10/drivers/scsi/be2iscsi/ |
H A D | be_cmds.c | 96 if (mccq->used == mccq->len) { in alloc_mcc_wrb() 99 "BC_%d : MCC queue full: WRB used %u tag avail %u\n", in alloc_mcc_wrb() 100 mccq->used, phba->ctrl.mcc_tag_available); in alloc_mcc_wrb() 134 mccq->used++; in alloc_mcc_wrb() 153 mccq->used--; in free_mcc_wrb() 161 * @wrb: the WRB used for the MBX Command 225 * @wrb: the WRB used for the MBX Command 313 * Check for the MBX completion status when BMBX method used 595 * This BMBX busy wait path is used during init only. in be_mbox_db_ready_poll() 1388 * Set the Bit for those ULP. This set flag is used in beiscsi_get_fw_config() [all...] |
/kernel/linux/linux-5.10/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.c | 37 * is currently used in the Nomadik and ux500. 481 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode() 496 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode() 510 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode() 530 * Safe sequence used to switch IOs between GPIO and Alternate-C mode: 597 if (pin_desc->altcx[i].used == true) { in nmk_prcm_gpiocr_get_mode() 1541 * Safe sequence used to switch IOs between GPIO and Alternate-C mode: in nmk_pmx_set()
|
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | journal.c | 27 * journal heads, although at present only one data head is used. 34 * time of commit, the bud is retained to continue to be used in the journal, 118 avail = c->leb_size - wbuf->offs - wbuf->used; in reserve_space() 167 avail = c->leb_size - wbuf->offs - wbuf->used; in reserve_space() 176 lnum, wbuf->lnum, wbuf->offs + wbuf->used); in reserve_space() 277 *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used; in write_head() 1476 * This function is used when an inode is truncated and the last data node of
|
/kernel/linux/linux-5.10/fs/proc/ |
H A D | proc_sysctl.c | 28 /* shared constants to be used in various sysctls */ 195 head->used = 0; in init_header() 261 p->used++; in use_table() 268 if (!--p->used) in unuse_table() 282 * if p->used is 0, nobody will ever touch that entry again; in start_unregistering() 285 if (unlikely(p->used)) { in start_unregistering() 1271 * The members of the &struct ctl_table structure are used as follows: 1392 * @table_name: The name of sysctl table, only used for log printing when 1395 * The sysctl interface is used by userspace to query or modify at runtime 1401 * this function does not return any error as it is used b [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_bufs.c | 122 * a mmap() request is used to pick a suitable virtual in drm_map_handle() 510 * it's being used, and free any associated resource (such as MTRR's) if it's not 613 * gets used by drivers that the server doesn't need to care about. This seems 808 buf->used = 0; in drm_legacy_addbufs_agp() 1008 buf->used = 0; in drm_legacy_addbufs_pci() 1170 buf->used = 0; in drm_legacy_addbufs_sg() 1282 * large buffers can be used for image transfer). 1382 * \note This ioctl is deprecated and mostly never used. 1428 * Calls free_buffer() for each used buffer. 1429 * This function is primarily used fo [all...] |
/kernel/linux/linux-5.10/drivers/media/usb/gspca/ |
H A D | sonixb.c | 282 0x05 Shutter Time Line Offset, this can be used as an exposure control: 1128 /* Setup the gamma table (only used with the sn9c103 bridge) */ in sd_start() 1340 int used; in sd_pkt_scan() local 1343 used = gspca_dev->image_len; in sd_pkt_scan() 1344 if (used + len > size) in sd_pkt_scan() 1345 len = size - used; in sd_pkt_scan() 1358 *really* is 0 (cam used in low light with in sd_pkt_scan()
|
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/i2c/ |
H A D | mt9m114.h | 318 bool used; member 327 /* 2 bytes used for address: 256 bytes total */ 350 .used = false, 366 .used = false, 382 .used = false,
|
/kernel/linux/linux-6.6/drivers/media/usb/gspca/ |
H A D | sonixb.c | 282 0x05 Shutter Time Line Offset, this can be used as an exposure control: 1128 /* Setup the gamma table (only used with the sn9c103 bridge) */ in sd_start() 1340 int used; in sd_pkt_scan() local 1343 used = gspca_dev->image_len; in sd_pkt_scan() 1344 if (used + len > size) in sd_pkt_scan() 1345 len = size - used; in sd_pkt_scan() 1358 *really* is 0 (cam used in low light with in sd_pkt_scan()
|
/kernel/linux/linux-6.6/drivers/net/dsa/hirschmann/ |
H A D | hellcreek.c | 362 * VLANs are internally used by the driver to ensure port in hellcreek_vlan_prepare() 363 * separation. Thus, they cannot be used by someone else. in hellcreek_vlan_prepare() 1498 bool used = true; in hellcreek_port_prechangeupper() local 1509 * lan0.100 *and* lan1.100 cannot be used in parallel. However, lan0.99 in hellcreek_port_prechangeupper() 1527 used = used && test_bit(vid, hellcreek->ports[i].vlan_dev_bitmap); in hellcreek_port_prechangeupper() 1530 if (used) in hellcreek_port_prechangeupper()
|
/kernel/linux/linux-6.6/fs/btrfs/ |
H A D | zoned.c | 711 * Host-Managed devices can't be used without the ZONED flag. With the in btrfs_check_zoned_mode() 712 * ZONED all devices can be used, using zone emulation if required. in btrfs_check_zoned_mode() 1388 * This zone will be used for allocation, so mark this zone in btrfs_load_block_group_zone_info() 1442 /* Partially used zone */ in btrfs_load_block_group_zone_info() 1589 unusable = (cache->alloc_offset - cache->used) + in btrfs_calc_zone_unusable() 2337 u64 used = 0; in btrfs_zoned_should_reclaim() local 2352 used += device->bytes_used; in btrfs_zoned_should_reclaim() 2356 factor = div64_u64(used * 100, total); in btrfs_zoned_should_reclaim()
|
/kernel/linux/linux-6.6/fs/proc/ |
H A D | proc_sysctl.c | 197 head->used = 0; in init_header() 270 p->used++; in use_table() 277 if (!--p->used) in unuse_table() 291 * if p->used is 0, nobody will ever touch that entry again; in start_unregistering() 294 if (unlikely(p->used)) { in start_unregistering() 1319 * used on stack. It can either be a global or dynamically allocated 1326 * The members of the &struct ctl_table structure are used as follows: 1440 * @table_name: The name of sysctl table, only used for log printing when 1444 * The sysctl interface is used by userspace to query or modify at runtime 1450 * this function does not return any error as it is used b [all...] |
/kernel/linux/linux-6.6/fs/ntfs3/ |
H A D | inode.c | 267 run = ino == MFT_REC_BITMAP ? &sbi->used.bitmap.run : in ntfs_read_mft() 1068 * filemap_flush() is used for the block device, so if there is a dirty 1460 root->ihdr.used = cpu_to_le32(sizeof(struct INDEX_HDR) + in ntfs_create_inode() 1462 root->ihdr.total = root->ihdr.used; in ntfs_create_inode() 1608 rec->used = cpu_to_le32(PtrOffset(rec, attr) + 8); in ntfs_create_inode()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | journal.c | 27 * journal heads, although at present only one data head is used. 34 * time of commit, the bud is retained to continue to be used in the journal, 118 avail = c->leb_size - wbuf->offs - wbuf->used; in reserve_space() 167 avail = c->leb_size - wbuf->offs - wbuf->used; in reserve_space() 176 lnum, wbuf->lnum, wbuf->offs + wbuf->used); in reserve_space() 277 *offs = c->jheads[jhead].wbuf.offs + c->jheads[jhead].wbuf.used; in write_head() 1481 * This function is used when an inode is truncated and the last data node of
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/i2c/ |
H A D | mt9m114.h | 315 bool used; member 321 /* 2 bytes used for address: 256 bytes total */ 344 .used = false, 357 .used = false, 370 .used = false,
|
/kernel/linux/linux-6.6/drivers/net/ethernet/ti/ |
H A D | davinci_cpdma.c | 777 * and 100% for Tx. The weight is used to split cpdma resources 1057 /* Relaxed IO accessors can be used here as there is read barrier in cpdma_chan_submit_si() 1279 int used = 0, ret = 0; in cpdma_chan_process() local 1284 while (used < quota) { in cpdma_chan_process() 1288 used++; in cpdma_chan_process() 1290 return used; in cpdma_chan_process()
|
/kernel/linux/linux-6.6/drivers/media/platform/qcom/venus/ |
H A D | helpers.c | 456 if (!inst->tss[i].used) { in put_ts_metadata() 469 inst->tss[slot].used = true; in put_ts_metadata() 483 if (!inst->tss[i].used) in venus_helper_get_ts_metadata() 489 inst->tss[i].used = false; in venus_helper_get_ts_metadata()
|
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/queue/ |
H A D | tx.c | 41 * of the TFD are used, and only one chunk of 64 bytes should in iwl_pcie_gen2_update_byte_tbl() 696 unsigned int used; in iwl_txq_space() local 713 used = (q->write_ptr - q->read_ptr) & in iwl_txq_space() 716 if (WARN_ON(used > max)) in iwl_txq_space() 719 return max - used; in iwl_txq_space() 1196 WARN_ONCE(1, "queue %d already used", qid); in iwl_txq_alloc_response() 1307 "queue %d not used", queue); in iwl_txq_dyn_free() 1608 * the last we will free. This one must be used */ in iwl_txq_reclaim()
|
/kernel/linux/linux-6.6/drivers/pinctrl/nomadik/ |
H A D | pinctrl-nomadik.c | 41 * is currently used in the Nomadik and ux500. 484 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode() 499 if (pin_desc->altcx[alt_index].used == false) { in nmk_prcm_altcx_set_mode() 513 if (pin_desc->altcx[i].used == true) { in nmk_prcm_altcx_set_mode() 533 * Safe sequence used to switch IOs between GPIO and Alternate-C mode: 600 if (pin_desc->altcx[i].used == true) { in nmk_prcm_gpiocr_get_mode() 1548 * Safe sequence used to switch IOs between GPIO and Alternate-C mode: in nmk_pmx_set()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_bufs.c | 122 * a mmap() request is used to pick a suitable virtual in drm_map_handle() 509 * it's being used, and free any associated resource (such as MTRR's) if it's not 611 * gets used by drivers that the server doesn't need to care about. This seems 811 buf->used = 0; in drm_legacy_addbufs_agp() 1027 buf->used = 0; in drm_legacy_addbufs_pci() 1189 buf->used = 0; in drm_legacy_addbufs_sg() 1301 * large buffers can be used for image transfer). 1401 * \note This ioctl is deprecated and mostly never used. 1447 * Calls free_buffer() for each used buffer. 1448 * This function is primarily used fo [all...] |
/kernel/linux/linux-6.6/drivers/md/ |
H A D | dm-ioctl.c | 1242 * Copies device info back to user space, used by 1269 size_t remaining, len, used = 0; in retrieve_status() local 1323 used = param->data_start + (outptr - outbuf); in retrieve_status() 1329 if (used) in retrieve_status() 1330 param->data_size = used; in retrieve_status() 1622 * Retrieves a list of devices used by a particular dm device. 1830 * which has a variable size, is not used by the function processing
|