/linux-4.19.296/fs/xfs/scrub/ |
D | dabtree.c | 39 struct xchk_da_btree *ds, in xchk_da_process_error() argument 43 struct xfs_scrub *sc = ds->sc; in xchk_da_process_error() 60 trace_xchk_file_op_error(sc, ds->dargs.whichfork, in xchk_da_process_error() 61 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_process_error() 62 ds->state->path.blk[level].blkno), in xchk_da_process_error() 75 struct xchk_da_btree *ds, in xchk_da_set_corrupt() argument 78 struct xfs_scrub *sc = ds->sc; in xchk_da_set_corrupt() 82 trace_xchk_fblock_error(sc, ds->dargs.whichfork, in xchk_da_set_corrupt() 83 xfs_dir2_da_to_db(ds->dargs.geo, in xchk_da_set_corrupt() 84 ds->state->path.blk[level].blkno), in xchk_da_set_corrupt() [all …]
|
D | attr.c | 188 struct xchk_da_btree *ds, in xchk_xattr_entry() argument 199 struct xfs_mount *mp = ds->state->mp; in xchk_xattr_entry() 207 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 211 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 217 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 228 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 234 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 237 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() 239 if (!xchk_xattr_set_map(ds->sc, usedmap, nameidx, namesize)) in xchk_xattr_entry() 240 xchk_da_set_corrupt(ds, level); in xchk_xattr_entry() [all …]
|
D | dabtree.h | 31 typedef int (*xchk_da_btree_rec_fn)(struct xchk_da_btree *ds, 35 bool xchk_da_process_error(struct xchk_da_btree *ds, int level, int *error); 38 void xchk_da_set_corrupt(struct xchk_da_btree *ds, int level); 40 int xchk_da_btree_hash(struct xchk_da_btree *ds, int level, __be32 *hashp);
|
D | dir.c | 188 struct xchk_da_btree *ds, in xchk_dir_rec() argument 192 struct xfs_mount *mp = ds->state->mp; in xchk_dir_rec() 194 struct xfs_inode *dp = ds->dargs.dp; in xchk_dir_rec() 209 error = xchk_da_btree_hash(ds, level, &ent->hashval); in xchk_dir_rec() 224 xchk_da_set_corrupt(ds, level); in xchk_dir_rec() 227 error = xfs_dir3_data_read(ds->dargs.trans, dp, rec_bno, -2, &bp); in xchk_dir_rec() 228 if (!xchk_fblock_process_error(ds->sc, XFS_DATA_FORK, rec_bno, in xchk_dir_rec() 232 xchk_fblock_set_corrupt(ds->sc, XFS_DATA_FORK, rec_bno); in xchk_dir_rec() 235 xchk_buffer_recheck(ds->sc, bp); in xchk_dir_rec() 237 if (ds->sc->sm->sm_flags & XFS_SCRUB_OFLAG_CORRUPT) in xchk_dir_rec() [all …]
|
/linux-4.19.296/include/net/ |
D | dsa.h | 146 struct dsa_switch *ds[DSA_MAX_SWITCHES]; member 195 struct dsa_switch *ds; member 271 static inline const struct dsa_port *dsa_to_port(struct dsa_switch *ds, int p) in dsa_to_port() argument 273 return &ds->ports[p]; in dsa_to_port() 276 static inline bool dsa_is_unused_port(struct dsa_switch *ds, int p) in dsa_is_unused_port() argument 278 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_UNUSED; in dsa_is_unused_port() 281 static inline bool dsa_is_cpu_port(struct dsa_switch *ds, int p) in dsa_is_cpu_port() argument 283 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_CPU; in dsa_is_cpu_port() 286 static inline bool dsa_is_dsa_port(struct dsa_switch *ds, int p) in dsa_is_dsa_port() argument 288 return dsa_to_port(ds, p)->type == DSA_PORT_TYPE_DSA; in dsa_is_dsa_port() [all …]
|
/linux-4.19.296/fs/nfs/ |
D | pnfs_nfs.c | 73 cinfo->ds->nwritten--; in pnfs_generic_clear_request_commit() 101 cinfo->ds->nwritten -= ret; in pnfs_generic_scan_ds_commit_list() 102 cinfo->ds->ncommitting += ret; in pnfs_generic_scan_ds_commit_list() 122 for (i = 0; i < cinfo->ds->nbuckets && max != 0; i++) { in pnfs_generic_scan_commit_lists() 123 cnt = pnfs_generic_scan_ds_commit_list(&cinfo->ds->buckets[i], in pnfs_generic_scan_commit_lists() 143 for (i = 0, b = cinfo->ds->buckets; i < cinfo->ds->nbuckets; i++, b++) { in pnfs_generic_recover_commit_reqs() 147 cinfo->ds->nwritten -= nwritten; in pnfs_generic_recover_commit_reqs() 160 struct pnfs_ds_commit_info *fl_cinfo = cinfo->ds; in pnfs_generic_retry_commit() 175 cinfo->ds->ncommitting--; in pnfs_generic_retry_commit() 195 fl_cinfo = cinfo->ds; in pnfs_generic_alloc_ds_commits() [all …]
|
/linux-4.19.296/drivers/isdn/divert/ |
D | isdn_divert.c | 273 struct deflect_struc *ds, *ds1 = NULL; in insertrule() local 276 if (!(ds = kmalloc(sizeof(struct deflect_struc), GFP_KERNEL))) in insertrule() 279 ds->rule = *newrule; /* set rule */ in insertrule() 293 ds->prev = table_tail; /* previous entry */ in insertrule() 294 ds->next = NULL; /* end of chain */ in insertrule() 295 if (ds->prev) in insertrule() 296 ds->prev->next = ds; /* last forward */ in insertrule() 298 table_head = ds; /* is first entry */ in insertrule() 299 table_tail = ds; /* end of queue */ in insertrule() 301 ds->next = ds1; /* next entry */ in insertrule() [all …]
|
/linux-4.19.296/fs/9p/ |
D | fid.c | 98 struct dentry *ds; in build_path_from_dentry() local 100 for (ds = dentry; !IS_ROOT(ds); ds = ds->d_parent) in build_path_from_dentry() 107 for (ds = dentry, i = (n-1); i >= 0; i--, ds = ds->d_parent) in build_path_from_dentry() 108 wnames[i] = ds->d_name.name; in build_path_from_dentry() 119 struct dentry *ds; in v9fs_fid_lookup_with_uid() local 136 ds = dentry->d_parent; in v9fs_fid_lookup_with_uid() 137 fid = v9fs_fid_find(ds, uid, any); in v9fs_fid_lookup_with_uid()
|
/linux-4.19.296/fs/befs/ |
D | datastream.c | 49 befs_read_datastream(struct super_block *sb, const befs_data_stream *ds, in befs_read_datastream() argument 61 if (befs_fblock2brun(sb, ds, block, &run) != BEFS_OK) { in befs_read_datastream() 130 befs_read_lsymlink(struct super_block *sb, const befs_data_stream *ds, in befs_read_lsymlink() argument 140 bh = befs_read_datastream(sb, ds, bytes_read, NULL); in befs_read_lsymlink() 172 befs_count_blocks(struct super_block *sb, const befs_data_stream *ds) in befs_count_blocks() argument 181 datablocks = ds->size >> befs_sb->block_shift; in befs_count_blocks() 182 if (ds->size & (befs_sb->block_size - 1)) in befs_count_blocks() 188 if (ds->size > ds->max_direct_range) in befs_count_blocks() 189 metablocks += ds->indirect.len; in befs_count_blocks() 200 if (ds->size > ds->max_indirect_range && ds->max_indirect_range != 0) { in befs_count_blocks() [all …]
|
D | btree.c | 91 static int befs_btree_seekleaf(struct super_block *sb, const befs_data_stream *ds, 96 static int befs_bt_read_super(struct super_block *sb, const befs_data_stream *ds, 99 static int befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds, 134 befs_bt_read_super(struct super_block *sb, const befs_data_stream *ds, in befs_bt_read_super() argument 142 bh = befs_read_datastream(sb, ds, 0, NULL); in befs_bt_read_super() 191 befs_bt_read_node(struct super_block *sb, const befs_data_stream *ds, in befs_bt_read_node() argument 201 node->bh = befs_read_datastream(sb, ds, node_off, &off); in befs_bt_read_node() 245 befs_btree_find(struct super_block *sb, const befs_data_stream *ds, in befs_btree_find() argument 255 if (befs_bt_read_super(sb, ds, &bt_super) != BEFS_OK) { in befs_btree_find() 273 if (befs_bt_read_node(sb, ds, this_node, node_off) != BEFS_OK) { in befs_btree_find() [all …]
|
D | btree.h | 7 int befs_btree_find(struct super_block *sb, const befs_data_stream *ds, 10 int befs_btree_read(struct super_block *sb, const befs_data_stream *ds,
|
D | datastream.h | 8 const befs_data_stream *ds, 18 const befs_data_stream *ds);
|
D | linuxvfs.c | 135 befs_data_stream *ds = &BEFS_I(inode)->i_data.ds; in befs_get_block() local 149 res = befs_fblock2brun(sb, ds, block, &run); in befs_get_block() 174 const befs_data_stream *ds = &BEFS_I(dir)->i_data.ds; in befs_lookup() local 192 ret = befs_btree_find(sb, ds, utfname, &offset); in befs_lookup() 196 ret = befs_btree_find(sb, ds, name, &offset); in befs_lookup() 218 const befs_data_stream *ds = &BEFS_I(inode)->i_data.ds; in befs_readdir() local 228 result = befs_btree_read(sb, ds, ctx->pos, BEFS_NAME_LEN + 1, in befs_readdir() 387 befs_ino->i_data.ds = in befs_iget() 390 num_blks = befs_count_blocks(sb, &befs_ino->i_data.ds); in befs_iget() 393 inode->i_size = befs_ino->i_data.ds.size; in befs_iget() [all …]
|
/linux-4.19.296/fs/nfs/filelayout/ |
D | filelayout.c | 452 struct nfs4_pnfs_ds *ds; in filelayout_read_pagelist() local 465 ds = nfs4_fl_prepare_ds(lseg, idx); in filelayout_read_pagelist() 466 if (!ds) in filelayout_read_pagelist() 469 ds_clnt = nfs4_find_or_create_ds_client(ds->ds_clp, hdr->inode); in filelayout_read_pagelist() 474 ds->ds_remotestr, refcount_read(&ds->ds_clp->cl_count)); in filelayout_read_pagelist() 477 refcount_inc(&ds->ds_clp->cl_count); in filelayout_read_pagelist() 478 hdr->ds_clp = ds->ds_clp; in filelayout_read_pagelist() 499 struct nfs4_pnfs_ds *ds; in filelayout_write_pagelist() local 508 ds = nfs4_fl_prepare_ds(lseg, idx); in filelayout_write_pagelist() 509 if (!ds) in filelayout_write_pagelist() [all …]
|
D | filelayoutdev.c | 47 struct nfs4_pnfs_ds *ds; in nfs4_fl_free_deviceid() local 53 ds = dsaddr->ds_list[i]; in nfs4_fl_free_deviceid() 54 if (ds != NULL) in nfs4_fl_free_deviceid() 55 nfs4_pnfs_ds_put(ds); in nfs4_fl_free_deviceid() 265 struct nfs4_pnfs_ds *ds = dsaddr->ds_list[ds_idx]; in nfs4_fl_prepare_ds() local 267 struct nfs4_pnfs_ds *ret = ds; in nfs4_fl_prepare_ds() 271 if (ds == NULL) { in nfs4_fl_prepare_ds() 278 if (ds->ds_clp) in nfs4_fl_prepare_ds() 281 status = nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, in nfs4_fl_prepare_ds()
|
/linux-4.19.296/crypto/ |
D | hmac.c | 49 int ds = crypto_shash_digestsize(parent); in hmac_setkey() local 70 keylen = ds; in hmac_setkey() 128 int ds = crypto_shash_digestsize(parent); in hmac_final() local 137 crypto_shash_finup(desc, out, ds, out); in hmac_final() 145 int ds = crypto_shash_digestsize(parent); in hmac_finup() local 154 crypto_shash_finup(desc, out, ds, out); in hmac_finup() 188 int ds; in hmac_create() local 205 ds = salg->digestsize; in hmac_create() 207 if (ds > alg->cra_blocksize || in hmac_create() 226 inst->alg.digestsize = ds; in hmac_create()
|
D | algif_hash.c | 39 unsigned ds; in hash_alloc_result() local 44 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_alloc_result() 46 ctx->result = sock_kmalloc(sk, ds, GFP_KERNEL); in hash_alloc_result() 50 memset(ctx->result, 0, ds); in hash_alloc_result() 57 unsigned ds; in hash_free_result() local 62 ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_free_result() 64 sock_kzfree_s(sk, ctx->result, ds); in hash_free_result() 194 unsigned ds = crypto_ahash_digestsize(crypto_ahash_reqtfm(&ctx->req)); in hash_recvmsg() local 198 if (len > ds) in hash_recvmsg() 199 len = ds; in hash_recvmsg() [all …]
|
/linux-4.19.296/fs/ntfs/ |
D | runlist.c | 625 int ds = dend + 1; /* Number of elements in drl & srl */ in ntfs_runlists_merge() local 643 ntfs_debug("ds = %i, ss = %i, dins = %i", ds, ss, dins); in ntfs_runlists_merge() 647 drl = ntfs_rl_replace(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge() 649 drl = ntfs_rl_insert(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge() 652 drl = ntfs_rl_append(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge() 654 drl = ntfs_rl_split(drl, ds, srl + sstart, ss, dins); in ntfs_runlists_merge() 663 for (ds = dend; drl[ds].length; ds++) in ntfs_runlists_merge() 666 if (drl[ds].vcn <= marker_vcn) { in ntfs_runlists_merge() 669 if (drl[ds].vcn == marker_vcn) { in ntfs_runlists_merge() 673 drl[ds].lcn); in ntfs_runlists_merge() [all …]
|
/linux-4.19.296/drivers/clk/rockchip/ |
D | clk.h | 420 #define COMPOSITE(_id, cname, pnames, f, mo, ms, mw, mf, ds, dw,\ argument 433 .div_shift = ds, \ 441 #define COMPOSITE_NOMUX(_id, cname, pname, f, mo, ds, dw, df, \ argument 451 .div_shift = ds, \ 459 #define COMPOSITE_NOMUX_DIVTBL(_id, cname, pname, f, mo, ds, dw,\ argument 469 .div_shift = ds, \ 497 ds, dw, df) \ argument 509 .div_shift = ds, \ 516 mw, mf, ds, dw, df, dt) \ argument 528 .div_shift = ds, \ [all …]
|
/linux-4.19.296/fs/btrfs/ |
D | check-integrity.c | 257 static void btrfsic_dev_state_init(struct btrfsic_dev_state *ds); 259 static void btrfsic_dev_state_free(struct btrfsic_dev_state *ds); 283 struct btrfsic_dev_state *ds, 285 static void btrfsic_dev_state_hashtable_remove(struct btrfsic_dev_state *ds); 457 static void btrfsic_dev_state_init(struct btrfsic_dev_state *ds) in btrfsic_dev_state_init() argument 459 ds->magic_num = BTRFSIC_DEV2STATE_MAGIC_NUMBER; in btrfsic_dev_state_init() 460 ds->bdev = NULL; in btrfsic_dev_state_init() 461 ds->state = NULL; in btrfsic_dev_state_init() 462 ds->name[0] = '\0'; in btrfsic_dev_state_init() 463 INIT_LIST_HEAD(&ds->collision_resolving_node); in btrfsic_dev_state_init() [all …]
|
/linux-4.19.296/fs/nfs/flexfilelayout/ |
D | flexfilelayout.c | 749 if (cinfo->ds->nbuckets != 0) { in ff_layout_alloc_commit_info() 768 if (cinfo->ds->nbuckets != 0) in ff_layout_alloc_commit_info() 771 cinfo->ds->buckets = buckets; in ff_layout_alloc_commit_info() 772 cinfo->ds->nbuckets = size; in ff_layout_alloc_commit_info() 792 struct nfs4_pnfs_ds *ds; in ff_layout_choose_best_ds_for_read() local 800 ds = nfs4_ff_layout_prepare_ds(lseg, idx, fail_return); in ff_layout_choose_best_ds_for_read() 801 if (ds) { in ff_layout_choose_best_ds_for_read() 803 return ds; in ff_layout_choose_best_ds_for_read() 835 struct nfs4_pnfs_ds *ds; in ff_layout_pg_init_read() local 852 ds = ff_layout_choose_best_ds_for_read(pgio->pg_lseg, 0, &ds_idx); in ff_layout_pg_init_read() [all …]
|
D | flexfilelayoutdev.c | 35 nfs4_pnfs_ds_put(mirror_ds->ds); in nfs4_ff_layout_free_deviceid() 150 new_ds->ds = nfs4_pnfs_ds_add(&dsaddrs, gfp_flags); in nfs4_ff_alloc_deviceid_node() 151 if (!new_ds->ds) in nfs4_ff_alloc_deviceid_node() 224 if (mirror->mirror_ds->ds == NULL) { in ff_layout_mirror_valid() 414 struct nfs4_pnfs_ds *ds = NULL; in nfs4_ff_layout_prepare_ds() local 431 ds = mirror->mirror_ds->ds; in nfs4_ff_layout_prepare_ds() 432 if (READ_ONCE(ds->ds_clp)) in nfs4_ff_layout_prepare_ds() 440 status = nfs4_pnfs_ds_connect(s, ds, devid, dataserver_timeo, in nfs4_ff_layout_prepare_ds() 448 nfs_block_size(rpc_max_payload(ds->ds_clp->cl_rpcclient), in nfs4_ff_layout_prepare_ds() 463 ds = NULL; in nfs4_ff_layout_prepare_ds() [all …]
|
/linux-4.19.296/drivers/s390/scsi/ |
D | zfcp_fc.c | 238 zfcp_fc_wka_port_force_offline(&gs->ds); in zfcp_fc_wka_ports_force_offline() 406 ret = zfcp_fsf_send_ct(&adapter->gs->ds, &fc_req->ct_els, in zfcp_fc_ns_gid_pn_request() 433 ret = zfcp_fc_wka_port_get(&adapter->gs->ds); in zfcp_fc_ns_gid_pn() 439 zfcp_fc_wka_port_put(&adapter->gs->ds); in zfcp_fc_ns_gid_pn() 666 ret = zfcp_fsf_send_ct(&adapter->gs->ds, ct_els, NULL, in zfcp_fc_send_gpn_ft() 780 if (zfcp_fc_wka_port_get(&adapter->gs->ds)) in zfcp_fc_scan_ports() 800 zfcp_fc_wka_port_put(&adapter->gs->ds); in zfcp_fc_scan_ports() 825 ret = zfcp_fsf_send_ct(&adapter->gs->ds, ct_els, NULL, in zfcp_fc_gspn() 873 ret = zfcp_fsf_send_ct(&adapter->gs->ds, ct_els, NULL, in zfcp_fc_rspn() 905 ret = zfcp_fc_wka_port_get(&adapter->gs->ds); in zfcp_fc_sym_name_update() [all …]
|
/linux-4.19.296/drivers/sh/maple/ |
D | maple.c | 409 struct maple_device_specify *ds; in check_maple_device() local 412 ds = portptr; in check_maple_device() 414 if (mdev->port == ds->port && mdev->unit == ds->unit) in check_maple_device() 496 struct maple_device_specify ds; in maple_map_subunits() local 498 ds.port = mdev->port; in maple_map_subunits() 500 ds.unit = k + 1; in maple_map_subunits() 502 bus_for_each_dev(&maple_bus_type, NULL, &ds, in maple_map_subunits()
|
/linux-4.19.296/fs/fat/ |
D | dir.c | 284 struct msdos_dir_slot *ds; in fat_parse_long() local 295 ds = (struct msdos_dir_slot *)*de; in fat_parse_long() 296 id = ds->id; in fat_parse_long() 303 alias_checksum = ds->alias_checksum; in fat_parse_long() 311 fat16_towchar(*unicode + offset, ds->name0_4, 5); in fat_parse_long() 312 fat16_towchar(*unicode + offset + 5, ds->name5_10, 6); in fat_parse_long() 313 fat16_towchar(*unicode + offset + 11, ds->name11_12, 2); in fat_parse_long() 315 if (ds->id & 0x40) in fat_parse_long() 321 ds = (struct msdos_dir_slot *)*de; in fat_parse_long() 322 if (ds->attr != ATTR_EXT) in fat_parse_long() [all …]
|