/linux-6.6.21/drivers/ufs/core/ |
D | ufs_bsg.c | 16 static int ufs_bsg_get_query_desc_size(struct ufs_hba *hba, int *desc_len, in ufs_bsg_get_query_desc_size() argument 24 *desc_len = min_t(int, QUERY_DESC_MAX_SIZE, desc_size); in ufs_bsg_get_query_desc_size() 30 uint8_t **desc_buff, int *desc_len, in ufs_bsg_alloc_desc_buffer() argument 42 if (ufs_bsg_get_query_desc_size(hba, desc_len, qr)) { in ufs_bsg_alloc_desc_buffer() 47 if (*desc_len > job->request_payload.payload_len) { in ufs_bsg_alloc_desc_buffer() 52 descp = kzalloc(*desc_len, GFP_KERNEL); in ufs_bsg_alloc_desc_buffer() 59 *desc_len); in ufs_bsg_alloc_desc_buffer() 140 int desc_len = 0; in ufs_bsg_request() local 153 ret = ufs_bsg_alloc_desc_buffer(hba, job, &buff, &desc_len, desc_op); in ufs_bsg_request() 161 buff, &desc_len, desc_op); in ufs_bsg_request() [all …]
|
/linux-6.6.21/drivers/nvme/host/ |
D | fc.h | 36 nvme_fc_format_rsp_hdr(void *buf, u8 ls_cmd, __be32 desc_len, u8 rqst_ls_cmd) in nvme_fc_format_rsp_hdr() argument 41 acc->desc_list_len = desc_len; in nvme_fc_format_rsp_hdr() 43 acc->rqst.desc_len = in nvme_fc_format_rsp_hdr() 58 rjt->rjt.desc_len = fcnvme_lsdesc_len(sizeof(struct fcnvme_lsdesc_rjt)); in nvme_fc_format_rjt() 179 discon_rqst->associd.desc_len = in nvmefc_fmt_lsreq_discon_assoc() 187 discon_rqst->discon_cmd.desc_len = in nvmefc_fmt_lsreq_discon_assoc() 206 else if (rqst->associd.desc_len != in nvmefc_vldt_lsreq_discon_assoc() 213 else if (rqst->discon_cmd.desc_len != in nvmefc_vldt_lsreq_discon_assoc()
|
/linux-6.6.21/include/linux/ |
D | nvme-fc.h | 157 __be32 desc_len; member 234 __be32 desc_len; member 255 __be32 desc_len; member 283 __be32 desc_len; member 295 __be32 desc_len; member 302 __be32 desc_len; member 309 __be32 desc_len; member
|
D | key.h | 120 u16 desc_len; member 124 u16 desc_len;
|
/linux-6.6.21/include/uapi/scsi/fc/ |
D | fc_els.h | 263 __be32 desc_len; /* Length of Descriptor (in bytes). member 284 (__be32_to_cpu((tlv)->desc_len) + FC_TLV_DESC_HDR_SZ) 305 __be32 desc_len; /* Length of Descriptor (in bytes) (4). member 1010 __be32 desc_len; /* Length of Descriptor (in bytes). member 1040 __be32 desc_len; /* Length of Descriptor (in bytes). member 1056 __be32 desc_len; /* Length of Descriptor (in bytes). member 1082 __be32 desc_len; /* Length of Descriptor (in bytes). member 1103 __be32 desc_len; /* Length of Descriptor List (in bytes). member 1113 __be32 desc_len; /* Length of Descriptor (in bytes). member 1134 __be32 desc_len; /* Length of Descriptor List (in bytes). member [all …]
|
/linux-6.6.21/drivers/scsi/ |
D | scsi_common.c | 250 int add_sen_len, add_len, desc_len, k; in scsi_sense_desc_find() local 260 for (desc_len = 0, k = 0; k < add_sen_len; k += desc_len) { in scsi_sense_desc_find() 261 descp += desc_len; in scsi_sense_desc_find() 263 desc_len = add_len + 2; in scsi_sense_desc_find()
|
/linux-6.6.21/security/keys/ |
D | keyring.c | 171 int n, desc_len = index_key->desc_len; in hash_key_type_and_desc() local 174 acc = mult_64x32_and_fold(type, desc_len + 13); in hash_key_type_and_desc() 181 n = desc_len; in hash_key_type_and_desc() 189 desc_len -= n; in hash_key_type_and_desc() 217 size_t n = min_t(size_t, index_key->desc_len, sizeof(index_key->desc)); in key_set_index_key() 273 int desc_len = index_key->desc_len, n = sizeof(chunk); in keyring_get_key_chunk() local 287 if (desc_len <= sizeof(index_key->desc)) in keyring_get_key_chunk() 292 desc_len -= sizeof(index_key->desc); in keyring_get_key_chunk() 293 if (desc_len > n) in keyring_get_key_chunk() 294 desc_len = n; in keyring_get_key_chunk() [all …]
|
/linux-6.6.21/fs/smb/client/ |
D | cifs_spnego.c | 93 size_t desc_len; in cifs_get_spnego_key() local 100 desc_len = MAX_VER_STR_LEN + in cifs_get_spnego_key() 109 desc_len += USER_KEY_LEN + strlen(sesInfo->user_name); in cifs_get_spnego_key() 112 description = kzalloc(desc_len, GFP_KERNEL); in cifs_get_spnego_key()
|
/linux-6.6.21/fs/smb/server/ |
D | connection.h | 128 unsigned int desc_len); 132 unsigned int desc_len); 156 unsigned int desc_len); 160 unsigned int desc_len);
|
D | connection.c | 208 unsigned int desc_len) in ksmbd_conn_rdma_read() argument 215 desc, desc_len); in ksmbd_conn_rdma_read() 222 unsigned int desc_len) in ksmbd_conn_rdma_write() argument 229 desc, desc_len); in ksmbd_conn_rdma_write()
|
D | xattr.h | 96 __u16 desc_len; member
|
/linux-6.6.21/drivers/infiniband/core/ |
D | packer.c | 63 int desc_len, in ib_pack() argument 69 for (i = 0; i < desc_len; ++i) { in ib_pack() 149 int desc_len, in ib_unpack() argument 155 for (i = 0; i < desc_len; ++i) { in ib_unpack()
|
/linux-6.6.21/drivers/net/wireless/ath/ath9k/ |
D | init.c | 289 int i, bsize, desc_len; in ath_descdma_setup() local 297 desc_len = sc->sc_ah->caps.tx_desc_len; in ath_descdma_setup() 299 desc_len = sizeof(struct ath_desc); in ath_descdma_setup() 302 if ((desc_len % 4) != 0) { in ath_descdma_setup() 304 BUG_ON((desc_len % 4) != 0); in ath_descdma_setup() 308 dd->dd_desc_len = desc_len * nbuf * ndesc; in ath_descdma_setup() 321 dma_len = ndesc_skipped * desc_len; in ath_descdma_setup() 348 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() 364 ds += (desc_len * ndesc); in ath_descdma_setup() 379 for (i = 0; i < nbuf; i++, bf++, ds += (desc_len * ndesc)) { in ath_descdma_setup() [all …]
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb/ |
D | sge.c | 1165 unsigned int *desc_len, in write_large_page_tx_descs() argument 1173 while (*desc_len > SGE_TX_DESC_MAX_PLEN) { in write_large_page_tx_descs() 1174 *desc_len -= SGE_TX_DESC_MAX_PLEN; in write_large_page_tx_descs() 1176 *gen, nfrags == 0 && *desc_len == 0); in write_large_page_tx_descs() 1180 if (*desc_len) { in write_large_page_tx_descs() 1208 unsigned int i, flags, first_desc_len, desc_len, in write_tx_descs() local 1218 desc_len = skb_headlen(skb); in write_tx_descs() 1221 V_CMD_EOP(nfrags == 0 && desc_len <= SGE_TX_DESC_MAX_PLEN) | in write_tx_descs() 1223 first_desc_len = (desc_len <= SGE_TX_DESC_MAX_PLEN) ? in write_tx_descs() 1224 desc_len : SGE_TX_DESC_MAX_PLEN; in write_tx_descs() [all …]
|
/linux-6.6.21/tools/perf/ |
D | builtin-list.c | 149 int desc_len = -1; in default_print_event() local 152 desc_len = strlen(desc); in default_print_event() 153 desc_len = asprintf(&desc_with_unit, in default_print_event() 154 desc[desc_len - 1] != '.' in default_print_event() 159 wordwrap(desc_len > 0 ? desc_with_unit : desc, 8, pager_get_columns(), 0); in default_print_event()
|
/linux-6.6.21/drivers/crypto/caam/ |
D | desc_constr.h | 54 #define PRINT_POS do { printk(KERN_DEBUG "%02d: %s\n", desc_len(desc),\ 84 static inline int desc_len(u32 * const desc) in desc_len() function 91 return desc_len(desc) * CAAM_CMD_SZ; in desc_bytes() 96 return desc + desc_len(desc); in desc_end() 248 (desc_len(desc) - (jump_cmd - desc))); in APPEND_CMD_RET() 256 val |= (desc_len(desc) << (MOVE_OFFSET_SHIFT + 2)) & MOVE_OFFSET_MASK; in set_move_tgt_here()
|
/linux-6.6.21/drivers/target/ |
D | target_core_xcopy.c | 302 unsigned short desc_len; in target_xcopy_parse_segdesc_02() local 304 desc_len = get_unaligned_be16(&desc[2]); in target_xcopy_parse_segdesc_02() 305 if (desc_len != 0x18) { in target_xcopy_parse_segdesc_02() 307 " %hu\n", desc_len); in target_xcopy_parse_segdesc_02() 322 desc_len, xop->stdi, xop->dtdi, dc); in target_xcopy_parse_segdesc_02()
|
/linux-6.6.21/include/rdma/ |
D | ib_pack.h | 262 int desc_len, 267 int desc_len,
|
/linux-6.6.21/net/ceph/ |
D | cls_lock_client.c | 35 int desc_len = strlen(desc); in ceph_cls_lock() local 44 desc_len + sizeof(__le32) + in ceph_cls_lock() 66 ceph_encode_string(&p, end, desc, desc_len); in ceph_cls_lock()
|
/linux-6.6.21/drivers/hid/surface-hid/ |
D | surface_hid_core.h | 27 __u8 desc_len; /* = 9 */ member
|
D | surface_hid_core.c | 51 if (shid->hid_desc.desc_len != sizeof(shid->hid_desc)) { in surface_hid_load_hid_descriptor() 53 shid->hid_desc.desc_len, sizeof(shid->hid_desc)); in surface_hid_load_hid_descriptor()
|
/linux-6.6.21/drivers/net/wireless/ralink/rt2x00/ |
D | rt2x00debug.c | 153 data_len -= skbdesc->desc_len; in rt2x00debug_dump_frame() 155 skbcopy = alloc_skb(sizeof(*dump_hdr) + skbdesc->desc_len + data_len, in rt2x00debug_dump_frame() 165 dump_hdr->desc_length = cpu_to_le32(skbdesc->desc_len); in rt2x00debug_dump_frame() 178 skb_put_data(skbcopy, skbdesc->desc, skbdesc->desc_len); in rt2x00debug_dump_frame()
|
/linux-6.6.21/drivers/gpu/drm/ |
D | drm_ioc32.c | 87 u32 desc_len; /* Length of desc buffer */ member 108 .desc_len = v32.desc_len, in compat_drm_version() 121 v32.desc_len = v.desc_len; in compat_drm_version()
|
/linux-6.6.21/drivers/spi/ |
D | spi-mxs.c | 170 const int desc_len = vmalloced_buf ? PAGE_SIZE : SG_MAXLEN; in mxs_spi_txrx_dma() local 171 const int sgs = DIV_ROUND_UP(len, desc_len); in mxs_spi_txrx_dma() 202 min = min(len, desc_len); in mxs_spi_txrx_dma()
|
/linux-6.6.21/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_msg.c | 996 long desc_len; in vmw_mksstat_add_ioctl() local 1061 desc_len = strncpy_from_user(pdesc->description, u64_to_user_ptr(arg->description), in vmw_mksstat_add_ioctl() 1064 if (desc_len < 0) { in vmw_mksstat_add_ioctl() 1105 …DRM_DEV_INFO(dev->dev, "pid=%d arg.description='%.*s' id=%zu\n", current->pid, (int)desc_len, pdes… in vmw_mksstat_add_ioctl()
|